Statalist


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

Re: st: Getting Coefficients from NL


From   "Martin Weiss" <Martin.Weiss1@gmx.de>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Getting Coefficients from NL
Date   Wed, 18 Mar 2009 22:44:30 +0100

<>

clear*
set obs 10000
g x=runiform()
g y=rnormal()
nl (y = {alpha} + {beta}*x^{gamma=1})
eret li
mat l e(b)
di _b[_cons]

HTH
Martin
-------- Original-Nachricht --------
> Datum: Wed, 18 Mar 2009 13:53:34 -0700
> Von: jasonm@ucla.edu
> An: "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
> Betreff: st: Getting Coefficients from NL

> How do I get the coefficients (b1,b2,etc) from "nl" (Nonlinear  
> least-squares estimation)?
> Thanks.
> 
> *
> *   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/

-- 
Martin Weiss
Hackersteigle 3
72076 Tübingen
00497071/793535
00491784597218

Aufgepasst: Sind Ihre Daten beim Online-Banking auch optimal geschützt?
Jetzt absichern: https://homebanking.gmx.net/?mc=mail@footer.hb
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index