--- title: cointegration description: Learn how to use the two-step Engle-Granger test to show co-integration between two time series in Python. Explore the parameters, input dataset, data columns, and the OBBject returned with the test results. keywords: - co-integration - Engle-Granger test - time series - data - columns - cointegration - maxlag - Python --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; Show co-integration between two timeseries using the two step Engle-Granger test. Parameters ---------- data: List[Data] Input dataset. columns: List[str] Data columns to check cointegration maxlag: PositiveInt Number of lags to use in the test. Returns ------- OBBject[Data] OBBject with the results being the score from the test. ```python wordwrap ``` --- ## Parameters This function does not take standardized parameters. --- ## Returns This function does not return a standardized model ---