glance.ARIMA: Glance an ARIMA model

View source: R/arima.R

glance.ARIMAR Documentation

Glance an ARIMA model

Description

Construct a single row summary of the ARIMA model.

Usage

## S3 method for class 'ARIMA'
glance(x, ...)

Arguments

x

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

...

other arguments passed to methods

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

AICc

Akaike information criterion, corrected for small sample sizes

BIC

Bayesian information criterion

ar_roots, ma_roots

The model's characteristic roots

Value

A one row tibble summarising the model's fit.

Examples

USAccDeaths %>%
  as_tsibble() %>%
  model(arima = ARIMA(log(value) ~ pdq(0, 1, 1) + PDQ(0, 1, 1))) %>%
  glance()

fable documentation built on March 31, 2023, 8:13 p.m.