Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: smooth quntile lines in graph
From
"rasool.bux" <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: smooth quntile lines in graph
Date
Fri, 30 Nov 2012 05:52:13 +0000
Dear Statlist users,
I am trying to make a lowess graph with quitiles (5, 95). But the quantile lines are just straight lines. I want them to be smooth like lowess line. Is there any option to do that in STATA?
***********
sysuse auto,clear
bsqreg mpg weight, quantile(5)
predict p5
bsqreg mpg weight, quantile(95)
predict p95
twoway (scatter mpg weight) (lowess mpg weight) (line p5 weight) (line p95 weight)
****************
Thanks
Rasool Bux
________________________________
This e-mail may contain information that is privileged or confidential. If you are not the intended recipient, please delete the e-mail and any attachments and notify us immediately.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/