Post Reply 
Issue with the Chi2TwoWay() function
05-10-2020, 10:53 PM
Post: #1
Issue with the Chi2TwoWay() function
The Chi2TwoWay() function does not duplicate all results from the χ2 test / 2-way test feature of the Inference App. This issue seems to occur only when the data set is not a square (nxn) matrix.

For example, try the data

75 10 15
40 30 10.

Loading the data into the ObsMat matrix (the App input data matrix) and running the App gives χ2 = 19.67 and P = 5.35E-5. Running Chi2TwoWay() will not produce the same numbers. I've tried several ways of inputting data: (1) ObsMat itself, (2) a copy of ObsMat saved to M1 and then using M1, (3) a matrix with the six numbers themselves. On both physical and virtual Prime, no attempts were successful in duplicating the App. Using the function gave calculator lock-ups, error messages or lists simply NOT duplicating χ2 and P. The function did not duplicate App results for any non-square ObsMat matrix I tried.

When data that fits in square matrices is used, the App and function results agree exactly regardless of the method is used to feed Chi2TwoWay() .

I’m using physical and virtual Primes with software version 2.1.14425 (2020 01 16).

Can someone explain this issue?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Issue with the Chi2TwoWay() function - LT_learner - 05-10-2020 10:53 PM



User(s) browsing this thread: 1 Guest(s)