Wow that was quick and it worked. Perfect - many thanks.
Laura
--On 08 October 2008 17:02 +0200 Martin Weiss <[email protected]> wrote:
sysuse auto, clear
tw (sca pr we) (function y=x, range(0 16000))
HTH
Martin
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of LL Miller, Avon
Longitudinal Study Parents and Children
Sent: Wednesday, October 08, 2008 4:59 PM
To: [email protected]
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/
----------------------
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/