unit_root
Perform Augmented Dickey-Fuller (ADF) unit root test.
The ADF test is a popular method for testing the presence of a unit root in a time series. A unit root indicates that the series may be non-stationary, meaning its statistical properties such as mean, variance, and autocorrelation can change over time. The presence of a unit root suggests that the time series might be influenced by a random walk process, making it unpredictable and challenging for modeling and forecasting. The 'regression' parameter allows you to specify the model used in the test: 'c' for a constant term, 'ct' for a constant and trend term, and 'ctt' for a constant, linear, and quadratic trend. This flexibility helps tailor the test to the specific characteristics of your data, providing a more accurate assessment of its stationarity.
Parameters
- standard
data: ForwardRef('Data') | ForwardRef('DataFrame') | ForwardRef('Series') | ForwardRef('ndarray') | dict | list
column: str
regression: Literal['c', 'ct', 'ctt']
Default: c
Returns
results: Data
Serializable results.
provider: str
Provider name.
warnings: Optional[list[Warning_]]
list of warnings.
chart: Optional[Chart]
Chart object.
extra: dict[str, Any]
Extra info.
Data
- standard