Skip to contents

Returns the coefficients from the model in a `tibble` format.

Usage

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

Arguments

x

An object to be converted into a tidy tibble::tibble().

...

Additional arguments to tidying method.

Value

The model's coefficients in a `tibble`.

Examples

tsibbledata::aus_production |>
  fabletools::model(manual_gla = GLARMA(Beer ~ pq(1,0))) |>
  dplyr::select(manual_gla) |>
  fabletools::tidy()
#> # A tibble: 4 × 4
#>   .model     statistic  intercept      ar_1
#>   <chr>      <chr>          <dbl>     <dbl>
#> 1 manual_gla estimate     6.02     0.0220  
#> 2 manual_gla std_error    0.00536  0.000555
#> 3 manual_gla z_ratio   1125.      39.7     
#> 4 manual_gla p_value      0        0