Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.

# Re: st: u-shaped graph in stata

 From Klaus Pforr To statalist@hsphsun2.harvard.edu Subject Re: st: u-shaped graph in stata Date Sun, 20 Jan 2013 13:36:12 +0100

```<>

dear James,

```
I think there are other ways for postestimation graphs, but Stata also has a nice function plotter
```
graph twoway function y=-1.56*x+0.137*x^2

check the help docs for more options:
help graph twoway function

best

Klaus

Am 20.01.2013 07:06, schrieb James Bernard:
```
```Hi all,

I am pretty new to Stata, so my question might sound too simple:

I am running a fixed-effect panel data:

I want to draw the curvilinear graph y=-1.56 X+0.137 X^2 where I got
the coefficients from the results of my model

How can I do this in stata?

James

------------------------------------------------------------------------------
lagpatent |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
Pace |  -1.561459   .6645139    -2.35   0.019    -2.866066   -.2568513
Pace_2 |   .1372726   .0571816     2.40   0.017     .0250108    .2495345
*
*   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/
```
```

--
__________________________________
Klaus Pforr
GESIS -- Leibniz Institut für Sozialwissenschaft
B2,1
Postfach 122155
D - 68072 Mannheim
Tel: +49 621 1246 298
Fax: +49 621 1246 100
E-Mail: klaus.pforr@gesis.org
__________________________________

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