BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
sebai
Obsidian | Level 7

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 

1 ACCEPTED SOLUTION

Accepted Solutions
PaigeMiller
Diamond | Level 26

Collinearity is not the right word for categorical variables.

 

p<0.05 indicates lack of independence.

--
Paige Miller

View solution in original post

3 REPLIES 3
PaigeMiller
Diamond | Level 26

The Chi-squared test in PROC FREQ can test the independence of two categorical variables.

--
Paige Miller
sebai
Obsidian | Level 7

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!?

 

PaigeMiller
Diamond | Level 26

Collinearity is not the right word for categorical variables.

 

p<0.05 indicates lack of independence.

--
Paige Miller

SAS Innovate 2025: Call for Content

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!

What is ANOVA?

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.

Discussion stats
  • 3 replies
  • 1818 views
  • 1 like
  • 2 in conversation