[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch #5583] NPAR TESTS
From: |
John Darrington |
Subject: |
[patch #5583] NPAR TESTS |
Date: |
Sat, 16 Dec 2006 01:27:43 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060830 Firefox/1.5.0.7 (Debian-1.5.dfsg+1.5.0.7-2) |
Update of patch #5583 (project pspp):
Status: Works For Me => Ready For Test/Review
Assigned to: jmd => jstover
_______________________________________________________
Follow-up Comment #10:
> Pr ({less than or equal to 10 males} \cup {more than 10 males})
> ...which is 1.0 for a binomial random variable with 20 trials
> and null hypothesis success probability of 0.5.
Isn't it also 1.0 for ANY hypothesis ?? Some of the finer issues seem
counter-intuitive to me. This explains why I'm not a statistician. However
....
A new patch is attached, which compiles properly against the latest HEAD.
In this patch, I've used the gslextras_cdf_binomial_P. I've also dropped
the optimisation which sets m = MIN(n1, n2) and p = m == n1?p : 1 -p because
this should be done inside the cdf function --- I don't know if it actually
is?
I've changed the code to make the way it works more obvious, and I've clamped
the 2 tailed significance to 1.0 --- and now, the exact tests give the same
results as those of the Chicago Company.
The assymptotic tests however, are interesting, and I have come to this
conclusion about what spss actually does:
If n1 + n2 > 25, then spss labels its reported value as an asymptotic result,
BUT this is a lie, and it's actually an exact result. Probably there is some
threshold above which they do actually calculate asymptotic results, but most
likely it's well above 25.
So I suppose the question is, do we try to emulate these misleading results,
or go with correct ones?
(file #11535)
_______________________________________________________
Additional Item Attachment:
File name: npar4.patch Size:270 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?5583>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [patch #5583] NPAR TESTS, Jason H Stover, 2006/12/07
- Re: [patch #5583] NPAR TESTS, John Darrington, 2006/12/08
- [patch #5583] NPAR TESTS, John Darrington, 2006/12/09
- [patch #5583] NPAR TESTS, John Darrington, 2006/12/10
- [patch #5583] NPAR TESTS, John Darrington, 2006/12/11
- [patch #5583] NPAR TESTS, Jason H Stover, 2006/12/15
- [patch #5583] NPAR TESTS, Jason H Stover, 2006/12/15
- [patch #5583] NPAR TESTS,
John Darrington <=
- [patch #5583] NPAR TESTS, Jason H Stover, 2006/12/16
- [patch #5583] NPAR TESTS, Ben Pfaff, 2006/12/16
- [patch #5583] NPAR TESTS, John Darrington, 2006/12/19
- [patch #5583] NPAR TESTS, Jason H Stover, 2006/12/19
- [patch #5583] NPAR TESTS, Ben Pfaff, 2006/12/19
- [patch #5583] NPAR TESTS, John Darrington, 2006/12/20
- Re: [patch #5583] NPAR TESTS, John Darrington, 2006/12/16
- Re: [patch #5583] NPAR TESTS, Jason Stover, 2006/12/18
- Re: [patch #5583] NPAR TESTS, John Darrington, 2006/12/18