Learn R Programming

anesrake (version 0.80)

ANES Raking Implementation

Description

Provides a comprehensive system for selecting variables and weighting data to match the specifications of the American National Election Studies. The package includes methods for identifying discrepant variables, raking data, and assessing the effects of the raking algorithm. It also allows automated re-raking if target variables fall outside identified bounds and allows greater user specification than other available raking algorithms. A variety of simple weighted statistics that were previously in this package (version .55 and earlier) have been moved to the package 'weights.'

Copy Link

Version

Install

install.packages('anesrake')

Monthly Downloads

1,161

Version

0.80

License

GPL (>= 2)

Maintainer

Josh Pasek

Last Published

April 28th, 2018

Functions in anesrake (0.80)

discrep

Function to determine the discrepancy for each level of a variable from targets.
weightassess

Assessment of Weighting
anesrakefinder

Function to determine what variables should be used for weighting.
generaldesigneffect

Calculates a general design effect given weights for a dataset.
rakelist

Function to perform full ANES weighting on selected variables.
anes04

Demographic Data From 2004 American National Election Studies (ANES)
anesrake

Function to perform full ANES variable selection and weighting.