p2.7 {MPV} | R Documentation |
Data Set for Problem 2-7
Description
The p2.7
data frame has 20 observations on the
purity of oxygen produced by a fractionation process. It
is thought that oxygen purity is related to the percentage
of hydrocarbons in the main condensor of the processing
unit.
Usage
data(p2.7)
Format
This data frame contains the following columns:
- purity
oxygen purity (percentage)
- hydro
hydrocarbon (percentage)
Source
Montgomery, D.C., Peck, E.A., and Vining, C.G. (2001) Introduction to Linear Regression Analysis. 3rd Edition, John Wiley and Sons.
Examples
data(p2.7)
attach(p2.7)
purity.lm <- lm(purity ~ hydro)
summary(purity.lm)
# confidence interval for mean purity at 1% hydrocarbon:
predict(purity.lm,newdata=data.frame(hydro = 1.00),interval="confidence")
detach(p2.7)
[Package MPV version 1.63 Index]