Dear all,
I am trying to imput missing values by using the value recorded during the previous visit. It seems to take a lot of time by hand edit because data is big. Is there anyway to this easily and quickly?
Data looks as below.
PHP Code:
clear
input byte id str2 visit double glucose int(chol sbp) double Age
1 "12" 163 . 125 60.8
1 "28" . . 117 60.8
1 "36" 215 171 115 60.8
1 "40" . . 109 60.8
1 "16" . . 123 60.8
1 "48" 99 151 114 60.8
1 "24" 95 168 118 60.8
1 "72" 88 174 110 60.8
1 "78" . . 119 60.8
3 "12" 108 239 125 57.3
3 "24" 123 126 107 57.3
3 "16" . . 152 57.3
4 "24" . . . 72.5
4 "12" 146 153 112 72.5
4 "16" . . 125 72.5
end
Thank you in advance.
Best wishes,
Oyun
Comment