bugPSPP - Bugs: bug #45667, REGRESSION syntax difference...

 
 

bug #45667: REGRESSION syntax difference between SPSS and PSPP (method parameter is required)

Submitted by:  Friedrich Beckmann <beckmanf>
Submitted on:  Fri 31 Jul 2015 06:36:45 AM UTC  
 
Category: Syntax ParserSeverity: 5 - Average
Status: FixedAssigned to: None
Open/Closed: ClosedRelease: None
Effort: 0.00

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 09 Aug 2015 02:46:51 PM UTC, comment #2:

I believe this item is fixed now, so I'm closing it. If you believe otherwise, please re-open it.

John Darrington <jmd>
Project Administrator
Sat 01 Aug 2015 02:54:31 AM UTC, comment #1:

PSPP has always accepted /METHOD=ENTER - but ignored it since ENTER is the only method supported.

Unlike SPSS, PSPP does not accept variables after the /METHOD subcommand. Instead, they have appear before the /DEPENDENT command (either with or without /VARIABLES). I beleive this variation is also accepted by SPSS.

I have relaxed the syntax parsing a little, and changed the gui's generator to include /METHOD=ENTER so that the two syntaxes are closer.

John Darrington <jmd>
Project Administrator
Fri 31 Jul 2015 06:36:45 AM UTC, original submission:

Email from Douglas Bonett:

There seems to be more serious discrepancies between SPSS and PSPP syntax for linear regression. For a simple linear model SPSS produces

REGRESSION
/MISSING LISTWISE
/STATISTICS COEFF OUTS CI(95) R ANOVA
/CRITERIA=PIN(.05) POUT(.10)
/NOORIGIN
/DEPENDENT y
/METHOD=ENTER x.

while PSSS gives

REGRESSION
/VARIABLES= x
/DEPENDENT= y
/STATISTICS=COEFF CI R ANOVA.

SPSS V22 does not accept the PSPP regression syntax.

==============

I tested this in a more or less current branch. This syntax works on pspp:

REGRESSION VARIABLES= a
/DEPENDENT= b
/STATISTICS=COEFF CI R ANOVA.

and also this syntax works

REGRESSION
/VARIABLES= a
/DEPENDENT= b
/STATISTICS=COEFF CI R ANOVA.

and produces the regression result. However the SPSS manual for version 23

ftp://public.dhe.ibm.com/software/analytics/spss/documentation/statistics/23.0/en/client/Manuals/IBM_SPSS_Statistics_Command_Syntax_Reference.pdf

says that the METHOD parameter is required.

Friedrich Beckmann <beckmanf>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jmd (Posted a comment)
  • -unavailable- added by beckmanf (Submitted the item)
  • -unavailable- added by beckmanf
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 09 Aug 2015 02:46:51 PM UTCjmdStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Fri 31 Jul 2015 06:36:45 AM UTCbeckmanfCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1