Dear Stata users,
I have data with repeated measure of estimated glomerular filtration rate (eGFR). I would like to identify those who had >=20% increase in eGFR from baseline within 1st year of follow-up (at least in 2 visits). How can I do this? I would really appreciate if anyone may help.
Data looks as below:
Thank you.
Sincerely,
Oyun
I have data with repeated measure of estimated glomerular filtration rate (eGFR). I would like to identify those who had >=20% increase in eGFR from baseline within 1st year of follow-up (at least in 2 visits). How can I do this? I would really appreciate if anyone may help.
Data looks as below:
PHP Code:
[CODE]
* Example generated by -dataex-. To install: ssc install dataex
clear
input long ID double gfr float numeric_visit int days_from_baseline float t_years
1 53.7 0 0 0
1 80.6 4 115 .3150685
1 68.4 12 349 .9561644
1 46.7 24 731 2.0027397
1 38.1 36 1101 3.016438
1 46.4 48 1452 3.978082
1 39 72 2187 5.991781
1 34.1 84 2558 7.008219
2 61.2 0 0 0
2 76.1 4 122 .3342466
2 90.6 12 367 1.0054795
2 63.2 24 731 2.0027397
2 66.7 28 850 2.328767
2 70.3 32 962 2.6356165
2 69.9 36 1102 3.019178
2 68.3 40 1214 3.3260274
2 79.4 44 1326 3.6328766
2 67.5 48 1459 3.99726
end
[/CODE]
Thank you.
Sincerely,
Oyun
Comment