Trying to find the relationship between AGE (continuous) and GENDER (categorical) variables in my dataset using SAS (v9.4). I used the below code.
proc glm data = myfile;class GENDER; model AGE = GENDER / solution;run;
How to verify if the LINE assumptions of a linear regression model are met or violated in the above case (using SAS)?
L - Linear
I - Independent
N - Normality
E -Equal Variance
Please provide the SAS code to be able to do that.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Submit your idea!
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.