About 800 students studying undergraduate statistics were asked many lifestyle questions.
data(ugss)A data frame with 804 observations on the following 29 variables.
sexGender, a factor, (female or male)
ageage in years, a numeric vector
eyeseye colour, a factor, (blue, brown, green, hazel or other)
piercingsNumber of body piercings, a numeric vector
piercedAny body piercings? a factor, (Yes or No)
tattoosNumber of tattoos, a numeric vector
tattooedAny tattoos? a factor, (Yes or No)
glassesWears glasses etc.? a factor, (Yes or No)
sleepAverage number of hours of sleep per night, a numeric vector
studyAverage number of hours of study per week, a numeric vector
tvAverage number of hours watching TV per week, a numeric vector
moviesNumber of movies seen at a cinema during the last 3 months, a numeric vector
movies3mSeen movies in last 3 months? a factor, (Yes or No)
sportFavourite sport, a factor, about 19 of them
entertainmentFavourite entertainment, a factor, about 15 of them
fruitFavourite fruit a factor, about 13 of them
incomeAverage income during semester per week, a numeric vector
rentAmount spent on rent or room and board per week, a numeric vector
clothesAverage amount spent on clothes per month, a numeric vector
hairAverage cost to get a hair-cut, a numeric vector
tobaccoAverage amount spent on tobacco per week, a numeric vector
smokesSmokes? a factor, (Yes or No)
alcoholAverage amount spent on alcohol per week, a numeric vector
buy.alcoholBuys (purchases) alcohol? a factor, (Yes or No)
sendtxtAverage number text messages sent per day, a numeric vector.
receivetxtAverage number text messages received per day, a numeric vector.
txtsUses text messaging? a factor, (Yes or No)
countryCountry of birth, a factor, about 54 of them
statusStudent status, a factor, (International, NZ.Citizen, NZ.Resident)
This data was collected online and anonymously in 2010. The respondents were students studying an undergraduate statistics course at a New Zealand university. Possibly there are duplicate students (due to failing and re-enrolling). All monies are in NZD. Note the data has had minimal checking. Most numerical variables tend to have measurement error, and all of them happen to be all integer-valued.