Hello! Stata novice here.
I have the following data which is looking at peak systolic velocities (PSVs) of blood flow through an artery measured using Doppler ultrasound, and the cohort are divided by whether the artery is calcified or not:
These patients undergo follow-up Dopplers at different time points, and different patients have had a varying number of follow ups over time. I'm hoping to create line graphs (or another appropriate plot) which the progresion of these velocities over time of calcified vs non-calcified arteries; for instance where time (days) is on the x axis, velocity is on the y axis, the calcified values are plotted with an X and solid lines, non calcified with O and dotted lines, and each artery is plotted as an individual line. I've searched everywhere online with no luck, so would appreciate assistance!
I have the following data which is looking at peak systolic velocities (PSVs) of blood flow through an artery measured using Doppler ultrasound, and the cohort are divided by whether the artery is calcified or not:
Calcification | Time to Doppler 1 | PSV 1 | Time to Doppler 2 | PSV 2 | Time to Doppler 3 | PSV 3 | Time to Doppler 4 | PSV 4 | Time to Doppler 5 | PSV 5 | Time to Doppler 6 | PSV 6 | Time to Doppler 7 | PSV 7 | Time to Doppler 8 | PSV 8 |
1 | 41 | 206 | 419 | 300 | ||||||||||||
1 | 84 | 400 | ||||||||||||||
1 | 19 | 60 | 1251 | 150 | 1540 | 111 | ||||||||||
0 | 55 | 375 | 118 | 500 | 314 | 372 | ||||||||||
1 | 202 | 250 | ||||||||||||||
1 | 92 | 260 | 309 | 241 | 505 | 300 | ||||||||||
0 | 452 | 72 | ||||||||||||||
0 | 484 | 240 | ||||||||||||||
0 | 33 | 232 | 131 | 230 | 343 | 400 | 467 | 377 | 3929 | 400 | 1013 | 324 | 1762 | 300 | 2112 | 244 |
0 | 762 | 221 | 895 | 163 | ||||||||||||
1 | 56 | 53 | ||||||||||||||
1 | 97 | 112 | ||||||||||||||
0 | 168 | 150 | 258 | 276 | ||||||||||||
0 | 134 | 128 | ||||||||||||||
0 | 76 | 100 | 454 | 400 | 573 | 450 | ||||||||||
1 | 167 | 213 | 524 | 400 | 888 | 400 | ||||||||||
0 | 362 | 420 | ||||||||||||||
1 | 89 | 500 | ||||||||||||||
0 | 1890 | 170 | 2177 | 136 | 2380 | 380 | ||||||||||
0 | 392 | 200 | ||||||||||||||
1 | 680 | 290 | 1079 | 217 | ||||||||||||
0 | 680 | 0 | 1079 | 175 | ||||||||||||
0 | 40 | 100 | ||||||||||||||
0 | 117 | 233 | 322 | 257 | 406 | 300 | ||||||||||
0 | 1196 | 350 | ||||||||||||||
0 | 105 | 203 | ||||||||||||||
1 | 104 | 280 | 237 | 299 | 335 | 177 | 699 | 186 | 1583 | 143 | ||||||
1 | 98 | 238 | 231 | 155 | 329 | 160 | 693 | 170 | 1577 | 124 | ||||||
0 | 230 | 350 | 398 | 600 | ||||||||||||
1 | 343 | 280 | 707 | 210 | 1078 | 150 | 1820 | 149 | 2170 | 184 | ||||||
1 | 343 | 227 | 707 | 227 | 1078 | 200 | 1820 | 175 | 2170 | 139 | ||||||
0 | 916 | 0 | ||||||||||||||
1 | 70 | 150 | ||||||||||||||
0 | 74 | 194 | 466 | 0 | ||||||||||||
0 | 241 | 178 | 517 | 500 | ||||||||||||
1 | 147 | 127 | ||||||||||||||
0 | 215 | |||||||||||||||
1 | 490 | 130 | ||||||||||||||
0 | 19 | 200 | 418 | 220 | 796 | 180 | ||||||||||
1 | 94 | 250 | 290 | 350 | ||||||||||||
0 | 141 | 228 | 344 | 137 |
Comment