请选择 进入手机版 | 继续访问电脑版
楼主: 我爱你222
3078 3

[问答] 关于mgarch包的纠结,求助! [推广有奖]

  • 0关注
  • 1粉丝

本科生

13%

还不是VIP/贵宾

-

威望
0
论坛币
0 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
304 点
帖子
34
精华
0
在线时间
109 小时
注册时间
2011-10-6
最后登录
2018-10-10

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币

为什么我按照https://github.com/vst/mgarch#mgarch---r-package-for-mgarch-model-simulation-and-estimation里跑的程序运行结果不一样,是不是我的软件安装有问题,好纠结。。。
下面A是我跑出来的;B是官网的,,,,,为什么最后我只有1200个,官网程序跑出来的有2500个,求助!!!
A:
<- mvBEKK.sim(series.count=2, T=1200)
Class attributes are accessible through following names:
length series.count order params true.params eigenvalues uncond.cov.matrix white.noise eps cor sd
>  eps <- data.frame(s1=sim$eps[[1]], s2=sim$eps[[2]])
> head(eps)
           s1         s2
1 -2.34135031  1.9310591
2  1.35149680  5.5166203
3  1.53301390 -0.6153169
4 -0.29619309  1.5610484
5 -0.04608385 -0.7291284
6 -1.68709054 -2.6319624
> tail(eps)
              s1         s2
1195 -1.36161909  0.1190613
1196 -1.07341879  0.9684693
1197 -0.05566677 -0.9465384
1198 -1.13753179 -0.8101828
1199  1.53477041  1.0223887
1200  0.43651992 -5.5372208
B:
> sim <- mvBEKK.sim(series.count=2, T=1200> eps <- data.frame(s1=sim$eps[[1]], s2=sim$eps[[2]])> head(eps)       s1      s21 -0.7302 -0.90662 -1.0601 -0.91003 -2.0181  0.85614  1.1678  0.90715 -0.1927  0.24416  0.9193 -0.0993> tail(eps)          s1      s22495 -1.0160 -0.96262496  1.5960 -0.50202497 -1.6413  1.16642498  2.0670 -1.98112499  0.6587  0.18382500  1.0310  1.2592
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:MGARCH GARCH ARCH ARC RCH 程序 软件

ryoeng 在职认证  发表于 2015-7-7 23:54:49 |显示全部楼层 |坛友微信交流群
  1. source(pipe(paste("wget -O -", "https://rawgit.com/greenore/initR/master/init.R")))
  2. packagesBioconductor("EBImage")
  3. packagesGithub("captchaSolveR", repo_name="greenore")
复制代码

咱也是很多程序包都可以安装到,唯独 EBImage 和 captchaSolveR。

使用道具

ryoeng 发表于 2015-7-7 23:54
咱也是很多程序包都可以安装到,唯独 EBImage 和 captchaSolveR。
啊???

使用道具

ryoeng 在职认证  发表于 2015-7-8 21:01:46 |显示全部楼层 |坛友微信交流群
我爱你222 发表于 2015-7-8 12:09
啊???
  1. > source(pipe(paste("wget -O -", "https://rawgit.com/greenore/initR/master/init.R")))
  2. --2015-07-08 13:00:44--  https://rawgit.com/greenore/initR/master/init.R
  3. Resolving rawgit.com (rawgit.com)... 104.131.130.212
  4. Connecting to rawgit.com (rawgit.com)|104.131.130.212|:443... connected.
  5. HTTP request sent, awaiting response... 301 Moved Permanently
  6. Location: https://raw.githubusercontent.com/greenore/initR/master/init.R [following]
  7. --2015-07-08 13:00:45--  https://raw.githubusercontent.com/greenore/initR/master/init.R
  8. Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 103.245.222.133
  9. Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|103.245.222.133|:443... connected.
  10. HTTP request sent, awaiting response... 200 OK
  11. Length: 4961 (4.8K) [text/plain]
  12. Saving to: ‘STDOUT’

  13.      0K ....                                                  100% 1.51G=0s

  14. 2015-07-08 13:00:45 (1.51 GB/s) - written to stdout [4961/4961]

  15. > packagesBioconductor("EBImage")
  16. --2015-07-08 13:00:45--  https://rawgit.com/greenore/initR/master/biocLite.R
  17. Resolving rawgit.com (rawgit.com)... 104.131.130.212
  18. Connecting to rawgit.com (rawgit.com)|104.131.130.212|:443... connected.
  19. HTTP request sent, awaiting response... 301 Moved Permanently
  20. Location: https://raw.githubusercontent.com/greenore/initR/master/biocLite.R [following]
  21. --2015-07-08 13:00:46--  https://raw.githubusercontent.com/greenore/initR/master/biocLite.R
  22. Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 103.245.222.133
  23. Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|103.245.222.133|:443... connected.
  24. HTTP request sent, awaiting response... 200 OK
  25. Length: 4578 (4.5K) [text/plain]
  26. Saving to: ‘STDOUT’

  27.      0K ....                                                  100% 1.52G=0s

  28. 2015-07-08 13:00:46 (1.52 GB/s) - written to stdout [4578/4578]

  29. Bioconductor version 3.1 (BiocInstaller 1.18.3), ?biocLite for help
  30. Error: 'no packages in repository (no internet connection?)' while trying
  31.   http://bioconductor.org/packages/3.1/bioc
  32. > packagesGithub("captchaSolveR", repo_name="greenore")
  33. loaded package: devtools
  34. loaded package: RCurl
  35. loaded package: httr
  36. Downloading github repo greenore/captchaSolveR@master
  37. Installing captchaSolveR
  38. Skipping 5 packages not available: EBImage, ocR, RCurl, systemR, XML
  39. '/usr/lib/R/bin/R' --no-site-file --no-environ --no-save --no-restore CMD INSTALL  \
  40.   '/tmp/RtmpgYC28r/devtools72ab6af342e8/greenore-captchaSolveR-9a465ff'  \
  41.   --library='/home/rstudio/R/x86_64-pc-linux-gnu-library/3.2' --install-tests

  42. ERROR: dependency ‘EBImage’ is not available for package ‘captchaSolveR’
  43. * removing ‘/home/rstudio/R/x86_64-pc-linux-gnu-library/3.2/captchaSolveR’
  44. Error: Command failed (1)
  45. In addition: Warning messages:
  46. 1: closing unused connection 6 (wget -O - https://rawgit.com/greenore/initR/master/biocLite.R)
  47. 2: closing unused connection 5 (wget -O - https://rawgit.com/greenore/initR/master/init.R)
  48. 3: closing unused connection 4 (wget -O - https://rawgit.com/greenore/initR/master/biocLite.R)
  49. 4: closing unused connection 3 (wget -O - https://rawgit.com/greenore/initR/master/init.R)
复制代码
问过别人都可以成功安装,唯独本人。

使用道具

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

本版微信群
加好友,备注cda
拉您进交流群

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

GMT+8, 2024-3-29 18:28