p2.7 | R Documentation |
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.
data(p2.7)
This data frame contains the following columns:
oxygen purity (percentage)
hydrocarbon (percentage)
Montgomery, D.C., Peck, E.A., and Vining, C.G. (2001) Introduction to Linear Regression Analysis. 3rd Edition, John Wiley and Sons.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.