Hello,
I have a ordinal varible with three levels and a nominal variable. I would like to conduct a Chi Square test using the nominal variable and diferent combinations of the levels of the ordinal variable. Lets say the ordinal variable has the levels a, b and c. The nominal varible has the levels e and f. So I want to conduct three different Chi Square tests of indepence:
1. a,b with e,f
2. a,c with e,f
3. b,c with e,f
Is that possible? Hope for help soon!
Conduct a Chi Square test using only specific levels
Re: Conduct a Chi Square test using only specific levels
Hey Lucy,
if you want to do this you will have your own reason.
To do one thing on the fly, if you don't need to fix the output for each analysis, you can do it using the filter on your variable with three levels.
I call it VAR_abc and I want to exclude the level 'a', in Filter 1 it will be:
VAR_abc != 'a'
this excludes from your analysis all cases/rows that have 'a' in the variable VAR_abc.
So you will only use the 'b' and 'c' levels for your Chi2.
Then replace in the filter 'a' with 'b' or 'c' and the table will update for the changed levels.
Cheers,
Maurizio
if you want to do this you will have your own reason.
To do one thing on the fly, if you don't need to fix the output for each analysis, you can do it using the filter on your variable with three levels.
I call it VAR_abc and I want to exclude the level 'a', in Filter 1 it will be:
VAR_abc != 'a'
this excludes from your analysis all cases/rows that have 'a' in the variable VAR_abc.
So you will only use the 'b' and 'c' levels for your Chi2.
Then replace in the filter 'a' with 'b' or 'c' and the table will update for the changed levels.
Cheers,
Maurizio