| multivariate_allocation | R Documentation |
Minimum cost sum c_h n_h such that the variance of the estimated total
of every study variable is at most its target (Bethel 1989; Chromy 1987).
This is frame_allocation() with one constraint per variable: a survey
that must estimate several crops, or a crop and the number of farms, with
stated precisions. The multipliers tell which constraints bind.
multivariate_allocation(
strata,
sd,
target_variance = NULL,
target_cv = NULL,
totals = NULL
)
strata |
Data frame with columns |
sd |
Names of the standard-deviation columns, one per variable. |
target_variance |
Target variance of each variable's total, in the
order of |
target_cv |
Target coefficient of variation of each total; needs
|
totals |
Population totals of the variables, for |
The strata with a column n, of class
fieldopt_multi_allocation, with attributes cost, targets,
attained (variance of each variable), multipliers, bounded.
Bethel, J. (1989). Sample allocation in multivariate surveys. Survey Methodology, 15, 47-57. Chromy, J. R. (1987). Design optimization with multiple objectives. Proceedings of the Survey Research Methods Section, ASA, 194-199.
strata <- data.frame(
stratum = c("high", "mid", "low"), size = c(300, 800, 2000),
cost = c(250, 180, 150), sd_corn = c(40, 25, 8), sd_cattle = c(15, 30, 12)
)
multivariate_allocation(strata,
sd = c("sd_corn", "sd_cattle"),
target_cv = c(0.05, 0.08), totals = c(90000, 60000)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.