Constraint Multiobjective Sample Allocation
Overview
Provides a framework for multipurpose optimal resource allocation in survey sampling, extending the classical optimal allocation principles introduced by Tschuprow (1923) and Neyman (1934) to multidomain and multivariate allocation problems. The primary method mosalloc() allows for the consideration of precision and cost constraints at the subpopulation level while minimizing either a vector of sampling errors or survey costs across a broad range of optimal sample allocation problems. The approach supports both single- and multistage designs. For single-stage stratified random sampling, the mosallocSTRS() function offers a user- friendly interface. Sensitivity analysis is supported through the problem's dual variables, which are naturally obtained via the internal use of the Embedded Conic Solver from the 'ECOSolveR' package. See Willems (2025, doi:10.25353/ubtr-9200-484c-5c89) for a detailed description of the theory behind 'MOSAlloc'.
News
- Added automatic filling of missing opts parameters.
- Added Example 10 to mosalloc.R.
- Added a paragraph to mosalloc.R concerning numerical issues arising from extreme heterogeneity in the input data.
- Added a test for equality cost constraints.
Bug fixes
- Avoided numerical discrepancies arising from division and matrix multiplication.
- Fixed the return of lower and upper cost bounds in mosallocSTRS.R.
---
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 9
- Examples that run
- 100%7 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 81%
- Return-value docs
- 100%
- Help pages citing references
- 22%
Downloads
Repository
Repository gitlab.com/willemsf/mosalloc is linked, but repository-practices checks have not run for it yet. Checks are GitHub-only for now.
Dependencies
Installing MOSAlloc adds 2 packages (2 with compiled code, 2.7 MB of source tarballs). Heaviest: ECOSolveR 2.1 MB, cli 629 KB.
Code & Tests
People & History
Package metadata
- First published
- 2026-01-27
- Total releases
- 4 / 1 yrs
- License
- GPL (>= 3) OSI
- Download size
- 58 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("MOSAlloc")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.25353/ubtr-9200-484c-5c89.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.