Hello Stata Forum,
I've searched this forum and other online sources for what seems like a simple question. Alas, I have not found a solution.
I have the following continuous variables Int, Int_SN, Int_SO that were measures in the same group of people at Visit 1, 2, 3, 4, 5.
I'd like to create a graph with means and standard deviations at each time-point for all three variables on the same graph. My data is currently in long form.
profileplot seems to only do one variable at a time and I can't see how to overlay them.
I've also tried with sparkline and xtline but can't seem to get it to work.
I can make the graph in excel but it doesn't handle the standard deviations easily. I'm looking for something like this but includes standard deviations that I can run on multiple datasets in Stata.
I've also attached the dataset.
Thank you in advance!

I've searched this forum and other online sources for what seems like a simple question. Alas, I have not found a solution.
I have the following continuous variables Int, Int_SN, Int_SO that were measures in the same group of people at Visit 1, 2, 3, 4, 5.
I'd like to create a graph with means and standard deviations at each time-point for all three variables on the same graph. My data is currently in long form.
profileplot seems to only do one variable at a time and I can't see how to overlay them.
I've also tried with sparkline and xtline but can't seem to get it to work.
I can make the graph in excel but it doesn't handle the standard deviations easily. I'm looking for something like this but includes standard deviations that I can run on multiple datasets in Stata.
I've also attached the dataset.
Thank you in advance!
Comment