Partial correlation coefficient is used to describe the relation between two variables in the presence of controlling variables.
For a set of
random variables Y and
controlling variables X, combine two sets of variables X and Y, its variance-covariance matrix can be expressed as:
/math-90b8ce2774c5073b1124c7e9a4b41957.png?v=0)
The variance-covariance matrix of Y variables for controlling variables X is given by:
/math-a497642b29af9eda7964583875b85002.png?v=0)
The partial correlation coefficient matrix is calculated by:
/math-dc013e6067313a0ed2ca5041a49ac91b.png?v=0)
A t-Test can be used to test the hypothesis that a partial correlation coefficient is zero.
The degrees of freedom are:
/math-0613eb5b6527b5b309de243d94b08a47.png?v=0)
where n is the number of observations in the calculation of the full correlation. For pairwise deletion of missing values, in the calculation of partial correlation of two variables
given controlling variables X, n is the minimum number of observations in the pairs of
and pairs in X.
t Statistic is:
/math-14450f33ce8531f5a46e17c259af12b7.png?v=0)
where r is the partial correlation coefficient.
The two-tailed significance level
can be calculated as:
/math-704674c897463ad5d94a0842cbdadd58.png?v=0)