Namespace:
Imsl.Stat
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
[SerializableAttribute] public class PartialCovariances |
Visual Basic (Declaration) |
---|
<SerializableAttribute> _ Public Class PartialCovariances |
Visual C++ |
---|
[SerializableAttribute] public ref class PartialCovariances |
Remarks
If the "independent" variables (the linear "effect" of the independent variables is removed in computing the partial covariances/correlations) are linearly related to one another, PartialCovariances detects the linearity and eliminates one or more of the independent variables from the list of independent variables. The number of variables eliminated, if any, can be determined from the property PartialDegreesOfFreedom.
Given a covariance or correlation matrix partitioned as




If partial correlations are desired, these are computed as
![P_{22|1} =
\left[ \textrm{diag}(\Sigma_{22|1}) \right]^{-1/2}
\Sigma_{22|1}
\left[ \textrm{diag}(\Sigma_{22|1}) \right]^{-1/2}](eqn/eqn_3581.png)




The p-value for a partial covariance tests the null hypothesis
,
where
is the (i, j) element in matrix
.
The p-value for a partial correlation tests the null
hypothesis
,
where
is the (i, j) element in matrix
.
The p-values are returned by GetPValues.
If the degrees of freedom for sigma, df, is not known,
the resulting p-values may be useful for comparison,
but they should not by used as an approximation to the actual probabilities.