statsmodels.tsa.stattools.KPSSResult#
- class statsmodels.tsa.stattools.KPSSResult(statistic, pvalue, lags, critical_values, resstore)[source]#
Result of
kpss.- Parameters:
- statistic
float The KPSS test statistic.
- pvalue
float The p-value of the test. The p-value is interpolated from Table 1 in Kwiatkowski et al. (1992), and a boundary point is returned if the test statistic is outside the table of critical values, that is, if the p-value is outside the interval (0.01, 0.1).
- lags
int The truncation lag parameter.
- critical_values
dict[str,float] The critical values at 10%, 5%, 2.5% and 1%. Based on Kwiatkowski et al. (1992).
- resstore
ResultsStoreorNone An instance of a dummy class with results attached as attributes, if
storewas True, otherwise None.
- statistic
- Attributes:
- critical_values
- lags
- pvalue
- resstore
- statistic
Notes
Unpacks as
statistic, pvalue = result. Other values are only available through attribute access.Methods
Properties