| cmc | R Documentation |
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_AGEwife's age in years.
W_EDUordered factor indicating wife's education, with levels "low", "2", "3" and "high".
H_EDUordered factor indicating wife's education, with levels "low", "2", "3" and "high".
NCHILDnumber of children.
W_RELfactor indicating wife's religion, with levels "non-Islam" and "Islam".
W_WORKfactor indicating if the wife is working.
H_OCCfactor indicating husband's occupation, with levels "1", "2", "3" and "4". The labels are not known.
SOLordered factor indicating the standard of living index with levels "low", "2", "3" and "high".
MEDEXPfactor indicating media exposure, with levels "good" and "not good".
CMfactor indicating the contraceptive method used, with levels "no-use", "long-term" and "short-term".
This dataset is part of the 1987 National Indonesia Contraceptive Prevalence Survey and was created by Tjen-Sien Lim. It has been taken from the UCI Machine Learning Repository at http://archive.ics.uci.edu/ml/.
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.
data(cmc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.