SRRequal99 | R Documentation |
Computes for the sample size that is equal across each stratum of interest; considers a 99 percent level of confidence
SRRequal99(x, y)
x |
Population of the Study |
y |
Number of Strata |
Used when the strata of interest are to be represented and that sample size is equal for each
Returns a vector which is the sample size required for each identified stratum; it has been rounded using the ceiling function
Paolo G. Hilado
SRRequal99(1270, 2) [1] 564 ## The function is currently defined as function (x,y) { z <- x/(1 + x*0.0001) a <- ceiling(z) b <- a/y ceiling(b) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.