Learn R Programming

nspmix (version 1.5-0)

lungcancer: Lung Cancer Data

Description

Contains the data of 14 studies of the effect of smoking on lung cancer.

Arguments

Format

A numeric matrix with four columns:

study: study identification code.

lungcancer: the number of people diagnosed with lung cancer.

size: the number of people in the study.

smoker: 0 for smoker, and 1 for non-smoker.

References

Wang, Y. (2010). Maximum likelihood computation for fitting semiparametric mixture models. Statistics and Computing, 20, 75-86.

See Also

mlogit,cnmms.

Examples

Run this code
# NOT RUN {

data(lungcancer)
x = mlogit(lungcancer)
cnmms(x)


# }

Run the code above in your browser using DataLab