razao_tamanho_total: Sample size to estimate the population total via the ratio...

View source: R/cap07-tamanho-guarda-chuva.R

razao_tamanho_totalR Documentation

Sample size to estimate the population total via the ratio estimator

Description

Analogous to razao_tamanho_R() but for the population total (Eq. 7.43 of the course notes).

Usage

razao_tamanho_total(
  sr2,
  N,
  d,
  conf = 0.95,
  arredondar = c("cima", "proximo"),
  ...
)

Arguments

sr2

Variance of the ratio estimator (population value, or a pilot-sample estimate from razao_variancia_piloto()).

N

Population size.

d

Tolerable margin of error.

conf

Confidence level, default 0.95.

arredondar

Either "cima" (default) or "proximo" – see aas_tamanho_media().

...

Ignored (see package overview on tolerated extra arguments).

Value

A sampling_result object with the required sample size.

Examples

razao_tamanho_total(sr2 = 7.7853, N = 1500, d = 500)

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