Calculate blending factor for NPS sample
calc_alpha.RdCalculates the blending factor (alpha) for NPS sample integration. Uses either a naive approach or the Fahimi et al. (2024) method, depending on the naive argument and settings.
Details
If nps_blending_factor is set in settings, returns that value.
Otherwise, calculates alpha by:
Computing UWE for each invitation group.
If naive = TRUE, ignores UWE and uses sample sizes only.
If naive = FALSE, uses UWE-adjusted sample sizes per Fahimi et al. (2024).
Returns a data.table with alpha per invitation.
See also
calc_uwe blend_initial_weights scripts/040_initial_expansion.R
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_initial_weights(),
calc_uwe(),
force_balance_pums_weights()