| frame_allocation | R Documentation |
Classical optimum allocation with a cost per unit in each stratum (Cochran
1977, Section 5.5): minimum cost for a target variance of the estimated
total, or minimum variance for a budget. For two frames with an overlap
use dual_frame_allocation() instead.
frame_allocation(strata, target_variance = NULL, budget = NULL)
strata |
Data frame with columns |
target_variance |
Target variance of the estimated total (give this or
|
budget |
Total cost allowed. |
The strata with a column n, plus attributes cost, variance
and bounded (whether 2 <= n_h <= N_h was active), of class
fieldopt_allocation.
strata <- data.frame(
stratum = c("list", "area"), size = c(2000, 800),
sd = c(12, 30), cost = c(40, 180)
)
frame_allocation(strata, target_variance = 4e6)
frame_allocation(strata, budget = 20000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.