A very basic issue for someone unused to class statements. I worked with proc reg mainly in the past. I have data that is coded 1 if you are in a specific group (say age 25-44) and 0 otherwise. These are of course dummy variables. I do in part.
CLASS
"Age 25 to 44"n (ref ="0")
and get this parameter estimate.
If I understand correctly level 0 in the original data is the reference level and the mean difference (controlling for other variables) between level one and level 0 is 3014.736, that is level 1 is higher than level 0 (a terrible way to refer to a slope I know, but I just want to be sure I understand how the coding works).
That is correct. Equivalently, you could just not specify that variable in the CLASS statement.
That is correct. Equivalently, you could just not specify that variable in the CLASS statement.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.