Skip to contents

Default print method for jvn_model objects. Wraps the summary method for a consistent output.

Usage

# S3 method for class 'jvn_model'
print(x, ...)

Arguments

x

An object of class jvn_model.

...

Additional arguments passed to summary.jvn_model.

Value

The function returns the input x invisibly.

Examples

gdp <- dplyr::filter(
  tsbox::ts_pc(
    reviser::gdp
), id %in% c("EA"),
   time >= min(pub_date),
   time <= as.Date("2020-01-01")
  ) 
gdp <- tidyr::drop_na(gdp)
df <- get_nth_release(gdp, n = 0:4)

# Estimate model
result <- jvn_nowcast(
  df = df,
  e = 3,
  ar_order = 2,
  h = 4,
  include_news = TRUE,
  include_noise = TRUE
)
#> Warning: 2 parameter(s) have problematic standard errors (2 NaN)
result
#> 
#> === Jacobs-Van Norden Model ===
#> 
#> Convergence: Success 
#> Log-likelihood: 123.32 
#> AIC: -228.65 
#> BIC: -198.52 
#> 
#> Parameter Estimates:
#>     Parameter Estimate Std.Error
#>         rho_1    0.737     0.171
#>         rho_2   -0.117     0.174
#>       sigma_e    0.610        NA
#>    sigma_nu_1    0.101        NA
#>    sigma_nu_2    0.001     0.027
#>    sigma_nu_3    0.003     0.035
#>  sigma_zeta_1    0.070     0.006
#>  sigma_zeta_2    0.001     0.010
#>  sigma_zeta_3    0.053     0.005
#>