Skip to contents

Checks coefficient estimates, standard errors, and sample sizes for a vector of models against values taken from the published table. Available as check_glm_table_benchmark() when substantive check scripts are sourced via load_substantive_check_fn().

Usage

check_glm_table_benchmark(models, spec, tolerance = 0.001)

Arguments

models

A list of fitted glm objects (one per table column).

spec

Benchmark specification with character vector terms and numeric vectors coef, se, and nobs (same length).

tolerance

Maximum absolute difference allowed for coefficients and standard errors (default 0.001, matching three decimal places).

Value

Invisibly TRUE on success.