[SOLVED] In what order should the counts (for Chi Square) be

General help and assistance with jamovi. Bug reports can be made at our issues page: https://github.com/jamovi/jamovi/issues . (If you're unsure feel free to discuss it here)
Post Reply
User avatar
reason180
Posts: 274
Joined: Mon Jul 24, 2017 4:56 pm

[SOLVED] In what order should the counts (for Chi Square) be

Post by reason180 »

For the "counts" input variable for Chi Square contingency, in what order should the counts be entered? (I was not able to find pertinent info on the jamovi sites.) For example, if I have . . .

A B
4 9 X
2 3 Y

and if I want to do the contingency analyses on the counts,

should the counts column contain 4 9 2 3, 4 2 9 3, or something else? What's the rule for ordering the values within the "counts" column?
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: In what order should the counts (for Chi Square) be ente

Post by jonathon »

hi, yup, we should improve the documentation. the order isn't important.

you can specify it like this:
Screen Shot 2017-11-28 at 07.58.57.png
Screen Shot 2017-11-28 at 07.58.57.png (606.13 KiB) Viewed 2048 times
here's a nice data set if you want to play around:
HairEyeColor.csv
(1005 Bytes) Downloaded 455 times
jonathon
Post Reply