Try again, with UNICODE ON (if it isn't already):
1. Open a syntax editor and run this:
DATASET CLOSE ALL.
NEW FILE.
SET UNICODE ON.
2. That has created a new, empty dataset.
3. Close the file with the problem character, if it is still open, then re-open it.
4. Try FREQUENCIES on that variable again.
If you get the same error as before, then there may be some kind of corruption in the file. Try sorting the data by that variable, then see if you can find the case(s) with any strange, unrecognizable character(s) in it.
If you want, send it to me if that is possible and I will try to see what could be going wrong.
marcantr@us.ibm.com------------------------------
Rick Marcantonio
Quality Assurance
IBM
------------------------------
Original Message:
Sent: Thu November 17, 2022 01:02 PM
From: Roberto Mauricio Quintanilla Fuentes
Subject: when running binary logistic regression, can you help me
Gracias lo ejecute y me sale esto:
Uno o más valores de la variable Actividad económica contenía un carácter no de impresión. Cada carácter de este tipo fue sustituido por un espacio. El propio archivo de datos no se ha modificado. |
Como modifico el archivo de datos??
Gracias
Roberto Quintanilla
Original Message:
Sent: 11/17/2022 10:43:00 AM
From: Rick Marcantonio
Subject: RE: when running binary logistic regression, can you help me
Hi. Please run the FREQUENCIES command on that dependent variable and let us see the table of values it finds. That will be a start.
For some reason, LOGISTIC REGRESSION is seeing only one value where it expects two.
------------------------------
Rick Marcantonio
Quality Assurance
IBM
Original Message:
Sent: Wed November 16, 2022 06:46 PM
From: Roberto Mauricio Quintanilla Fuentes
Subject: when running binary logistic regression, can you help me
I see this message when running binary logistic regression, can you help me
The dependent variable has less than two non-missing values. For logistic regression, the dependent value must assume exactly two values in the cases being processed.
Execution of this command stops.
------------------------------
Roberto Mauricio Quintanilla Fuentes
------------------------------
#SPSSStatistics