| aas_estima_total | R Documentation |
Estimates the population total \hat{\tau} = N \bar{x} from a
simple random sample without replacement (Eq. 3.28.2-3.28.3 of the
course notes). For the "with replacement" plan, the same expressions
are used with f = 0.
aas_estima_total(x, N, reposicao = c("sem", "com"), conf = 0.95, ...)
x |
Numeric vector with the sample data. |
N |
Population size (required to scale the total). |
reposicao |
Either |
conf |
Confidence level, default |
... |
Ignored (see package overview on tolerated extra arguments). |
A sampling_result object with the estimated total, its
variance, and confidence interval.
Cochran, W.G. (1977). Sampling Techniques, 3rd ed. Wiley, cap. 2 (extension not explicit in the course notes for AAS, but consistent with Eq. 3.28.3).
aas_estima_total(c(12, 30, 18), N = 300)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.