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-white.png

Special offer for SAS Communities members

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.

 

View the full agenda.

Register now!

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
  • 2280 views
  • 1 like
  • 2 in conversation