Difference between revisions of "Worksheets/Week3"

From Statistics for Engineering
Jump to navigation Jump to search
Line 16: Line 16:


# Fit a linear model
# Fit a linear model
mod.siderxn <- lm(y ~ A + B + A*B)
model.siderxn <- lm(y ~ A + B + A*B)
summary(mod.siderxn)
summary(model.siderxn)




Line 27: Line 27:


# See how the two factors affect the response:
# See how the two factors affect the response:
contourPlot(mod.siderxn)
contourPlot(model.siderxn)
interaction.plot(A, B, y)
interaction.plot(A, B, y)
interaction.plot(B, A, y)
interaction.plot(B, A, y)
     </code>
     </code>
</div></html>
</div></html>


=== Part 2 ===
=== Part 2 ===

Revision as of 08:17, 11 March 2019

Part 1

A factorial experiment was run to investigate the settings that minimize the production of an unwanted side product. The two factors being investigated are called A and B for simplicity.

Part 2

Continuing from above, with 2 extra experimental points:


Part 3

Your family runs a small business selling products online. The first factor of interest is whether to provide free shipping over €30 or over €50. The second factor is whether or not the purchaser must first create a profile before completing the transaction. The purchaser can still complete their transaction without creating a profile. Below are the data collected, showing the 8 experiments.


Part 4

Continuing with the case above:

Part 5

Your group is developing a new product, but have been struggling to get the product’s stability, measured in days, to the level required. You are aiming for a stability value of 50 days or more.