103
logo1 The Situation Test Statistic Computing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schr ¨ oder Bernd Schr¨ oder Louisiana Tech University, College of Engineering and Science Single Factor Analysis of Variance (ANOVA)

Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Single Factor Analysis of Variance(ANOVA)

Bernd Schroder

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 2: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

ANOVA Analyzes Responses from SeveralExperiments or Treatments

1. Data is sampled from multiple populations or fromexperiments with multiple treatments. Multiple means“more than two.” For two, we can use hypothesis tests (theexact tests are not covered in this course).

2. The characteristic that differentiatespopulations/treatments is called the factor. The differenttreatments or populations are the levels of the factor.

3. Examples.I Testing different levels of medication/toxins etc. for effect.I Testing different soil samples for mineral content.I Testing the frequency of a given allele in different

races/ethnic groups.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 3: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

ANOVA Analyzes Responses from SeveralExperiments or Treatments

1. Data is sampled from multiple populations or fromexperiments with multiple treatments.

Multiple means“more than two.” For two, we can use hypothesis tests (theexact tests are not covered in this course).

2. The characteristic that differentiatespopulations/treatments is called the factor. The differenttreatments or populations are the levels of the factor.

3. Examples.I Testing different levels of medication/toxins etc. for effect.I Testing different soil samples for mineral content.I Testing the frequency of a given allele in different

races/ethnic groups.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 4: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

ANOVA Analyzes Responses from SeveralExperiments or Treatments

1. Data is sampled from multiple populations or fromexperiments with multiple treatments. Multiple means“more than two.”

For two, we can use hypothesis tests (theexact tests are not covered in this course).

2. The characteristic that differentiatespopulations/treatments is called the factor. The differenttreatments or populations are the levels of the factor.

3. Examples.I Testing different levels of medication/toxins etc. for effect.I Testing different soil samples for mineral content.I Testing the frequency of a given allele in different

races/ethnic groups.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 5: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

ANOVA Analyzes Responses from SeveralExperiments or Treatments

1. Data is sampled from multiple populations or fromexperiments with multiple treatments. Multiple means“more than two.” For two, we can use hypothesis tests (theexact tests are not covered in this course).

2. The characteristic that differentiatespopulations/treatments is called the factor. The differenttreatments or populations are the levels of the factor.

3. Examples.I Testing different levels of medication/toxins etc. for effect.I Testing different soil samples for mineral content.I Testing the frequency of a given allele in different

races/ethnic groups.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 6: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

ANOVA Analyzes Responses from SeveralExperiments or Treatments

1. Data is sampled from multiple populations or fromexperiments with multiple treatments. Multiple means“more than two.” For two, we can use hypothesis tests (theexact tests are not covered in this course).

2. The characteristic that differentiatespopulations/treatments is called the factor.

The differenttreatments or populations are the levels of the factor.

3. Examples.I Testing different levels of medication/toxins etc. for effect.I Testing different soil samples for mineral content.I Testing the frequency of a given allele in different

races/ethnic groups.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 7: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

ANOVA Analyzes Responses from SeveralExperiments or Treatments

1. Data is sampled from multiple populations or fromexperiments with multiple treatments. Multiple means“more than two.” For two, we can use hypothesis tests (theexact tests are not covered in this course).

2. The characteristic that differentiatespopulations/treatments is called the factor. The differenttreatments or populations are the levels of the factor.

3. Examples.I Testing different levels of medication/toxins etc. for effect.I Testing different soil samples for mineral content.I Testing the frequency of a given allele in different

races/ethnic groups.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 8: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

ANOVA Analyzes Responses from SeveralExperiments or Treatments

1. Data is sampled from multiple populations or fromexperiments with multiple treatments. Multiple means“more than two.” For two, we can use hypothesis tests (theexact tests are not covered in this course).

2. The characteristic that differentiatespopulations/treatments is called the factor. The differenttreatments or populations are the levels of the factor.

3. Examples.

I Testing different levels of medication/toxins etc. for effect.I Testing different soil samples for mineral content.I Testing the frequency of a given allele in different

races/ethnic groups.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 9: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

ANOVA Analyzes Responses from SeveralExperiments or Treatments

1. Data is sampled from multiple populations or fromexperiments with multiple treatments. Multiple means“more than two.” For two, we can use hypothesis tests (theexact tests are not covered in this course).

2. The characteristic that differentiatespopulations/treatments is called the factor. The differenttreatments or populations are the levels of the factor.

3. Examples.I Testing different levels of medication/toxins etc. for effect.

I Testing different soil samples for mineral content.I Testing the frequency of a given allele in different

races/ethnic groups.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 10: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

ANOVA Analyzes Responses from SeveralExperiments or Treatments

1. Data is sampled from multiple populations or fromexperiments with multiple treatments. Multiple means“more than two.” For two, we can use hypothesis tests (theexact tests are not covered in this course).

2. The characteristic that differentiatespopulations/treatments is called the factor. The differenttreatments or populations are the levels of the factor.

3. Examples.I Testing different levels of medication/toxins etc. for effect.I Testing different soil samples for mineral content.

I Testing the frequency of a given allele in differentraces/ethnic groups.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 11: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

ANOVA Analyzes Responses from SeveralExperiments or Treatments

1. Data is sampled from multiple populations or fromexperiments with multiple treatments. Multiple means“more than two.” For two, we can use hypothesis tests (theexact tests are not covered in this course).

2. The characteristic that differentiatespopulations/treatments is called the factor. The differenttreatments or populations are the levels of the factor.

3. Examples.I Testing different levels of medication/toxins etc. for effect.I Testing different soil samples for mineral content.I Testing the frequency of a given allele in different

races/ethnic groups.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 12: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

ANOVA Terminology

1. I populations or treatments of equal size J are to becompared.

2. µi denotes the actual mean of the ith population.3. Null hypothesis. H0 : µ1 = µ2 = · · · = µI (no difference,

or, no effect)4. Alternative hypothesis. Ha : At least two means differ.5. For example, if among 10 pain relievers, all have a sample

average time until pain lessens of around 20 minutes andone has a sample average of around 10 minutes, then itpretty much looks like that one is different.When it’s not that obvious, we need a testing procedure(finer analysis).

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 13: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

ANOVA Terminology1. I populations or treatments of equal size J are to be

compared.

2. µi denotes the actual mean of the ith population.3. Null hypothesis. H0 : µ1 = µ2 = · · · = µI (no difference,

or, no effect)4. Alternative hypothesis. Ha : At least two means differ.5. For example, if among 10 pain relievers, all have a sample

average time until pain lessens of around 20 minutes andone has a sample average of around 10 minutes, then itpretty much looks like that one is different.When it’s not that obvious, we need a testing procedure(finer analysis).

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 14: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

ANOVA Terminology1. I populations or treatments of equal size J are to be

compared.2. µi denotes the actual mean of the ith population.

3. Null hypothesis. H0 : µ1 = µ2 = · · · = µI (no difference,or, no effect)

4. Alternative hypothesis. Ha : At least two means differ.5. For example, if among 10 pain relievers, all have a sample

average time until pain lessens of around 20 minutes andone has a sample average of around 10 minutes, then itpretty much looks like that one is different.When it’s not that obvious, we need a testing procedure(finer analysis).

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 15: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

ANOVA Terminology1. I populations or treatments of equal size J are to be

compared.2. µi denotes the actual mean of the ith population.3. Null hypothesis.

H0 : µ1 = µ2 = · · · = µI (no difference,or, no effect)

4. Alternative hypothesis. Ha : At least two means differ.5. For example, if among 10 pain relievers, all have a sample

average time until pain lessens of around 20 minutes andone has a sample average of around 10 minutes, then itpretty much looks like that one is different.When it’s not that obvious, we need a testing procedure(finer analysis).

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 16: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

ANOVA Terminology1. I populations or treatments of equal size J are to be

compared.2. µi denotes the actual mean of the ith population.3. Null hypothesis. H0 : µ1 = µ2 = · · · = µI

(no difference,or, no effect)

4. Alternative hypothesis. Ha : At least two means differ.5. For example, if among 10 pain relievers, all have a sample

average time until pain lessens of around 20 minutes andone has a sample average of around 10 minutes, then itpretty much looks like that one is different.When it’s not that obvious, we need a testing procedure(finer analysis).

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 17: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

ANOVA Terminology1. I populations or treatments of equal size J are to be

compared.2. µi denotes the actual mean of the ith population.3. Null hypothesis. H0 : µ1 = µ2 = · · · = µI (no difference,

or, no effect)

4. Alternative hypothesis. Ha : At least two means differ.5. For example, if among 10 pain relievers, all have a sample

average time until pain lessens of around 20 minutes andone has a sample average of around 10 minutes, then itpretty much looks like that one is different.When it’s not that obvious, we need a testing procedure(finer analysis).

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 18: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

ANOVA Terminology1. I populations or treatments of equal size J are to be

compared.2. µi denotes the actual mean of the ith population.3. Null hypothesis. H0 : µ1 = µ2 = · · · = µI (no difference,

or, no effect)4. Alternative hypothesis.

Ha : At least two means differ.5. For example, if among 10 pain relievers, all have a sample

average time until pain lessens of around 20 minutes andone has a sample average of around 10 minutes, then itpretty much looks like that one is different.When it’s not that obvious, we need a testing procedure(finer analysis).

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 19: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

ANOVA Terminology1. I populations or treatments of equal size J are to be

compared.2. µi denotes the actual mean of the ith population.3. Null hypothesis. H0 : µ1 = µ2 = · · · = µI (no difference,

or, no effect)4. Alternative hypothesis. Ha : At least two means differ.

5. For example, if among 10 pain relievers, all have a sampleaverage time until pain lessens of around 20 minutes andone has a sample average of around 10 minutes, then itpretty much looks like that one is different.When it’s not that obvious, we need a testing procedure(finer analysis).

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 20: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

ANOVA Terminology1. I populations or treatments of equal size J are to be

compared.2. µi denotes the actual mean of the ith population.3. Null hypothesis. H0 : µ1 = µ2 = · · · = µI (no difference,

or, no effect)4. Alternative hypothesis. Ha : At least two means differ.5. For example, if among 10 pain relievers, all have a sample

average time until pain lessens of around 20 minutes andone has a sample average of around 10 minutes

, then itpretty much looks like that one is different.When it’s not that obvious, we need a testing procedure(finer analysis).

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 21: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

ANOVA Terminology1. I populations or treatments of equal size J are to be

compared.2. µi denotes the actual mean of the ith population.3. Null hypothesis. H0 : µ1 = µ2 = · · · = µI (no difference,

or, no effect)4. Alternative hypothesis. Ha : At least two means differ.5. For example, if among 10 pain relievers, all have a sample

average time until pain lessens of around 20 minutes andone has a sample average of around 10 minutes, then itpretty much looks like that one is different.

When it’s not that obvious, we need a testing procedure(finer analysis).

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 22: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

ANOVA Terminology1. I populations or treatments of equal size J are to be

compared.2. µi denotes the actual mean of the ith population.3. Null hypothesis. H0 : µ1 = µ2 = · · · = µI (no difference,

or, no effect)4. Alternative hypothesis. Ha : At least two means differ.5. For example, if among 10 pain relievers, all have a sample

average time until pain lessens of around 20 minutes andone has a sample average of around 10 minutes, then itpretty much looks like that one is different.When it’s not that obvious, we need a testing procedure(finer analysis).

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 23: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

ANOVA Terminology (cont.)

6. Xi,j is the random variable that denotes the jth measurementfrom the ith population/treatment group.xi,j will be the observed value (“as always”)Data is often displayed in a matrix.

7. Individual sample means: Xi· =∑

Jj=1 Xij

JThe dot says we summed over the second variable.

8. Sample variance: S2i =

∑Jj=1(Xij −Xi·

)2

J−1

9. Grand mean: X·· =∑

Ii=1 ∑

Jj=1 Xij

IJ

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 24: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

ANOVA Terminology (cont.)6. Xi,j is the random variable that denotes the jth measurement

from the ith population/treatment group.

xi,j will be the observed value (“as always”)Data is often displayed in a matrix.

7. Individual sample means: Xi· =∑

Jj=1 Xij

JThe dot says we summed over the second variable.

8. Sample variance: S2i =

∑Jj=1(Xij −Xi·

)2

J−1

9. Grand mean: X·· =∑

Ii=1 ∑

Jj=1 Xij

IJ

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 25: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

ANOVA Terminology (cont.)6. Xi,j is the random variable that denotes the jth measurement

from the ith population/treatment group.xi,j will be the observed value (“as always”)

Data is often displayed in a matrix.

7. Individual sample means: Xi· =∑

Jj=1 Xij

JThe dot says we summed over the second variable.

8. Sample variance: S2i =

∑Jj=1(Xij −Xi·

)2

J−1

9. Grand mean: X·· =∑

Ii=1 ∑

Jj=1 Xij

IJ

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 26: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

ANOVA Terminology (cont.)6. Xi,j is the random variable that denotes the jth measurement

from the ith population/treatment group.xi,j will be the observed value (“as always”)Data is often displayed in a matrix.

7. Individual sample means: Xi· =∑

Jj=1 Xij

JThe dot says we summed over the second variable.

8. Sample variance: S2i =

∑Jj=1(Xij −Xi·

)2

J−1

9. Grand mean: X·· =∑

Ii=1 ∑

Jj=1 Xij

IJ

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 27: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

ANOVA Terminology (cont.)6. Xi,j is the random variable that denotes the jth measurement

from the ith population/treatment group.xi,j will be the observed value (“as always”)Data is often displayed in a matrix.

7. Individual sample means: Xi· =∑

Jj=1 Xij

J

The dot says we summed over the second variable.

8. Sample variance: S2i =

∑Jj=1(Xij −Xi·

)2

J−1

9. Grand mean: X·· =∑

Ii=1 ∑

Jj=1 Xij

IJ

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 28: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

ANOVA Terminology (cont.)6. Xi,j is the random variable that denotes the jth measurement

from the ith population/treatment group.xi,j will be the observed value (“as always”)Data is often displayed in a matrix.

7. Individual sample means: Xi· =∑

Jj=1 Xij

JThe dot says we summed over the second variable.

8. Sample variance: S2i =

∑Jj=1(Xij −Xi·

)2

J−1

9. Grand mean: X·· =∑

Ii=1 ∑

Jj=1 Xij

IJ

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 29: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

ANOVA Terminology (cont.)6. Xi,j is the random variable that denotes the jth measurement

from the ith population/treatment group.xi,j will be the observed value (“as always”)Data is often displayed in a matrix.

7. Individual sample means: Xi· =∑

Jj=1 Xij

JThe dot says we summed over the second variable.

8. Sample variance: S2i =

∑Jj=1(Xij −Xi·

)2

J−1

9. Grand mean: X·· =∑

Ii=1 ∑

Jj=1 Xij

IJ

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 30: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

ANOVA Terminology (cont.)6. Xi,j is the random variable that denotes the jth measurement

from the ith population/treatment group.xi,j will be the observed value (“as always”)Data is often displayed in a matrix.

7. Individual sample means: Xi· =∑

Jj=1 Xij

JThe dot says we summed over the second variable.

8. Sample variance: S2i =

∑Jj=1(Xij −Xi·

)2

J−1

9. Grand mean: X·· =∑

Ii=1 ∑

Jj=1 Xij

IJ

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 31: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Underlying Assumptions and Their Consequences

1. All populations are assumed to be normally distributedwith the same variance σ2. Hence all Xij are normallydistributed and E(Xij) = µi and V(Xij) = σ2.

2. If the largest sample standard deviation is at most twice thesmallest sample standard deviation, then it is (still)reasonable to assume that the σs are equal.

3. To check normality, use a normal probability plot.4. If the null hypothesis µ1 = µ2 = · · · = µI is true, then all

sample averages should be close to each other.5. To determine if the variation is consistent with the null

hypothesis, we compare a measure of the variance betweenthe samples (“between-samples” variation) to a measure ofthe variation “within” the samples. (Remember that weassume all populations have the same σ ).

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 32: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Underlying Assumptions and Their Consequences1. All populations are assumed to be normally distributed

with the same variance σ2.

Hence all Xij are normallydistributed and E(Xij) = µi and V(Xij) = σ2.

2. If the largest sample standard deviation is at most twice thesmallest sample standard deviation, then it is (still)reasonable to assume that the σs are equal.

3. To check normality, use a normal probability plot.4. If the null hypothesis µ1 = µ2 = · · · = µI is true, then all

sample averages should be close to each other.5. To determine if the variation is consistent with the null

hypothesis, we compare a measure of the variance betweenthe samples (“between-samples” variation) to a measure ofthe variation “within” the samples. (Remember that weassume all populations have the same σ ).

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 33: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Underlying Assumptions and Their Consequences1. All populations are assumed to be normally distributed

with the same variance σ2. Hence all Xij are normallydistributed and E(Xij) = µi and V(Xij) = σ2.

2. If the largest sample standard deviation is at most twice thesmallest sample standard deviation, then it is (still)reasonable to assume that the σs are equal.

3. To check normality, use a normal probability plot.4. If the null hypothesis µ1 = µ2 = · · · = µI is true, then all

sample averages should be close to each other.5. To determine if the variation is consistent with the null

hypothesis, we compare a measure of the variance betweenthe samples (“between-samples” variation) to a measure ofthe variation “within” the samples. (Remember that weassume all populations have the same σ ).

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 34: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Underlying Assumptions and Their Consequences1. All populations are assumed to be normally distributed

with the same variance σ2. Hence all Xij are normallydistributed and E(Xij) = µi and V(Xij) = σ2.

2. If the largest sample standard deviation is at most twice thesmallest sample standard deviation

, then it is (still)reasonable to assume that the σs are equal.

3. To check normality, use a normal probability plot.4. If the null hypothesis µ1 = µ2 = · · · = µI is true, then all

sample averages should be close to each other.5. To determine if the variation is consistent with the null

hypothesis, we compare a measure of the variance betweenthe samples (“between-samples” variation) to a measure ofthe variation “within” the samples. (Remember that weassume all populations have the same σ ).

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 35: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Underlying Assumptions and Their Consequences1. All populations are assumed to be normally distributed

with the same variance σ2. Hence all Xij are normallydistributed and E(Xij) = µi and V(Xij) = σ2.

2. If the largest sample standard deviation is at most twice thesmallest sample standard deviation, then it is (still)reasonable to assume that the σs are equal.

3. To check normality, use a normal probability plot.4. If the null hypothesis µ1 = µ2 = · · · = µI is true, then all

sample averages should be close to each other.5. To determine if the variation is consistent with the null

hypothesis, we compare a measure of the variance betweenthe samples (“between-samples” variation) to a measure ofthe variation “within” the samples. (Remember that weassume all populations have the same σ ).

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 36: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Underlying Assumptions and Their Consequences1. All populations are assumed to be normally distributed

with the same variance σ2. Hence all Xij are normallydistributed and E(Xij) = µi and V(Xij) = σ2.

2. If the largest sample standard deviation is at most twice thesmallest sample standard deviation, then it is (still)reasonable to assume that the σs are equal.

3. To check normality, use a normal probability plot.

4. If the null hypothesis µ1 = µ2 = · · · = µI is true, then allsample averages should be close to each other.

5. To determine if the variation is consistent with the nullhypothesis, we compare a measure of the variance betweenthe samples (“between-samples” variation) to a measure ofthe variation “within” the samples. (Remember that weassume all populations have the same σ ).

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 37: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Underlying Assumptions and Their Consequences1. All populations are assumed to be normally distributed

with the same variance σ2. Hence all Xij are normallydistributed and E(Xij) = µi and V(Xij) = σ2.

2. If the largest sample standard deviation is at most twice thesmallest sample standard deviation, then it is (still)reasonable to assume that the σs are equal.

3. To check normality, use a normal probability plot.4. If the null hypothesis µ1 = µ2 = · · · = µI is true

, then allsample averages should be close to each other.

5. To determine if the variation is consistent with the nullhypothesis, we compare a measure of the variance betweenthe samples (“between-samples” variation) to a measure ofthe variation “within” the samples. (Remember that weassume all populations have the same σ ).

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 38: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Underlying Assumptions and Their Consequences1. All populations are assumed to be normally distributed

with the same variance σ2. Hence all Xij are normallydistributed and E(Xij) = µi and V(Xij) = σ2.

2. If the largest sample standard deviation is at most twice thesmallest sample standard deviation, then it is (still)reasonable to assume that the σs are equal.

3. To check normality, use a normal probability plot.4. If the null hypothesis µ1 = µ2 = · · · = µI is true, then all

sample averages should be close to each other.

5. To determine if the variation is consistent with the nullhypothesis, we compare a measure of the variance betweenthe samples (“between-samples” variation) to a measure ofthe variation “within” the samples. (Remember that weassume all populations have the same σ ).

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 39: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Underlying Assumptions and Their Consequences1. All populations are assumed to be normally distributed

with the same variance σ2. Hence all Xij are normallydistributed and E(Xij) = µi and V(Xij) = σ2.

2. If the largest sample standard deviation is at most twice thesmallest sample standard deviation, then it is (still)reasonable to assume that the σs are equal.

3. To check normality, use a normal probability plot.4. If the null hypothesis µ1 = µ2 = · · · = µI is true, then all

sample averages should be close to each other.5. To determine if the variation is consistent with the null

hypothesis

, we compare a measure of the variance betweenthe samples (“between-samples” variation) to a measure ofthe variation “within” the samples. (Remember that weassume all populations have the same σ ).

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 40: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Underlying Assumptions and Their Consequences1. All populations are assumed to be normally distributed

with the same variance σ2. Hence all Xij are normallydistributed and E(Xij) = µi and V(Xij) = σ2.

2. If the largest sample standard deviation is at most twice thesmallest sample standard deviation, then it is (still)reasonable to assume that the σs are equal.

3. To check normality, use a normal probability plot.4. If the null hypothesis µ1 = µ2 = · · · = µI is true, then all

sample averages should be close to each other.5. To determine if the variation is consistent with the null

hypothesis, we compare a measure of the variance betweenthe samples

(“between-samples” variation) to a measure ofthe variation “within” the samples. (Remember that weassume all populations have the same σ ).

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 41: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Underlying Assumptions and Their Consequences1. All populations are assumed to be normally distributed

with the same variance σ2. Hence all Xij are normallydistributed and E(Xij) = µi and V(Xij) = σ2.

2. If the largest sample standard deviation is at most twice thesmallest sample standard deviation, then it is (still)reasonable to assume that the σs are equal.

3. To check normality, use a normal probability plot.4. If the null hypothesis µ1 = µ2 = · · · = µI is true, then all

sample averages should be close to each other.5. To determine if the variation is consistent with the null

hypothesis, we compare a measure of the variance betweenthe samples (“between-samples” variation)

to a measure ofthe variation “within” the samples. (Remember that weassume all populations have the same σ ).

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 42: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Underlying Assumptions and Their Consequences1. All populations are assumed to be normally distributed

with the same variance σ2. Hence all Xij are normallydistributed and E(Xij) = µi and V(Xij) = σ2.

2. If the largest sample standard deviation is at most twice thesmallest sample standard deviation, then it is (still)reasonable to assume that the σs are equal.

3. To check normality, use a normal probability plot.4. If the null hypothesis µ1 = µ2 = · · · = µI is true, then all

sample averages should be close to each other.5. To determine if the variation is consistent with the null

hypothesis, we compare a measure of the variance betweenthe samples (“between-samples” variation) to a measure ofthe variation “within” the samples.

(Remember that weassume all populations have the same σ ).

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 43: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Underlying Assumptions and Their Consequences1. All populations are assumed to be normally distributed

with the same variance σ2. Hence all Xij are normallydistributed and E(Xij) = µi and V(Xij) = σ2.

2. If the largest sample standard deviation is at most twice thesmallest sample standard deviation, then it is (still)reasonable to assume that the σs are equal.

3. To check normality, use a normal probability plot.4. If the null hypothesis µ1 = µ2 = · · · = µI is true, then all

sample averages should be close to each other.5. To determine if the variation is consistent with the null

hypothesis, we compare a measure of the variance betweenthe samples (“between-samples” variation) to a measure ofthe variation “within” the samples. (Remember that weassume all populations have the same σ ).

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 44: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

1. Mean square for treatments.

MSTr =J

I−1

[(X1·−X··

)2 + · · ·+(XI·−X··

)2]

=J

I−1

I

∑i=1

(Xi·−X··

)2

2. Mean square for error MSE =S2

1 + · · ·+S2I

I.

3. The test statistic for single factor ANOVA is F =MSTrMSE

.

4. The J in MSTr re-scales the spread of the means back to the spread ofindividual samples.

5. If the null hypothesis is true: E(MSTr) = E(MSE) = σ2. If the nullhypothesis is false: E(MSTr) > E(MSE) = σ2.

6. When the null hypothesis is true, the statistic F =MSTrMSE

has an

F-distribution with ν1 = I−1 and ν2 = I(J−1).

7. A rejection region f > Fα,I−1,I(J−1) gives a test of significance level α .

8. For p-values, use the area to the right of the test statistic.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 45: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

1. Mean square for treatments.

MSTr =J

I−1

[(X1·−X··

)2 + · · ·+(XI·−X··

)2]

=J

I−1

I

∑i=1

(Xi·−X··

)2

2. Mean square for error MSE =S2

1 + · · ·+S2I

I.

3. The test statistic for single factor ANOVA is F =MSTrMSE

.

4. The J in MSTr re-scales the spread of the means back to the spread ofindividual samples.

5. If the null hypothesis is true: E(MSTr) = E(MSE) = σ2. If the nullhypothesis is false: E(MSTr) > E(MSE) = σ2.

6. When the null hypothesis is true, the statistic F =MSTrMSE

has an

F-distribution with ν1 = I−1 and ν2 = I(J−1).

7. A rejection region f > Fα,I−1,I(J−1) gives a test of significance level α .

8. For p-values, use the area to the right of the test statistic.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 46: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

1. Mean square for treatments.

MSTr =J

I−1

[(X1·−X··

)2 + · · ·+(XI·−X··

)2]

=J

I−1

I

∑i=1

(Xi·−X··

)2

2. Mean square for error MSE =S2

1 + · · ·+S2I

I.

3. The test statistic for single factor ANOVA is F =MSTrMSE

.

4. The J in MSTr re-scales the spread of the means back to the spread ofindividual samples.

5. If the null hypothesis is true: E(MSTr) = E(MSE) = σ2. If the nullhypothesis is false: E(MSTr) > E(MSE) = σ2.

6. When the null hypothesis is true, the statistic F =MSTrMSE

has an

F-distribution with ν1 = I−1 and ν2 = I(J−1).

7. A rejection region f > Fα,I−1,I(J−1) gives a test of significance level α .

8. For p-values, use the area to the right of the test statistic.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 47: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

1. Mean square for treatments.

MSTr =J

I−1

[(X1·−X··

)2 + · · ·+(XI·−X··

)2]

=J

I−1

I

∑i=1

(Xi·−X··

)2

2. Mean square for error MSE =S2

1 + · · ·+S2I

I.

3. The test statistic for single factor ANOVA is F =MSTrMSE

.

4. The J in MSTr re-scales the spread of the means back to the spread ofindividual samples.

5. If the null hypothesis is true: E(MSTr) = E(MSE) = σ2. If the nullhypothesis is false: E(MSTr) > E(MSE) = σ2.

6. When the null hypothesis is true, the statistic F =MSTrMSE

has an

F-distribution with ν1 = I−1 and ν2 = I(J−1).

7. A rejection region f > Fα,I−1,I(J−1) gives a test of significance level α .

8. For p-values, use the area to the right of the test statistic.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 48: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

1. Mean square for treatments.

MSTr =J

I−1

[(X1·−X··

)2 + · · ·+(XI·−X··

)2]

=J

I−1

I

∑i=1

(Xi·−X··

)2

2. Mean square for error

MSE =S2

1 + · · ·+S2I

I.

3. The test statistic for single factor ANOVA is F =MSTrMSE

.

4. The J in MSTr re-scales the spread of the means back to the spread ofindividual samples.

5. If the null hypothesis is true: E(MSTr) = E(MSE) = σ2. If the nullhypothesis is false: E(MSTr) > E(MSE) = σ2.

6. When the null hypothesis is true, the statistic F =MSTrMSE

has an

F-distribution with ν1 = I−1 and ν2 = I(J−1).

7. A rejection region f > Fα,I−1,I(J−1) gives a test of significance level α .

8. For p-values, use the area to the right of the test statistic.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 49: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

1. Mean square for treatments.

MSTr =J

I−1

[(X1·−X··

)2 + · · ·+(XI·−X··

)2]

=J

I−1

I

∑i=1

(Xi·−X··

)2

2. Mean square for error MSE =S2

1 + · · ·+S2I

I.

3. The test statistic for single factor ANOVA is F =MSTrMSE

.

4. The J in MSTr re-scales the spread of the means back to the spread ofindividual samples.

5. If the null hypothesis is true: E(MSTr) = E(MSE) = σ2. If the nullhypothesis is false: E(MSTr) > E(MSE) = σ2.

6. When the null hypothesis is true, the statistic F =MSTrMSE

has an

F-distribution with ν1 = I−1 and ν2 = I(J−1).

7. A rejection region f > Fα,I−1,I(J−1) gives a test of significance level α .

8. For p-values, use the area to the right of the test statistic.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 50: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

1. Mean square for treatments.

MSTr =J

I−1

[(X1·−X··

)2 + · · ·+(XI·−X··

)2]

=J

I−1

I

∑i=1

(Xi·−X··

)2

2. Mean square for error MSE =S2

1 + · · ·+S2I

I.

3. The test statistic for single factor ANOVA is F =MSTrMSE

.

4. The J in MSTr re-scales the spread of the means back to the spread ofindividual samples.

5. If the null hypothesis is true: E(MSTr) = E(MSE) = σ2. If the nullhypothesis is false: E(MSTr) > E(MSE) = σ2.

6. When the null hypothesis is true, the statistic F =MSTrMSE

has an

F-distribution with ν1 = I−1 and ν2 = I(J−1).

7. A rejection region f > Fα,I−1,I(J−1) gives a test of significance level α .

8. For p-values, use the area to the right of the test statistic.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 51: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

1. Mean square for treatments.

MSTr =J

I−1

[(X1·−X··

)2 + · · ·+(XI·−X··

)2]

=J

I−1

I

∑i=1

(Xi·−X··

)2

2. Mean square for error MSE =S2

1 + · · ·+S2I

I.

3. The test statistic for single factor ANOVA is F =MSTrMSE

.

4. The J in MSTr re-scales the spread of the means back to the spread ofindividual samples.

5. If the null hypothesis is true: E(MSTr) = E(MSE) = σ2. If the nullhypothesis is false: E(MSTr) > E(MSE) = σ2.

6. When the null hypothesis is true, the statistic F =MSTrMSE

has an

F-distribution with ν1 = I−1 and ν2 = I(J−1).

7. A rejection region f > Fα,I−1,I(J−1) gives a test of significance level α .

8. For p-values, use the area to the right of the test statistic.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 52: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

1. Mean square for treatments.

MSTr =J

I−1

[(X1·−X··

)2 + · · ·+(XI·−X··

)2]

=J

I−1

I

∑i=1

(Xi·−X··

)2

2. Mean square for error MSE =S2

1 + · · ·+S2I

I.

3. The test statistic for single factor ANOVA is F =MSTrMSE

.

4. The J in MSTr re-scales the spread of the means back to the spread ofindividual samples.

5. If the null hypothesis is true: E(MSTr) = E(MSE) = σ2.

If the nullhypothesis is false: E(MSTr) > E(MSE) = σ2.

6. When the null hypothesis is true, the statistic F =MSTrMSE

has an

F-distribution with ν1 = I−1 and ν2 = I(J−1).

7. A rejection region f > Fα,I−1,I(J−1) gives a test of significance level α .

8. For p-values, use the area to the right of the test statistic.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 53: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

1. Mean square for treatments.

MSTr =J

I−1

[(X1·−X··

)2 + · · ·+(XI·−X··

)2]

=J

I−1

I

∑i=1

(Xi·−X··

)2

2. Mean square for error MSE =S2

1 + · · ·+S2I

I.

3. The test statistic for single factor ANOVA is F =MSTrMSE

.

4. The J in MSTr re-scales the spread of the means back to the spread ofindividual samples.

5. If the null hypothesis is true: E(MSTr) = E(MSE) = σ2. If the nullhypothesis is false: E(MSTr) > E(MSE) = σ2.

6. When the null hypothesis is true, the statistic F =MSTrMSE

has an

F-distribution with ν1 = I−1 and ν2 = I(J−1).

7. A rejection region f > Fα,I−1,I(J−1) gives a test of significance level α .

8. For p-values, use the area to the right of the test statistic.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 54: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

1. Mean square for treatments.

MSTr =J

I−1

[(X1·−X··

)2 + · · ·+(XI·−X··

)2]

=J

I−1

I

∑i=1

(Xi·−X··

)2

2. Mean square for error MSE =S2

1 + · · ·+S2I

I.

3. The test statistic for single factor ANOVA is F =MSTrMSE

.

4. The J in MSTr re-scales the spread of the means back to the spread ofindividual samples.

5. If the null hypothesis is true: E(MSTr) = E(MSE) = σ2. If the nullhypothesis is false: E(MSTr) > E(MSE) = σ2.

6. When the null hypothesis is true, the statistic F =MSTrMSE

has an

F-distribution with ν1 = I−1 and ν2 = I(J−1).

7. A rejection region f > Fα,I−1,I(J−1) gives a test of significance level α .

8. For p-values, use the area to the right of the test statistic.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 55: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

1. Mean square for treatments.

MSTr =J

I−1

[(X1·−X··

)2 + · · ·+(XI·−X··

)2]

=J

I−1

I

∑i=1

(Xi·−X··

)2

2. Mean square for error MSE =S2

1 + · · ·+S2I

I.

3. The test statistic for single factor ANOVA is F =MSTrMSE

.

4. The J in MSTr re-scales the spread of the means back to the spread ofindividual samples.

5. If the null hypothesis is true: E(MSTr) = E(MSE) = σ2. If the nullhypothesis is false: E(MSTr) > E(MSE) = σ2.

6. When the null hypothesis is true, the statistic F =MSTrMSE

has an

F-distribution with ν1 = I−1 and ν2 = I(J−1).

7. A rejection region f > Fα,I−1,I(J−1) gives a test of significance level α .

8. For p-values, use the area to the right of the test statistic.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 56: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

1. Mean square for treatments.

MSTr =J

I−1

[(X1·−X··

)2 + · · ·+(XI·−X··

)2]

=J

I−1

I

∑i=1

(Xi·−X··

)2

2. Mean square for error MSE =S2

1 + · · ·+S2I

I.

3. The test statistic for single factor ANOVA is F =MSTrMSE

.

4. The J in MSTr re-scales the spread of the means back to the spread ofindividual samples.

5. If the null hypothesis is true: E(MSTr) = E(MSE) = σ2. If the nullhypothesis is false: E(MSTr) > E(MSE) = σ2.

6. When the null hypothesis is true, the statistic F =MSTrMSE

has an

F-distribution with ν1 = I−1 and ν2 = I(J−1).

7. A rejection region f > Fα,I−1,I(J−1) gives a test of significance level α .

8. For p-values, use the area to the right of the test statistic.Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 57: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Example. Perform an ANOVA onthe enclosed test data to see if the“true average performances” can beconsidered equal.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 58: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Example. Perform an ANOVA onthe enclosed test data to see if the“true average performances” can beconsidered equal.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 59: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Keeping Track of the Data

The key to ANOVA (by hand) is orderly bookkeeping.Also remember that all this was done before computers. Soanything that could save a few operations, or help minimizerounding errors, was appreciated.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 60: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Keeping Track of the DataThe key to ANOVA (by hand) is orderly bookkeeping.

Also remember that all this was done before computers. Soanything that could save a few operations, or help minimizerounding errors, was appreciated.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 61: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Keeping Track of the DataThe key to ANOVA (by hand) is orderly bookkeeping.Also remember that all this was done before computers.

Soanything that could save a few operations, or help minimizerounding errors, was appreciated.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 62: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Keeping Track of the DataThe key to ANOVA (by hand) is orderly bookkeeping.Also remember that all this was done before computers. Soanything that could save a few operations

, or help minimizerounding errors, was appreciated.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 63: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Keeping Track of the DataThe key to ANOVA (by hand) is orderly bookkeeping.Also remember that all this was done before computers. Soanything that could save a few operations, or help minimizerounding errors

, was appreciated.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 64: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Keeping Track of the DataThe key to ANOVA (by hand) is orderly bookkeeping.Also remember that all this was done before computers. Soanything that could save a few operations, or help minimizerounding errors, was appreciated.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 65: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

1. Grand total: x·· =I

∑i=1

J

∑j=1

xij

2. Total sum of squares: SST =I

∑i=1

J

∑j=1

(xij − x··)2 =I

∑i=1

J

∑j=1

x2ij −

1IJ

x2··

3. Treatment sum of squares: SSTr =I

∑i=1

J

∑j=1

(xi·− x··)2 =1J

I

∑i=1

x2i·−

1IJ

x2··,

where xi· =J

∑j=1

xij

4. Error sum of squares: SSE =I

∑i=1

J

∑j=1

(xij − xi·)2

5. MSTr =SSTrI−1

(What happened to J? It’s the dummy sum over j!)

6. MSE =SSE

I(J−1), F =

MSTrMSE

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 66: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

1. Grand total: x·· =I

∑i=1

J

∑j=1

xij

2. Total sum of squares: SST =I

∑i=1

J

∑j=1

(xij − x··)2 =I

∑i=1

J

∑j=1

x2ij −

1IJ

x2··

3. Treatment sum of squares: SSTr =I

∑i=1

J

∑j=1

(xi·− x··)2 =1J

I

∑i=1

x2i·−

1IJ

x2··,

where xi· =J

∑j=1

xij

4. Error sum of squares: SSE =I

∑i=1

J

∑j=1

(xij − xi·)2

5. MSTr =SSTrI−1

(What happened to J? It’s the dummy sum over j!)

6. MSE =SSE

I(J−1), F =

MSTrMSE

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 67: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

1. Grand total: x·· =I

∑i=1

J

∑j=1

xij

2. Total sum of squares: SST =I

∑i=1

J

∑j=1

(xij − x··)2 =I

∑i=1

J

∑j=1

x2ij −

1IJ

x2··

3. Treatment sum of squares: SSTr =I

∑i=1

J

∑j=1

(xi·− x··)2 =1J

I

∑i=1

x2i·−

1IJ

x2··,

where xi· =J

∑j=1

xij

4. Error sum of squares: SSE =I

∑i=1

J

∑j=1

(xij − xi·)2

5. MSTr =SSTrI−1

(What happened to J? It’s the dummy sum over j!)

6. MSE =SSE

I(J−1), F =

MSTrMSE

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 68: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

1. Grand total: x·· =I

∑i=1

J

∑j=1

xij

2. Total sum of squares: SST =I

∑i=1

J

∑j=1

(xij − x··)2 =I

∑i=1

J

∑j=1

x2ij −

1IJ

x2··

3. Treatment sum of squares: SSTr =I

∑i=1

J

∑j=1

(xi·− x··)2 =1J

I

∑i=1

x2i·−

1IJ

x2··,

where xi· =J

∑j=1

xij

4. Error sum of squares: SSE =I

∑i=1

J

∑j=1

(xij − xi·)2

5. MSTr =SSTrI−1

(What happened to J? It’s the dummy sum over j!)

6. MSE =SSE

I(J−1), F =

MSTrMSE

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 69: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

1. Grand total: x·· =I

∑i=1

J

∑j=1

xij

2. Total sum of squares: SST =I

∑i=1

J

∑j=1

(xij − x··)2 =I

∑i=1

J

∑j=1

x2ij −

1IJ

x2··

3. Treatment sum of squares: SSTr =I

∑i=1

J

∑j=1

(xi·− x··)2 =1J

I

∑i=1

x2i·−

1IJ

x2··,

where xi· =J

∑j=1

xij

4. Error sum of squares: SSE =I

∑i=1

J

∑j=1

(xij − xi·)2

5. MSTr =SSTrI−1

(What happened to J? It’s the dummy sum over j!)

6. MSE =SSE

I(J−1), F =

MSTrMSE

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 70: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

1. Grand total: x·· =I

∑i=1

J

∑j=1

xij

2. Total sum of squares: SST =I

∑i=1

J

∑j=1

(xij − x··)2 =I

∑i=1

J

∑j=1

x2ij −

1IJ

x2··

3. Treatment sum of squares: SSTr =I

∑i=1

J

∑j=1

(xi·− x··)2 =1J

I

∑i=1

x2i·−

1IJ

x2··,

where xi· =J

∑j=1

xij

4. Error sum of squares: SSE =I

∑i=1

J

∑j=1

(xij − xi·)2

5. MSTr =SSTrI−1

(What happened to J? It’s the dummy sum over j!)

6. MSE =SSE

I(J−1), F =

MSTrMSE

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 71: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

1. Grand total: x·· =I

∑i=1

J

∑j=1

xij

2. Total sum of squares: SST =I

∑i=1

J

∑j=1

(xij − x··)2 =I

∑i=1

J

∑j=1

x2ij −

1IJ

x2··

3. Treatment sum of squares: SSTr =I

∑i=1

J

∑j=1

(xi·− x··)2 =1J

I

∑i=1

x2i·−

1IJ

x2··,

where xi· =J

∑j=1

xij

4. Error sum of squares: SSE =I

∑i=1

J

∑j=1

(xij − xi·)2

5. MSTr =SSTrI−1

(What happened to J?

It’s the dummy sum over j!)

6. MSE =SSE

I(J−1), F =

MSTrMSE

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 72: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

1. Grand total: x·· =I

∑i=1

J

∑j=1

xij

2. Total sum of squares: SST =I

∑i=1

J

∑j=1

(xij − x··)2 =I

∑i=1

J

∑j=1

x2ij −

1IJ

x2··

3. Treatment sum of squares: SSTr =I

∑i=1

J

∑j=1

(xi·− x··)2 =1J

I

∑i=1

x2i·−

1IJ

x2··,

where xi· =J

∑j=1

xij

4. Error sum of squares: SSE =I

∑i=1

J

∑j=1

(xij − xi·)2

5. MSTr =SSTrI−1

(What happened to J? It’s the dummy sum over j!)

6. MSE =SSE

I(J−1), F =

MSTrMSE

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 73: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

1. Grand total: x·· =I

∑i=1

J

∑j=1

xij

2. Total sum of squares: SST =I

∑i=1

J

∑j=1

(xij − x··)2 =I

∑i=1

J

∑j=1

x2ij −

1IJ

x2··

3. Treatment sum of squares: SSTr =I

∑i=1

J

∑j=1

(xi·− x··)2 =1J

I

∑i=1

x2i·−

1IJ

x2··,

where xi· =J

∑j=1

xij

4. Error sum of squares: SSE =I

∑i=1

J

∑j=1

(xij − xi·)2

5. MSTr =SSTrI−1

(What happened to J? It’s the dummy sum over j!)

6. MSE =SSE

I(J−1)

, F =MSTrMSE

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 74: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

1. Grand total: x·· =I

∑i=1

J

∑j=1

xij

2. Total sum of squares: SST =I

∑i=1

J

∑j=1

(xij − x··)2 =I

∑i=1

J

∑j=1

x2ij −

1IJ

x2··

3. Treatment sum of squares: SSTr =I

∑i=1

J

∑j=1

(xi·− x··)2 =1J

I

∑i=1

x2i·−

1IJ

x2··,

where xi· =J

∑j=1

xij

4. Error sum of squares: SSE =I

∑i=1

J

∑j=1

(xij − xi·)2

5. MSTr =SSTrI−1

(What happened to J? It’s the dummy sum over j!)

6. MSE =SSE

I(J−1), F =

MSTrMSE

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 75: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Are the Claimed Formulas Right?

SST =I

∑i=1

J

∑j=1

(xij − x··)2 =I

∑i=1

J

∑j=1

x2ij −2xijx··+ x2

··

=I

∑i=1

J

∑j=1

x2ij −2x··

I

∑i=1

J

∑j=1

xij +I

∑i=1

J

∑j=1

x2··

=I

∑i=1

J

∑j=1

x2ij −

2IJ

I

∑i=1

J

∑j=1

xij

I

∑i=1

J

∑j=1

xij + IJ

(1IJ

I

∑i=1

J

∑j=1

xij

)2

=I

∑i=1

J

∑j=1

x2ij −

1IJ

I

∑i=1

J

∑j=1

xij

I

∑i=1

J

∑j=1

xij =I

∑i=1

J

∑j=1

x2ij −

1IJ

x2··

Treatment sum of squares: Similar.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 76: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Are the Claimed Formulas Right?SST

=I

∑i=1

J

∑j=1

(xij − x··)2 =I

∑i=1

J

∑j=1

x2ij −2xijx··+ x2

··

=I

∑i=1

J

∑j=1

x2ij −2x··

I

∑i=1

J

∑j=1

xij +I

∑i=1

J

∑j=1

x2··

=I

∑i=1

J

∑j=1

x2ij −

2IJ

I

∑i=1

J

∑j=1

xij

I

∑i=1

J

∑j=1

xij + IJ

(1IJ

I

∑i=1

J

∑j=1

xij

)2

=I

∑i=1

J

∑j=1

x2ij −

1IJ

I

∑i=1

J

∑j=1

xij

I

∑i=1

J

∑j=1

xij =I

∑i=1

J

∑j=1

x2ij −

1IJ

x2··

Treatment sum of squares: Similar.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 77: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Are the Claimed Formulas Right?SST =

I

∑i=1

J

∑j=1

(xij − x··)2

=I

∑i=1

J

∑j=1

x2ij −2xijx··+ x2

··

=I

∑i=1

J

∑j=1

x2ij −2x··

I

∑i=1

J

∑j=1

xij +I

∑i=1

J

∑j=1

x2··

=I

∑i=1

J

∑j=1

x2ij −

2IJ

I

∑i=1

J

∑j=1

xij

I

∑i=1

J

∑j=1

xij + IJ

(1IJ

I

∑i=1

J

∑j=1

xij

)2

=I

∑i=1

J

∑j=1

x2ij −

1IJ

I

∑i=1

J

∑j=1

xij

I

∑i=1

J

∑j=1

xij =I

∑i=1

J

∑j=1

x2ij −

1IJ

x2··

Treatment sum of squares: Similar.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 78: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Are the Claimed Formulas Right?SST =

I

∑i=1

J

∑j=1

(xij − x··)2 =I

∑i=1

J

∑j=1

x2ij −2xijx··+ x2

··

=I

∑i=1

J

∑j=1

x2ij −2x··

I

∑i=1

J

∑j=1

xij +I

∑i=1

J

∑j=1

x2··

=I

∑i=1

J

∑j=1

x2ij −

2IJ

I

∑i=1

J

∑j=1

xij

I

∑i=1

J

∑j=1

xij + IJ

(1IJ

I

∑i=1

J

∑j=1

xij

)2

=I

∑i=1

J

∑j=1

x2ij −

1IJ

I

∑i=1

J

∑j=1

xij

I

∑i=1

J

∑j=1

xij =I

∑i=1

J

∑j=1

x2ij −

1IJ

x2··

Treatment sum of squares: Similar.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 79: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Are the Claimed Formulas Right?SST =

I

∑i=1

J

∑j=1

(xij − x··)2 =I

∑i=1

J

∑j=1

x2ij −2xijx··+ x2

··

=I

∑i=1

J

∑j=1

x2ij −2x··

I

∑i=1

J

∑j=1

xij +I

∑i=1

J

∑j=1

x2··

=I

∑i=1

J

∑j=1

x2ij −

2IJ

I

∑i=1

J

∑j=1

xij

I

∑i=1

J

∑j=1

xij + IJ

(1IJ

I

∑i=1

J

∑j=1

xij

)2

=I

∑i=1

J

∑j=1

x2ij −

1IJ

I

∑i=1

J

∑j=1

xij

I

∑i=1

J

∑j=1

xij =I

∑i=1

J

∑j=1

x2ij −

1IJ

x2··

Treatment sum of squares: Similar.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 80: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Are the Claimed Formulas Right?SST =

I

∑i=1

J

∑j=1

(xij − x··)2 =I

∑i=1

J

∑j=1

x2ij −2xijx··+ x2

··

=I

∑i=1

J

∑j=1

x2ij −2x··

I

∑i=1

J

∑j=1

xij +I

∑i=1

J

∑j=1

x2··

=I

∑i=1

J

∑j=1

x2ij −

2IJ

I

∑i=1

J

∑j=1

xij

I

∑i=1

J

∑j=1

xij + IJ

(1IJ

I

∑i=1

J

∑j=1

xij

)2

=I

∑i=1

J

∑j=1

x2ij −

1IJ

I

∑i=1

J

∑j=1

xij

I

∑i=1

J

∑j=1

xij =I

∑i=1

J

∑j=1

x2ij −

1IJ

x2··

Treatment sum of squares: Similar.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 81: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Are the Claimed Formulas Right?SST =

I

∑i=1

J

∑j=1

(xij − x··)2 =I

∑i=1

J

∑j=1

x2ij −2xijx··+ x2

··

=I

∑i=1

J

∑j=1

x2ij −2x··

I

∑i=1

J

∑j=1

xij +I

∑i=1

J

∑j=1

x2··

=I

∑i=1

J

∑j=1

x2ij −

2IJ

I

∑i=1

J

∑j=1

xij

I

∑i=1

J

∑j=1

xij + IJ

(1IJ

I

∑i=1

J

∑j=1

xij

)2

=I

∑i=1

J

∑j=1

x2ij −

1IJ

I

∑i=1

J

∑j=1

xij

I

∑i=1

J

∑j=1

xij

=I

∑i=1

J

∑j=1

x2ij −

1IJ

x2··

Treatment sum of squares: Similar.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 82: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Are the Claimed Formulas Right?SST =

I

∑i=1

J

∑j=1

(xij − x··)2 =I

∑i=1

J

∑j=1

x2ij −2xijx··+ x2

··

=I

∑i=1

J

∑j=1

x2ij −2x··

I

∑i=1

J

∑j=1

xij +I

∑i=1

J

∑j=1

x2··

=I

∑i=1

J

∑j=1

x2ij −

2IJ

I

∑i=1

J

∑j=1

xij

I

∑i=1

J

∑j=1

xij + IJ

(1IJ

I

∑i=1

J

∑j=1

xij

)2

=I

∑i=1

J

∑j=1

x2ij −

1IJ

I

∑i=1

J

∑j=1

xij

I

∑i=1

J

∑j=1

xij =I

∑i=1

J

∑j=1

x2ij −

1IJ

x2··

Treatment sum of squares: Similar.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 83: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Are the Claimed Formulas Right?SST =

I

∑i=1

J

∑j=1

(xij − x··)2 =I

∑i=1

J

∑j=1

x2ij −2xijx··+ x2

··

=I

∑i=1

J

∑j=1

x2ij −2x··

I

∑i=1

J

∑j=1

xij +I

∑i=1

J

∑j=1

x2··

=I

∑i=1

J

∑j=1

x2ij −

2IJ

I

∑i=1

J

∑j=1

xij

I

∑i=1

J

∑j=1

xij + IJ

(1IJ

I

∑i=1

J

∑j=1

xij

)2

=I

∑i=1

J

∑j=1

x2ij −

1IJ

I

∑i=1

J

∑j=1

xij

I

∑i=1

J

∑j=1

xij =I

∑i=1

J

∑j=1

x2ij −

1IJ

x2··

Treatment sum of squares: Similar.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 84: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Fundamental Identity: SST = SSTr +SSE

xij − x·· = (xij − xi·)+(xi·− x··)

(xij − x··)2 = (xij − xi·)

2 +2(xij − xi·)(xi·− x··)+(xi·− x··)2

Now sum over i,j. The middle term drops out after summing

over j, becauseJ

∑j=1

(xij − xi·) = 0. Hence

SST =I

∑i=1

J

∑j=1

(xij − x··)2 =

I

∑i=1

J

∑j=1

(xij − xi·)2 +

I

∑i=1

J

∑j=1

(xi·− x··)2 = SSE+SSTr

1. SST measures the total variation of the data.2. SSE is the contribution from the variation within the

populations/treatment groups.3. SSTr is the contribution from between the

populations/groups.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 85: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Fundamental Identity: SST = SSTr +SSExij − x··

= (xij − xi·)+(xi·− x··)

(xij − x··)2 = (xij − xi·)

2 +2(xij − xi·)(xi·− x··)+(xi·− x··)2

Now sum over i,j. The middle term drops out after summing

over j, becauseJ

∑j=1

(xij − xi·) = 0. Hence

SST =I

∑i=1

J

∑j=1

(xij − x··)2 =

I

∑i=1

J

∑j=1

(xij − xi·)2 +

I

∑i=1

J

∑j=1

(xi·− x··)2 = SSE+SSTr

1. SST measures the total variation of the data.2. SSE is the contribution from the variation within the

populations/treatment groups.3. SSTr is the contribution from between the

populations/groups.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 86: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Fundamental Identity: SST = SSTr +SSExij − x·· = (xij − xi·)+(xi·− x··)

(xij − x··)2 = (xij − xi·)

2 +2(xij − xi·)(xi·− x··)+(xi·− x··)2

Now sum over i,j. The middle term drops out after summing

over j, becauseJ

∑j=1

(xij − xi·) = 0. Hence

SST =I

∑i=1

J

∑j=1

(xij − x··)2 =

I

∑i=1

J

∑j=1

(xij − xi·)2 +

I

∑i=1

J

∑j=1

(xi·− x··)2 = SSE+SSTr

1. SST measures the total variation of the data.2. SSE is the contribution from the variation within the

populations/treatment groups.3. SSTr is the contribution from between the

populations/groups.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 87: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Fundamental Identity: SST = SSTr +SSExij − x·· = (xij − xi·)+(xi·− x··)

(xij − x··)2

= (xij − xi·)2 +2(xij − xi·)(xi·− x··)+(xi·− x··)

2

Now sum over i,j. The middle term drops out after summing

over j, becauseJ

∑j=1

(xij − xi·) = 0. Hence

SST =I

∑i=1

J

∑j=1

(xij − x··)2 =

I

∑i=1

J

∑j=1

(xij − xi·)2 +

I

∑i=1

J

∑j=1

(xi·− x··)2 = SSE+SSTr

1. SST measures the total variation of the data.2. SSE is the contribution from the variation within the

populations/treatment groups.3. SSTr is the contribution from between the

populations/groups.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 88: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Fundamental Identity: SST = SSTr +SSExij − x·· = (xij − xi·)+(xi·− x··)

(xij − x··)2 = (xij − xi·)

2 +2(xij − xi·)(xi·− x··)+(xi·− x··)2

Now sum over i,j. The middle term drops out after summing

over j, becauseJ

∑j=1

(xij − xi·) = 0. Hence

SST =I

∑i=1

J

∑j=1

(xij − x··)2 =

I

∑i=1

J

∑j=1

(xij − xi·)2 +

I

∑i=1

J

∑j=1

(xi·− x··)2 = SSE+SSTr

1. SST measures the total variation of the data.2. SSE is the contribution from the variation within the

populations/treatment groups.3. SSTr is the contribution from between the

populations/groups.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 89: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Fundamental Identity: SST = SSTr +SSExij − x·· = (xij − xi·)+(xi·− x··)

(xij − x··)2 = (xij − xi·)

2 +2(xij − xi·)(xi·− x··)+(xi·− x··)2

Now sum over i,j.

The middle term drops out after summing

over j, becauseJ

∑j=1

(xij − xi·) = 0. Hence

SST =I

∑i=1

J

∑j=1

(xij − x··)2 =

I

∑i=1

J

∑j=1

(xij − xi·)2 +

I

∑i=1

J

∑j=1

(xi·− x··)2 = SSE+SSTr

1. SST measures the total variation of the data.2. SSE is the contribution from the variation within the

populations/treatment groups.3. SSTr is the contribution from between the

populations/groups.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 90: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Fundamental Identity: SST = SSTr +SSExij − x·· = (xij − xi·)+(xi·− x··)

(xij − x··)2 = (xij − xi·)

2 +2(xij − xi·)(xi·− x··)+(xi·− x··)2

Now sum over i,j. The middle term drops out after summing

over j

, becauseJ

∑j=1

(xij − xi·) = 0. Hence

SST =I

∑i=1

J

∑j=1

(xij − x··)2 =

I

∑i=1

J

∑j=1

(xij − xi·)2 +

I

∑i=1

J

∑j=1

(xi·− x··)2 = SSE+SSTr

1. SST measures the total variation of the data.2. SSE is the contribution from the variation within the

populations/treatment groups.3. SSTr is the contribution from between the

populations/groups.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 91: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Fundamental Identity: SST = SSTr +SSExij − x·· = (xij − xi·)+(xi·− x··)

(xij − x··)2 = (xij − xi·)

2 +2(xij − xi·)(xi·− x··)+(xi·− x··)2

Now sum over i,j. The middle term drops out after summing

over j, becauseJ

∑j=1

(xij − xi·) = 0.

Hence

SST =I

∑i=1

J

∑j=1

(xij − x··)2 =

I

∑i=1

J

∑j=1

(xij − xi·)2 +

I

∑i=1

J

∑j=1

(xi·− x··)2 = SSE+SSTr

1. SST measures the total variation of the data.2. SSE is the contribution from the variation within the

populations/treatment groups.3. SSTr is the contribution from between the

populations/groups.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 92: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Fundamental Identity: SST = SSTr +SSExij − x·· = (xij − xi·)+(xi·− x··)

(xij − x··)2 = (xij − xi·)

2 +2(xij − xi·)(xi·− x··)+(xi·− x··)2

Now sum over i,j. The middle term drops out after summing

over j, becauseJ

∑j=1

(xij − xi·) = 0. Hence

SST

=I

∑i=1

J

∑j=1

(xij − x··)2 =

I

∑i=1

J

∑j=1

(xij − xi·)2 +

I

∑i=1

J

∑j=1

(xi·− x··)2 = SSE+SSTr

1. SST measures the total variation of the data.2. SSE is the contribution from the variation within the

populations/treatment groups.3. SSTr is the contribution from between the

populations/groups.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 93: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Fundamental Identity: SST = SSTr +SSExij − x·· = (xij − xi·)+(xi·− x··)

(xij − x··)2 = (xij − xi·)

2 +2(xij − xi·)(xi·− x··)+(xi·− x··)2

Now sum over i,j. The middle term drops out after summing

over j, becauseJ

∑j=1

(xij − xi·) = 0. Hence

SST =I

∑i=1

J

∑j=1

(xij − x··)2

=I

∑i=1

J

∑j=1

(xij − xi·)2 +

I

∑i=1

J

∑j=1

(xi·− x··)2 = SSE+SSTr

1. SST measures the total variation of the data.2. SSE is the contribution from the variation within the

populations/treatment groups.3. SSTr is the contribution from between the

populations/groups.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 94: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Fundamental Identity: SST = SSTr +SSExij − x·· = (xij − xi·)+(xi·− x··)

(xij − x··)2 = (xij − xi·)

2 +2(xij − xi·)(xi·− x··)+(xi·− x··)2

Now sum over i,j. The middle term drops out after summing

over j, becauseJ

∑j=1

(xij − xi·) = 0. Hence

SST =I

∑i=1

J

∑j=1

(xij − x··)2 =

I

∑i=1

J

∑j=1

(xij − xi·)2 +

I

∑i=1

J

∑j=1

(xi·− x··)2

= SSE+SSTr

1. SST measures the total variation of the data.2. SSE is the contribution from the variation within the

populations/treatment groups.3. SSTr is the contribution from between the

populations/groups.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 95: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Fundamental Identity: SST = SSTr +SSExij − x·· = (xij − xi·)+(xi·− x··)

(xij − x··)2 = (xij − xi·)

2 +2(xij − xi·)(xi·− x··)+(xi·− x··)2

Now sum over i,j. The middle term drops out after summing

over j, becauseJ

∑j=1

(xij − xi·) = 0. Hence

SST =I

∑i=1

J

∑j=1

(xij − x··)2 =

I

∑i=1

J

∑j=1

(xij − xi·)2 +

I

∑i=1

J

∑j=1

(xi·− x··)2 = SSE+SSTr

1. SST measures the total variation of the data.2. SSE is the contribution from the variation within the

populations/treatment groups.3. SSTr is the contribution from between the

populations/groups.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 96: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Fundamental Identity: SST = SSTr +SSExij − x·· = (xij − xi·)+(xi·− x··)

(xij − x··)2 = (xij − xi·)

2 +2(xij − xi·)(xi·− x··)+(xi·− x··)2

Now sum over i,j. The middle term drops out after summing

over j, becauseJ

∑j=1

(xij − xi·) = 0. Hence

SST =I

∑i=1

J

∑j=1

(xij − x··)2 =

I

∑i=1

J

∑j=1

(xij − xi·)2 +

I

∑i=1

J

∑j=1

(xi·− x··)2 = SSE+SSTr

1. SST measures the total variation of the data.

2. SSE is the contribution from the variation within thepopulations/treatment groups.

3. SSTr is the contribution from between thepopulations/groups.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 97: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Fundamental Identity: SST = SSTr +SSExij − x·· = (xij − xi·)+(xi·− x··)

(xij − x··)2 = (xij − xi·)

2 +2(xij − xi·)(xi·− x··)+(xi·− x··)2

Now sum over i,j. The middle term drops out after summing

over j, becauseJ

∑j=1

(xij − xi·) = 0. Hence

SST =I

∑i=1

J

∑j=1

(xij − x··)2 =

I

∑i=1

J

∑j=1

(xij − xi·)2 +

I

∑i=1

J

∑j=1

(xi·− x··)2 = SSE+SSTr

1. SST measures the total variation of the data.2. SSE is the contribution from the variation within the

populations/treatment groups.

3. SSTr is the contribution from between thepopulations/groups.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 98: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Fundamental Identity: SST = SSTr +SSExij − x·· = (xij − xi·)+(xi·− x··)

(xij − x··)2 = (xij − xi·)

2 +2(xij − xi·)(xi·− x··)+(xi·− x··)2

Now sum over i,j. The middle term drops out after summing

over j, becauseJ

∑j=1

(xij − xi·) = 0. Hence

SST =I

∑i=1

J

∑j=1

(xij − x··)2 =

I

∑i=1

J

∑j=1

(xij − xi·)2 +

I

∑i=1

J

∑j=1

(xi·− x··)2 = SSE+SSTr

1. SST measures the total variation of the data.2. SSE is the contribution from the variation within the

populations/treatment groups.3. SSTr is the contribution from between the

populations/groups.Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 99: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Example. Perform an ANOVA onthe enclosed test data to see if the“true average performances” can beconsidered equal.

Use a significancelevel of α = 0.05 and also computethe p-value.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 100: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Example. Perform an ANOVA onthe enclosed test data to see if the“true average performances” can beconsidered equal. Use a significancelevel of α = 0.05 and also computethe p-value.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 101: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Example. Perform an ANOVA onthe enclosed test data to see if the“true average performances” can beconsidered equal. Use a significancelevel of α = 0.05 and also computethe p-value.

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 102: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)

Page 103: Single Factor Analysis of Variance (ANOVA) · logo1 The SituationTest StatisticComputing the Quantities Single Factor Analysis of Variance (ANOVA) Bernd Schroder¨ Bernd Schroder¨

logo1

The Situation Test Statistic Computing the Quantities

Bernd Schroder Louisiana Tech University, College of Engineering and Science

Single Factor Analysis of Variance (ANOVA)