TriaLab Power Studio · Method
Survey: a proportion from a stratified sample
Sizes a stratified random sample — the population divided into age groups, districts or facility types, each sampled separately — to estimate an overall proportion such as a prevalence to within a stated margin of error or relative error, and shares the total between the strata proportionally, optimally (Neyman) or equally.
Also known as: stratified prevalence survey, stratified sampling, Neyman allocation, optimal allocation, proportional allocation, Yamane, Levy and Lemeshow.
Maturity
Beta: 21 published examples from PASS reproduce on every build; a second independent publication is wanted before the label becomes Validated (ADR-0001 §58). The catalogue’s row says which source is sought.
What it solves for
- Precision: offered.
- Sample size: not offered — This design estimates a proportion and runs no hypothesis test, so there is no power to solve for; the Precision target sizes the interval.
- Power: not offered — This design estimates a proportion and runs no hypothesis test, so there is no power to solve for; the Precision target sizes the interval.
- Detectable effect: not offered — This design estimates a proportion and runs no hypothesis test, so there is no power to solve for; the Precision target sizes the interval.
- Assurance: not offered — No source on disk states a prior on this design’s effect, so the assurance modifier is not admitted here.
- Duration: not offered — This design has no time axis.
Size axes:
- Units sampled (all strata) (
sample_size), Count
Inputs
Every field as the form shows it, with its help. A field marked advanced sits behind Expert mode.
Common to every method
- Significance level (alpha) (
alpha): a number, above 0 and below 1; default 0.05; typically 0.01 to 0.05 (0.05 in most trials; 0.01 for confirmatory claims); entered as proportion (0-1) or percent The type I error rate. Interpreted as two-sided when testing plain equality and one-sided when a margin frame is active, following the usual convention. - Target power (
power_target): a number, above 0 and below 1; default 0.8; typically 0.8 to 0.9 (0.80 is conventional; 0.90 for definitive trials); entered as proportion (0-1) or percent The chance of a significant result if the assumed effect is real. Used when solving for sample size or detectable effect; ignored when solving for power.
The method’s own
- Number of strata (L) (
strata): a whole number, at least 1 and at most 64; default 3 How many groups the population is divided into before sampling — age bands, districts, hospital types — each sampled separately. - Population of each stratum (N_h) (
stratum_population): one number per element, as many asstrata; default (1000, 1000, 1000) How many units each stratum holds. Their sum is the population size, and their shares weight the strata’s estimates. - Anticipated proportion in each stratum (P_h) (
stratum_proportion): one number per element, as many asstrata; default (0.1, 0.2, 0.3); entered as proportion (0-1) or percent The proportion each stratum is expected to show — a prevalence by age group, from a previous survey. The overall proportion is their average weighted by the strata’s populations. - Allocation of the sample to the strata (
allocation): a choice; defaultproportionalHow the total is shared between the strata. Proportional allocation samples every stratum at the same rate; Neyman’s optimum (at equal costs) samples a stratum in proportion to its size times its standard deviation and needs the smallest total for a given precision; equal allocation takes the same number from each, and the total is then a multiple of the number of strata.proportionalProportional: n_h = n N_h / N — a self-weighting sample (Levy & Lemeshow §6.5.2).neymanOptimal (Neyman, equal costs): n_h = n N_h S_h / Σ N_h S_h (Levy & Lemeshow §6.5.3; PASS’s “optimal”).equalEqual: n_h = n / L in every stratum; the total is rounded up to a multiple of L.
- Finite-population correction (
finite_population_correction): a choice; defaultn_minus_oneHow the sample’s share of a finite population shrinks the variance. The two sources on disk differ in one convention, and each reproduces under its own. Ignored when the population is left blank.n_minus_one(N − n)/(N − 1): the variance is the population’s: P(1 − P), or the variance entered, is the population variance with divisor N, and (N − n)/(N − 1) makes the correction exact — Levy & Lemeshow’s Box 3.5, and Yamane’s stratified proportion as PASS 117 prints it.n1 − n/N on the variance as entered: P(1 − P), or the variance entered, is taken as the divisor-(N − 1) variance S² and corrected by 1 − n/N — Machin et al. 2009 and PASS 116 for a proportion, PASS 118 for a stratified mean, and Levy & Lemeshow’s stratified relations (6.22)–(6.26), which assume reasonably large strata.
- Half-width of the interval (d) (
half_width_target): a number, above 0 and below 1; default 0.03; entered as proportion (0-1) or percent How far the confidence interval for the overall proportion may reach on either side of the estimate: 0.03 is ±3 percentage points. PASS’s d. - Relative error (ε) (
relative_error): a number, above 0 and below 1 The fraction of the overall proportion the estimate is to be within, with the confidence stated: 0.10 asks for an estimate within 10% of the true value. Levy & Lemeshow’s ε; their “virtual certainty” is a confidence of 0.9973 (z = 3).
Sizes entered when another axis is solved for
- Units sampled (all strata) (
sample_size): a whole number, at least 1 Units sampled (all strata). Required when solving for power or detectable effect; produced by the solver when solving for sample size.
Ways to express an input
Precision required — How close the estimate must be to the true overall proportion: as the confidence interval’s half-width, or as a relative error — a fraction of the true value.
- Half-width (margin of error), the form’s default: d: the estimate ± d is the confidence interval (PASS’s form). (fields
half_width_target) - Relative error: ε: the estimate is within ε times the true value (Levy & Lemeshow’s form). (fields
relative_error)
Modifiers admitted
dropout: Dropout
Published examples it reproduces (21)
Each is a worked example: the inputs as a user enters them, and the number the source prints, which the engine reproduces within the tolerance on every build (the Validation screen runs them on your machine).
| Source | Example | Solves for | Inputs | Published |
|---|---|---|---|---|
| PASS chapter 117, Example 1 (printed p. 117-5) | four age strata of 14,000/18,000/6,000/10,000 with proportions 0.25/0.20/0.15/0.10, proportional allocation, half-width 0.01, 95% => 5126 | Precision | allocation = proportional; alpha = 0.05; finite_population_correction = n_minus_one; half_width_target = 0.01; strata = 4; stratum_population = (14000, 18000, 6000, 10000); stratum_proportion = (0.25, 0.2, 0.15, 0.1) |
sample_size = 5126 ± 0 |
| PASS chapter 117, Example 1 (printed p. 117-5) | four age strata of 14,000/18,000/6,000/10,000 with proportions 0.25/0.20/0.15/0.10, proportional allocation, half-width 0.03, 95% => 630 | Precision | allocation = proportional; alpha = 0.05; finite_population_correction = n_minus_one; half_width_target = 0.03; strata = 4; stratum_population = (14000, 18000, 6000, 10000); stratum_proportion = (0.25, 0.2, 0.15, 0.1) |
sample_size = 630 ± 0 |
| PASS chapter 117, Example 1 (printed p. 117-5) | four age strata of 14,000/18,000/6,000/10,000 with proportions 0.25/0.20/0.15/0.10, proportional allocation, half-width 0.05, 95% => 229 | Precision | allocation = proportional; alpha = 0.05; finite_population_correction = n_minus_one; half_width_target = 0.05; strata = 4; stratum_population = (14000, 18000, 6000, 10000); stratum_proportion = (0.25, 0.2, 0.15, 0.1) |
sample_size = 229 ± 0 |
| PASS chapter 117, Example 3 (printed p. 117-11) | four age strata of 14,000/18,000/6,000/10,000 with proportions 0.25/0.20/0.15/0.10, neyman allocation, half-width 0.01, 95% => 5045 | Precision | allocation = neyman; alpha = 0.05; finite_population_correction = n_minus_one; half_width_target = 0.01; strata = 4; stratum_population = (14000, 18000, 6000, 10000); stratum_proportion = (0.25, 0.2, 0.15, 0.1) |
sample_size = 5045 ± 0 |
| PASS chapter 117, Example 3 (printed p. 117-11) | four age strata of 14,000/18,000/6,000/10,000 with proportions 0.25/0.20/0.15/0.10, neyman allocation, half-width 0.03, 95% => 620 | Precision | allocation = neyman; alpha = 0.05; finite_population_correction = n_minus_one; half_width_target = 0.03; strata = 4; stratum_population = (14000, 18000, 6000, 10000); stratum_proportion = (0.25, 0.2, 0.15, 0.1) |
sample_size = 620 ± 0 |
| PASS chapter 117, Example 3 (printed p. 117-11) | four age strata of 14,000/18,000/6,000/10,000 with proportions 0.25/0.20/0.15/0.10, neyman allocation, half-width 0.05, 95% => 225 | Precision | allocation = neyman; alpha = 0.05; finite_population_correction = n_minus_one; half_width_target = 0.05; strata = 4; stratum_population = (14000, 18000, 6000, 10000); stratum_proportion = (0.25, 0.2, 0.15, 0.1) |
sample_size = 225 ± 0 |
| PASS chapter 117, Example 4 (printed p. 117-14) | four age strata of 14,000/18,000/6,000/10,000 with proportions 0.25/0.20/0.15/0.10, equal allocation, half-width 0.01, 95% => 6088 | Precision | allocation = equal; alpha = 0.05; finite_population_correction = n_minus_one; half_width_target = 0.01; strata = 4; stratum_population = (14000, 18000, 6000, 10000); stratum_proportion = (0.25, 0.2, 0.15, 0.1) |
sample_size = 6088 ± 0 |
| PASS chapter 117, Example 4 (printed p. 117-14) | four age strata of 14,000/18,000/6,000/10,000 with proportions 0.25/0.20/0.15/0.10, equal allocation, half-width 0.03, 95% => 748 | Precision | allocation = equal; alpha = 0.05; finite_population_correction = n_minus_one; half_width_target = 0.03; strata = 4; stratum_population = (14000, 18000, 6000, 10000); stratum_proportion = (0.25, 0.2, 0.15, 0.1) |
sample_size = 748 ± 0 |
| PASS chapter 117, Example 4 (printed p. 117-14) | four age strata of 14,000/18,000/6,000/10,000 with proportions 0.25/0.20/0.15/0.10, equal allocation, half-width 0.05, 95% => 272 | Precision | allocation = equal; alpha = 0.05; finite_population_correction = n_minus_one; half_width_target = 0.05; strata = 4; stratum_population = (14000, 18000, 6000, 10000); stratum_proportion = (0.25, 0.2, 0.15, 0.1) |
sample_size = 272 ± 0 |
| PASS chapter 117, Example 1, strata-detail report for row 3 (printed p. 117-6) | 229 in all, proportionally: stratum 1 receives 67 | Precision | allocation = proportional; alpha = 0.05; finite_population_correction = n_minus_one; half_width_target = 0.05; strata = 4; stratum_population = (14000, 18000, 6000, 10000); stratum_proportion = (0.25, 0.2, 0.15, 0.1) |
stratum_1_size = 67 ± 0 |
| PASS chapter 117, Example 1, strata-detail report for row 3 (printed p. 117-6) | 229 in all, proportionally: stratum 2 receives 86 | Precision | allocation = proportional; alpha = 0.05; finite_population_correction = n_minus_one; half_width_target = 0.05; strata = 4; stratum_population = (14000, 18000, 6000, 10000); stratum_proportion = (0.25, 0.2, 0.15, 0.1) |
stratum_2_size = 86 ± 0 |
| PASS chapter 117, Example 1, strata-detail report for row 3 (printed p. 117-6) | 229 in all, proportionally: stratum 3 receives 28 | Precision | allocation = proportional; alpha = 0.05; finite_population_correction = n_minus_one; half_width_target = 0.05; strata = 4; stratum_population = (14000, 18000, 6000, 10000); stratum_proportion = (0.25, 0.2, 0.15, 0.1) |
stratum_3_size = 28 ± 0 |
| PASS chapter 117, Example 1, strata-detail report for row 3 (printed p. 117-6) | 229 in all, proportionally: stratum 4 receives 48 | Precision | allocation = proportional; alpha = 0.05; finite_population_correction = n_minus_one; half_width_target = 0.05; strata = 4; stratum_population = (14000, 18000, 6000, 10000); stratum_proportion = (0.25, 0.2, 0.15, 0.1) |
stratum_4_size = 48 ± 0 |
| PASS chapter 117, Example 3, strata-detail report for row 1 (printed p. 117-11) | 5,045 in all, optimally: stratum 1 receives 1662 | Precision | allocation = neyman; alpha = 0.05; finite_population_correction = n_minus_one; half_width_target = 0.01; strata = 4; stratum_population = (14000, 18000, 6000, 10000); stratum_proportion = (0.25, 0.2, 0.15, 0.1) |
stratum_1_size = 1662 ± 0 |
| PASS chapter 117, Example 3, strata-detail report for row 1 (printed p. 117-11) | 5,045 in all, optimally: stratum 2 receives 1974 | Precision | allocation = neyman; alpha = 0.05; finite_population_correction = n_minus_one; half_width_target = 0.01; strata = 4; stratum_population = (14000, 18000, 6000, 10000); stratum_proportion = (0.25, 0.2, 0.15, 0.1) |
stratum_2_size = 1974 ± 0 |
| PASS chapter 117, Example 3, strata-detail report for row 1 (printed p. 117-11) | 5,045 in all, optimally: stratum 3 receives 587 | Precision | allocation = neyman; alpha = 0.05; finite_population_correction = n_minus_one; half_width_target = 0.01; strata = 4; stratum_population = (14000, 18000, 6000, 10000); stratum_proportion = (0.25, 0.2, 0.15, 0.1) |
stratum_3_size = 587 ± 0 |
| PASS chapter 117, Example 3, strata-detail report for row 1 (printed p. 117-11) | 5,045 in all, optimally: stratum 4 receives 822 | Precision | allocation = neyman; alpha = 0.05; finite_population_correction = n_minus_one; half_width_target = 0.01; strata = 4; stratum_population = (14000, 18000, 6000, 10000); stratum_proportion = (0.25, 0.2, 0.15, 0.1) |
stratum_4_size = 822 ± 0 |
| PASS chapter 117, Example 2 (printed p. 117-9), validating Yamane 1967 p. 155 | families with two or more television sets in three cities of 2,000/3,000/5,000, proportions 0.10/0.15/0.20, half-width 0.03, confidence 0.9973, proportional => sample_size 1200 (PASS’s correction: Yamane’s page prints 1,220 and strata of 260/390/650) | Precision | allocation = proportional; alpha = 0.0027; finite_population_correction = n_minus_one; half_width_target = 0.03; strata = 3; stratum_population = (2000, 3000, 5000); stratum_proportion = (0.1, 0.15, 0.2) |
sample_size = 1200 ± 0 |
| PASS chapter 117, Example 2 (printed p. 117-9), validating Yamane 1967 p. 155 | families with two or more television sets in three cities of 2,000/3,000/5,000, proportions 0.10/0.15/0.20, half-width 0.03, confidence 0.9973, proportional => stratum_1_size 240 (PASS’s correction: Yamane’s page prints 1,220 and strata of 260/390/650) | Precision | allocation = proportional; alpha = 0.0027; finite_population_correction = n_minus_one; half_width_target = 0.03; strata = 3; stratum_population = (2000, 3000, 5000); stratum_proportion = (0.1, 0.15, 0.2) |
stratum_1_size = 240 ± 0 |
| PASS chapter 117, Example 2 (printed p. 117-9), validating Yamane 1967 p. 155 | families with two or more television sets in three cities of 2,000/3,000/5,000, proportions 0.10/0.15/0.20, half-width 0.03, confidence 0.9973, proportional => stratum_2_size 360 (PASS’s correction: Yamane’s page prints 1,220 and strata of 260/390/650) | Precision | allocation = proportional; alpha = 0.0027; finite_population_correction = n_minus_one; half_width_target = 0.03; strata = 3; stratum_population = (2000, 3000, 5000); stratum_proportion = (0.1, 0.15, 0.2) |
stratum_2_size = 360 ± 0 |
| PASS chapter 117, Example 2 (printed p. 117-9), validating Yamane 1967 p. 155 | families with two or more television sets in three cities of 2,000/3,000/5,000, proportions 0.10/0.15/0.20, half-width 0.03, confidence 0.9973, proportional => stratum_3_size 600 (PASS’s correction: Yamane’s page prints 1,220 and strata of 260/390/650) | Precision | allocation = proportional; alpha = 0.0027; finite_population_correction = n_minus_one; half_width_target = 0.03; strata = 3; stratum_population = (2000, 3000, 5000); stratum_proportion = (0.1, 0.15, 0.2) |
stratum_3_size = 600 ± 0 |
Sources
- NCSS, LLC. PASS 2026 documentation, chapter 117: Confidence Intervals for One Proportion in a Stratified Design. Kaysville, UT: NCSS, LLC; 2026.
- Levy PS, Lemeshow S. Sampling of Populations: Methods and Applications. 4th ed. Hoboken: Wiley; 2008. §6.5 and §6.7.
- Yamane T. Elementary Sampling Theory. Englewood Cliffs: Prentice-Hall; 1967.
This page was generated from TriaLab Power Studio 2.0.1's engine, as the method is built, and is published in English only. All methods →