Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from mine-cetinkaya-rundel/master
update reference for smoking dataset + new data: gpa_study_hours
- Loading branch information
Showing
3 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
\name{gpa_study_hours} | ||
\alias{gpa_study_hours} | ||
\docType{data} | ||
\title{gpa_study_hours} | ||
\description{ | ||
A data frame with 193 rows and 2 columns. The columns represent the variables \code{gpa} and \code{study_hours} for a sample of 193 undergraduate students who took an introductory statistics course in 2012 at a private US university. | ||
} | ||
\usage{data(gpa_study_hours)} | ||
\format{ | ||
A data frame with 193 observations on the following 2 variables. | ||
\describe{ | ||
\item{\code{gpa}}{ Grade point average (GPA) of student. } | ||
\item{\code{study_hours}}{ Number of hours students study per week. } | ||
} | ||
} | ||
\details{ | ||
GPA ranges from 0 to 4 points, however one student reported a GPA > 4. This is a data error but this observation has been left in the dataset as it is used to illustrate issues with real survey data. Both variables are self reported, hence may not be accurate. | ||
} | ||
\source{ | ||
Collected at a private US university as part of an anonymous survey in an introductory statistics course. | ||
} | ||
\references{ | ||
} | ||
\examples{ | ||
data(gpa_study_hours) | ||
|
||
#===> gap vs. study hours <===# | ||
plot(gpa_study_hours$gpa ~ gpa_study_hours$study_hours, xlab="Study hours/week", ylab = "GPA", pch=20, col = COL[1,2]) | ||
|
||
} | ||
\keyword{datasets} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters