How to predict future values using time series regression
7 ビュー (過去 30 日間)
古いコメントを表示
I have a dataset with a time variable t which is in the format: dd-mm-yyyy hh:mm:ss
I also have five other independent variables x1,x2,x3,x4,x5
I want to predict the value of dependent variable y0 for a value of t for which I do not have values of x1,x2,x3,x4,x5. Essentially, I want to predict the value of y0 for a future time t.
Do I create a linear model using fitlm and then predict future values or is there a completely different procedure for time series regression?
Any help would be appreciated.
0 件のコメント
回答 (1 件)
Raynier Suresh
2021 年 2 月 15 日
編集済み: Raynier Suresh
2021 年 2 月 15 日
Hi, You can follow the below examples to predict future values based on past data.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Regression についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!