Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Bland Altman plot graph in stata 9


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Bland Altman plot graph in stata 9
Date   Thu, 28 Feb 2008 12:30:28 -0000

As I understand it, -baplot- is an old command from STB-55 using Stata's
old graphics. 

You should be able to get what you want using some other program, such
as -pairplot- from 
SSC. 

If all else fails, you can re-create your own graph.  

gen diff = var1 - var2
gen mean = (var1 + var2) / 2 
scatter diff mean 

and so forth. 

Nick
n.j.cox@durham.ac.uk 

Amr Al Sayed

I faced a problem with making Bland-Altman plot using
stata 9. The problem is I can not set the scale values
for the difference on the Y-axis or the average on
X-axis of the graph. A reviewer asked me to present
the four different plots with the same scale and the
scale should be in whole units.  

What I am doing:
1) I am using the stata order: "baplot var1 var2"
2) the resulting plots have average values on the
X-axis that represent the exact range e.g., -9.567 and
the same  for the limits of agreement on Y-axis e.g.,
4.568 and -5.156.

I went through the help menu but there was no benefit.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index