View source: R/cap02-conceitos.R
| amostra_estimadores | R Documentation |
Computes the sample mean (Eq. 2.8), the unbiased sample variance (Eq. 2.10, divisor n-1), and, when the data are binary, the sample proportion (Eq. 2.9) – all from a single call. This function is used internally as a building block by most other functions in the package.
amostra_estimadores(x, ...)
x |
Numeric vector with the sample data. |
... |
Ignored (see package overview on tolerated extra arguments). |
A sampling_result object with the requested sample estimators.
Cochran, W.G. (1977). Sampling Techniques, 3rd ed. Wiley.
amostra_estimadores(c(12, 30, 18))
amostra_estimadores(c(1, 0, 1, 1, 0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.