ansc {gsse401}R Documentation

GSSE 401 - Anscombe quartet data

Description

The ansc data frame has 11 rows and 6 columns.

This synthetic data-set was constructed by the statistican Frank Anscombe to illustrate how residuals can be used to discriminate between data-sets which give identical fitted regression models.

Usage

data(ansc)

Format

This data frame contains the following columns:

x1
a numeric vector with explanatory variable for each of responses 1, 2 or 3.
y1
a numeric vector with response 1.
y2
a numeric vector with response 2.
y3
a numeric vector with response 3.
x4
a numeric vector with explanatory variable for response 4
y4
a numeric vector with response 4.

Source

Anscombe, Francis J. (1973) Graphs in statistical analysis. American Statistician, 27, 17-21.

Examples

data(ansc)
summary(ansc)
attach(ansc)
parmf <- par()$mfrow
par(mfrow=c(2,2))
plot(x1, y1)
plot(x1, y2)
plot(x1, y3)
plot(x4, y4)
par(parmf)
detach()