Learn R Programming

bayesforecast (version 1.0.1)

prior_summary.varstan: Generic function for extracting information about prior distributions

Description

The function returns a report with the users defined model for the given time series data and all the current defined priors of the model.

Usage

# S3 method for varstan
prior_summary(object, ...)

Arguments

object

a varstan object or one of the defined current defined reports in varstan package

...

additional values need in print methods

Value

none. prints a string with the defined time series model report

Details

if object is a varstan object the function will print the information of the defined model inside of the object. If object is one of the model classes (like Sarima or garch) then it will print the report information as well.

Examples

Run this code
# NOT RUN {
library(astsa)
dat2 = garch(birth,order = c(1,1,0))
prior_summary(dat2)

# }

Run the code above in your browser using DataLab