weights: Weighting and Weighted Statistics

Provides a variety of functions for producing simple weighted statistics, such as weighted Pearson's correlations, partial correlations, Chi-Squared statistics, histograms, and t-tests. Also now includes some software for quickly recoding survey data and plotting point estimates from interaction terms in regressions (and multiply imputed regressions). Future versions of the package will be more closely integrated with "anesrake" and additional weighting tools and will provide the option to find weighting benchmarks and weight data using a variety of methodologies. NOTE: Weighted partial correlation calculations temporarily pulled to address a bug.

Author
Josh Pasek, with some assistance from Alex Tahk and some code modified from R-core; Additional contributions by Gene Culter and Marcus Schwemmle.
Date of publication
2016-02-12 07:41:05
Maintainer
Josh Pasek <josh@joshpasek.com>
License
GPL-2
Version
0.85

View on CRAN

Man pages

anes04
Demographic Data From 2004 American National Election Studies...
dummify
Separate a factor into separate dummy variables for each...
nalevs
Recode variables to 0-1 scale
plotwtdinteraction
Functions to Identify and Plot Predicted Probabilities As...
rd
Round Numbers To Text With No Leading Zero
starmaker
Produce stars from p values for tables.
stdz
Standardizes any numerical vector, with weights.
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...
wtd.cors
Produces weighted correlations quickly using C.
wtd.hist
Weighted Histograms
wtd.t.test
Produces weighted Student's t-tests with standard errors and...

Files in this package

weights
weights/src
weights/src/wcorr.c
weights/NAMESPACE
weights/data
weights/data/anes04.rda
weights/R
weights/R/na.levs.r
weights/R/stdz.r
weights/R/plotinteractpreds.R
weights/R/findwtdinteraction.default.R
weights/R/plotwtdinteraction.R
weights/R/starmaker.r
weights/R/dummify.r
weights/R/rd.r
weights/R/wtd.chi.sq.r
weights/R/findwtdinteraction.mira.R
weights/R/wtd.t.test.r
weights/R/wpct.r
weights/R/nalevs.r
weights/R/onecor.wtd.r
weights/R/wtd.cors.r
weights/R/findwtdinteraction.R
weights/R/wtd.hist.R
weights/R/wtd.cor.r
weights/MD5
weights/DESCRIPTION
weights/man
weights/man/wtd.cor.Rd
weights/man/nalevs.Rd
weights/man/wtd.hist.Rd
weights/man/stdz.Rd
weights/man/plotwtdinteraction.Rd
weights/man/rd.Rd
weights/man/wpct.Rd
weights/man/wtd.chi.sq.Rd
weights/man/wtd.t.test.Rd
weights/man/wtd.cors.Rd
weights/man/starmaker.Rd
weights/man/anes04.Rd
weights/man/dummify.Rd