Skip to contents

Default print method for objects inheriting from revision_model. Dispatches to summary.revision_model() for a consistent console display.

Usage

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

Arguments

x

A fitted model object inheriting from revision_model, such as a kk_model or a jvn_model.

...

Additional arguments passed to summary.revision_model().

Value

The input x, invisibly.

Examples

df <- get_nth_release(
  tsbox::ts_span(
    tsbox::ts_pc(dplyr::filter(reviser::gdp, id == "US")),
    start = "1980-01-01"
  ),
  n = 0:1
)
df <- na.omit(dplyr::select(df, -c("id", "pub_date")))
fit <- kk_nowcast(df, e = 1, h = 2, model = "Kishor-Koenig", method = "MLE")
fit
#> 
#> === Kishor-Koenig Model ===
#> 
#> Specification: Kishor-Koenig 
#> Estimation method: MLE 
#> Convergence: Success 
#> Log-likelihood: -100.83 
#> AIC: 211.67 
#> BIC: 230.99 
#> 
#> Parameter Estimates:
#>  Parameter Estimate Std.Error
#>         F0    0.198     0.073
#>       G0_0    0.990     0.000
#>       G0_1    0.080     0.076
#>         v0    1.598     0.171
#>       eps0    0.007     0.001
#>