Skip to content
Prev 11753 / 15274 Next

why my rugarch ugarchfit function is slow ?

ce
Hi Alexios,

One more request. Are those execution times are normal ?
user  system elapsed 
 484.99    0.02  487.62
user  system elapsed 
  13.71    0.02   13.74 

 arfima=TRUE option makes autoarfima very slow ?


-----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: