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
Help with expanding a dataset and merging with a new dataset?Hi folks! I have a list of J respondents, each with an identifier and a zip code. I also have a sepa…
Loops within loopsDear everyone, I have trouble when create a loop to generate a new variable for my dataset. My data…
traffic accident analyze by logistic regression or binomial regression with didhi everyone, I want to use annual road traffic accident data for analysis. Since the people who caus…
dummy variable in the two-way fixed effect modelI want to regress two-way fixed effect model with dummy variable using difference . the model look l…
Error r(900) - no room to add variables, up to 2048 variables are allowed, but I'm only using 340 variablesHello, I'm trying to add 9 variables (w_racel) for each wave of data (waves a to i) to a large data…
Subscribe to:
Post Comments (Atom)
0 Response to Help generating this type of plot
Post a Comment