Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I\'m using binary logical regression in SPSS for analyze a question, for example

ID: 3632333 • Letter: I

Question

I'm using binary logical regression in SPSS for analyze a question, for example "do you use medicine exactly as prescribed or not -yes or no" -this must be Y.
I'm putting for example age as X1 gender as X2, how often people worry about side effect as X3

I got varables in the equation chart but have no idea how to use it for define/make equatization which might look like

There shows lots of values for each variables (age from 15-90 and 5 options of answer for side effect question)

* I need to know which chart which numbers and how I can find this out.

Explanation / Answer

Usually when doing logistic regression, your predictor variables should be categorical. The problem i see is that age is a quantitative variables with lots of possible values. One way you can remedy this is by categorizing people into age groups. For example X1 can take on values of A for 15-39yrs, B for 40-64, and C for 65-90. Now X1 is a categorical variable with categories A, B, and C. Or you could reduce the information even further down to just two categories 0 for ages 15-52 and 1 for ages 53-90 or whatever a more logical separation would work for you. If side effects has 6 possible answers, then you should expect 5 predictor variables for that predictor in your logistic model.