Relative Content

Tag Archive for pythonstatsmodelsquantitative-finance

Does coint from statsmodels.tsa.stattools in python consider stationarity?

At the base level I am trying to determine if two stocks are cointegrated. To that end I take the adjusted close data of two stocks and call coint on this data. However I am unsure if the coint test considers residuals (for stationarity) as the documentation may suggest or not. Can someone clarify this for me?
From docs:
coint_t: float
The t-statistic of unit-root test on residuals.