Hey all, I need some assistance regarding the appropriate data shaping and plot type to generate this simple plot (see attachment).
Basically all I'm trying to do is plot a change in a continuous outcome (6MWD) pre and post treatment for two different groups. The continuous scale is on the y axis and x axis only has two data points - pre-treatment and post-treatment (averages). I would like to have the lines connected for each treatment.
I've been fiddling with stata for awhile trying to figure this out but without avail. Anyone have any suggestions regarding the type of plot and how I need my data laid out? Thank you!
Related Posts with Help generating this type of plot
Order of variables in -oaxaca-Hi everyone, does anyone know if the -oaxaca- command by Jann addresses the problem of variable orde…
Dummy variable wit large number of unique valuesI have a panel dataset containing data on quality standard in international trade. I am trying to bu…
Stata doesn't read local macroHi, I am trying to use macros to avoid repeating long lists of variables. The problem is that Stata …
Duplicating time observations in panel data in stataHello Stata community, I am looking to duplicate the time observations in a panel data 17 times, wh…
Using hyphens in varlists for duplicatesI'm using Stata 14.2 and was trying to use the duplicates command, when I experienced some strange b…
Subscribe to:
Post Comments (Atom)
0 Response to Help generating this type of plot
Post a Comment