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.
Measuring Cumulative Density/Area Under Kernel Density CurveThe objective of my analysis is calculate non-compliance to minimum wages at the industry-state-year…
Panel 2sls with multiple interations of endogeneous variablesI´m using Stata 14 with Windows 10 OS. I have 2 endogenous and 8 exogenous variables. I need to run…
"intreg" and "cmp" give different results for interval regressionHello! I am trying to do an interval regression, because my outcome variable (wage) is measured in 9…
problem in a model because of collinear variables Hi I am estimating an environment kuznets curve, which generically can have the following specifica…
Hansen TestIn Roodman's 2009 paper, he notes that a 'very low instrument count also weakens the Hansen test'. I…
Subscribe to:
Post Comments (Atom)
0 Response to Please help with overlaying xtline.
Post a Comment