statsmodels.tsa.base.prediction.PredictionResults.t_test¶
- PredictionResults.t_test(value=0, alternative='two-sided')[source]¶
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: