I am new to stata and I have tried so many options, I have tried watching videos, reading manuals and guidebooks and I cannot figure out how to do this. I'm getting so frustrated by it!
the data is http://www.stata-press.com/data/mlmus4/bp
and I need to figure out how to generate a new variable for bp and assign values of 0 if they are lower than the mean of bp and the value of 1 if bp values are equal or greater than the mean of bp
I am really struggling
Thank you in advance for your help
the data is http://www.stata-press.com/data/mlmus4/bp
and I need to figure out how to generate a new variable for bp and assign values of 0 if they are lower than the mean of bp and the value of 1 if bp values are equal or greater than the mean of bp
I am really struggling

Thank you in advance for your help
Comment