Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: plotting a polynomial graph in STATA


From   Austin Nichols <[email protected]>
To   [email protected]
Subject   Re: st: plotting a polynomial graph in STATA
Date   Wed, 2 Dec 2009 15:23:55 -0500

Like so?

sysuse auto, clear
reg mpg c.weight##c.weight##c.weight
predict mhat
sc mpg weight||line mhat weight, sort



On Wed, Dec 2, 2009 at 3:14 PM, Kirimi Sindi <[email protected]> wrote:
> Dear all,
>
> How do I plot a graph polynomial to show there is or no local inflection
> point?
>
> I am running:
>
> regress y  x  xsquared  xcubic
>
> Is there a command after the regression to get STATA plot a graph?
>
> The results shows there is no local inflection point but it would be nice to
> see how the graph looks like.
>
> Kirimi

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



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index