Extracts all estimated parameters (theta, omega diagonal, sigma) into a single tidy data frame, adding percent relative standard error (\ 95\ back-transformed estimates and CIs.

ferx_estimates(fit)

Arguments

fit

A ferx_fit object returned by ferx_fit.

Value

A data frame with columns param, transform, estimate, se, rse_pct, lower_95, upper_95, estimate_natural, lower_95_natural, upper_95_natural. SE-derived and natural-scale columns are NA when not applicable or when the covariance step was not run.

Details

Omega is reported on the variance scale (matching the .ferx model file convention). For block omega, only the diagonal variances are included.

See also

ferx_cor_matrix for parameter correlations.

Examples

ex  <- ferx_example("warfarin")
fit <- ferx_fit(ex$model, ex$data, method = "gn", covariance = FALSE)
#> Warning: Model file [fit_options] sets `method = foce` but ferx_fit() argument overrides it with `gn`. The call-time value will be used.
#> Warning: Model file [fit_options] sets `covariance = true` but ferx_fit() argument overrides it with `false`. The call-time value will be used.
#> Mu-referencing detected for: ETA_CL, ETA_KA, ETA_V
#> Negative IWRES autocorrelation detected (Durbin-Watson = 2.61, lag-1 r = -0.37).
#> Possible over-parameterisation or misspecified residual error model.
ferx_estimates(fit)
#>      param    transform    estimate se rse_pct lower_95 upper_95
#> 1     TVCL     identity 0.132736353 NA      NA       NA       NA
#> 2      TVV     identity 7.690589924 NA      NA       NA       NA
#> 3     TVKA     identity 0.757203691 NA      NA       NA       NA
#> 4   ETA_CL     variance 0.028490672 NA      NA       NA       NA
#> 5    ETA_V     variance 0.009617854 NA      NA       NA       NA
#> 6   ETA_KA     variance 0.342903187 NA      NA       NA       NA
#> 7 PROP_ERR proportional 0.010624906 NA      NA       NA       NA
#>   estimate_natural lower_95_natural upper_95_natural
#> 1               NA               NA               NA
#> 2               NA               NA               NA
#> 3               NA               NA               NA
#> 4               NA               NA               NA
#> 5               NA               NA               NA
#> 6               NA               NA               NA
#> 7               NA               NA               NA