R Dataset / Package wooldridge / gpa1
On this R-data statistics page, you will find information about the gpa1 data set which pertains to gpa1. The gpa1 data set is found in the wooldridge R package. You can load the gpa1 data set in R by issuing the following command at the console data("gpa1"). This will load the data into a variable called gpa1. If R says the gpa1 data set is not found, you can try installing the package by issuing this command install.packages("wooldridge") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the gpa1 R data set. The size of this file is about 11,805 bytes.
gpa1
Description
Data loads lazily. Type data(gpa1) into the console.
Usage
data(gpa1)
Format
A data.frame with 141 rows and 29 variables:
-
age. in years
-
soph. =1 if sophomore
-
junior. =1 if junior
-
senior. =1 if senior
-
senior5. =1 if fifth year senior
-
male. =1 if male
-
campus. =1 if live on campus
-
business. =1 if business major
-
engineer. =1 if engineering major
-
colGPA. MSU GPA
-
hsGPA. high school GPA
-
ACT. 'achievement' score
-
job19. =1 if job <= 19 hours
-
job20. =1 if job >= 20 hours
-
drive. =1 if drive to campus
-
bike. =1 if bicycle to campus
-
walk. =1 if walk to campus
-
voluntr. =1 if do volunteer work
-
PC. =1 of pers computer at sch
-
greek. =1 if fraternity or sorority
-
car. =1 if own car
-
siblings. =1 if have siblings
-
bgfriend. =1 if boy- or girlfriend
-
clubs. =1 if belong to MSU club
-
skipped. avg lectures missed per week
-
alcohol. avg # days per week drink alc.
-
gradMI. =1 if Michigan high school
-
fathcoll. =1 if father college grad
-
mothcoll. =1 if mother college grad
Source
https://www.cengage.com/cgi-wadsworth/course_products_wp.pl?fid=M20b&product_isbn_issn=9781111531041
Examples
str(gpa1)
Dataset imported from https://www.r-project.org.