simple forecast with AR model

版本 1.0.0.0 (1.7 KB) 作者: raffaele
forecast with iterative or direct methods, a general AR(p) model, choosing the best p with AIC algo
906.0 次下载
更新时间 2015/7/7

查看许可证

This function performs a forecast, h-periods-ahead, supposing the process follows an AR process. The best number p of lags is detrmined by the AIC principle, with a simplified formula. Once the best number of lags is determined, the algorithm performs a forecast, choosing an iterative o direct method.
The iterative method performs a first forecast for the next period, then uses this forecast as the last observation of the time series, and perform again a forecast using this last informtion. Simple OLS is used to find parameters of the forecast.
The direct method performs an OLS regression of the variable into its h-th lags, thus it does not uses "new" information, but the variable is regressed directly from its past values.

引用格式

raffaele (2024). simple forecast with AR model (https://www.mathworks.com/matlabcentral/fileexchange/52010-simple-forecast-with-ar-model), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2014a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 System Identification Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0