Calculate unequal weighting effect (UWE)
calc_uwe.RdCalculates the unequal weighting effect (UWE) for a given set of survey weights. Use to assess variance inflation due to weighting.
Details
Computes UWE as 1 + (variance of weights / mean^2).
Assumes weights are numeric and non-negative.
See also
calc_initial_weights
Other weighting adjustment:
adjust_pums_to_reference(),
adjust_ref_counts_dataset(),
adjust_target_to_study_zones(),
adjust_unrelated_per_wts(),
adjust_unrelated_pums(),
blend_initial_weights(),
calc_alpha(),
calc_initial_weights(),
force_balance_pums_weights()
Examples
weights <- c(1, 2, 3, 4)
calc_uwe(weights)
#> [1] 1.266667