Skip to contents

Computes and displays a summary of a fitted revision model, including the estimated specification, convergence status, information criteria, and parameter estimates. Defined once for the parent class revision_model; the family-specific header and specification block are supplied by the concrete class.

Usage

# S3 method for class 'revision_model'
summary(object, ...)

Arguments

object

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

...

Additional arguments passed to or from other methods.

Value

The input object, 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")
summary(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
#>