Package: sitepickR 0.0.1

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

Authors:Elena Badillo-Goicoechea [aut, cre], Robert Olsen [aut], Elizabeth Stuart [aut]

sitepickR_0.0.1.tar.gz
sitepickR_0.0.1.zip(r-4.5)sitepickR_0.0.1.zip(r-4.4)sitepickR_0.0.1.zip(r-4.3)
sitepickR_0.0.1.tgz(r-4.4-any)sitepickR_0.0.1.tgz(r-4.3-any)
sitepickR_0.0.1.tar.gz(r-4.5-noble)sitepickR_0.0.1.tar.gz(r-4.4-noble)
sitepickR_0.0.1.tgz(r-4.4-emscripten)sitepickR_0.0.1.tgz(r-4.3-emscripten)
sitepickR.pdf |sitepickR.html
sitepickR/json (API)

# Install 'sitepickR' in R:
install.packages('sitepickR', repos = c('https://sitepickr.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • rawCCD - Common Core of Data (CCD) data for California schools (2017-18).

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.70 score 4 scripts 246 downloads 8 exports 46 dependencies

Last updated 2 years agofrom:2978bf1b12. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 14 2024
R-4.5-winNOTENov 14 2024
R-4.5-linuxNOTENov 14 2024
R-4.4-winNOTENov 14 2024
R-4.4-macNOTENov 14 2024
R-4.3-winNOTENov 14 2024
R-4.3-macNOTENov 14 2024

Exports:getSummarymatchBalancematchCountmatchFreqprepDFselectMatchsubUnitBalanceunitLovePlot

Dependencies:backportschkclicolorspacecpp11data.tabledplyrfansifarvergenericsggplot2gluegtableisobandlabelinglatticelifecyclelpSolvemagrittrMASSMatchItMatrixmgcvmunsellnlmepillarpkgconfigplyrpurrrR6RColorBrewerRcppRcppProgressreshape2rlangsamplingscalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr

sitePickR: Getting Started

Rendered fromsitepickR-demo.Rmdusingknitr::rmarkdownon Nov 14 2024.

Last update: 2022-12-05
Started: 2022-12-05