Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

tpaste

Turbidity of a toothpaste formulation


Description

Results from an experiment to assess the turbidity of a toothpaste formulation. The three factors that are varied at the NaCl level, the reaction temperature and the addition rate of a particular component.

Format

A data frame with 8 observations on the following 4 variables.

NaCl

NaCl level (2 or 20 ml.)

temp

Reaction temperature (50 or 80 degrees C)

rate

Addition rate (30 or 60 seconds)

turbidity

a numeric vector

References

Peter R. Nelson, Marie Coffin and Karen A. F. Copeland (2003), Introductory Statistics for Engineering Experimentation, Elsevier. (Appendix A)

Examples

str(tpaste)
opt <- options(contrasts = c("contr.treatment", "contr.helmert"))
summary(fm6 <- lm(turbidity ~ (NaCl + temp + rate)^3, tpaste))$coefficients
qqmath(coef(fm6)[-1], xlab = "Standard normal quantiles",
       ylab = "Estimated coefficients", aspect = 1, type = c("g", "p"),
       panel = function(...){panel.qqmath(...); panel.qqmathline(...,lty=2,alpha=0.5)})
xyplot(sort(abs(coef(fm6)[-1])) ~ sqrt(qchisq(ppoints(7), df = 1)),
       xlab = "Quantiles of absolute value of the standard normal",
       ylab = "Absolute value of estimated coefficients", type = c("g","p"))
summary(fm7 <- lm(turbidity ~ NaCl * rate, tpaste))
options(opt)

EngrExpt

Data sets from "Introductory Statistics for Engineering Experimentation"

v0.1-8
GPL (>= 2)
Authors
R port by Douglas Bates <bates@stat.wisc.edu> and Karen A.F. Copeland <karen@boulderstats.com>
Initial release
2009-08-21

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.