R/fourth.R

Defines functions fourth

Documented in fourth

# fourth order moment condition 
# for details, see He and Ter\"{a}svirta (2004) and Nakatani and Ter\"{a}svirta (2007).
   fourth <- function(A,B,R){
     AB <- A+B
     AA <- A%x%A
     G <- AB%x%AB + 2*AA*(diag(as.vector(R))^2)
     max(Mod(eigen(G)$values))
   }

Try the ccgarch package in your browser

Any scripts or data that you put into this service are public.

ccgarch documentation built on May 29, 2017, 12:58 p.m.