p7.17 | R Documentation |
The p7.17
data frame has 6 observations
on vapor pressure of water at various temperatures. This
data set is the same as p7.15
which was used
for exercise 7-15 in the third edition of MPV.
data(p7.17)
This data frame contains the following columns:
vapor pressure (mm Hg)
temperature (degrees Celsius)
Montgomery, D.C., Peck, E.A., and Vining, C.G. (2021) Introduction to Linear Regression Analysis. 6th Edition, John Wiley and Sons.
y.lm <- lm(y ~ x, data=p7.17)
plot(y ~ x, data=p7.17)
abline(coef(y.lm))
plot(y.lm, which=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.