SRRprop95 | R Documentation |
Computes for the sample per identified stratum which is in proportion to the population of the same stratum; considers a 95 percent level of confidence
SRRprop95(x, y)
x |
Population considered for the study |
y |
Population for the stratum of interest |
Returns a vector which is the computed sample for the stratum of interest; rounded as a whole number
Paolo G. Hilado
SRRprop95(570, 145) [1] 60 SRRprop95(570, 220) [1] 91 SRRprop95(570, 205) [1] 85 ## The function is currently defined as function (x, y) { z <- x/(1 + x * 0.0025) b <- ceiling(z) c <- (y/x) * b round(c, digits = 0) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.