Hi,

I am trying to run a set of logit models using the following formula, but it is not working. Can you please suggest what is not correct about this:

Code:
foreach x in diabetes asthma  cancer {
   logit `x' Age  Sex, or
}

  is not a valid command name
r(199);
.