statsmodels.regression.process_regression.ProcessMLEResults.covariance_group#
- ProcessMLEResults.covariance_group(group)[source]#
Returns the fitted covariance matrix for a group.
- Parameters:
- group
object The group label, as it appears in the groups array or column that was used to fit the model.
- group
- Returns:
ndarrayThe fitted covariance matrix for the observations belonging to group.
- Raises:
ValueErrorIf group is not one of the group labels used to fit the model.