Hi,

I am trying to create a categorical variable of "activity". I want 0=<150 mins of activity. and 1=>/equal to 150mins of activity.
I have two continuous variable categories:
Moderate for which each frequency = 15 mins (e.g. 4 = 60 mins)
Strenuous for which each frequency = 30 mins (e.g. 4 = 120 mins)

I want the categorical variable to be able to be = 1 for any combination of the continuous variables that is >/equal to 150 mins or =0 if <150 mins of activity.

Is anyone able to help by providing some advice as to the type of commands which would be suited to this?

Thank you
Ben