Hi,
I am wondering if it is possible to conduct a pre and post analysis of data where a patient appears multiple times in the dataset in both the pre and post. The data example is below. Do I need to drop the subsequent visits by the patient or can I create averages of their visits so that I have the unique patient for comparison pre and post? Also, could I use this type of data in a mixed model? Thank you.
----------------------- copy starting from the next line -----------------------
------------------ copy up to and including the previous line ------------------
I am wondering if it is possible to conduct a pre and post analysis of data where a patient appears multiple times in the dataset in both the pre and post. The data example is below. Do I need to drop the subsequent visits by the patient or can I create averages of their visits so that I have the unique patient for comparison pre and post? Also, could I use this type of data in a mixed model? Thank you.
----------------------- copy starting from the next line -----------------------
Code:
* Example generated by -dataex-. For more info, type help dataex clear input float(ID Pre Post) 1 47 76 2 33 66 3 31 51 3 54 40 3 56 50 4 45 70 4 43 68 5 45 63 6 79 61 7 59 37 8 39 39 9 . 35 9 23 35 9 49 . end
Comment