wright_allocation: Wright allocation

Description Usage Arguments Author(s) References Examples

View source: R/wright_allocation.R

Description

Return Wright allocation

Usage

1
wright_allocation(n, Nh, Sh)

Arguments

n

the total sample size

Nh

size of stratum h

Sh

standard deviation of y in stratum h

Author(s)

Lingyun (Larry) Zhang lyzhang10@gmail.com

References

Wright, T. (2014). A simple method of exact optimal sample allocation under stratification with any mixed contraint patterns

Examples

1
2
3
4
n <- 10
Nh <- c(47, 61, 41)
Sh <- c(10, 6, 4)
(the_results <- wright_allocation(n, Nh, Sh))

zhanglynz/myhelper documentation built on Sept. 26, 2021, 3:33 a.m.