SPSS Statistics

 View Only
Expand all | Collapse all

when running binary logistic regression, can you help me

  • 1.  when running binary logistic regression, can you help me

    Posted Thu November 17, 2022 10:34 AM
    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


  • 2.  RE: when running binary logistic regression, can you help me

    Posted Thu November 17, 2022 10:43 AM
    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
    ------------------------------



  • 3.  RE: when running binary logistic regression, can you help me

    Posted Thu November 17, 2022 01:03 PM

    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

     

     

     

     






  • 4.  RE: when running binary logistic regression, can you help me

    Posted Thu November 17, 2022 01:33 PM
    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
    ------------------------------