Saturday, January 5, 2019

Creating indicator variable for % change previous observation

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

No comments:

Post a Comment