Description Usage Arguments Value Author(s) See Also
Find weights for survey from a dataframe of observations and population margins. This function performs a raking process based on the population margins specified by the user.
1 2 | simpleWeight(data, pop.margins, names = c(~agegend, ~ethm, ~educat, ~regmetro,
~incomcat, ~ppnet), trunc_at = 5)
|
data |
A dataframe of observations and values for population categories |
pop.margins |
A list of known population parameters |
names |
The names of the population parameters. The dataframe MUST include variables with the same names as the population parameters specified. |
trunc_at |
A numeric object specifying where to truncate the weights (what should the max weight be?) - default is 5 |
A vector of weights
David G. Carlson carlson.david@wustl.edu Michelle Torres: smtorres@wustl Taeyong Park t.park@wustl.edu
weightTAPSPACK
weightTAPS
variablesTAPS
weightTAPSoutput
subsetTAPS
attritTAPS
multipleImp
hotdeckImp
wavesTAPS
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.