healthdat: IQ, Income and Health

healthdatR Documentation

IQ, Income and Health

Description

A simulated dataset containing IQ, income and health score measurements in 1000 individuals.

Usage

data(healthdat)

Format

A data frame with 1000 rows, with each row corresponding to a separate individual. The following variables are included:

id

individual ID.

iq

IQ score.

income

gross monthly income (EUR).

health

health score (0-100).

Details

In these simulated data, IQ is a confounder for the effect of income on health.

Author(s)

Willem M. van der Wal willem@vanderwalresearch.com, Ronald B. Geskus rgeskus@oucru.org

References

Van der Wal W.M. & Geskus R.B. (2011). ipw: An R Package for Inverse Probability Weighting. Journal of Statistical Software, 43(13), 1-23. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.18637/jss.v043.i13")}.

See Also

basdat, haartdat, healthdat, ipwplot, ipwpoint, ipwtm, timedat, tstartfun.

Examples

#see ?ipwpoint for example

ipw documentation built on June 22, 2024, 6:58 p.m.

Related to healthdat in ipw...