| fn.check_extreme_weights | R Documentation |
Warns if any weights are excessively large relative to the mean, which can indicate positivity violations or model misspecification.
fn.check_extreme_weights(wt.v, ratio_threshold = DIAG_WEIGHT_RATIO)
wt.v |
Vector of normalized weights |
ratio_threshold |
Maximum acceptable max/mean weight ratio (default: 20) |
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.