
Compute Neyman-optimal sample allocation across strata
Source:R/strata-audit.R
reallocate_strata.RdGiven a fixed total sampling budget, allocates days across strata using the Neyman optimal allocation formula (Cochran 1977 eq. 5.24), which assigns more days to strata with larger variability and more calendar days.
Value
A named integer vector. Elements named after strata in N_h give the
Neyman-optimal sampling days per stratum.
Details
Neyman allocation: n_h = ceiling(n_total * (N_h * sqrt(s2_h)) / sum(N_h * sqrt(s2_h))).
Because each stratum's allocation is ceiling-ed independently, the sum of
returned values may slightly exceed n_total.
See also
Other "Planning & Sample Size":
audit_strata(),
compare_designs(),
creel_n_camera(),
creel_n_cpue(),
creel_n_effort(),
creel_power(),
cv_from_n(),
power_creel(),
simulate_strata_collapse()