statsmodels.genmod.generalized_linear_model.PredictionResultsMean

class statsmodels.genmod.generalized_linear_model.PredictionResultsMean(predicted_mean, var_pred_mean, var_resid=None, df=None, dist=None, row_labels=None, linpred=None, link=None)[source]

Prediction results for GLM.

This results class is used for backwards compatibility for get_prediction with GLM. The new PredictionResults classes dropped the _mean post fix in the attribute names.

Attributes:
predicted_mean
se
se_mean
tvalues
var_pred_mean

Methods

conf_int([method, alpha])

Confidence interval for the predicted value.

summary_frame([alpha])

Summary frame

t_test([value, alternative])

z- or t-test for hypothesis that mean is equal to value

Properties

predicted_mean

se

se_mean

tvalues

var_pred_mean


Last update: Mar 18, 2024