Statalist The Stata Listserver


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

st: Re: plotting fitted lines of percentiles of two variables


From   "Michael Blasnik" <michael.blasnik@verizon.net>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Re: plotting fitted lines of percentiles of two variables
Date   Wed, 02 Aug 2006 09:55:22 -0400

search graph quantile regression, all

will lead you to grqreg, which I think does what you want. You should try using the search command prior to posting to the list..

Michael Blasnik

----- Original Message ----- From: "Sam Rawlings, Social Sciences and Law 03" <sr3209@bristol.ac.uk>
To: <statalist@hsphsun2.harvard.edu>
Sent: Wednesday, August 02, 2006 9:09 AM
Subject: st: plotting fitted lines of percentiles of two variables



I have two variables - Log Infant Mortality Rate (infant) and Log GDP (gdpe). I want to plot the relationship between infant and gdpe as three separate fitted lines, one each for the 25th, 50th and 75th percentiles.
I tried using qqplot but I get a single line.
I believe what I want is a graphical represention of the results of
sqreg infant gdpe, quant(.25 .5 .75).

Any help would be much appreciated. Thanks,

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