R/print.sboot.R

Defines functions print.sboot

#' @export

print.sboot <- function(x, ...){

  cat("\nUnique occurrence of single shocks according to sign pattern: \n")
  for(i in 1:length(x$sign_part)){
    cat(names(x$sign_part)[i],":", (x$sign_part[[i]]/x$nboot)*100,"% \n")
  }
  cat("\nJoint occurrence of specified shocks: ")
  cat((x$sign_complete/x$nboot)*100,"%")
}

Try the svars package in your browser

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

svars documentation built on Feb. 16, 2023, 7:52 p.m.