Tcl Library Source Code

View Ticket
Login
Ticket UUID: 2812473
Title: test-normal description is confusing or wrong
Type: Bug Version: None
Submitter: anyeli Created on: 2009-06-25 23:55:52
Subsystem: math :: statistics Assigned To: arjenmarkus
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2015-04-26 11:15:33
Resolution: None Closed By:
    Closed on:
Description:
The documentation for math::statistics::test-normal says it returns 1 if the data is distributed normally within the given confidence.
I am not a statistician, but either I am severely confused or this is completely wrong.  It seems that this procedure returns 1 when the null hypothesis of a normal distribution should be rejected, which is the opposite of what I read.

Also, the confidence specification seems backwards from the things I read---which admittedly are just Wikipedia and MATLAB help---which use significance (alpha), a small number, rather than confidence.  In fact, I don't even think confidence is the right word here, or at least I don't think you're talking about confidence intervals.

package require math::statstics
0.6
User Comments: arjenmarkus added on 2015-04-26 11:15:33:
I have adjusted the documentation and the implementation to use significance (as the complement to the original parameter). The new implementation is actually compatible with the old one, but emphasis is put on the new one.

arjenmarkus added on 2014-09-21 13:43:30:
"Confidence" is not the correct word indeed, it is not about confidence intervals. I have tried to get a clearer idea about how to perform the test, but it is confusing :(.

To be continued.

arjenmarkus added on 2009-06-30 18:23:42:
Hm, will have to study your remarks more closely. Thanks for at least noticing this.