I am trying to see the level of relationship between a variable with two categories and an ordered variable.
We can assume this variable with 3 levels.
0 -> does not contrac
1 -> contract 6 months
2 -> contract 1 year
To see the level of association between two categorical variables, I have to perform the Chi-square test as long as no more than 20% of the expected frequencies is less than 5.
My question is whether when performing the Chi-square test, I have to convert the ordered variable into an ordered factor or not.
I ask myself the same question when making the logistic regression model. Since the results are different when ordering it.
Thanks in advance.
Sorry for my English.