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

 
 

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

Submitter:  Friedrich Beckmann <beckmanf>
Submitted:  Fri 31 Jul 2015 06:36:45 AM UTC
   
 
Category:  Syntax Parser Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group 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>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-08-09 jmd StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2015-07-31 beckmanf Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code