Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: Scatter with regression line and confidence interval densities


From   "Scott Merryman" <[email protected]>
To   <[email protected]>
Subject   RE: st: Scatter with regression line and confidence interval densities
Date   Sat, 17 Jul 2004 08:42:08 -0500

Thanks Vince.

Take care,
Scott


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Vince Wiggins,
StataCorp
Sent: Friday, July 16, 2004 9:06 AM
To: [email protected]
Subject: Re: st: Scatter with regression line and confidence interval
densities


This graph superimposes vertical density line plots for the distribution of
the disturbances on a regression line.  Such graphs are sometimes seen in
textbooks when trying to provide intuition for linear regression.  For data
analysis, the confidence intervals shown by -twoway lfitci y x- are easier
to
read, but the graph from the ad has its own appeal.  Here is the code used
to
produce that graph,


*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index