Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

father.son

Pearson's data set on heights of fathers and their sons


Description

1078 measurements of a father's height and his son's height.

Usage

data(father.son)

Format

A data frame with 1078 observations on the following 2 variables.

fheight

Father's height in inches

sheight

Son's height in inches

Details

Data set used by Pearson to investigate regression. See data set galton for data set used by Galton.

Source

Read into R by the command

read.table("http://stat-www.berkeley.edu/users/juliab/141C/pearson.dat",sep=" ")[,-1],

as mentioned by Chuck Cleland on the r-help mailing list.

Examples

data(father.son)
## like cover of Freedman, Pisani, and Purves
plot(sheight ~ fheight, data=father.son,bty="l",pch=20)
abline(a=0,b=1,lty=2,lwd=2)
abline(lm(sheight ~ fheight, data=father.son),lty=1,lwd=2)

UsingR

Data Sets, Etc. for the Text "Using R for Introductory Statistics", Second Edition

v2.0-6
GPL (>= 2)
Authors
John Verzani <verzani@math.csi.cuny.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.