Extraction was done by Barry Becker from the 1994 Census database. A set of reasonably clean records was extracted using the following conditions: ((AAGE > 16) && (AGI > 100) && (AFNLWGT > 1) && (HRSWK > 0))
Format
A data frame with 32561 observations on the following 15 variables.
age
: IntegerNumber of years alive
workclass
: FactorPrivate, Self-emp-not-inc, Self-emp-inc, Federal-gov, Local-gov, State-gov, Without-pay, Never-worked.
fnlwgt
: NumericThe variable represents the Final Weight, which is more so a sampling weight. See the names file listed in references for more details.
education
: FactorHighest level of education attained
Bachelors, Some-college, 11th, HS-grad, Prof-school, Assoc-acdm, Assoc-voc, 9th, 7th-8th, 12th, Masters, 1st-4th, 10th, Doctorate, 5th-6th, Preschool.
education_num
: NumericNumber of years of education
marital_status
: FactorMarried-civ-spouse, Divorced, Never-married, Separated, Widowed, Married-spouse-absent, Married-AF-spouse
occupation
: FactorTech-support, Craft-repair, Other-service, Sales, Exec-managerial, Prof-specialty, Handlers-cleaners, Machine-op-inspct, Adm-clerical, Farming-fishing, Transport-moving, Priv-house-serv, Protective-serv, Armed-Forces.
relationship
: FactorWife, Own-child, Husband, Not-in-family, Other-relative, Unmarried.
race
: FactorWhite, Asian-Pac-Islander, Amer-Indian-Eskimo, Other, Black.
sex
: FactorFemale, Male
capital_gain
: IntegerIncome from investment sources, apart from wages/salary
capital_loss
: IntegerLosses from investment sources, apart from wages/salary
hours_per_week
: IntegerAmount of hours worked per week
native_country
: FactorCountry of origin
United-States, Cambodia, England, Puerto-Rico, Canada, Germany, Outlying-US(Guam-USVI-etc), India, Japan, Greece, South, China, Cuba, Iran, Honduras, Philippines, Italy, Poland, Jamaica, Vietnam, Mexico, Portugal, Ireland, France, Dominican-Republic, Laos, Ecuador, Taiwan, Haiti, Columbia, Hungary, Guatemala, Nicaragua, Scotland, Thailand, Yugoslavia, El-Salvador, Trinadad&Tobago, Peru, Hong, Holand-Netherlands.
income
: FactorWhether the income greater than $50,000 or not.
<=50K, >50K