| fn.check_positivity | R Documentation |
Warns if any study-group combination has very few observations or estimated propensities near zero, suggesting positivity may be violated.
fn.check_positivity(data, parm, propensity_min = DIAG_PROPENSITY_MIN)
data |
Structured data list with N.sz (study-group counts) |
parm |
Parameter list with diagnostics (frac_truncated) |
propensity_min |
Fraction threshold: warn if this fraction of subjects had near-zero pre-truncation propensity (default: 0.05) |
Invisibly returns TRUE if warning issued, FALSE otherwise
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.