You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This script downloads stock data, checks for stationarity, fits an ARIMA model, makes predictions, and evaluates the model's performance.
125
+

126
+
127
+
This script downloads stock data, checks for stationarity, fits an ARIMA model, makes predictions, and evaluates the model's performance. In this case, as expected from the plot, the time-series is not stationary. Hence, *d* has to be greater or equal to 1.
129
128
130
129
## 5. Model Selection and Diagnostic Checking
131
130
@@ -148,7 +147,38 @@ Determining the optimal ARIMA parameters involves a combination of statistical t
148
147
* Fine-tune with Information Criteria:
149
148
- Use AIC (Akaike Information Criterion) or BIC (Bayesian Information Criterion) to compare different models.
150
149
151
-
### Finding d values from plots
150
+
### Finding d parameter from plots
151
+
Since, the stationary was already checkd in the previous, this paragraph is useful for graphical and comphrension purpose. Moreover, with autocorrelation parameters, it is possible to find better values of d that the ADF test cannot recognize.
152
+
153
+
```python
154
+
from statsmodels.graphics.tsaplots import plot_acf, plot_pacf
0 commit comments