Docsity

Class Note - Probability and Statistics for Engineers | ST 370, Study notes of Statistics

Partial preview of the text

Download Class Note - Probability and Statistics for Engineers | ST 370 and more Study notes Statistics in PDF only on Docsity!

North Carolina State University STAT 370: Probability and Statistics forEngineersEngineersYichao Wu

Today

  • We will move on to ANOVAH^ t^ d^ h^

th^ i^ t^ ti^

i^ ff^ t

  • How to do hypothesis testing on main effectsand interactions?

Interaction

Interaction: adding dosage helps with simpleInteraction: adding dosage helps with simpletask, but makes things worse with complex task

Treatment mean table with

(^ ) y^ a^ b +^ + in parentheses. i^ j ⋅⋅^

  • Numbers in parentheses tell us what to expectif effects are additive.• Note the pattern for numbers in parentheses:– For rows: add 2 from row 1 to row 2 then add 0 5For rows: add 2 from row 1 to row 2, then add 0.5from row 2 to row 3.– For columns: add 63

ANOVA

  • A full factorial experiment: factors A (

I levels)^ and^ B (

J^ levels); equal number

K^ of levels)^ and B (

J^ levels); equal number

K^ of replications in each treatment group.• The response variable is called

Y. We p index observed values by the level of eachfactor and by the replicate number:

yijk factor and by the replicate number:

yijk

Example: Golf ball flight distance on different evenings • Use evenings as a factor instead of a blockingvariable.• We might expect there are compression effectson flight distanceson flight distances.• Are there also evening effects?A i^

ff^ t^ diff^ t^

diff^ t

  • Are compression effects different on differentevenings? Namely, is there interaction?

ANalysis Of VAriance (ANOVA)• Partitions variability^ in values of responsevariable into those due to the factors being

g

manipulated (treatments) and those due toeverything else (experimental error).y^ g^

(^ p^

  • This partitioning allows us to measure themagnitude of the effect of a certain factor or ofmagnitude of the effect of a certain factor or ofinteraction on the response relative to the sizeof the experimental errorof the experimental error.•^ If variation is mainly due to treatments

, we

would expect the treatment means to be verywould expect the treatment means to be verydifferent, relative to within group variation

ANOVA

-^ The TOTAL SUM OF SQUARES (SS Total) is the sumof squared deviations of the observed values from theoverall mean, (ignoring the factors). I^ J^ K^22 SST y^ y = −^ (^ )(^ ) ∑∑∑^ ..^ ijk ∑∑∑^1 1 1 i j^ k =^ =^ = - This is a measure of total variability among the

y - values.

Partitioning SST^ The model behind it is(assumptions for population)(assumptions for population)^ ijk^ i^

j^ ij^ ijk y^ y^ α^ β^

αβ^ ε= + + + +⋅⋅ ijk^ i^ j^

ij^ ijk y^ y^ β^

β

SS TOTAL= SSA+SSB+SSAB+SSE

  • Example: Golf ball flight distance on different evenings • SSA=1166 4• SSA=1166.4• SSB=84.1• SSAB=3.6• SSE=2251.8• SST=3505.

Assignments

  • Read Section Sections 4 3 8 1 1 and• Read Section Sections 4.3, 8.1.1 and8.1.