Explore BrainMass
Share

# SAS Analysis of Variance

I've pasted my SAS data below. If you need to use Stata or a similar program that is OK (but I would prefer SAS)

1. Write a model for this experiment
2. Conduct an analysis of variance
3. Compute the relative efficiency of the Latin square design relative to a completely randomized design. Interpret this value. Were the blocking variables effective in reducing the variability in experimental units? Explain.

We are comparing the miles per gallon (mpg) of four different gasolines (A, B, C, and D). Two extraneous sources of variability were included as "blocking" variables. There are four brands of cars and four drivers.

Here's the data for SAS:

data ex1510 ;
input Driver Model Blend \$ Mpg ;
cards ;
1 1 A 15.5
2 1 B 16.3
3 1 C 10.5
4 1 D 14.0
1 2 B 33.8
2 2 C 26.4
3 2 D 31.5
4 2 A 34.5
1 3 C 13.7
2 3 D 19.1
3 3 A 17.5
4 3 B 19.7
1 4 D 29.2
2 4 A 22.5
3 4 B 30.1
4 4 C 21.6
;
run ;

#### Solution Summary

SAS Analysis of Variance

\$2.19