estr_alocacao_proporcional: Proportional allocation of a stratified sample

View source: R/cap04-estratificada-estimacao.R

estr_alocacao_proporcionalR Documentation

Proportional allocation of a stratified sample

Description

Allocates a total sample size across strata proportionally to stratum size, nk = n * Wk (Eq. 4.6, or Eq. 4.14-4.15 for proportions).

Usage

estr_alocacao_proporcional(n, Nk, ...)

Arguments

n

Total sample size to allocate.

Nk

Numeric vector with the population size of each stratum.

...

Ignored (see package overview on tolerated extra arguments).

Value

A sampling_result object with the per-stratum sample sizes.

Examples

estr_alocacao_proporcional(n = 120, Nk = c(1540, 770, 385))

sampleone documentation built on Oct. 13, 2026, 5:07 p.m.