Subpopulation (domain) mean with Woodruff linearised SE.
Arguments
- df
A
data.frameholding the (unit-level) sample data plus any weight/strata/cluster/domain columns referenced by name.- domain_col
Character; column name of the subpopulation / domain indicator in
df.- domain_value
Value (matching
df[[domain_col]]) defining the subpopulation to estimate.- outcome_col
Character; column name of the outcome variable in
df.- weight_col
Character; column name of the design weight variable in
df.