Data of married women in Indonesia who were not pregnant (or did not know they were pregnant) at the time of the survey. The dataset contains demographic and socio-economic characteristics of the women along with their preferred method of contraception (no use, long-term methods, short-term methods).
data(cmc)
A data frame containing 1,437 observations on the following 10 variables.
W_AGE
wife's age in years.
W_EDU
ordered factor indicating wife's education, with levels "low"
, "2"
, "3"
and "high".
H_EDU
ordered factor indicating wife's education, with levels "low"
, "2"
, "3"
and "high".
NCHILD
number of children.
W_REL
factor indicating wife's religion, with levels "non-Islam"
and "Islam"
.
W_WORK
factor indicating if the wife is working.
H_OCC
factor indicating husband's occupation, with levels "1"
, "2"
, "3"
and "4"
. The labels are not known.
SOL
ordered factor indicating the standard of living index with levels "low"
, "2"
, "3"
and "high"
.
MEDEXP
factor indicating media exposure, with levels "good"
and "not good"
.
CM
factor indicating the contraceptive method used, with levels "no-use"
, "long-term"
and "short-term"
.
Lim, T.-S., Loh, W.-Y. & Shih, Y.-S. (1999). A Comparison of Prediction Accuracy, Complexity, and Training Time of Thirty-three Old and New Classification Algorithms. Machine Learning, 40(3), 203-228.