Dear Stata Experts, I am a not-Stata-savvy researcher. My simple goal is to produce a time-graph overlaid with two curves, one curve for each day. I have transformed my data to the long format. The entire dataset and the problem can be summarised with this small dataset with just the medians of the population:
Medianvalue Id Time
1.00 1 1000
0.97 1 1002
0.90 1 1004
0.95 1 1006
1.00 1 10000
0.93 1 10001
0.91 1 10002
0.88 1 10004
0.92 1 10006
The 1000-numbers are from one day and the 10000-numbers are from a second day, and each rightmost digit corresponds to same hour of the day. I did something to my patients on the second day (the "10000-day") so that already at 1 and 2 hours (10001; 10002) there was quick decrease in malignant cells (disappearing faster). I would like to produce a simple graph where the 10000 and 1000 are the respective origin at the x axis. Please note that there's an extra measurement day 2 (10001), but I hope that wouldn't be a problem.
I simply don't understand to overlay these two curves in one graph (see attachment)
Thank you in advance
BE Wahlin, MD PhD
Related Posts with Please help with overlaying xtline.
Converting data in national currencies in panel data set into one common currencyHello everyone, I am currently working on my Master Thesis and I would need a help with conversion …
Invalid Syntax: Correcting for Heteroskedasticity & Autocorrelation using Fixed effectsDear Statalisterss May you kindly assist me with this question. Through this forum i have learnt ho…
Panel regressionHello, I have some doubts about panel regression in fixed effects: 1) When I run fixed effects sho…
Regression - No Observations r(2000) no missing observations, no stringsHi! I am attempting to run a linear regression but keep getting an r(2000) error - no observations. …
How to Create Pie ChartHi, I want to create a pie chart in the same way like in the link below https://imaa-institute.org/…
Subscribe to:
Post Comments (Atom)
0 Response to Please help with overlaying xtline.
Post a Comment