Dear Stata Users,
I am trying to run a difference-score or a change-score method on imputed data with the following syntax
I have tried a few modifications to the syntax by first converting my wide imputed data into flong and then using the mi estimate: gen... but that didn't seem to work. I tried reshaping the data to long and using bys ID: gen... and that did not work either. What is the best way to modified this syntax to fit imputed data?
Thank you for your time and cooperation,
Roxy
I am trying to run a difference-score or a change-score method on imputed data with the following syntax
HTML Code:
gen total=infractions1+infractions2 gen contact0=contact2-contact1 gen pwas0=pwas2-pwas1 gen therapy0=therapy2-therapy1 blogit infractions2 total blogit infractions2 total contact0 pwas0 therapy0 miles age length race
Thank you for your time and cooperation,
Roxy
Comment