Sunday, May 30, 2021

Creating an IF or Conditional command

Hi All,

It is my first time in this forum and I'm hoping you will be able to assist me.

My study is on Adolescence Obesity and I have huge data that consists of everyone including adults. I would like to generate a variable called Mother_IBM. So the condition is that the output should be female (numlabel 2) and have No_of_kids>0

Thanks



No comments:

Post a Comment