Statalist


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

Re: st: Getting Coefficients from NL


From   "Martin Weiss" <[email protected]>
To   [email protected]
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: [email protected]
> An: "[email protected]" <[email protected]>
> 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/[email protected]
*
*   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