Tidy and glance methods for SITSAR models
Value
tidy() returns a tibble with one row per scalar parameter;
glance() a one-row tibble; logLik() an object of class logLik.
Examples
set.seed(1)
m <- G0I$new()$fit(rg0i(300, -2, 1, 4), L = 4)
generics::tidy(m)
#> # A tibble: 3 × 4
#> term estimate std.error fixed
#> <chr> <dbl> <dbl> <lgl>
#> 1 alpha -1.69 0.173 FALSE
#> 2 gamma 0.808 0.109 FALSE
#> 3 L 4 NA TRUE
generics::glance(m)
#> # A tibble: 1 × 7
#> model n logLik AIC BIC entropy converged
#> <chr> <int> <dbl> <dbl> <dbl> <dbl> <lgl>
#> 1 G0I 300 -274. 553. 560. 0.897 TRUE
logLik(m)
#> 'log Lik.' -274.4602 (df=2)
