weights: Weighting and Weighted Statistics
Version 0.85

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.

Browse man pages Browse package API and functions Browse package files

AuthorJosh Pasek, with some assistance from Alex Tahk and some code modified from R-core; Additional contributions by Gene Culter and Marcus Schwemmle.
Date of publication2016-02-12 07:41:05
MaintainerJosh Pasek <josh@joshpasek.com>
LicenseGPL-2
Version0.85
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("weights")

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...

Functions

anes04 Man page
dummify Man page Source code
findwtdinteraction Man page Source code
findwtdinteraction.default Man page Source code
findwtdinteraction.mira Man page Source code
na.levs Source code
na.levs.default Source code
na.levs.factor Source code
na.levs.numeric Source code
nalevs Man page Source code
onecor.wtd Man page Source code
plotinteractpreds Man page Source code
plotwtdinteraction Man page Source code
rd Man page Source code
starmaker Man page Source code
stdz Man page Source code
wpct Man page Source code
wtd.chi.sq Man page Source code
wtd.cor Man page Source code
wtd.cors Man page Source code
wtd.hist Man page Source code
wtd.t.test Man page Source code

Files

src
src/wcorr.c
NAMESPACE
data
data/anes04.rda
R
R/na.levs.r
R/stdz.r
R/plotinteractpreds.R
R/findwtdinteraction.default.R
R/plotwtdinteraction.R
R/starmaker.r
R/dummify.r
R/rd.r
R/wtd.chi.sq.r
R/findwtdinteraction.mira.R
R/wtd.t.test.r
R/wpct.r
R/nalevs.r
R/onecor.wtd.r
R/wtd.cors.r
R/findwtdinteraction.R
R/wtd.hist.R
R/wtd.cor.r
MD5
DESCRIPTION
man
man/wtd.cor.Rd
man/nalevs.Rd
man/wtd.hist.Rd
man/stdz.Rd
man/plotwtdinteraction.Rd
man/rd.Rd
man/wpct.Rd
man/wtd.chi.sq.Rd
man/wtd.t.test.Rd
man/wtd.cors.Rd
man/starmaker.Rd
man/anes04.Rd
man/dummify.Rd
weights documentation built on May 29, 2017, 1:08 p.m.