[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PSPP-BUG: Logistic Regression bugs
From: |
John Darrington |
Subject: |
Re: PSPP-BUG: Logistic Regression bugs |
Date: |
Fri, 23 Nov 2012 09:20:25 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
I did some further investigation and concluded that other software
does indeed ignore observations with missing values in the dependent
variable (despite what their documentation suggests). This seems
like a reasonable thing to do, so I have updated the logistic
regression command to do that.
Categorical variables should also work correctly and there is now
a classification table in the output.
J'
On Tue, Nov 13, 2012 at 01:08:19PM -0500, Renan Levine wrote:
Dear PSPP users and programmers,
Thank you for your hard work in developing new capabilities for
PSPP. I'm using the most recent version of PSPP, psppire.exe
0.7.9-gaef7f5
I recently encountered some problems while running logistic regressions:
1) There appears to be a bug in the logistic regression routine
that causes it to recognize missing values in the dependent
variable as a value category. So, even when a variable is coded
0, 1 and [system] missing (common in public opinion data), PSPP
gives an error message: "Dependent variable's values are not
dichotomous."
I've run logit analyses on three different .por and one .sav
datasets, tried to see if user-missing is treated differently
than system-missing, and if declaring missing values works any
differently than a recode statement. The only way I manage to run
a logistic regression is if I recode the dependent variable to be
two integers with no missing values.
2) Less critically, I'm not sure the syntax /CATEGORICAL=var is
working correctly. When I include that line, letting the computer
know that an independent variable is dichotomous, I get an error
message: .3-13: error: Syntax error at 'categorical'. HOWEVER,
just including the variable on the initial line with the other
independent variables seems to work (I can't be certain because I
did not cross-reference my results with another statistics
program).
Yours,
Renan
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://keys.gnupg.net or any PGP keyserver for public key.
signature.asc
Description: Digital signature