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?
How to perform this propensity score matchI have a panel data and want to examine the relation between the passage of legislation (LawDummy, i…
profileplot - change line colours based on a third variableI want to show the change of a numerical score in 68 indivials at two time points, before and after …
Can I use diff-in-diff for my research setting?I want to use the legislation adoption at the state level to perform a diff-in-diff in my panel data…
Women wage dataHello! Can anybody help me how can I download the sample data of heckamane "women wage data"? Thank …
how to create equal sample size for all the regressionsHi, I have a panel data and will need to run several regressions that involve different dependent an…
Subscribe to:
Post Comments (Atom)
0 Response to Time series - connected scatter?
Post a Comment