Dear all,
I have data with repeated measures (2 year interval) and I am trying to calculate adjusted annual change in systolic blood pressure in 2 groups using linear regression model.
Data a bit looks as below:
My question is: Is it right way to calculate annual change (with 2 year interval measures)?
I would really appreciate if anyone may help (direct) me.
Thank you
I have data with repeated measures (2 year interval) and I am trying to calculate adjusted annual change in systolic blood pressure in 2 groups using linear regression model.
Data a bit looks as below:
PHP Code:
clear
input long id int(systolic_bp diastolic_bp) float years_from_baseline double baseline_age float(baseline_sbp bmi baseline_bmi baseline_dbp gr)
1 118 69 2 60.8 127 35.9 34 77 1
1 114 64 3.9 60.8 127 35.9 35 77 1
1 108 62 7.2 60.8 127 35.9 32 77 1
2 128 74 2 71 127 33 30.9 87 2
2 119 78 3.7 71 127 31 30.9 87 2
2 100 60 5.7 71 127 28 30.9 87 2
end
Commands:
mixed systolic_bp i.gr##c.years_from_baseline bmi||id: years_from_baseline, var reml cov(unstr)
My question is: Is it right way to calculate annual change (with 2 year interval measures)?
I would really appreciate if anyone may help (direct) me.
Thank you
Comment