Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- spec = ugarchspec(mean.model = list(armaOrder = c(0, 0), external.regressors = cbind(log(SP)))
- fit = ugarchfit(spec=spec, data=log(EX))
- spec = ugarchspec(mean.model = list(armaOrder = c(0, 0), external.regressors = cbind(diff(log(SP))))
- fit = ugarchfit(spec=spec, data=diff(log(EX)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement