Guest User

Untitled

a guest
Nov 18th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. library("rugarch")
  2. library("VarianceGamma")
  3. VG.fit=vgFit(dmbp[,1], hessian = T)
  4. summary(VG.fit)
  5.  
  6. *Data:
  7. Parameter estimates:
  8. vgC sigma theta nu
  9. 0.014664 0.462267 -0.031437 0.993245
  10. ( 0.007915) ( 0.011207) ( 0.078276) ( 0.078808)
  11. Likelihood: -1139.495
  12. Method: Nelder-Mead
  13. Convergence code: 0
  14. Iterations: 273*
  15.  
  16.  
  17. fixed.p <- list( mu = 0.03143734,
  18. shape = 0.99324513,
  19. skew =0.01466383)
  20.  
  21. spec = ugarchspec(distribution.model ="nig",fixed.pars = fixed.p)
  22. fit = ugarchfit(data = dmbp[,1], spec = spec)
Add Comment
Please, Sign In to add comment