dot-glm_resample_supported: Can the GLM resampling approximation represent this effect...

.glm_resample_supportedR Documentation

Can the GLM resampling approximation represent this effect measure?

Description

The resampling approximation requires the treatment effect to be a single model coefficient with a well-defined influence function. That holds for OR/RR (logistic / log-binomial), RD (identity-link binomial), MD (OLS), and IRR (Poisson with offset). It does not hold for IRD (a delta-method rate difference), for which the caller falls back to literal splitting. The decision reads spec$effect_measure only. The spec carries no propensity setting, so a propensity-adjusted (IPTW / G-computation) analysis with a supported measure also takes the resampling path, whose model is fitted without the propensity weights (see .consistency_glm_pieces()).

Usage

.glm_resample_supported(spec)

Arguments

spec

List; the glm_resample_spec threaded from forestsearch().

Value

Logical scalar.


forestsearch documentation built on Nov. 15, 2026, 9:06 a.m.