The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

sampleone

R-CMD-check

sampleone provides R functions for planning, selecting, and estimating from surveys under the main probability sampling designs taught in introductory sampling courses: simple random sampling (with and without replacement), stratified sampling (proportional, Neyman, and cost-based allocation), systematic sampling, one- and two-stage cluster sampling, and ratio/regression estimators.

Developed by Miguel Luiz de Almeida Pinto to accompany the “Noções de Amostragem” course at DEs-ICET-UFMT (Prof. Dr. Mariano Martínez Espinosa, co-author of the package as author of the source course material).

Status

✅ R CMD check --as-cran: 0 errors, 0 warnings, 0 relevant notes. ✅ 136 testthat tests passing, reproducing worked numerical examples from the source course notes. ✅ Formulas catalog complete (all 6 technical chapters) and cross-validated. ✅ Core implementation complete: Cap. 2-7, 45 exported functions.

Installation (development version)

# install.packages("devtools")
devtools::install_github("mdelapi/sampleone")

Documentation

library(sampleone)

# Tamanho de amostra para estimar uma media, populacao finita conhecida
aas_tamanho_media(sigma2 = 1240, d = 7, conf = 0.95, N = 10000)

# Alocacao otima de Neyman em amostragem estratificada
estr_alocacao_neyman(n = 261, Nk = c(1500, 2700, 3300), pk = c(0.10, 0.20, 0.40))

License

MIT © Miguel Luiz de Almeida Pinto. Course content basis: Prof. Dr. Mariano Martínez Espinosa (DEs-ICET-UFMT), used with attribution – see inst/CITATION.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.