fn.check_extreme_weights: Check for extreme weights

View source: R/diagnostics.R

fn.check_extreme_weightsR Documentation

Check for extreme weights

Description

Warns if any weights are excessively large relative to the mean, which can indicate positivity violations or model misspecification.

Usage

fn.check_extreme_weights(wt.v, ratio_threshold = DIAG_WEIGHT_RATIO)

Arguments

wt.v

Vector of normalized weights

ratio_threshold

Maximum acceptable max/mean weight ratio (default: 20)

Value

Invisibly returns TRUE if warning issued, FALSE otherwise


WMAP documentation built on Oct. 6, 2026, 1:07 a.m.