作者answer012103 ( )
看板Statistics
標題[程式] R 怎麼fit一個garch模型
時間Sat May 15 02:08:43 2010
[軟體程式類別]:
R
[程式問題]:
應該算迴歸吧
[軟體熟悉度]:
新手(不到1個月)
[問題敘述]:
這是我的資料
http://sun.cis.scu.edu.tw/~92a39/upload/39465.txt
我的問題是 Consider the daily simple returns of GM stock in the file
Find an adequate GARCH-M model for the series. Write down the fitted
model.
可是試著去做但是好像沒有fit也沒有garch相關的指令,
請問我是不是還缺少了什麼東西?或是我該怎麼做呢?
先感謝大家的回答了
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.228.139.187
1F:推 laba1014:library(tseries),裡面有寫好的程式 garch() 可用 05/15 04:48
2F:→ laba1014:沒有 tseries 這個 package 就去 R 的官網抓 05/15 04:49
3F:→ laba1014:我印象中 tseries 這個 package有寫好的講義可以看 05/15 04:50
4F:推 Aqery:找Rmetrics相關的package,豐富到你不知道要用哪個... 05/15 08:19
5F:推 a5170040:rgarch這個package也可以喔 05/15 10:25
6F:→ answer012103:多謝大家的回答 我再試試看!! 05/16 00:05