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

## collinearity between two variables

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
Diamond | Level 26

## Re: collinearity between two variables

Collinearity is not the right word for categorical variables.

p<0.05 indicates lack of independence.

--
Paige Miller
3 REPLIES 3
Diamond | Level 26

## Re: collinearity between two variables

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

--
Paige Miller
Obsidian | Level 7

## Re: collinearity between two 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!?

Diamond | Level 26

## Re: collinearity between two variables

Collinearity is not the right word for categorical variables.

p<0.05 indicates lack of independence.

--
Paige Miller
Discussion stats
• 3 replies
• 1591 views
• 1 like
• 2 in conversation