Jos Hendrikx
2013-12-17 13:08:50 UTC
Hi everyone,
I'm experiencing a strange problem whilst trying to run a GENLIN with a binomial distribution and a log link function.
I'm using v20.0.0.2
I have a dichotomous DV (escalate) coded (0,1) and 2 IV (passdi and patwat) also dichotomous and both coded (0,1).
When I run the following syntax there are no problems:
* Generalized Linear Models.
GENLIN escalate (REFERENCE=First) BY passdi patwat (ORDER=ASCENDING)
/MODEL passdi patwat INTERCEPT=YES
DISTRIBUTION=BINOMIAL LINK=LOG
/CRITERIA METHOD=FISHER(1) SCALE=1 COVB=MODEL MAXITERATIONS=100 MAXSTEPHALVING=5
PCONVERGE=1E-006(ABSOLUTE) SINGULAR=1E-012 ANALYSISTYPE=3(WALD) CILEVEL=95 CITYPE=WALD
LIKELIHOOD=FULL
/MISSING CLASSMISSING=EXCLUDE
/PRINT CPS DESCRIPTIVES MODELINFO FIT SUMMARY SOLUTION.
However when I change the reference category of the DV with the following syntax I get the error mentioned below:
* Generalized Linear Models.
GENLIN escalate (REFERENCE=Last) BY passdi patwat (ORDER=ASCENDING)
/MODEL passdi patwat INTERCEPT=YES
DISTRIBUTION=BINOMIAL LINK=LOG
/CRITERIA METHOD=FISHER(1) SCALE=1 COVB=MODEL MAXITERATIONS=100 MAXSTEPHALVING=5
PCONVERGE=1E-006(ABSOLUTE) SINGULAR=1E-012 ANALYSISTYPE=3(WALD) CILEVEL=95 CITYPE=WALD
LIKELIHOOD=FULL
/MISSING CLASSMISSING=EXCLUDE
/PRINT CPS DESCRIPTIVES MODELINFO FIT SUMMARY SOLUTION.
Warning:
'There is at least one invalid case in the last iteration. A case is invalid if there are errors in computing the inverse log link function, the log-likelihood, the gradient, or the Hessian matrix in the iterative process. Only the iteration history is displayed.'
Can anyone shed some light on this error and how I could deal with it? It seems strange to me that first model runs without a hitch and the second produces the error when all else is the same and to my knowledge only the parameter estimates should change?
I'm experiencing a strange problem whilst trying to run a GENLIN with a binomial distribution and a log link function.
I'm using v20.0.0.2
I have a dichotomous DV (escalate) coded (0,1) and 2 IV (passdi and patwat) also dichotomous and both coded (0,1).
When I run the following syntax there are no problems:
* Generalized Linear Models.
GENLIN escalate (REFERENCE=First) BY passdi patwat (ORDER=ASCENDING)
/MODEL passdi patwat INTERCEPT=YES
DISTRIBUTION=BINOMIAL LINK=LOG
/CRITERIA METHOD=FISHER(1) SCALE=1 COVB=MODEL MAXITERATIONS=100 MAXSTEPHALVING=5
PCONVERGE=1E-006(ABSOLUTE) SINGULAR=1E-012 ANALYSISTYPE=3(WALD) CILEVEL=95 CITYPE=WALD
LIKELIHOOD=FULL
/MISSING CLASSMISSING=EXCLUDE
/PRINT CPS DESCRIPTIVES MODELINFO FIT SUMMARY SOLUTION.
However when I change the reference category of the DV with the following syntax I get the error mentioned below:
* Generalized Linear Models.
GENLIN escalate (REFERENCE=Last) BY passdi patwat (ORDER=ASCENDING)
/MODEL passdi patwat INTERCEPT=YES
DISTRIBUTION=BINOMIAL LINK=LOG
/CRITERIA METHOD=FISHER(1) SCALE=1 COVB=MODEL MAXITERATIONS=100 MAXSTEPHALVING=5
PCONVERGE=1E-006(ABSOLUTE) SINGULAR=1E-012 ANALYSISTYPE=3(WALD) CILEVEL=95 CITYPE=WALD
LIKELIHOOD=FULL
/MISSING CLASSMISSING=EXCLUDE
/PRINT CPS DESCRIPTIVES MODELINFO FIT SUMMARY SOLUTION.
Warning:
'There is at least one invalid case in the last iteration. A case is invalid if there are errors in computing the inverse log link function, the log-likelihood, the gradient, or the Hessian matrix in the iterative process. Only the iteration history is displayed.'
Can anyone shed some light on this error and how I could deal with it? It seems strange to me that first model runs without a hitch and the second produces the error when all else is the same and to my knowledge only the parameter estimates should change?