UnitRootTest._repr_fields#

UnitRootTest._repr_fields()[source]#

The extra pieces of the one-line repr: null, trend, lags.

Return type:

tuple[str, ...]

Returns:

Three key=value strings.

Example

>>> import numpy as np
>>> kpss(np.random.default_rng(0).standard_normal(200))._repr_fields()
("null='stationarity'", "trend='c'", 'lags=4')