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
Case-control (4:1 matching)For a case control study, i use CCMATCH to generate a matched control on selected variables. Works p…
Motivate (new user submitted command for Stata)Motivate is a new command that was added to SSC Code: ssc install motivate If you become frustra…
cvlasso: What does the error message mean?Hi! I have multiple imputed datasets and try to variable selection by using the user-written cvlasso…
Find digit(s) in stringI realize that there have been hundreds of questions about extracting digits or numbers from strings…
using outreg merged table in putpdfI have been using putpdf for generating my report. At one point, I use outreg to format/generate a m…
Subscribe to:
Post Comments (Atom)
0 Response to Creating an IF or Conditional command
Post a Comment