tdt_parameter_table: 4PL parameter table (frequentist analogue of...

View source: R/tls.R

tdt_parameter_tableR Documentation

4PL parameter table (frequentist analogue of tdt_parameter_table)

Description

Returns 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.

Usage

tdt_parameter_table(object, method = NULL, level = 0.95)

Arguments

object

A freq_tls fit from fit_4pl() (or a profile_tls fit).

method

Interval method: "wald" (default) or "profile".

level

Confidence level (default 0.95).

Value

A tibble with parameter, group, median, lower, upper.

See Also

tls(), tidy_parameters()

Examples

raw <- simulate_tls(family = "binomial", times = c(30, 60, 120, 240, 480),
                    CTmax = 36, z = 4, tref = 60, seed = 1)
dat <- standardize_data(
  raw, temp = "temp", duration = "duration",
  n_total = "total", n_surv = "survived", duration_unit = "minutes"
)
fit <- fit_4pl(dat, family = "binomial", t_ref = 60, quiet = TRUE)
tdt_parameter_table(fit, method = "wald")

freqTLS documentation built on Dec. 4, 2026, 5:11 p.m.