How does the forecast function in MATLAB forecast?
3 views (last 30 days)
Show older comments
I want to know how exactly the forecast method function. i.e the inside working of the function. Does it use a polynomial? What the default polynomial is? Does it use regression? I am using an AR model to forecast. Any paper on this would really prove helpful. Thanks in advance.
3 Comments
dpb
on 6 Apr 2014
The forecast is an evaluation of the given AR model using the fitted model results and either supplied values for the innovations and other stochastic elements. They're described in the documentation for forecast.
If you don't understand the terms, I'm no econometrics guy so don't know the other literature in the references, but will commend the daddy of all, Box and Jenkins, as the place to go to to understand enough of the modeling theory behind the implementation to be able to use it sensibly.
Answers (1)
Dhaniklal
on 7 Feb 2023
Hi,
I understand that you want to know about forecast function in MATLAB.
Please follow the link for documentation on forecast:
Also, you may right click on the function name in editor and click on - Open “forecast”. This will open the definition of the function. It may help you understand exactly how it works. This works for any function/object in MATLAB.
Thanks,
Dhaniklal
0 Comments
See Also
Categories
Find more on Conditional Mean Models in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!