Construct a single row summary of the LOGISTIC model.
Usage
# S3 method for LOGISTIC
glance(x, ...)
Arguments
- x
model or other R object to convert to single-row data frame
- ...
other arguments passed to methods
Details
Contains the R squared (r_squared
), variance of residuals (sigma2
),
the log-likelihood (log_lik
), and information criterion (AIC
, AICc
, BIC
).
Examples
melb_rain |>
model(logistic = LOGISTIC(Wet ~ fourier(K = 5, period = "year"))) |>
glance()
#> # A tibble: 1 × 12
#> .model df log_lik AIC AICc BIC deviance df.residual rank
#> <chr> <int> <dbl> <dbl> <dbl> <dbl> <dbl> <int> <int>
#> 1 logistic 11 -2787. 5596. 5596. 5666. 5574. 4311 11
#> # ℹ 3 more variables: null_deviance <dbl>, df_null <int>, nobs <int>