Description Usage Arguments Author(s) References Examples
View source: R/wright_allocation.R
Return Wright allocation
1 | wright_allocation(n, Nh, Sh)
|
n |
the total sample size |
Nh |
size of stratum h |
Sh |
standard deviation of y in stratum h |
Lingyun (Larry) Zhang lyzhang10@gmail.com
Wright, T. (2014). A simple method of exact optimal sample allocation under stratification with any mixed contraint patterns
1 2 3 4 | n <- 10
Nh <- c(47, 61, 41)
Sh <- c(10, 6, 4)
(the_results <- wright_allocation(n, Nh, Sh))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.