Statalist The Stata Listserver


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

RE: st: Scatter Diagram with trend line


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Scatter Diagram with trend line
Date   Mon, 8 May 2006 15:49:20 +0100

Interesting that U.S. oil production is apparently measured in 
BTUs, which when last I heard were British Thermal Units. 

BTUs now sound like some particularly repulsive
undergarment for supposedly long dark cold British 
winters. I don't think they are now much in use even
in Britain; the units that is, not the undergarments,
on which I am no expert. 

Almost the whole world uses metric tonnes for oil production, 
does it not? 

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

Robert A Yaffee

>    Yes you can.  See the graphical command below.
> 
> twoway (scatter oil year)  (lfit oil year if s1973 !=0)  ///
> (lfit oil year if s1973==0), ///
> title(US Oil Production before and after 1973) ///
> ytitle(Production in Quadrillian BTU) ///
> xline(1973) text(13 1972 "1973", orientation(vertical))

Jagath Dissanayake

> > > Can you please let me know how to draw a scatter diagram with a 
> > trend line on it?

*
*   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