Description Usage Format Source Examples

The `p2.12`

data frame has 12 observations on
the number of pounds of steam used per month at a plant and
the average monthly ambient temperature.

1 |

This data frame contains the following columns:

- temp
ambient temperature (in degrees F)

- usage
usage (in thousands of pounds)

Montgomery, D.C., Peck, E.A., and Vining, C.G. (2001) Introduction to Linear Regression Analysis. 3rd Edition, John Wiley and Sons.

1 2 3 4 5 6 |

```
Attaching package: 'MPV'
The following object is masked from 'package:datasets':
stackloss
Call:
lm(formula = usage ~ temp)
Residuals:
Min 1Q Median 3Q Max
-2.5629 -1.2581 -0.2550 0.8681 4.0581
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -6.33209 1.67005 -3.792 0.00353 **
temp 9.20847 0.03382 272.255 < 2e-16 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard error: 1.946 on 10 degrees of freedom
Multiple R-squared: 0.9999, Adjusted R-squared: 0.9999
F-statistic: 7.412e+04 on 1 and 10 DF, p-value: < 2.2e-16
fit lwr upr
1 527.759 523.1644 532.3537
```

MPV documentation built on June 8, 2018, 1:03 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.