Adult                 package:arules                 R Documentation

_A_d_u_l_t _D_a_t_a _S_e_t

_D_e_s_c_r_i_p_t_i_o_n:

     The 'Adult' data set contains the questionnaire data of the
     "Adult" database (originally called the "Census Income" Database)
     formatted as a 'data.frame' prepared for use with 'arules'.  The
     'Adult_transactions' data set contains the data  already coerced
     to 'transactions'.

_U_s_a_g_e:

     data("Adult")
     data("Adult_transactions")

_F_o_r_m_a_t:

     'Adult' contains a 'data.frame' with 48842 observations on the
     following 14 variables:

     _a_g_e a factor with levels 'middle-aged', 'old', 'senior', 'young'

     _w_o_r_k_c_l_a_s_s a factor with levels 'Federal-gov', 'Local-gov',
          'Never-worked', 'Private', 'Self-emp-inc',
          'Self-emp-not-inc', 'State-gov', 'Without-pay'

     _e_d_u_c_a_t_i_o_n a factor with levels '10th', '11th', '12th', '1st-4th',
          '5th-6th', '7th-8th', '9th', 'Assoc-acdm', 'Assoc-voc',
          'Bachelors', 'Doctorate', 'HS-grad', 'Masters', 'Preschool',
          'Prof-school', 'Some-college'

     _e_d_u_c_a_t_i_o_n-_n_u_m a factor with levels '1', '10', '11', '12', '13',
          '14', '15', '16', '2', '3', '4', '5', '6', '7', '8', '9' 

     _m_a_r_i_t_a_l-_s_t_a_t_u_s a factor with levels 'Divorced',
          'Married-AF-spouse', 'Married-civ-spouse',
          'Married-spouse-absent', 'Never-married', 'Separated',
          'Widowed' 

     _o_c_c_u_p_a_t_i_o_n a factor with levels 'Adm-clerical', 'Armed-Forces',
          'Craft-repair', 'Exec-managerial', 'Farming-fishing',
          'Handlers-cleaners', 'Machine-op-inspct', 'Other-service',
          'Priv-house-serv', 'Prof-specialty', 'Protective-serv',
          'Sales', 'Tech-support', 'Transport-moving' 

     _r_e_l_a_t_i_o_n_s_h_i_p a factor with levels 'Husband', 'Not-in-family',
          'Other-relative', 'Own-child', 'Unmarried', 'Wife' 

     _r_a_c_e a factor with levels 'Amer-Indian-Eskimo',
          'Asian-Pac-Islander', 'Black', 'Other', 'White' 

     _s_e_x a factor with levels 'Female', 'Male'

     _c_a_p_i_t_a_l-_g_a_i_n a factor with levels 'high', 'medium', 'none',
          'small'

     _c_a_p_i_t_a_l-_l_o_s_s a factor with levels 'medium', 'none', 'small'

     _h_o_u_r_s-_p_e_r-_w_e_e_k a factor with levels 'full-time', 'half-time',
          'overtime', 'too-many'

     _n_a_t_i_v_e-_c_o_u_n_t_r_y a factor with levels 'Cambodia', 'Canada', 'China',
          'Columbia', 'Cuba', 'Dominican-Republic', 'Ecuador',
          'El-Salvador', 'England', 'France', 'Germany', 'Greece',
          'Guatemala', 'Haiti', 'Holand-Netherlands', 'Honduras',
          'Hong', 'Hungary', 'India', 'Iran', 'Ireland', 'Italy',
          'Jamaica', 'Japan', 'Laos', 'Mexico', 'Nicaragua',
          'Outlying-US(Guam-USVI-etc)', 'Peru', 'Philippines',
          'Poland', 'Portugal', 'Puerto-Rico', 'Scotland', 'South',
          'Taiwan', 'Thailand', 'Trinadad&Tobago', 'United-States',
          'Vietnam', 'Yugoslavia'

     _s_a_l_a_r_y a factor with levels 'small', 'large'

_D_e_t_a_i_l_s:

     The "Adult" database was extracted from the census bureau database
     found at <URL: http://www.census.gov/ftp/pub/DES/www/welcome.html>
     in 1994 by Ronny Kohavi and Barry Becker, Data Mining and
     Visualization, Silicon Graphics. It was originally used to predict
     whether income exceeds $50K/yr based on census data.

     To prepare the data set for association mining, we removed the
     continuous attribute 'fnlwgt' (final weight) and added the
     attribute 'salary' with levels 'small' and 'large' ($>$$50K/yr). 
     The original data contained 5 more continuous attributes ('age',
     'education-num', 'capital-gain', 'capital-loss' and
     'hours-per-week') which we coded using discrete values.

_S_o_u_r_c_e:

     <URL: http://www.ics.uci.edu/~mlearn/MLRepository.html>

_R_e_f_e_r_e_n_c_e_s:

     Blake, C.L. & Merz, C.J. (1998). UCI Repository of Machine
     Learning Databases. Irvine, CA: University of California,
     Department of Information and Computer Science.

     The data set was first cited in  Kohavi, R. (1996). Scaling Up the
     Accuracy of Naive-Bayes Classifiers: a Decision-Tree Hybrid.
     _Proceedings of the Second International Conference on Knowledge
     Discovery and Data Mining_.

_E_x_a_m_p_l_e_s:

     data("Adult")
     dim(Adult)
     Adult[1:2, 1:4]

     data("Adult_transactions")
     Adult_transactions

