statsmodels.genmod.generalized_linear_model.PredictionResultsMean.t_test¶
- PredictionResultsMean.t_test(value=0, alternative='two-sided')¶
z- or t-test for hypothesis that mean is equal to value
- Parameters:
- valuearray_like
value under the null hypothesis
- alternative
str
‘two-sided’, ‘larger’, ‘smaller’
- Returns: