11-24-2014 06:25 AM
I am using the following SAS to code to compute the variance components of four categorical variables. I need to compute the R2 of the model. Can I directly use the Sum Squares Error and Sum Squares Total given in the output or should I be using a different technique?
proc sort data=ANOVATEST;
by Y I_Code C_name S_C;
proc nested data=Anovatest;
class Y I_Code C_name S_C;
In the above, S_RA is a continuous variable and Y represents year, I_Code C_name S_C are categorical variables representing effects.
|Variance Source||DF||Sum of Squares|
Thanks in advance for your time.
Need further help from the community? Please ask a new question.