Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 65109

generate variable for baseline - last visit change

$
0
0
I am trying to generate a new variable that calculates the difference between baseline and end of study visit. For example I have body weight (bdywt) for visit 1 and visit 5. I want to name my new variable bdywtchg. this new variable would be the difference in bdywt at visit 5 and bdywt at visit 1. Any suggestion on how to word this command?

Viewing all articles
Browse latest Browse all 65109

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>