Algorithm for optimal allocation in stratified sampling with lower and upper constraints based on fixed point iteration.
fpia(
n,
Ah,
mh = NULL,
Mh = NULL,
lambda0 = NULL,
maxiter = 100,
tol = .Machine$double.eps * 1000
)fpia2(v0, Nh, Sh, mh = NULL, Mh = NULL, lambda0 = NULL, maxiter = 100)
A vector of optimal allocation sizes, and number of iterations.
target sample size for allocation.
population strata sizes * standard deviations of a given variable in strata.
lower constraints for sample sizes in strata.
upper constraints for sample sizes in strata.
initial parameter 'lambda' (optional).
maximal number of iterations for algorithm.
the desired accuracy (convergence tolerance).
upper limit for value of variance which must be attained for computed optimal allocation.
population strata sizes.
standard deviations of a given variable in strata.
fpia2()
:
Münnich, R. T., Sachs, E.W. and Wagner, M. (2012) Numerical solution of optimal allocation problems in stratified sampling under box constraints, AStA Advances in Statistical Analysis, 96(3), pp. 435-450. tools:::Rd_expr_doi("10.1007/s10182-011-0176-z")