Logistic regression with binary data
Measure variables as accurately and precisely as possible. Collect data using best practices To ensure that your results are valid, consider the following guidelines: If you have a discrete variable, you can decide whether to treat it as a continuous or categorical predictor.
In addition, it also tells us that the three categories of remploy have been recoded in our logistic regression as dummy variables. SPSS will do this for us in logistic regression — unlike in linear regression, when we had to create the dummies ourselves. First, you used a chi square logistic regression with binary data test to determine whether or not a statistically significant relationship existed between our categorical independent variable remploy and our categorical dependent variable neighpol1.