楼主: glclare
1083 5

[统计软件] R code [推广有奖]

  • 0关注
  • 0粉丝

高中生

10%

还不是VIP/贵宾

-

威望
0
论坛币
60 个
通用积分
1.0000
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
193 点
帖子
14
精华
0
在线时间
26 小时
注册时间
2010-12-3
最后登录
2020-1-1

1论坛币
1. Download from Quandl the quarterly S&P 500 Index ranging from 1988.Q1 to 2013.Q4.
2. Divide the series into the in-sample estimation window (observations up to and includ-
ing 2009.Q4) and the out-of-sample forecasting window (observations beginning from
2010.Q1 and onwards).
3. Produce the point and the interval forecasts using the simple exponential smoothing,
the Holt's linear trend, and the Holt-Winters additive seasonal models. Plot the three
graphs.
4. Estimate the rst-order autoregression, i.e. AR(1) process, and calculate the uncondi-
tional mean and the unconditional variance measures.
5. Produce the point and the interval forecasts from the estimated autoregression. Plot
the graph.
6. Within the rolling forecasting environment, generate one-step-ahead forecasts through-
out the out-of-sample set using the considered four models.
7. Calculate aand report the out-of-sample mean absolute error (MAE) and root mean
squared error (RMSE) measures. Which model is preferred?

初学Rcode 第六步与第七步没有思路,请帮帮忙。谢谢啦!

最佳答案

fantuanxiaot 查看完整内容

去悬赏大厅发发看
关键词:code COD ODE observations Forecasting beginning Download seasonal window simple
已有 1 人评分论坛币 收起 理由
fantuanxiaot + 5 精彩帖子

总评分: 论坛币 + 5   查看全部评分

沙发
fantuanxiaot 发表于 2014-9-14 13:08:15 |只看作者 |坛友微信交流群
去悬赏大厅发发看

使用道具

藤椅
glclare 发表于 2014-9-14 21:34:30 |只看作者 |坛友微信交流群
fantuanxiaot 发表于 2014-9-14 13:08
去悬赏大厅发发看
我有去但是我没有很多论坛币。。。
已有 1 人评分论坛币 收起 理由
fantuanxiaot + 5 精彩帖子

总评分: 论坛币 + 5   查看全部评分

使用道具

板凳
fantuanxiaot 发表于 2014-9-14 21:43:37 |只看作者 |坛友微信交流群
glclare 发表于 2014-9-14 21:34
我有去但是我没有很多论坛币。。。
再给你5个

使用道具

报纸
glclare 发表于 2014-9-15 08:03:48 |只看作者 |坛友微信交流群
fantuanxiaot 发表于 2014-9-14 21:43
再给你5个
真的好谢谢你!

使用道具

地板
glclare 发表于 2014-9-15 08:18:58 |只看作者 |坛友微信交流群
fantuanxiaot 发表于 2014-9-14 21:43
再给你5个
谢谢你!

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加JingGuanBbs
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-28 00:08