Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some question about DCC.est.r #3

Closed
linfengzhou opened this issue Jul 3, 2014 · 3 comments
Closed

Some question about DCC.est.r #3

linfengzhou opened this issue Jul 3, 2014 · 3 comments

Comments

@linfengzhou
Copy link

Excuse me,I can not install package, so i just use the dcc.est.r.
When using it, the r told me:
could not find function "garch" (which is in the first step )
Is it something i missing?

@vst
Copy link
Owner

vst commented Jul 3, 2014

garch method comes from within tseries package.

You can issue following command to install and load tseries:

install.packages("tseries")
library(tseries)

BTW: What is the problem with installation? What is the error message you are receiving? What is your platform (eg. GNU/Linux, Mac OSX, Windows) and R version?

@linfengzhou
Copy link
Author

Thank you for informing that.My platform is windows, and R version is v3.1.0. I install mgarch from the github using the devtools package:

require(devtools)
install_github('mgarch','vst')

And the following information is:

Installing github repo mgarch/master from vst
Downloading master.zip from https://github.com/vst/mgarch/archive/master.zip
Installing package from C:\Users\Luke\AppData\Local\Temp\Rtmpc7XEzQ/master.zip
Installing mgarch
"F:/PROGRA2/R/R-311.0/bin/i386/R" --vanilla CMD INSTALL
"C:\Users\Luke\AppData\Local\Temp\Rtmpc7XEzQ\devtools36b0717a32f6\mgarch-master"
--library="F:/Program Files/R/R-3.1.0/library" - install-tests

installing source package 'mgarch' ...
** libs
*** arch - i386
Warning: running command 'make -f "F:/PROGRA2/R/R-311.0/etc/i386/Makeconf" -f "F:/PROGRA2/R/R-311.0/share/make/winshlib.mk" SHLIB="mgarch.dll" OBJECTS="loglikelihood.o loglikelihood_GJR.o matrixlib.o"' had status 127
ERROR: compilation failed for package 'mgarch'

  • removing 'F:/Program Files/R/R-3.1.0/library/mgarch'
    Error: Command failed (1)```

And I don't know how to fix it.

By the way, when i were using the dcc.est.r, the r told me

Error in optim(theta.old, fun, gradient, control = control, method = method, :
initial value in 'vmmin' is not finite

What should i check? Data? or other things?

@vst
Copy link
Owner

vst commented Jul 11, 2014

I am sorry, I missed your message.

I don't know what the problem is as I can't reproduce it on my Mac OSX. And it was working lately on GNU/Linux.

I have uploaded the Windows binary to my public Dropbox folder. I got it compiled on the Win-builder (http://win-builder.r-project.org/). You can grab it from the following URL and give it a try:

https://dl.dropboxusercontent.com/u/14420846/mgarch_0.0-5.zip

Re. vmmin: please check your data. It should work. However, a better alternative would be to check the following two packages:

  1. ccgarch
  2. rmgarch

@vst vst closed this as completed Jul 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants