These data are from a little survey given to a number of students in introductory statistics courses. Several of the items were prepared in multiple versions and distributed randomly to the students.
A data frame with 279 observations on the following 20 variables.
number a number between 1 and 30
colorVer which version of the 'favorite color' question was
on the survey. A factor with levels v1
v2
color favorite color if among predefined choices. A factor
with levels
black
green
other
purple
red
otherColor favorite color if not among choices above.
animalVer which version of the 'favorite color'
question was on the survey. A factor with levels v1
v2
animal favorite animal if among predefined choices. A factor
with levels
elephant
giraffe
lion
other
.
otherAnimal favorite animal if not among the predefined choices.
pulseVer which version of the 'pulse' question was on the survey
pulse self-reported pulse
TVver which of three versions of the TV question was on the survey
tvBox a factor with levels <1
>4
>8
1-2
2-4
4-8
none
other
tvHours a numeric vector
surprisever which of two versions of the 'surprise' question was on the survey
surprise a factor with levels no
yes
playver which of two versions of the 'play' question was on the survey
play a factor with levels no
yes
diseasever which of two versions of the 'play' question was on the survey
disease a factor with levels A
B
homeworkver which of two versions of the 'homework' question was on the survey
homework a factor with levels
A
B
# NOT RUN {
data(LittleSurvey)
tally(surprise ~ surprisever, data = LittleSurvey)
tally(disease ~ diseasever, data = LittleSurvey)
# }
Run the code above in your browser using DataLab