Description Usage Arguments See Also
Weighted mean
1 | wtd_mean(x, w)
|
x |
numerical vector |
w |
vector of weights replicated to have same length as |
wtd_mean
for weighted means, link{lin_comb}
for linear
combinations, jk_wtd_mean_se
for a jacknife estimate of the SE of a weighted mean
and jk_lin_comb_se
for a jacknife estimate of the SE of a linear combination.
Other Post-stratification survey functions: jk_wtd_mean_se
,
jk_wtd_means
, lin_comb
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.