[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49961] [octave forge] (statistics) sign_test(
From: |
Nicholas Jankowski |
Subject: |
[Octave-bug-tracker] [bug #49961] [octave forge] (statistics) sign_test() returns incorrect p-value |
Date: |
Wed, 24 Nov 2021 11:38:56 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Follow-up Comment #6, bug #49961 (project octave):
seems both sign_test and signtest now reside only in the statistics package.
the behavior from comment #0 is still present in both functions using
statistics pkg v1.4.2. checking against Matlab 2021a's signtest (it has no
sign_test), the output matches that of octave's signtest.
the comment #3 function in both programs does show discrepancy between Matlab
and Octave's signtest:
Matlab 2021a:
>> [pval, h] = signtest([-ones(1, 1000) 1], 0, 'tail', 'left')
pval =
1.0917e-218
h =
logical
1
Octave 6.4.0, Statistics 1.4.2:
>> [pval, h] = signtest([-ones(1, 1000) 1], 0, 'tail', 'left')
pval = 1
h = 0
seems like Kai's suggestion from comment #4 still stands: need to fix the
issues in signtest, then decide how to make any changes in sign_test, assuming
the plan is to keep sign_test and not just deprecate it (didn't see any
deprecate notes in NEWS)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?49961>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #49961] [octave forge] (statistics) sign_test() returns incorrect p-value,
Nicholas Jankowski <=