Code for GARCH-ARIMA

7 次查看(过去 30 天)
Seemant Tiwari
Seemant Tiwari 2024-3-24
回答: Subhajyoti 2024-8-22
I have time series data,
My input series is TEMP., HUMIDITY, PRESSURE.
and MY TARGET SERIES IS AVERAGE WIND SPEED.
I am arranging my data for 1 day ahead prediction like
d= ones(1,365);
X_new=[Temp.;Humidity;Pressure];
X=mat2cell(X_new,3,24*d);
input series = X
T_new=[wind speed];
T=mat2cell(T_NEW,1,24*d);
Target series = T
I WANT TO GO NEXT STEP FOR garch-arima, I WANT CODE TO CALCULATE P,D,Q VALUE
ALSO PREDICTION CODING, for GARCH-ARIMA

回答(1 个)

Subhajyoti
Subhajyoti 2024-8-22
Hi Seemant,
You can perform the GARCH-ARIMA modelling in MATLAB, using the Econometric Toolbox. The ‘arima’ function in MATLAB helps to estimate the parameters of the ARIMA model. The residuals from the ARIMA model can then be used to fit a GARCH(1,1) model with ‘garch’ function. This allows for forecasting future values and volatility of the series.
Note: Since MATLAB does not support an automatic function, you may need to try different combinations of ‘p’, ‘d’, ‘q’, using criterias like AIC (Akaike Information Criterion), BIC (Bayesian Information Criterion), Autocorrelation functions like ‘autocorr’ and ‘parcorr’, etc.
You may go through the following MathWorks documentation link to learn more about GARCH-ARIMA modelling in MATLAB.
I hope this helps.

类别

Help CenterFile Exchange 中查找有关 Conditional Variance Models 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by