Hi all,

I have used SPSS before but this time I am really stuck in sth that must be really simple:

I am asked to do a logistic regression . I have one categorical variable "town", "0" and "1" , and I can also define dummy variables for "agegroup" that has several categories.

The problem is that my dependent variable is not dichotomous.

THe dependent variable " is the answer to the question whether a person has skin cancer", and I am also given Y, the number of cases with the disease , and n, the total number of the population size for each subgroup.

So, I want to link the probability p= a person has skin cancer, to this logistic regression model.

How do I do that? I can denote p=Y/n, and the logistic regression is ln(p/1-p)= (coefficients*categorical variables),but how do I make SPSS understand that?

In other words, what is my dependent variable here??

Thank you sooooo much for any help.