By: Neil E. Cotter

Statistics

 

 

ANOVA

 

 

One Way

 

 

Example 1

 
 
 

 

Ex:            Three different systems for orienting a solar panel toward the sun have been tested. Four samples of the power output of the solar panel were taken using each system. The results are as follows, (all values in kW):

          x11 = 50     x12 = 52       x13 = 48       x14 = 52       x15 = 48

          x21 = 47     x22 = 47       x23 = 51       x24 = 55       x25 = 55

          x31 = 58     x32 = 40       x33 = 40       x34 = 58       x35 = 49

Use ANOVA to determine whether to accept the following null hypothesis, H0, or the alternate hypothesis, H1, at the 1% significance level.

                H0: μ1 = μ2 = μ3

                H1: At least one of the means is not equal to the others

Sol'n:       We have k = 3 different treatments since we have three different systems.

For each system, we have ni = n = 5 observations.

This gives us N = k⋅5 = 15 observations in all.

Now we calculate the means of the observations for each system:

The calculated mean for all observations from all samples may be calculated as a weighted average of sample means or as the average of all observations:

Next, we calculate the squares of the variations around the sample means:

The calculated mean of the sum of all treatment squared errors is found by dividing SSA by the appropriate degrees of freedom:

Likewise, the calculated mean of the sum of squared errors is found by dividing SSA by the appropriate degrees of freedom:

The ratio of MSA and MSE gives the f value for testing the hypothesis:

Using Table A.6 in [1] with α = 0.01, we have the following critical value for f:

fa=0.011=2, ν2=12) = 6.93

For us to reject the null hypothesis, we would have to have f > 6.93. This is not the case, as f = 0.1485. Thus, we accept the null hypothesis and assume the means are all the same.

Ref:    [1] Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, and Keying Ye, Probability and Statistics for Engineers and Scientists, 8th Ed., Upper Saddle River, NJ: Prentice Hall, 2007.