I want to create a rather simple graph that I thought that many others have used before. But after surfing around the web and statalist for some time I realize that this is apparently not the case. Hope someone can help.
I have 3-5 repetitive measurements over roughly 90 days in roughly 50 subjects divided into two groups.
To be able to assess visually how the measured value varies with time I wish to create a figure like that sketched in the enclosed file, i.e. for each individual subject a connected dot plot with color according to group. Measured value on the Y axis, and time (days after first measurement) on the X-axis.
Variables are:
- Subject ID
- First measured value (baseline)
- Time of Measurement 1 (=0)
- Second measured value
- Time of Measurement 2 (Days after Measurement 1)
..
..
- Fifth measured value
- Time of Measurement 5
How can I create this graph? Plotting the measured values against time is simple, but how can I connect only those dots belonging to the same subject?
Thank you for any advice!
Hans
Related Posts with Time series - connected scatter?
Methodological question: xtabond2Hello, Please I am looking to apply the xtabond2 command to my panel data. However, I have unequall…
Combining graphsI am attempting to combine 2 graphs together. Here's my code: eststo: reg varlogwageinc i.agegrp9…
pstest interpretation after propension score matchingArray Dear, I make propension score matching estimation and I got these results. Do you think my est…
big panel data managementHi, I am struggling to manage my large panel dataset 300k observation over 36 months. I would be gra…
Analyze data on Continuous Glucose Monitoring or Flash Glucose Monitoring in various Diabetes TechnologiesHello Everyone, hope you all are safe and healthy I have been trying to analyze CGM/FGM data for t…
Subscribe to:
Post Comments (Atom)
0 Response to Time series - connected scatter?
Post a Comment