forbes: Atmospheric Pressure and Boiling Point in the Alps

Description Usage Format Source Examples

Description

James Forbes measured the atmospheric pressure and boiling point of water at 17 locations in the Alps.

Usage

1

Format

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

bp

Boiling point (Fahrenheit)

pres

Pressure (inches of mercury)

Source

Atkinson, A. C. (1985) Plots, Transformations, and Regression. Oxford University Press.

Examples

1
2
3
4
5
6
7
data(forbes)
plot(forbes)
fit <- lm(bp~pres,data=forbes)
fit
plot(forbes$pres,resid(fit))  # model OK?
# try refitting with transformation
fit <- lm(log(bp)~log(pres),data=forbes)

Example output

Loading required package: ellipse

Call:
lm(formula = bp ~ pres, data = forbes)

Coefficients:
(Intercept)         pres  
    155.296        1.902  

SMPracticals documentation built on May 2, 2019, 11:12 a.m.