Undergrad {BSDA}R Documentation

Data set describing a sample of undergraduate students

Description

Data for Exercise 1.15

Usage

Undergrad

Format

A data frame with 100 observations on the following 6 variables.

Gender
a factor with levels Female Male
Major
a factor with levels Accounting Biology Chemistry English Geology History Math Music Physics Psychology Sociology
Class
a factor with levels Freshman Junior Senior Sophomore
GPA
a numeric vector
SAT
a numeric vector
Drops
a numeric vector

Source

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Duxbury

Examples

str(Undergrad)
attach(Undergrad)
stripchart(GPA~Class,method="stack",col=c("blue","red","green","lightblue"),
pch=19,main="GPA versus Class")
stripchart(GPA~Gender,method="stack",col=c("red","blue"),pch=19,
main="GPA versus Gender")
stripchart(SAT~Drops,method="stack",col=c("blue","red","green","lightblue"),
pch=19,main="SAT versus Drops")
stripchart(Drops~Gender,method="stack",col=c("red","blue"),pch=19,
main="Drops versus Gender")
detach(Undergrad)

[Package BSDA version 0.1 Index]