12-03-2008 09:13 PM
In LabVIEW 8.6, the contingency table vi manual states that it is a 1-sided test. Output suggests that it is a 2-sided Chi-square without Yates' correction. Can someone clarify this?
Thanks, Bill
Solved! Go to Solution.
12-04-2008 02:47 PM
Bill,
I believe the Contingency Table VI is using a Chi-square distribution to compute the one-sided probability of a random variable (from the distribution).
12-04-2008 03:21 PM
Hi Jared:
When I check it against the online GraphPad stat calculator, it only matches with the 2-sided Chi-square without Yates' correction.
http://www.graphpad.com/quickcalcs/contingency1.cfm
Try, for instance, the attached vi and compare.
Thanks, Bill
12-04-2008 03:28 PM
Hi Jared:
Can't figure out how to attache a a vi from the Mac OS. (I'll figure that out.)
See the attached jpg's
Thanks, Bill
12-05-2008 01:28 PM
Bill,
I see exactly what you are seeing. I'm going to look into this a bit more, but I believe it is probably using Pearson Chi-Squared. The result from the GraphPad calculator with that method is much more in-line with what LabVIEW generates. Additionally, using a more sophisticated online Chi-Squared calculator, the results are almost exactly the same as LabVIEWs.
http://www.socr.ucla.edu/htmls/ana/ChiSquareCT_Analysis.html
12-05-2008 02:44 PM
Bill,
This was reported to R&D (# 135926) for further investigation. This is regarding the clarification of the documentation. I will post back when I receive an update on this.
12-05-2008 04:20 PM
Jared:
Will look forward to it and thanks for the link,
Bill
12-12-2008 08:41 AM
12-12-2008 08:59 AM
Bill,
You commented several posts back about the difficulty of attaching files from your Mac. There is a known issue with Safari and at least one other browser. The work around is to convert the files to .zip files and attach those. I think .jpg and .png and perhaps text files can also be attached. I think there is a thread about this in "Feedback on NI Discussion Forums" board.
Lynn
12-12-2008 01:51 PM
Jared and Lynn:
Thank you both for the information!
Bill