how to treat the last observation? Forecasting??
古いコメントを表示
Dear all,
I have the following cell matrix
A={
'24/09/2000' [4.1583]
'22/10/2000' [3.9389]
'19/11/2000' [4.3944]
'17/12/2000' [3.9313]
'14/01/2001' [3.9313]
'11/02/2001' [3.9313]
'11/03/2001' [4.0339]}
I can easily convert the above data points to monthly averages; through the calculation of the weighted average between successive observations.
For instance for the first observation I have
24*4.1583+ 6*3.9389
where 24 is the 24 days from month Octomber and 6=(last date of the month-24=30-24) The only problem is how to treat the last observation:
11*4.0339+?
One way is to extrapolate but I do not consider this method reliable. The above values are prices. So could I apply some other way? Maybe forecasting taking into account seasonality?
Any help/code provided will greatly appreciated
thanks
4 件のコメント
Oleg Komarov
2012 年 8 月 18 日
Why do you call them averages? You don't have multiple observations per month. Have you looked at interp1(), you can also extrapolate to the last day of March 2001.
antonet
2012 年 8 月 18 日
Walter Roberson
2012 年 8 月 18 日
You do not have enough data to forecast with, not with any meaningful accuracy.
antonet
2012 年 8 月 18 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Dates and Time についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!