STA442/1008 Assignment 10
Quiz in tutorial on Friday April 11th
This assignment uses the Noise data described in Chapter 5. You are free to take and modify my code if you wish.
There is one major difference between the proc glm and proc mixed results, and it leads to a substantially different conclusion about one of the independent variables. What is the difference? Which set of results makes more sense on intuitive grounds?
The option data=loud means use the SAS data set called loud, which I created with a multivariate data read. Proc mixed, of course, requires a univariate data read. The dependent variables d1 through d4 are differences between successive levels of the discrimination variables: d1 = discrim1-discrim2, etc.. A1 and A2 are indicator dummy variables for age. Why .3333? This question will require some thought. By the way, I get F = 16.26, p < .0001, which is very close to the proc mixed results.
proc reg data=loud; title2 'Try to do main effect for noise better with multivariate approach'; model d1-d4 = interest A1 A2; Noise: mtest intercept + 2.43167*interest + .3333*A1 + .3333*A2= 0;