xmp12.16 {Devore6} | R Documentation

## data from Example 12.16

### Description

Correlation of concentrations of two pollutants

### Usage

    data(xmp12.16)

### Format

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

x
  a numeric vector of ozone concentrations (ppm)
y
  a numeric vector of secondary carbon concentrations (microgram/m-cub)

### Source

Devore, J. L. (2003) Probability and Statistics for Engineering and the Sciences (6th ed), Duxbury

### References

``The Carbon Component of the Los Angeles Aerosol: Source Apportionment and Contributions to the Visibility Budget'', J. Air Polution Control Fed., 1984: 643-650.

### Examples

    data(xmp12.16)
    plot(y ~ x, data = xmp12.16, xlab = "Ozone concentration (ppm)",
         ylab = "Secondary carbon concentration")
    cor(xmp12.16$x, xmp12.16$y)
    cor.test(~ x + y, data = xmp12.16)

[Package Contents]