Regression and Correlation

Partial Correlation Calculator

Removes the linear association with one control variable from a pairwise correlation. The form displays rxy.z = (rxy−rxz ryz)/sqrt((1−rxz²)(1−ryz²)) beside partial correlation, using a worked condition that can be recalculated with the labeled inputs.

Regression inputs

Set the model inputs before reporting

correlation
correlation
correlation
Calculated result

Partial correlation

Result
—
rxy.z = (rxy−rxz ryz)/sqrt((1−rxz²)(1−ryz²))

    The question behind partial correlation

    The partial correlation page removes the linear association with one control variable from a pairwise correlation.

    Partial correlation is limited to the statistical quantity named by the result panel. The partial correlation calculation does not silently add a population, time horizon, causal direction, or decision threshold that is absent from the fields.

    Reading the partial correlation fields

    • Correlation X,Y: For partial correlation, the worked value for correlation x,y is 0.7 correlation. Treat the correlation x,y entry (0.7 correlation) explicitly as a count, proportion, rate, estimate, or model parameter before comparing partial correlation conditions. The form enforces minimum -0.999999, maximum 0.999999.
    • Correlation X,Z: For partial correlation, the worked value for correlation x,z is 0.4 correlation. Treat the correlation x,z entry (0.4 correlation) explicitly as a count, proportion, rate, estimate, or model parameter before comparing partial correlation conditions. The form enforces minimum -0.999999, maximum 0.999999.
    • Correlation Y,Z: For partial correlation, the worked value for correlation y,z is 0.3 correlation. Treat the correlation y,z entry (0.3 correlation) explicitly as a count, proportion, rate, estimate, or model parameter before comparing partial correlation conditions. The form enforces minimum -0.999999, maximum 0.999999.

    The entries used for partial correlation must refer to one coherent analysis condition. Combining incompatible populations, periods, or measurement definitions can produce valid partial correlation arithmetic for a nonexistent study.

    The arithmetic used for partial correlation

    rxy.z = (rxy−rxz ryz)/sqrt((1−rxz²)(1−ryz²))

    For partial correlation, match every symbol in the relationship to a labeled field before substituting numbers. Partial correlation is reported in correlation.

    While checking partial correlation, inspect every denominator in rxy.z = (rxy−rxz ryz)/sqrt((1−rxz²)(1−ryz²)). For partial correlation, a zero or near-zero denominator can make partial correlation undefined or unstable.

    Verifying the default partial correlation result

    The default partial correlation condition is Correlation X,Y = 0.7 correlation, Correlation X,Z = 0.4 correlation, Correlation Y,Z = 0.3 correlation.

    With rxy=.70, rxz=.40, and ryz=.30, the partial correlation is about .663.

    The live calculator reports Partial correlation 0.66338807. Repeating one intermediate step from rxy.z = (rxy−rxz ryz)/sqrt((1−rxz²)(1−ryz²)) provides a fixed partial correlation reference check for later code changes.

    What the partial correlation arithmetic assumes

    The three entered correlations must form a valid correlation structure; a partial correlation is still observational.

    For partial correlation, a fitted coefficient or association is conditional on the model and observed range; it does not by itself show that changing one variable will cause another to change.

    A second check on partial correlation

    When interpreting partial correlation, inspect residual behavior, influential observations, nonlinearity, dependence, and extrapolation before carrying a regression result to a new setting.

    As a second check for partial correlation, reversing the numerator and denominator answers a different question, so retain the direction printed in rxy.z = (rxy−rxz ryz)/sqrt((1−rxz²)(1−ryz²)).

    Testing how stable partial correlation is

    Change correlation x,y while holding the remaining entries fixed, then state why the direction and size of the partial correlation change are plausible from rxy.z = (rxy−rxz ryz)/sqrt((1−rxz²)(1−ryz²)).

    Repeat the partial correlation exercise with correlation y,z. If a modest defensible change materially alters the interpretation, report both conditions rather than presenting that partial correlation scenario as exact.

    Where a plausible partial correlation can go wrong

    Before accepting partial correlation, compare every entered value with its label, unit, and allowed domain after reading the printed relationship from left to right.

    For partial correlation, do not move a number between fields merely because the units look compatible; each label gives the number a different statistical role.

    Another partial correlation failure occurs when a rounded output is reused as though it were the original measurement. Carry guard digits through calculations that depend on partial correlation, then round only the reported value.

    A reproducible record of partial correlation

    Report partial correlation using rxy.z = (rxy−rxz ryz)/sqrt((1−rxz²)(1−ryz²)), followed by the entered values, units, exclusions, and analysis date. Name the partial correlation population or dataset boundary instead of leaving it implicit.

    Keep the full calculator output with the record, including Partial correlation 0.66338807. A later partial correlation review can then distinguish a changed input from a different convention or software implementation.

    Questions about partial correlation

    Does partial correlation establish a causal or population conclusion?

    No. The displayed partial correlation value is conditional on the entered data and named method. The partial correlation design, measurement process, and assumptions determine what can be concluded beyond those values.

    How should partial correlation be rounded?

    Keep the unrounded partial correlation for subsequent arithmetic, then report only the precision supported by the source measurements and the decision context. Extra digits in partial correlation do not correct sampling or model error.

    Which input deserves the closest boundary check?

    For partial correlation, start with correlation y,z and then correlation x,y. Confirm the partial correlation units and allowed domain because a valid-looking entry can still describe the wrong statistical setup.

    Why could another program report a different partial correlation?

    A different convention for rounding, tails, ties, interpolation, parameterization, or missing values can change partial correlation. Compare the printed partial correlation formula and its input definitions before treating either output as wrong.