stratallo - Optimum Sample Allocation in Stratified Sampling
Provides exact analytical algorithms for computing optimum
sample allocations in stratified sampling. Supports classical
Neyman-Tschuprow allocation, minimum-cost allocation under a
variance constraint, and multi-domain allocation with
controlled precision. Handles lower and upper bounds, cost
constraints, and multiple domains. Includes helper functions
for variance computation, allocation summaries, rounding, and
example datasets for testing and benchmarking.