ANES Raking Implementation and Weighted Statistics


[Up] [Top]

Documentation for package ‘anesrake’ version 0.55

Help Pages

anes04 Demographic Data From 2004 American National Election Studies (ANES)
anesrake Function to perform full ANES variable selection and weighting.
anesrakefinder Function to determine what variables should be used for weighting.
discrep Function to determine the discrepancy for each level of a variable from targets.
discrep.default Function to determine the discrepancy for each level of a variable from targets.
discrep.factor Function to determine the discrepancy for each level of a variable from targets.
discrep.logical Function to determine the discrepancy for each level of a variable from targets.
discrep.numeric Function to determine the discrepancy for each level of a variable from targets.
dummify Separate a factor into separate dummy variables for each level.
generaldesigneffect Calculates a general design effect given weights for a dataset.
onecor.partial.wtd Produces weighted partial correlations with standard errors and significance.
onecor.wtd Produces weighted correlations with standard errors and significance.
print.anesrake Function to perform full ANES variable selection and weighting.
print.anesrakelist Function to perform full ANES weighting on selected variables.
rakelist Function to perform full ANES weighting on selected variables.
rakeonvar Function to perform full ANES weighting on selected variables.
rakeonvar.default Function to perform full ANES weighting on selected variables.
rakeonvar.factor Function to perform full ANES weighting on selected variables.
rakeonvar.logical Function to perform full ANES weighting on selected variables.
rakeonvar.numeric Function to perform full ANES weighting on selected variables.
selecthighestpcts Function to determine what variables should be used for weighting.
selectnhighest Function to determine what variables should be used for weighting.
stdz Standardizes any numerical vector, with weights.
summary.anesrake Function to perform full ANES variable selection and weighting.
summary.anesrakelist Function to perform full ANES weighting on selected variables.
weightassess Assessment of Weighting
wpct Provides a weighted table of percentages for any variable.
wtd.chi.sq Produces weighted chi-squared tests.
wtd.cor Produces weighted correlations with standard errors and significance.
wtd.hist Weighted Histograms
wtd.partial.cor Produces weighted partial correlations with standard errors and significance.
wtd.t.test Produces weighted Student's t-tests with standard errors and significance.