Hi all
I'm trying to find out the difference in the time to surgery between anticoagulated and non-anticoagulated patients between four different countries. my hypothesis is that there is substantial variation in the time difference between the two patient groups.
i have tried to approach this via linear regression however i am not sure whether i have done this correctly...
the command i am using is
regress timetosurgeryinhours ib0.country ib2.patient_anticoagulant_med, base

my confusion stems around whether this is actually giving me the difference in time (hours) between the anticoagulated and non-anticoagulated patient groups? if it is providing this data then is the coefficient for whether patient is anticoagulated or not specific to each country or just overall using entire dataset? the latter would obviously be incorrect.
. dataex timetosurgeryinhours country patient_anticoagulant_med if n<=20
----------------------- copy starting from the next line -----------------------
------------------ copy up to and including the previous line ------------------
Listed 20 out of 9837 observations
I'm trying to find out the difference in the time to surgery between anticoagulated and non-anticoagulated patients between four different countries. my hypothesis is that there is substantial variation in the time difference between the two patient groups.
i have tried to approach this via linear regression however i am not sure whether i have done this correctly...
the command i am using is
regress timetosurgeryinhours ib0.country ib2.patient_anticoagulant_med, base
my confusion stems around whether this is actually giving me the difference in time (hours) between the anticoagulated and non-anticoagulated patient groups? if it is providing this data then is the coefficient for whether patient is anticoagulated or not specific to each country or just overall using entire dataset? the latter would obviously be incorrect.
. dataex timetosurgeryinhours country patient_anticoagulant_med if n<=20
----------------------- copy starting from the next line -----------------------
Code:
* Example generated by -dataex-. For more info, type help dataex clear input float(timetosurgeryinhours country) byte patient_anticoagulant_med 36.434105 0 1 36.23081 0 1 36.049545 0 1 36.334103 0 2 36.03004 0 2 111.29443 0 2 36.35 0 2 36.41846 0 2 36.165154 0 2 36.39701 0 2 36.11144 0 2 65.655876 0 2 36.016186 3 2 36.25143 0 2 36.015553 1 2 36.03304 1 2 36.047688 0 2 36.17926 0 2 36.00271 1 2 48.01098 0 2 end label values country country label values patient_anticoagulant_med patient_anticoagulant_med_ label def patient_anticoagulant_med_ 1 "Yes", modify label def patient_anticoagulant_med_ 2 "No", modify
Listed 20 out of 9837 observations
Comment