Skip to content

stratallo

Optimum Sample Allocation in Stratified Sampling

v3.0.1 · Mar 12, 2026 · GPL-2

Description

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.

Downloads

CRAN

263

Last 30 days

15777th

773

Last 90 days

2.9K

Last year

Trend: +29.6% (30d vs prior 30d)

r2u

9

Last 30 days

35

Last 90 days

112

Last year

Trend: -47.1% (30d vs prior 30d)

r2u: no daily series yet

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 7, 2026
ERROR r-devel-linux-x86_64-debian-gcc

Rd files

cannot open the connection
cannot open the connection
cannot open the connection
cannot open the connection
problems found in ‘rnabox.Rd’, ‘rounding.Rd’, ‘simplegreedy-capacityscaling.Rd’, ‘stratallo.Rd’
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies checkmate lifecycle Rdpack stratallo

Version History

9 tracked
updated 3.0.1 ← 3.0.0 diff Mar 13, 2026
updated 3.0.0 ← 2.2.1 diff Mar 12, 2026
new 2.2.1 Mar 10, 2026
updated 2.2.1 ← 2.2.0 diff Nov 26, 2023
updated 2.2.0 ← 2.1.0 diff Jun 24, 2023
updated 2.1.0 ← 2.0.1 diff Sep 12, 2022
updated 2.0.1 ← 2.0.0 diff Apr 12, 2022
updated 2.0.0 ← 0.1.0 diff Apr 11, 2022
new 0.1.0 May 24, 2020