# Levels of variable and $\chi^2$

Does it matter how many levels the independent variable has for significance? For example, suppose socioeconomic status has 10 levels and the output variable has 2 levels. Suppose this is significant in a $\chi^2$ test. If we increase the number of levels to 20 for the independent variable would this change the significance?

The reason I ask is because I can't seem to put my independent variable into 10 levels. Instead there are 30 levels (basically a listing of all the values). Would this matter for significance?

-