writing to clarify what you mean by this question.
6. Specify a model (linear equation) for the risk of lung cancer as a function of sex, colgrad, age, smoking, snp, and snp*smoking.
the outcome is binary (case, 0,1), so it is not possible to use linear regression. I assumed the phrase "linear equation" has nothing to do with linear regression.
is that correct?
if so, then I don't understand how the logistic regression models differ between question 6 and question 8
thank you