Anscombe's quartet is data set consisting of four pairs of data with nearly identical descriptive statistics. but appear differently when plotted.

quartet

Format

A data frame with 11 cases and 8 variables:

x1

x for pair number 1.

y1

y for pair number 1.

x2

x for pair number 2.

y2

y for pair number 2.

x3

x for pair number 3.

y3

y for pair number 3.

x4

x for pair number 4.

y4

y for pair number 4.

Source

Table in Anscombe (1973).

References

Anscombe, F. J. (1973). Graphs in statistical analysis. American Statistician. 27 (1), 17-21. doi:10.1080/00031305.1973.10478966.

Wikipedia: Anscombe's quartet

Examples

data(quartet, package = "jeksterslabRdatarepo") str(quartet)
#> 'data.frame': 11 obs. of 8 variables: #> $ x1: int 10 8 13 9 11 14 6 4 12 7 ... #> $ y1: num 8.04 6.95 7.58 8.81 8.33 ... #> $ x2: int 10 8 13 9 11 14 6 4 12 7 ... #> $ y2: num 9.14 8.14 8.74 8.77 9.26 8.1 6.13 3.1 9.13 7.26 ... #> $ x3: int 10 8 13 9 11 14 6 4 12 7 ... #> $ y3: num 7.46 6.77 12.74 7.11 7.81 ... #> $ x4: int 8 8 8 8 8 8 8 19 8 8 ... #> $ y4: num 6.58 5.76 7.71 8.84 8.47 7.04 5.25 12.5 5.56 7.91 ...
head(quartet)
#> x1 y1 x2 y2 x3 y3 x4 y4 #> 1 10 8.04 10 9.14 10 7.46 8 6.58 #> 2 8 6.95 8 8.14 8 6.77 8 5.76 #> 3 13 7.58 13 8.74 13 12.74 8 7.71 #> 4 9 8.81 9 8.77 9 7.11 8 8.84 #> 5 11 8.33 11 9.26 11 7.81 8 8.47 #> 6 14 9.96 14 8.10 14 8.84 8 7.04