Last data update: 2014.03.03

R: GPA Data and Standardized Test Scores
gpaR Documentation

GPA Data and Standardized Test Scores

Description

This data set features the first-year college GPA and four standardized tests conducted before matriculation.

Usage

data(gpa)

Format

A data frame with 20 rows and 5 variables.

gpa.y

first-year GPA.

sat.math.x1

SAT math score.

sat.verb.x2

SAT verbal score.

hs.math.x3

high school math score.

hs.engl.x4

high school English score.

Details

Burnham and Anderson (2002, p. 225) use this data set originally from Graybill and Iyer (1994) to show model selection for all subsets regression.

Source

Burnham, K. P., Anderson, D. R. (2002) Model Selection and Multimodel Inference: a practical information-theoretic approach. Second edition. Springer: New York.

Graybill, F. A., Iyer, H. K. (1994) Regression analysis: concepts and applications. Duxbury Press: Belmont.

Examples

data(gpa)
str(gpa)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(AICcmodavg)
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/AICcmodavg/gpa.Rd_%03d_medium.png", width=480, height=480)
> ### Name: gpa
> ### Title: GPA Data and Standardized Test Scores
> ### Aliases: gpa
> ### Keywords: datasets
> 
> ### ** Examples
> 
> data(gpa)
> str(gpa)
'data.frame':	20 obs. of  5 variables:
 $ gpa.y      : num  1.97 2.74 2.19 2.6 2.98 1.65 1.89 2.38 2.66 1.96 ...
 $ sat.math.x1: num  321 718 358 403 640 237 270 418 443 359 ...
 $ sat.verb.x2: num  247 436 578 447 563 342 472 356 327 385 ...
 $ hs.math.x3 : num  2.3 3.8 2.98 3.58 3.38 1.48 1.67 3.73 3.09 1.54 ...
 $ hs.engl.x4 : num  2.63 3.57 2.57 2.21 3.48 2.14 2.64 2.52 3.2 3.46 ...
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>