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
Related Posts with Creating an IF or Conditional command
Extracting the Beta Coeff from regressionHello all, I am running a linear regression, with 2 sets of dummy variables age (25-65) and cohort(…
Force empty observations to be included in analysis?If you have data that was collected with the intent all observations be used in analysis because eac…
keep observations between staryear and endyear.Dear All, I have this dataset, Code: * Example generated by -dataex-. To install: ssc install datae…
Panel data graphHi. I need help. I want to make a graph with panel data, in which I must include the trend of the c…
calculating the number by comparing this period and previous periodDear All, Suppose that I have this data Code: * Example generated by -dataex-. To install: ssc inst…
Subscribe to:
Post Comments (Atom)
0 Response to Creating an IF or Conditional command
Post a Comment