Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: Line of equality in scatter plot


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Line of equality in scatter plot
Date   Wed, 8 Oct 2008 17:02:24 +0200

sysuse auto, clear
tw (sca pr we) (function y=x, range(0 16000))


HTH
Martin


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of LL Miller, Avon
Longitudinal Study Parents and Children
Sent: Wednesday, October 08, 2008 4:59 PM
To: statalist@hsphsun2.harvard.edu
Subject: st: Line of equality in scatter plot

Afternoon all,

I'm trying to assess the reliability of a continuous variable with the same 
variable assessed by a second person. I have used alpha var1 var2 to get 
Cronbachs alpha but wanted to see what it is doing visually. I created a 
scatter plot but can't find any option that will allow me to draw a line on 
the plot through the diagonal i.e. where the points should fall if there is 
no difference in the two assessments.

I have encountered several other useful things like ovfplot for after 
regression plots but this since I am not doing regression this is not quite 
what I want.

Does anyone know how to do this?

Cheers

Laura

----------------------
Please note new address and contact details from 22nd July 2008
LL Miller, Avon Longitudinal Study Parents and Children (ALSPAC)
Department of Social Medicine
University of Bristol
Oakfield House
Oakfield Grove
Clifton
Bristol BS8 2BN

Room number: BS9
Phone: +44(0) 117 331 0105
Fax: +44(0) 117 331 0080
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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