January 2020
Beginner to intermediate
432 pages
11h 24m
English
Investigate this third fact about the absence of autocorrelation in returns.
N_LAGS = 50SIGNIFICANCE_LEVEL = 0.05
acf = smt.graphics.plot_acf(df.log_rtn, lags=N_LAGS, alpha=SIGNIFICANCE_LEVEL)
Executing the preceding code results in the following plot:

Only a few values lie outside the confidence interval (we do not look at lag 0) and can be considered statistically significant. We can assume that we have verified that there is no autocorrelation ...
Read now
Unlock full access