Bookmark and Share

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


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

RE: st: documentation on iteration for a non linear regression


From   tashi lama <[email protected]>
To   <[email protected]>
Subject   RE: st: documentation on iteration for a non linear regression
Date   Wed, 13 Jun 2012 14:42:16 +0000

Sorry, I read and reread the manual. I am confused. The manual says _b[varname] and _se[varname] to access the coeff and standard error of a var and _b[_cons] and _se[_cons] to access the coeff and standard error of a constant. I am fitting a exponential model y=b1*b2^x to my dataset and got e(b) as

  mat li e(b)

  e(b)[1,2]
           b1:        b2:
        _cons      _cons
y1   632.7252  .33046311

 

 di _b[_cons] gave me the coeffiecient i.e. 632.73. In the same spirit, I would assume I do   di _b[x] to get the coeff of x. There is an error which reads [x] not found. Any idea?

 

Thanx..

----------------------------------------
> Date: Wed, 13 Jun 2012 15:56:12 +0200
> Subject: Re: st: documentation on iteration for a non linear regression
> From: [email protected]
> To: [email protected]
>
> --- On 13/06/2012, at 11:40 PM, tashi lama wrote:
> >> Is there a way to use those matrix contents as a macro or a scalar while writing a do file like we use `r(sum)' after summ varlist command?
>
> --- On Wed, Jun 13, 2012 at 3:49 PM, Phil Clayton wrote:
> > Yes. It's all very well documented.
>
> User manual section 13.5
>
> -- Maarten
>
> --------------------------
> Maarten L. Buis
> Institut fuer Soziologie
> Universitaet Tuebingen
> Wilhelmstrasse 36
> 72074 Tuebingen
> Germany
>
>
> http://www.maartenbuis.nl
> --------------------------
> *
> * 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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index