fpia {stratallo} | R Documentation |
Optimal Univariate Allocation Under Constraints for Stratified Sampling
Description
Algorithm for optimal allocation in stratified sampling with lower and upper constraints based on fixed point iteration.
Usage
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)
Arguments
n |
|
Ah |
|
mh |
|
Mh |
|
lambda0 |
|
maxiter |
|
tol |
|
v0 |
|
Nh |
|
Sh |
|
Value
A vector of optimal allocation sizes, and number of iterations.
Functions
-
fpia2()
:
References
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. doi:10.1007/s10182-011-0176-z