Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


tsnet (version 0.1.0)

print.tsnet_fit: Print method for tsnet_fit objects

Description

This method provides a summary of the Bayesian GVAR model fitted with [stan_gvar()]. It prints general information about the model, including the estimation method and the number of chains and iterations It also prints the posterior mean of the temporal and contemporaneous coefficients.

Usage

# S3 method for tsnet_fit
print(x, ...)

Value

Prints a summary to the console.

Arguments

x

A tsnet_fit object.

...

Additional arguments passed to the print method (currently not used).

Examples

Run this code
# \donttest{
# Load example data
data(ts_data)
example_data <- ts_data[1:100,1:3]

# Fit the model
fit <- stan_gvar(example_data,
                 method = "sampling",
                 cov_prior = "IW",
                 n_chains = 2)

print(fit)
# }

Run the code above in your browser using DataLab