Package: stratifyR
Type: Package
Title: Optimal Stratification of Univariate Populations
Version: 1.0-5
Authors@R: c(
    person("Karuna G.", "Reddy",, "karuna.reddy@auckland.ac.nz", c("aut", "cre")),
    person("M. G. M.", "Khan",, "khan_mg@usp.ac.fj", "aut")
    )
Author: Karuna G. Reddy [aut, cre],
  M. G. M. Khan [aut]
Maintainer: Karuna G. Reddy <karuna.reddy@auckland.ac.nz>
Description: 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. 
LazyData: true
License: GPL-2
NeedsCompilation: yes
Depends: R (>= 4.1.0), fitdistrplus, zipfR, triangle, mc2d
Imports: actuar, crayon, kableExtra, stats, graphics
RoxygenNote: 7.3.2
Suggests: knitr, rmarkdown
VignetteBuilder: knitr
Encoding: UTF-8
Packaged: 2026-06-18 13:16:21 UTC; karunareddy
Repository: CRAN
Date/Publication: 2026-06-23 15:50:02 UTC
Built: R 4.4.3; ; 2026-06-23 18:37:38 UTC; unix
