Hi Friends,
I use this code to generate the incremental AUC. However, when the difference of one of the time point is less than baseline value, it produces negative incremental AUC from that time point. How to fix this problem? Thank you. Sorry, I have no idea how to make a nice outcome table here.
time a_time triglycerides tota_auc in_auc
I use this code to generate the incremental AUC. However, when the difference of one of the time point is less than baseline value, it produces negative incremental AUC from that time point. How to fix this problem? Thank you. Sorry, I have no idea how to make a nice outcome table here.
Code:
integ diff_tri a_time, by(randomization) gen(incr_auc)
0 | 0 | 9.55 | 0 | 0 |
3 | 3.0833333333 | 8.91 | 27.388765 | -2.0570672 |
4 | 4.0666666667 | 9.55 | 36.445965 | -2.3907034 |
6 | 6.05 | 11.06 | 56.849102 | -0.92839956 |
Comment