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

From |
"Martin Weiss" <martin.weiss1@gmx.de> |

To |
<statalist@hsphsun2.harvard.edu> |

Subject |
st: AW: question |

Date |
Tue, 3 Nov 2009 14:54:49 +0100 |

<> You can always have -display- show the relevant estimates, but you won`t get a standard error then: ************* sysuse auto, clear reg mpg weight length di exp(_b[_cons]+_b[length]*15.3) /* */ *exp(e(rss)/e(df_r)/2) ************* HTH Martin -----Ursprüngliche Nachricht----- Von: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Tunga Kantarci Gesendet: Dienstag, 3. November 2009 14:38 An: statalist@hsphsun2.harvard.edu Betreff: st: question Hello, I wish to calculate a figure where I call coefficient estimates and residuals sum of squares and degrees of freedom. All these quantities are from the stata estimation output. When I run the relevant command "nlcom exp(_b[_cons]+_b[income]*15.3)*exp(e(rss)/e(df_r)/2)" I get the error "could not calculate numerical derivative". This is perhaps because e(rss) and e(df_r) are not estimates. (As Maarten pointed out yesterday actually) 1. Does this mean that in the nlcom command I am only allowed to specify coefficient estimates? 2. How can I achieve what I want to achieve: I wish to call figures into the stated command I am running. Thanks in advance. * * 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/ * * 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/

**References**:**st: question***From:*Tunga Kantarci <tungakantarci@hotmail.com>

- Prev by Date:
**st: question** - Next by Date:
**Re: st: question** - Previous by thread:
**st: question** - Next by thread:
**Re: st: question** - Index(es):

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