Example of using crossval function with ar or arx-function in matlab?
이전 댓글 표시
Can anyone give or redirect to a source where I could see a simple example of the usage of the CROSSVAL function in MATLAB, where the prediction function is either AR or ARX function?
I cannot find examples from the MATLAB's documentation or the web...
EDIT:
I'm using time series data on temperatures, wind speed, nitrogen oxyde, etc. to construct an AR forecast model on the air conditions.
My professor just adviced to me use cross validation to check how well my model does its work.
I'm new in Matlab and data analysis so I can't give very deeply analyzed answers.
What I'm trying to do is the following:
I have a bunch of data on air conditions in a vector (integers corresponding to for example temperatures) and I try to create an AR model with this data. Now I want to use cross validation to see how well the model is doing forecasting, but I would like to see an example how this is done =)
댓글 수: 2
Shashank Prasanna
2013년 1월 14일
Autoregressive models are serially correlated, could you elaborate on what you have in mind when you say cross validation of an AR model?
CHHAVI
2020년 7월 26일
Dear Sir, I want to do cross validation and leave one out in matlab. please help
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Resampling Techniques에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!