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
Dropping all observations from a subgroup if a variable of only or more of them is negativeHi there, I'm trying to drop all observations from a subgroup if a variable of only or more of them…
Odd results when combining near collinearity with simultaneityI am exploring what happens when two regressors are collinear, and at least one is simultaneous with…
ATT (Average treatment effects on the treated)Hi, I am attempting to estimate the impact of hosting the World Cup on the growth rate of countries…
Odds ratio for continous variables in logistic regressionHi everybody I have a question about the interpretation of the following logistic regression: The …
comparison of coefficientsDear Stata Users, I am trying to interpret a comparison of coefficients. I have two different ways…
Subscribe to:
Post Comments (Atom)
0 Response to Creating an IF or Conditional command
Post a Comment