
Compare replicated GLM tables to published benchmarks
Source:R/substantive_checks.R
check_glm_table_benchmark.RdChecks 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().
Arguments
- models
A list of fitted
glmobjects (one per table column).- spec
Benchmark specification with character vector
termsand numeric vectorscoef,se, andnobs(same length).- tolerance
Maximum absolute difference allowed for coefficients and standard errors (default
0.001, matching three decimal places).