View source: R/alg_other_authors.R
| fpia | R Documentation |
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)
n |
( |
Ah |
( |
mh |
( |
Mh |
( |
lambda0 |
( |
maxiter |
( |
tol |
( |
v0 |
variance |
Nh |
( |
Sh |
( |
lambda |
( |
A list with elements:
Vector of optimal allocation sizes.
Number of iterations performed.
fpia():
fpia2(): Variant of fpia() using variance-based parametrization.
glambda(): Helper function for the fpia()
philambda(): Helper function for the fpia().
MSWstratallo
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.