Skip to contents

Construct a single row summary of the GLARMA model.

Usage

# S3 method for GLARMA
glance(x, ...)

Format

A data frame with 1 row, with columns:

sigma2

The unbiased variance of residuals. Calculated as `sum(residuals^2) / (num_observations - num_pararameters + 1)`

log_lik

The log-likelihood

AIC

Akaike information criterion

Arguments

x

model or other R object to convert to single-row data frame

...

other arguments passed to methods

Value

A one row tibble summarising the model's fit.

Examples

tsibbledata::aus_production |>
  fabletools::model(manual_ing = GLARMA(Beer ~ pq(1,1))) |>
  dplyr::select(manual_ing) |>
  glance()
#> Warning: 1 error encountered for manual_ing
#> [1] An error has occurred in the model estimation, try changing the model parameters
#> # A tibble: 0 × 1
#> # ℹ 1 variable: .model <chr>