I'm creating a regression model and I want to test if some co-variables are linear or co-dependent? I am thinking, among other things, of '' access to land '' and '' possession of livestock ''.
Which test can I use to show the collinearity between two categorical variables?
Thanks
Collinearity is not the right word for categorical variables.
p<0.05 indicates lack of independence.
The Chi-squared test in PROC FREQ can test the independence of two categorical variables.
oh ok, thank u so much for ur answer!
Then if the p-value of the chi-square test is less than 0.05 ==> Can I assume that there is a collinearity between the two variables
and if the p-value is higher than 0.05 ==> then the 2 variables are independent (no collinearity)
Is this right!?
Collinearity is not the right word for categorical variables.
p<0.05 indicates lack of independence.
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!
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.