cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Davidemu
Level I

Chi square easy question

Hello everyone, 
I'm new to jmp and I was wondering a simple thing. 
When I do the chi square test I want to compare a binary/dihcotomic variable in my Y (0 or 1) to another dihcotomic variable in the X that is 0 this time vs 1+2+3 together. (in this column I have 4 values from 0 to 3 (0,1,2,3) but I want to first analyze them in only two groups: 0 vs 1+2+3)
How can I unite 1 with 2 and 3 in only one group without editing my excel?
thank you so much

1 REPLY 1

Re: Chi square easy question

I would add a column formula to a new data column for the initial X. Copy and paste this expression in the formula editor for the new column.

 

If( :X == 0, 0, 1 )

Recommended Articles