PracTools: Tools for Designing and Weighting Survey Samples
Version 0.4

Contains functions for sample size calculation for survey samples using stratified or clustered one-, two-, and three-stage sample designs. Other functions compute variance components for multistage designs and sample sizes in two-phase designs. A number of example datasets are included.

Browse man pages Browse package API and functions Browse package files

AuthorRichard Valliant, Jill A. Dever, Frauke Kreuter
Date of publication2016-10-23 23:40:29
MaintainerRichard Valliant <rvallian@umd.edu>
LicenseGPL (>= 2)
Version0.4
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("PracTools")

Man pages

BW2stagePPS: Relvariance components for 2-stage sample
BW2stagePPSe: Estimated relvariance components for 2-stage sample
BW2stageSRS: Relvariance components for 2-stage sample
BW3stagePPS: Relvariance components for 3-stage sample
BW3stagePPSe: Estimated relvariance components for 3-stage sample
clusOpt2: Compute optimal sample sizes for a two-stage sample
clusOpt2fixedPSU: Optimal number of sample elements per PSU in a two-stage...
clusOpt3: Compute optimal sample sizes for a three-stage sample
clusOpt3fixedPSU: Compute optimal number of sample secondary sampling units...
CVcalc2: Coefficient of variation of an estimated total in a 2-stage...
CVcalc3: Coefficient of variation of an estimated total in a 3-stage...
deffH: Henry design effect for _pps_ sampling and GREG estimation of...
deffK: Kish design effect
deffS: Spencer design effect for _pps_ sampling
Domainy1y2: Domain data
dub: Sample sizes for a double sampling design
gamEst: Estimate variance model parameter gamma
gammaFit: Iteratively estimate variance model parameter gamma
HMT: Generate an HMT population
hospital: Hospital Data
labor: Labor force population
MDarea.pop: Maryland area population
nCont: Compute a simple random sample size for an estimated mean
nContMoe: Compute a simple random sample size for an estimated mean of...
nDep2sam: Simple random sample size for difference in means
nDomain: Compute a simple random sample size for an estimated mean or...
nhis: National Health Interview Survey: Demographic variables
nhis.large: National Health Interview Survey: Demographic and health...
nhispart: National Health Interview Survey data from 2003:...
nLogOdds: Calculate simple random sample size for estimating a...
nProp: Compute simple random sample size for estimating a proportion
nProp2sam: Simple random sample size for difference in proportions
nPropMoe: Simple random sample size for a proportion based on margin of...
NRadjClass: Class-based nonresponse adjustments
NRFUopt: Sample sizes for a nonresponse follow-up study
nWilson: Calculate a simple random sample size for estimating a...
pclass: Form nonresponse adjustment classes based on propensity...
smho98: Survey of Mental Health Organizations Data
smho.N874: Survey of Mental Health Organizations Data
strAlloc: Allocate a sample to strata
wtdvar: Compute weighted variance

Functions

BW2stagePPS Man page Source code
BW2stagePPSe Man page Source code
BW2stageSRS Man page Source code
BW3stagePPS Man page Source code
BW3stagePPSe Man page Source code
CVcalc2 Man page Source code
CVcalc3 Man page Source code
Domainy1y2 Man page
HMT Man page Source code
MDarea.pop Man page
NRFUopt Man page Source code
NRadjClass Man page Source code
clusOpt2 Man page Source code
clusOpt2fixedPSU Man page Source code
clusOpt3 Man page Source code
clusOpt3fixedPSU Man page Source code
deffH Man page Source code
deffK Man page Source code
deffS Man page Source code
dub Man page Source code
gamEst Man page Source code
gammaFit Man page Source code
hospital Man page
labor Man page
nCont Man page Source code
nContMoe Man page Source code
nDep2sam Man page Source code
nDomain Man page Source code
nLogOdds Man page Source code
nProp Man page Source code
nProp2sam Man page Source code
nPropMoe Man page Source code
nWilson Man page Source code
nhis Man page
nhis.large Man page
nhispart Man page
pclass Man page Source code
smho.N874 Man page
smho98 Man page
strAlloc Man page Source code
wtdvar Man page Source code

Files

NAMESPACE
data
data/hospital.RData
data/labor.RData
data/nhis.large.RData
data/nhispart.RData
data/nhis.RData
data/Domainy1y2.RData
data/datalist
data/smho.N874.RData
data/MDarea.pop.RData
data/smho98.RData
R
R/nPropMoe.R
R/BW2stagePPSe.R
R/gamEst.R
R/CVcalc2.R
R/BW2stageSRS.R
R/clusOpt3fixedPSU.R
R/CVcalc3.R
R/nContMoe.R
R/clusOpt2.R
R/dub.R
R/clusOpt2fixedPSU.R
R/NRFUopt.R
R/clusOpt3.R
R/gammaFit.R
R/strAlloc.R
R/nProp.R
R/HMT.R
R/deffH.R
R/deffK.R
R/nDep2sam.R
R/nDomain.R
R/deffS.R
R/BW3stagePPSe.R
R/nLogOdds.R
R/nCont.R
R/nProp2sam.R
R/wtdvar.R
R/nWilson.R
R/pclass.R
R/BW2stagePPS.R
R/NRadjClass.R
R/BW3stagePPS.R
MD5
DESCRIPTION
man
man/clusOpt3.Rd
man/nWilson.Rd
man/nProp.Rd
man/Domainy1y2.Rd
man/CVcalc3.Rd
man/deffS.Rd
man/gamEst.Rd
man/HMT.Rd
man/BW2stagePPS.Rd
man/MDarea.pop.Rd
man/clusOpt3fixedPSU.Rd
man/NRadjClass.Rd
man/strAlloc.Rd
man/nCont.Rd
man/CVcalc2.Rd
man/nProp2sam.Rd
man/hospital.Rd
man/nContMoe.Rd
man/BW2stageSRS.Rd
man/clusOpt2.Rd
man/smho.N874.Rd
man/nDomain.Rd
man/nPropMoe.Rd
man/pclass.Rd
man/dub.Rd
man/deffK.Rd
man/smho98.Rd
man/BW2stagePPSe.Rd
man/nhispart.Rd
man/gammaFit.Rd
man/nhis.large.Rd
man/nLogOdds.Rd
man/nDep2sam.Rd
man/BW3stagePPSe.Rd
man/nhis.Rd
man/wtdvar.Rd
man/deffH.Rd
man/BW3stagePPS.Rd
man/NRFUopt.Rd
man/clusOpt2fixedPSU.Rd
man/labor.Rd
cleanup
PracTools documentation built on May 19, 2017, 2:18 p.m.