pspp-dev
[Top][All Lists]
Advanced

[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: Thu, 23 Nov 2006 14:29:23 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060607 Debian/1.7.12-1.2

URL:
  <http://savannah.gnu.org/patch/?5583>

                 Summary: NPAR TESTS
                 Project: PSPP
            Submitted by: jmd
            Submitted on: Thursday 11/23/06 at 22:29
                Category: None
              Item Group: None
                  Status: Ready For Test/Review
             Assigned to: None
        Originator Email: 
             Open/Closed: Open

    _______________________________________________________

Details:

This patch introduces the NPAR TESTS command.

So far, the only supported subcommands are CHISQUARE and BINOMIAL, but the
framework has been written so that others can be added without a lot of
hacking to the parser.

Summary descriptives are supported, but percentiles are not, because I want
to completely rewrite the percentiles subroutine that we have.

The CHISQUARE subcommand uses some things in common with the FREQUENCIES
command.  So there's a bit of refactoring there.

I chose the BINOMIAL subcommand, because I thought it would be easy.  
However, despite many hours tearing my hair out, I've been unable to come up
with significance values which agree with those produced by spss.  It seems
to me that SPSS Statistical Algorithms, the texts it references, the SPSS v13
code and common sense all use difference ideas of what the "significance" of a
binomial test is.  In the test, I've inserted the values that SPSS v13
produces.  Consequently this test is failing at the moment.

I thought it would be nothing more than the cdf of the binomial distribution
at the particular values, but it seems that it's something else at least in
some cases ....







    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thursday 11/23/06 at 22:29  Name: npar.patch  Size: 101kB   By: jmd

<http://savannah.gnu.org/patch/download.php?file_id=11335>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?5583>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]