factorial {BayesDA}R Documentation

Data From a Chemical Experiment

Description

A factorial designed experiment from chemistry. Three experimental variables representing reactor conditions, and the response, conversion (%) from n-Heptane to acetylene.

Usage

data(factorial)

Format

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

temperature

reactor temperature

ratio

ratio of H2 to n-heptane (mole ratio)

contact

Contact time (sec)

conversion

the response, conversion from n-heptane to acetylene

Details

This data is used in an exercise on regression with many explanatory variables, page 413 of second edition. Original authors assume a quadratic functional form.

Examples

data(factorial)
summary(factorial)
# non-Bayesian analysis:
fac.mod1 <- lm(conversion ~ temperature+ratio+contact+
                            I(temperature*ratio)+I(temperature*contact)+
                            I(ratio*contact)+I(temperature^2)+I(ratio^2)+I(contact^2), 
                  data=factorial)
summary(fac.mod1)

[Package BayesDA version 2012.04-1 Index]