Hi
I am attempting to create a variable that indicates a >or<6% change in blood pressure from previous observation by ID. I want it to equal 1 if satisfied and 0 if not.
Any ideas on how to achieve this?
Thanks
Related Posts with Creating indicator variable for % change previous observation
adding regional fixed effect to system GMMHello, I'm estimating a dynamic panel model using GMM system xtabond2. I've a general question. I mi…
value labelsHello everyone! Is there a way to merge value labels from a cvs file into a dataset in stata? the r…
How to calculate the monthly average of the multiple columns using loopsDear Stata-users, I have daily data from 03-01-1994 to 29-12-1995. In my datafile, the date column …
Cross-classified multi-level structure with longitudinal dataHi everyone, I'm using Stata version 15.1. I am trying to get the right syntax for a model. I tried…
Rotating a catplot (-> so it becomes more like a histogram) and wrap multiple n oneI would like to rotate my catplot graph so it looks more like a histogram. Is this possible? And the…
Subscribe to:
Post Comments (Atom)
0 Response to Creating indicator variable for % change previous observation
Post a Comment