Hi,
I am trying to run an analysis where I compare change in systolic blood pressure from baseline to 12 months between participants with metabolic syndrome vs. participants without metabolic syndrome at baseline while adjusting for baseline systolic blood pressure. I believe I can do an ANCOVA analysis to do this, but I am not quite sure. I was hoping someone could provide some insight into what type of test I should run to do this analysis and how to do this in Stata.
Here is a small portion of the data that I am working with.
Variables:
pid - participant ID
avgsbp1 - average baseline blood pressure
avgsbp12 - average blood pressure at 12 months
sbp_ch12 - change in blood pressure from baseline to 12 months
met_syn1 - baseline metabolic syndrome (yes/no)
Thank you for your help.
I am trying to run an analysis where I compare change in systolic blood pressure from baseline to 12 months between participants with metabolic syndrome vs. participants without metabolic syndrome at baseline while adjusting for baseline systolic blood pressure. I believe I can do an ANCOVA analysis to do this, but I am not quite sure. I was hoping someone could provide some insight into what type of test I should run to do this analysis and how to do this in Stata.
Here is a small portion of the data that I am working with.
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input long pid int(avgsbp1 avgsbp12) float(sbp_ch12 met_syn1) 30060 114 135 21 0 20076 134 131 -3 0 40171 153 146 -7 0 20074 111 108 -3 0 10015 123 126 3 0 20174 126 124 -2 0 20128 121 126 5 0 50068 143 123 -20 0 30047 142 131 -11 0 50011 141 126 -15 0 end label values met_syn1 Met_syn label def Met_syn 0 "- Metabolic Syndrome", modify
Variables:
pid - participant ID
avgsbp1 - average baseline blood pressure
avgsbp12 - average blood pressure at 12 months
sbp_ch12 - change in blood pressure from baseline to 12 months
met_syn1 - baseline metabolic syndrome (yes/no)
Thank you for your help.
Comment