statsmodels.stats.correlation_tools.FactoredPSDMatrix.decorrelate

FactoredPSDMatrix.decorrelate(rhs) [source]

Decorrelate the columns of rhs.

Parameters: rhs (array-like) – A 2 dimensional array with the same number of rows as the PSD matrix represented by the class instance.
Returns:
  • C^{-1/2} * rhs, where C is the covariance matrix represented
  • by this class instance.

Notes

The returned matrix has the identity matrix as its row-wise population covariance matrix.

This function exploits the factor structure for efficiency.

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.stats.correlation_tools.FactoredPSDMatrix.decorrelate.html