Hi Statalist,

I am trying to create a new variable (choice) which notes whether a graduate attended (collatt) one of their first or second choice universities (dummies of which being collprf1 and collprf2).
I have generated a new variable: gen 'choice'=0
following this I need to use: replace choice =1 if collatt==collprf1 OR collatt==collprf2
however I am unsure how to incorporate this either/or dimension in to the command.
any help would be greatly appreciated.

Oliver