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
Running regression each country/year using GMM with xtabond2 Dear Statalist, I want to estimate using GMM predicted Y value for each year and each country in a…
Randomly shuffling only one variable in StataHello, We are trying to run a placebo test for our model and to do that we wish to randomly shuffle…
Please delete - double postingPosted twice by mistake, sorry …
how to split a var(string) into two vars hello, I have a question, how to sArray plit a into two as required: ----------------------- c…
Confidence Interval for Sensitivity and SpecificityI have the following data and would like to calculate the confidence interval for the sensitivity an…
Subscribe to:
Post Comments (Atom)
0 Response to Creating indicator variable for % change previous observation
Post a Comment