4PL parameter table (frequentist analogue of tdt_parameter_table)
Source: R/tls.R
tdt_parameter_table.RdReturns the fitted 4PL parameters (low, up, k, CTmax, z, and phi
for over-dispersed families) as point estimates with confidence intervals, in
bayesTLS's parameter / [group] / median / lower / upper shape. low and
up are the fitted survival asymptotes, k is curve steepness, CTmax is
the critical thermal maximum at the reference time, z is thermal sensitivity
in degrees per order-of-magnitude change in duration, and phi is
beta/beta-binomial precision
or overdispersion. The median name is retained for table compatibility; for
frequentist Wald or profile output it contains the maximum-likelihood point
estimate, not a posterior median.
Arguments
- object
A
freq_tlsfit fromfit_4pl()(or aprofile_tlsfit).- method
Interval method:
"wald"(default) or"profile".- level
Confidence level (default 0.95).
Examples
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_parameter_table(fit, method = "wald")
#> # A tibble: 5 × 5
#> parameter group median lower upper
#> <chr> <chr> <dbl> <dbl> <dbl>
#> 1 low NA 0.0199 0.0115 0.0345
#> 2 up NA 0.977 0.962 0.993
#> 3 k NA 4.89 4.14 5.78
#> 4 CTmax all 35.9 35.7 36.1
#> 5 z all 4.00 3.64 4.40