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.
Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.
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.