survey (version 1.9-2)

svyratio: Ratio estimation

Description

Ratio estimation and estimates of totals based on ratios for complex survey samples.

Usage

svyratio(numerator, denominator, design)
svrepratio(numerator, denominator, design)
## S3 method for class 'svyratio':
predict(object, total, se=TRUE,...)

Arguments

numerator
formula, expression, or data frame giving numerator variable(s)
denominator
formula, expression, or data frame giving denominator variable(s)
design
from svydesign for svyratio, from svrepdesign for svrepratio
object
result of svyratio
total
vector of population totals for the denominator variables in object
se
Return standard errors?
...
Other unused arguments to predict

Value

  • svyratio returns an object of class svyratio. The predict method returns a matrix of population totals and optionally a matrix of standard errors.

References

Levy and Lemeshow. "Sampling of Populations" (3rd edition). Wiley

See Also

svydesign