How to reverse a prediction obtained from a seasonal difference of time series in Matlab?

8 ビュー (過去 30 日間)
karim bio gassi
karim bio gassi 2020 年 6 月 7 日
編集済み: karim bio gassi 2020 年 6 月 7 日
Hi everyone
I make a prediction using a weekly differencing data. the weekly differencing time series data has been obtained using the following lines of codes. the data is half hour data
hence 7*48=336.
D12 = LagOp({1 -1},'Lags',[0,336]);
dY = filter(D12,loadr);
After the data transformation I perform a SARMAX regression using the following lines of codes
[beta, betaci, res2] = regress(dY, Xres);
[beta, betaci, res2] = regress(dY, [Xres,lagmatrix(res2, lags)]); with Xres the seasonal AR and exogenous predictors. While res2 is the MA predictor.
Now I can simulate the model for other time period. My question is how can I transform the result gotten from the model in order to remove the lag operator D12 and get the real value.
please help me.
thanks

回答 (0 件)

カテゴリ

Help Center および File ExchangeData Preprocessing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by