statsmodels.stats.multivariate.test_cov_blockdiagonal¶
- statsmodels.stats.multivariate.test_cov_blockdiagonal(cov, nobs, block_len)[source]¶
One sample hypothesis test that covariance is block diagonal.
The Null and alternative hypotheses are
\[\begin{split}H0 &: \Sigma = diag(\Sigma_i) \\ H1 &: \Sigma \neq diag(\Sigma_i)\end{split}\]where \(\Sigma_i\) are covariance blocks with unspecified values.
- Parameters:¶
- Returns:¶
res – results with
statistic, pvalueand other attributes likedf- Return type:¶
instance of HolderTuple
References
Rencher, Alvin C., and William F. Christensen. 2012. Methods of Multivariate Analysis: Rencher/Methods. Wiley Series in Probability and Statistics. Hoboken, NJ, USA: John Wiley & Sons, Inc. https://doi.org/10.1002/9781118391686.
StataCorp, L. P. Stata Multivariate Statistics: Reference Manual. Stata Press Publication.