Skip to content

why my rugarch ugarchfit function is slow ?

1 message · ce

ce
#
cran rugarch version is 1.2.2. Indeed installing 1.2-6 from google solved the problem . now sp500ret completes in 15 sec. 
still not as good as your Intel core 2.  I am  disappointed with my Sony vaio i3 opensuse performance. but it's not your problem.
Thanks  a lot for your help.
ce


-----Original Message-----
From: "alexios ghalanos" [alexios at 4dscape.com]
Date: 07/04/2013 04:23 AM
To: "ce" <zadig_1 at excite.com>
CC: "" <alexios at 4dscape.com>, "" <r-sig-finance at r-project.org>
Subject: Re: [R-SIG-Finance] why my rugarch ugarchfit function is slow ?

Hi,

I took out an old laptop from storage runnnig Mint x46 on an Intel Core 
2 (older than the 'i's) and was able to reproduce the problem with
rugarch 1.2-5. However, on updating to the newest release on google code 
(1.2-6) I got:

spec = ugarchspec(variance.model = list(model = 'fGARCH',submodel = 
'NAGARCH', garchOrder = c(2, 1)), distribution = 'sstd')
system.time(ugarchfit(spec, sp500ret, solver = 'hybrid'))
  user  system elapsed
  11.412   0.052  11.470

This is "likely" related to a reversal of a change made in a previous 
version for vectorizing distributions (and affecting among other things 
the stationarity constraint, but not the likelihood
evaluation as this is in any case evaluated in C). Make sure you get the 
newest version from its google code repository and that you are in fact 
installing it.

Regards,

Alexios
On 07/04/2013 10:22 AM, ce wrote: