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
Fixed effects vs random effect (NBM) and stata commandI am investigating the effect of Human Development Index (country level Independant variable) on Neg…
creating new variables for duplicates observationsHi All, Please I would like to ask you help. I have an unbalanced panel with id, months, years, cour…
gen with differences between observationsDear all, I have the following dataset. I am trying to create a variable that generates 1 when the …
event study approach: coefficients different between 2 groupsHi there, I am working with an event study approach to see if the effect of becoming a parent on ea…
Converting String Variables QuestionsHello everyone, I am hoping that you all may be able to help with a question that I have been unsucc…
Subscribe to:
Post Comments (Atom)
0 Response to Help generating this type of plot
Post a Comment