Smean.Rd
The function Smean
estimates the population mean out of simple samples either with or without consideration of finite population correction.
Smean(y, N = Inf, level = 0.95)
y | vector of sample data |
---|---|
N | positive integer specifying population size. Default is |
level | coverage probability for confidence intervals. Default is |
The function Smean
returns a value, which is a list consisting of the components
is a list of call components: y
vector with sample data, n
sample size, N
population size, level
coverage probability for confidence intervals
mean estimate
standard error of the mean estimate
vector of confidence interval boundaries
Kauermann, Goeran/Kuechenhoff, Helmut (2010): Stichproben. Methoden und praktische Umsetzung mit R. Springer.
Juliane Manitz
#> [1] 9 10 11 18 22#> [1] 9 11 22#> #> Smean object: Sample mean estimate #> With finite population correction: N=5 #> #> Mean estimate: 14 #> Standard error: 2.556 #> 95% confidence interval: [8.9903,19.0097] #>