Despite what the manual says, it would appear that this hasn't yet
been implemented.  I've raised a bug at 

https://savannah.gnu.org/bugs/index.php?26056

Until this is fixed, I suggest you  create a new variable to
dichotimize these values, using a syntax similar to:


 compute cutpoint = (marital > 1).
 npar tests /binomial (0.71) = cutpoint (0, 1).


Thanks for reporting this.


J'

On Tue, Mar 31, 2009 at 02:32:17PM +1100, James BRANFORD wrote:

     May I please have clarification of the correct syntax to type to  
     conduct a Binomial test using a single value?
     
     I note that the PSPP manual (page 99 of the pdf version) states:
     
     "If a single value appears after the variable list, then that value is  
     used as the threshold to partition the observed values.  Values less  
     than or equal to the threshold value form the first category.  Values  
     greater than the threshold form the second category."
     
     This is exactly the outcome I would like to achieve.
     
     My attempts to conduct a single value Binomial test resulted in the  
     following response from PSPP:
     
     C:\msys\1.0\bin>pspp -B c:\msys\1.0\bin -o raw-ascii
     PSPP is free software and you are welcome to distribute copies of it
     under certain conditions; type "show copying." to see the conditions.
     There is ABSOLUTELY NO WARRANTY for PSPP; type "show warranty." for 
details.
     GNU pspp 0.6.1 (Sat Oct  4 18:52:01 GMT 2008).
     PSPP> import file what_analysis.sav
         >
     PSPP> npar tests
         > /binomial (0.71)=marital (1)
     error: NPAR TESTS: Syntax error expecting `,' at `)'.
     error: NPAR TESTS: Syntax error at `)'.
     PSPP> npar tests
         > /binomial (0.71)=marital 1
     error: NPAR TESTS: Syntax error expecting end of command at `1'.
     PSPP>
     
     I obtained the above result both with PSPP 0.6.1 running under Windows  
     XP and using PSPP 0.7.0 on the PSPPIX Live-CD developed by Prof. Jason  
     Stover.
     
     I have attached a copy of the what_analysis.sav datafile, which  
     contains entirely fictitious data (no personal information).
     
     Might it be possible to have a worked example of the correct procedure  
     for conducting a Binomial test using a single value?
     
     Thank you for your assistance in this matter.
     
     Yours sincerely
     
     
     James Branford
     Student
     Swinburne University of Technology
     


     _______________________________________________
     Pspp-users mailing list
     [email protected]
     http://lists.gnu.org/mailman/listinfo/pspp-users


-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: signature.asc
Description: Digital signature

_______________________________________________
Pspp-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-users

Reply via email to