sitepickR: Two-Level Sample Selection with Optimal Site Replacement

Carries out a two-level sample selection where the possibility of an initially selected site not wanting to participate is anticipated, and the site is optimally replaced. The procedure aims to reduce bias (and/or loss of external validity) with respect to the target population. In selecting units and sub-units, 'sitepickR' uses the cube method developed by 'Deville & Tillé', (2004) <http://www.math.helsinki.fi/msm/banocoss/Deville_Tille_2004.pdf> and described in Tillé (2011) <https://www150.statcan.gc.ca/n1/en/pub/12-001-x/2011002/article/11609-eng.pdf?st=5-sx8Q8n>. The cube method is a probability sampling method that is designed to satisfy criteria for balance between the sample and the population. Recent research has shown that this method performs well in simulations for studies of educational programs (see Fay & Olsen (2021, under review). To implement the cube method, 'sitepickR' uses the sampling R package <https://cran.r-project.org/package=sampling>. To implement statistical matching, 'sitepickR' uses the 'MatchIt' R package <https://cran.r-project.org/package=MatchIt>.

Version: 0.0.1
Depends: R (≥ 2.10)
Imports: MatchIt, sampling, dplyr, ggplot2, reshape2, data.table, stats, stringr, tidyr, magrittr, tidyselect, scales
Suggests: knitr, rmarkdown, devtools
Published: 2022-12-05
DOI: 10.32614/CRAN.package.sitepickR
Author: Elena Badillo-Goicoechea [aut, cre], Robert Olsen [aut], Elizabeth Stuart [aut]
Maintainer: Elena Badillo-Goicoechea <egoicoe1 at jhu.edu>
License: GPL (≥ 3)
NeedsCompilation: no
Materials: README
CRAN checks: sitepickR results

Documentation:

Reference manual: sitepickR.pdf
Vignettes: sitepickR-demo

Downloads:

Package source: sitepickR_0.0.1.tar.gz
Windows binaries: r-devel: sitepickR_0.0.1.zip, r-release: sitepickR_0.0.1.zip, r-oldrel: sitepickR_0.0.1.zip
macOS binaries: r-release (arm64): sitepickR_0.0.1.tgz, r-oldrel (arm64): sitepickR_0.0.1.tgz, r-release (x86_64): sitepickR_0.0.1.tgz, r-oldrel (x86_64): sitepickR_0.0.1.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=sitepickR to link to this page.