View source: R/cap04-estratificada-estimacao.R
| estr_alocacao_proporcional | R Documentation |
Allocates a total sample size across strata proportionally to stratum
size, nk = n * Wk (Eq. 4.6, or Eq. 4.14-4.15 for proportions).
estr_alocacao_proporcional(n, Nk, ...)
n |
Total sample size to allocate. |
Nk |
Numeric vector with the population size of each stratum. |
... |
Ignored (see package overview on tolerated extra arguments). |
A sampling_result object with the per-stratum sample sizes.
estr_alocacao_proporcional(n = 120, Nk = c(1540, 770, 385))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.