R/print.optimlag.R

"print.optimlag" <-function(x,  ...){
  cat("Under the assumption of only one common trend," ,"\n",
      "the Lag order to maximize Johansen statistic(1988):","\n",sep="")
  print(x$Olag)
  cat("\n")
  cat("Corresponding Johansen Statistic:","\n")
  print(x$Olag.value)
  cat("\n")
  cat("A list for all the possible lag orders ", "\n")
  print(x$list.lags)
}

Try the CommonTrend package in your browser

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

CommonTrend documentation built on May 2, 2019, 3:28 p.m.