bug-gnu-pspp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PSPP-BUG: [bug #55825] Feature Request: Improved Linear Regression Diagn


From: Matt
Subject: PSPP-BUG: [bug #55825] Feature Request: Improved Linear Regression Diagnostics
Date: Mon, 4 Mar 2019 13:45:49 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36

Follow-up Comment #2, bug #55825 (project pspp):

John,

Here's what I'm aware of. I teach basic SPSS, but I don't use it in my own
work, so I apologize for my lack of knowledge on SPSS syntax.

1) VIFs are under SPSS's "Statistics" option in the regression GUI, listed as
"collinearity diagnostics." It is called via the COLLIN option, such as in the
fake data illustration below:

REGRESSION 
  /MISSING LISTWISE 
  /STATISTICS COEFF OUTS R ANOVA COLLIN 
  /CRITERIA=PIN(.05) POUT(.10) 
  /NOORIGIN 
  /DEPENDENT VAR00001 
  /METHOD=ENTER VAR00002

2) Cook's D can be attained after a regression model in SPSS by adding /SAVE
COOK as an option to the regression command. For instance:

REGRESSION 
  /MISSING LISTWISE 
  /STATISTICS COEFF OUTS R ANOVA 
  /CRITERIA=PIN(.05) POUT(.10) 
  /NOORIGIN 
  /DEPENDENT VAR00001 
  /METHOD=ENTER VAR00002 
  /SAVE COOK.

3) In a program like Stata you can get this via the command "cprplot" after a
regression was run. In SPSS it isn't as straightforward, but someone else
might know better. I'd say this is the lowest priority, as a simple scatter
plot between two variables will get us what we need, which is doable in
current PSPP. It might be an extension of PSPP instead of a match of SPSS's
features. 

4) Residual vs fitted plots are implemented in SPSS via a plot option attached
to the regression commands. This usually looks something like:
SCATTERPLOT=(*ZPRED ,*ZRESID) in syntax. See below, for instance, for a full
command:

REGRESSION 
  /MISSING LISTWISE 
  /STATISTICS COEFF OUTS R ANOVA COLLIN TOL 
  /CRITERIA=PIN(.05) POUT(.10) 
  /NOORIGIN 
  /DEPENDENT VAR00001 
  /METHOD=ENTER VAR00002 
  /PARTIALPLOT ALL 
  /SCATTERPLOT=(*ZPRED ,*ZRESID)


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55825>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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