Analogues of the bayesTLS get_*_summary / get_*_draws accessors. *_summary
returns the maximum-likelihood point estimate (in the compatibility-named
*_median column) and its bootstrap-percentile interval. *_draws returns
one derived estimate from each parametric-bootstrap refit; these are resampled
frequentist estimates, not posterior draws.
Usage
get_z_summary(et)
get_z_draws(et)
get_ctmax_summary(et)
get_ctmax_draws(et)
get_tcrit_summary(et)
get_tcrit_draws(et)Arguments
- et
An
extract_tdt()result.
Value
A tibble (see extract_tdt() for the column contract).
Examples
# \donttest{
raw <- simulate_tls(family = "binomial", CTmax = 36, z = 4, seed = 1)
dat <- standardize_data(
raw, temp = "temp", duration = "duration",
n_total = "total", n_surv = "survived"
)
fit <- fit_4pl(dat, family = "binomial", t_ref = 1, quiet = TRUE)
tdt <- extract_tdt(fit, nboot = 10, seed = 1)
get_z_summary(tdt)
#> # A tibble: 1 × 3
#> z_median z_lower z_upper
#> <dbl> <dbl> <dbl>
#> 1 4.00 3.65 4.24
get_ctmax_draws(tdt)
#> # A tibble: 10 × 2
#> .draw CTmax
#> <int> <dbl>
#> 1 1 35.9
#> 2 2 35.9
#> 3 3 35.9
#> 4 4 36.1
#> 5 5 36.0
#> 6 6 35.9
#> 7 7 36.0
#> 8 8 35.7
#> 9 9 36.1
#> 10 10 35.9
# }