Learn R Programming

psych (version 1.0-97)

galton: Galton's Mid parent child height data

Description

Two of the earliest examples of the correlation coefficient were Francis Galton's data sets on the relationship between mid parent and child height and the similarity of parent generation peas with child peas. This is the data set for the Galton height.

Usage

data(galton)

Arguments

source

This is just the galton data set from UsingR, slightly rearranged.

Details

Female heights were adjusted by 1.08 to compensate for sex differences. (This was done in the original data set)

References

Stigler, S. M. (1999). Statistics on the Table: The History of Statistical Concepts and Methods. Harvard University Press. Galton, F. (1869). Hereditary Genius: An Inquiry into its Laws and Con- sequences. London: Macmillan. Wachsmuth, A.W., Wilkinson L., Dallal G.E. (2003). Galton's bend: A previously undiscovered nonlinearity in Galton's family stature regression data. The American Statistician, 57, 190-1922.

See Also

The other Galton data sets: heights, peas,cubits

Examples

Run this code
data(galton)
describe(galton)
pairs.panels(galton,main="Galton's Parent child heights")   #show the scatter plot and the lowess fit 
pairs.panels(galton,lm=TRUE,main="Galton's Parent child heights") #but this makes the regression lines look the same
pairs.panels(galton,lm=TRUE,xlim=c(62,74),ylim=c(62,74),main="Galton's Parent child heights")  #better is to scale them

Run the code above in your browser using DataLab