optcost {stratallo} | R Documentation |
Minimum Cost Allocation in Stratified Sampling
Description
Function that determines fixed strata sample sizes that minimize total cost
of the survey, under assumed level of the variance of the stratified
estimator and under optional one-sided upper bounds imposed on strata sample
sizes. Namely, the following optimization problem, formulated below in the
language of mathematical optimization, is solved by optcost()
function.
Minimize
subject to
where ,
and
are given numbers. The
minimization is on
.
The upper-bounds constraints
, are
optional and can be skipped. In such a case, it is only required that
.
Usage
optcost(V, A, A0, M = NULL, unit_costs = 1)
Arguments
V |
( |
A |
( |
A0 |
( |
M |
( |
unit_costs |
( |
Details
The algorithm that is used by optcost()
is the LRNA
and it is
described in Wójciak (2023). The allocation computed is valid for all
stratified sampling schemes for which the variance of the stratified
estimator is of the form:
where denotes total number of strata,
are
strata sample sizes and
, do not
depend on
.
Value
Numeric vector with optimal sample allocations in strata.
Note
For stratified estimator of the population total and
for stratified simple random sampling without replacement design,
the population parameters are as follows:
where is the size of stratum
and
denotes
standard deviation of a given study variable in stratum
.
References
Wójciak, W. (2023). Another Solution of Some Optimum Allocation Problem. Statistics in Transition new series, 24(5) (in press). https://arxiv.org/abs/2204.04035
See Also
Examples
A <- c(3000, 4000, 5000, 2000)
M <- c(100, 90, 70, 80)
xopt <- optcost(1017579, A = A, A0 = 579, M = M)
xopt