Algorithm for optimum sample allocation in stratified sampling under lower- and upper-bound 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)
glambda(lambda, n, Ah, mh = NULL, Mh = NULL)
philambda(lambda, n, Ah, mh = NULL, Mh = NULL)
A list with elements:
Vector of optimal allocation sizes.
Number of iterations performed.
(integerish(1))
total sample size.
(numeric)
products of population stratum sizes and standard
deviations of the study variable, \(A_h = N_h S_h\).
(numeric or NULL)
lower bounds on stratum sample sizes (optional).
(numeric or NULL)
upper bounds on stratum sample sizes (optional).
(numeric(1))
initial value of the parameter \(\lambda\) (optional).
(integerish(1))
maximum number of iterations.
(numeric(1))
desired convergence tolerance.
variance
(numeric)
population sizes in strata.
(numeric)
standard deviations of the study variable in strata.
(numeric(1))
\(\lambda\).
fpia():
fpia2(): Variant of fpia() using variance-based parametrization.
glambda(): Helper function for the fpia()
philambda(): Helper function for the fpia().
MSWstratallo