statsmodels.genmod.cov_struct.CovStruct.covariance_matrix¶
- CovStruct.covariance_matrix(endog_expval, index)[source]¶
Returns the working covariance or correlation matrix for a given cluster of data.
Returns the working covariance or correlation matrix for a given cluster of data.