■Run the following two commands in STATA:
net install stthreg,replace force from(
http://sph.umd.edu/epib/faculty/mltlee/TR_codes/TR_STATA/)
net get stthreg,replace force from(
http://sph.umd.edu/epib/faculty/mltlee/TR_codes/TR_STATA/)
Then, you should have installed "stthreg" package and test datasets in STATA.
■Next, run the following commands to check help files for the "stthreg" package for STATA:
help stthreg
help trhr
help trpredict
help sttrkm