Hello everyone,
My data contains milk production parameters as the variables are: Milk, Fat, and Protein in the row of the excel file and the breed of the animal (1, 2) and the month (1,2,3,4 ) in the column.
so, for each month and each breed, we have the milk production parameters (milk, fat, and protein).
I want to see the effect of breed, month, and their interaction on these parameters (milk, fat, and protein).
I wonder about the glm procedure:
proc glm ;
model Milk Fat Protein= breed month breed * month ;
but I was asked to do the two-way ANOVA analysis and I wrote this code:
proc univariate data=milk ; var Milk Fat Protein ; run;
Is the code for the two-way ANOVA correct to see the effect of the breed the month and their interaction?
What is the difference between the proc glm and univariate if they can do the same test?
Thank you! and I am sorry for my lack of knowledge.
... View more