Created
August 29, 2019 05:19
-
-
Save mvervuurt/6a82ef75adeb81d74fb2ffe32d9dc980 to your computer and use it in GitHub Desktop.
Nice print of augmented dicky fuller test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dfout = pd.Series(dftest[0:4],index=['ADF test statistic','p-value','# lags used','# observations']) | |
for key,val in dftest[4].items(): | |
dfout[f'critical value ({key})']=val | |
print(dfout) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment