Package: stratifyR 1.0-3

Karuna G. Reddy

stratifyR: Optimal Stratification of Univariate Populations

The stratification of univariate populations under stratified sampling designs is implemented according to Khan et al. (2002) <doi:10.1177/0008068320020518> and Khan et al. (2015) <doi:10.1080/02664763.2015.1018674> in this library. It determines the Optimum Strata Boundaries (OSB) and Optimum Sample Sizes (OSS) for the study variable, y, using the best-fit frequency distribution of a survey variable (if data is available) or a hypothetical distribution (if data is not available). The method formulates the problem of determining the OSB as mathematical programming problem which is solved by using a dynamic programming technique. If a dataset of the population is available to the surveyor, the method estimates its best-fit distribution and determines the OSB and OSS under Neyman allocation directly. When the dataset is not available, stratification is made based on the assumption that the values of the study variable, y, are available as hypothetical realizations of proxy values of y from recent surveys. Thus, it requires certain distributional assumptions about the study variable. At present, it handles stratification for the populations where the study variable follows a continuous distribution, namely, Pareto, Triangular, Right-triangular, Weibull, Gamma, Exponential, Uniform, Normal, Log-normal and Cauchy distributions.

Authors:Karuna G. Reddy [aut, cre], M. G. M. Khan [aut]

stratifyR_1.0-3.tar.gz
stratifyR_1.0-3.tar.gz(r-4.5-noble)stratifyR_1.0-3.tar.gz(r-4.4-noble)
stratifyR_1.0-3.tgz(r-4.4-emscripten)stratifyR_1.0-3.tgz(r-4.3-emscripten)
stratifyR.pdf |stratifyR.html
stratifyR/json (API)
NEWS

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

Peer review:

Datasets:
  • anaemia - Micronutrient data on Anaemia in Fiji
  • hies - Household Income Expenditure Survey (HIES) in Fiji
  • math - Mathematics Marks for First-year University Students
  • sugarcane - Sugarcane Farming Data in Fiji

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

3.04 score 22 scripts 204 downloads 2 exports 76 dependencies

Last updated 3 years agofrom:0cebf7f2e4. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 19 2024
R-4.5-linuxOKNov 19 2024

Exports:strata.datastrata.distr

Dependencies:abindactuarassertthatbackportsbootbroomcarcarDataclicolorspacecorrplotcowplotcpp11DerivdoBydplyrexpintfansifarverfitdistrplusFormulagenericsggplot2ggpubrggrepelggsciggsignifgluegridExtragtableisobandlabelinglatticelifecyclelme4magrittrMASSMatrixMatrixModelsmc2dmgcvmicrobenchmarkminqamodelrmunsellmvtnormnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpolynompurrrquantregR6RColorBrewerRcppRcppEigenrlangrstatixscalesSparseMstringistringrsurvivaltibbletidyrtidyselecttriangleutf8vctrsviridisLitewithrzipfR

R Package 'stratifyR'

Rendered fromstratifyR-vignette.Rmdusingknitr::rmarkdownon Nov 19 2024.

Last update: 2021-12-07
Started: 2018-04-12