View source: R/cap06-conglomerados-1etapa.R
| cong1_tamanho_media | R Documentation |
Computes the number of clusters needed to estimate a population mean with a given margin of error under one-stage cluster sampling (Eq. 6.5 of the course notes).
cong1_tamanho_media(
Nc,
sigmac2,
M_barra,
d,
conf = 0.95,
arredondar = c("cima", "proximo"),
...
)
Nc |
Total number of clusters in the population. |
sigmac2 |
Between-cluster population variance (or its estimate, from a pilot study). |
M_barra |
Average number of elements per cluster. |
d |
Tolerable margin of error (in the original units of the variable, not per-cluster). |
conf |
Confidence level, default |
arredondar |
Either |
... |
Ignored (see package overview on tolerated extra arguments). |
A sampling_result object with the required number of
clusters.
cong1_tamanho_media(Nc = 373, sigmac2 = 51054.3854, M_barra = 8018/373, d = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.