svytrch: Wrapper for Censored and Truncated Response Model

View source: R/svymisc.R

svytrchR Documentation

Wrapper for Censored and Truncated Response Model

Description

Wrapper for trch and crch for replicate weights

Usage

svytrch(formula, design, subset, ..., scale.weights = FALSE)

svycrch(formula, design, subset, ..., scale.weights = FALSE)

Arguments

formula

Model formula

design

Survey design from svrepdesign

subset

Expression to select a subpopulation

...

Other arugments passed to trch or crch

scale.weights

Indicate whether to rescale weights (defaults to false)

References

Lumley, Thomas. Complex Surveys: A Guide to Analisys Using R. Hoboken, NJ: Wiley, 2010. Print.

See Also

withReplicates trch crch


carlganz/svrepmisc documentation built on July 4, 2023, 6:56 p.m.