Created
October 3, 2022 13:41
-
-
Save naenumtou/e4e165286fcbf73b160b5e92a694e763 to your computer and use it in GitHub Desktop.
This file contains 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
# HAC Result | |
# 1 | |
lags = int(4 * (df.shape[0] / 100) ** (2 / 9)) | |
print(f'Number of lags: {lags}') | |
HAC = newResult.get_robustcov_results( | |
cov_type = 'HAC', | |
maxlags = lags | |
) | |
# Summary | |
print(HAC.summary()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment