sitepickR

Two-Level Sample Selection with Optimal Site Replacement

CRAN Package

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.


Documentation


Team


Insights

Last 30 days

This package has been downloaded 220 times in the last 30 days. Now we're getting somewhere! Enough downloads to populate a lively group chat. The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 6 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsMar 2, 2025
0 downloadsMar 3, 2025
14 downloadsMar 4, 2025
9 downloadsMar 5, 2025
5 downloadsMar 6, 2025
7 downloadsMar 7, 2025
7 downloadsMar 8, 2025
3 downloadsMar 9, 2025
4 downloadsMar 10, 2025
15 downloadsMar 11, 2025
5 downloadsMar 12, 2025
9 downloadsMar 13, 2025
5 downloadsMar 14, 2025
6 downloadsMar 15, 2025
6 downloadsMar 16, 2025
5 downloadsMar 17, 2025
11 downloadsMar 18, 2025
8 downloadsMar 19, 2025
11 downloadsMar 20, 2025
9 downloadsMar 21, 2025
8 downloadsMar 22, 2025
4 downloadsMar 23, 2025
9 downloadsMar 24, 2025
6 downloadsMar 25, 2025
6 downloadsMar 26, 2025
6 downloadsMar 27, 2025
10 downloadsMar 28, 2025
8 downloadsMar 29, 2025
8 downloadsMar 30, 2025
2 downloadsMar 31, 2025
8 downloadsApr 1, 2025
6 downloadsApr 2, 2025
0 downloadsApr 3, 2025
0 downloadsApr 4, 2025
0 downloadsApr 5, 2025
2
15

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 2,873 times in the last 365 days. That's enough downloads to impress a room full of undergrads. A commendable achievement indeed. The day with the most downloads was Sep 11, 2024 with 25 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Imports11 packages
  • Suggests3 packages