Hi everyone, I'm doing some research in animal science and I have a problem that I need help with. It might be very simple to do it manually but I would like to find a way to do it in SAS. Lets assume variable1= breed1, breed2, breed3, breed4 variable2=breed4, breed5 Now, lets assume the variable Liveweight (LW) at a particular time t is affected by age, variable1, variable2 and you are using the variable 'milk' as a covariable for the model. Your model in proc mixed goes something like this: LW= age variable1 variable2 variable1*variable2 variable1*milk / solutions; On your SAS output you get your 'Solutions for fixed effects' table with the regression coefficients of 'milk" on breed1, breed2, breed3, and breed4 (b1 b2 b3 b4); your standar errors (SE), DF, etc. In this table you know if the coefficients are different from 0 but i would like to know...How the different reg coefficient for the different breeds compare to each other or put in other words how they differ from each other. I've extracted the table with the ods output statement and selected only the regression coefficient but I'm stuck there. I know that my t value is equal to the difference of lets say of b1-b2/SE of (b1-b2), after that I can look at my t values on a table and find out which ones differ from the others but doing this manually is taking me forever since I have to run the variable LW at different times (LW5, LW10, LW15... LW365). Can anybody help me to find a way to do this more efficiently and correctly in SAS? Any assistance would be greatly appreciated. Thanks, JR
... View more