Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: nlcom after ML estimation


From   "JP Azevedo" <[email protected]>
To   <[email protected]>
Subject   RE: st: nlcom after ML estimation
Date   Tue, 18 Mar 2008 11:18:26 -0300

Many thanks Maarten,

I think the problem was that I had not given a name to this new parameter
that I was testing.

The following syntax gave me the correct result:

nlcom ((tmp:1/(_b[eq1:`bid'])*log(1+exp(_b[s:_cons]))

Thanks once again,

JP
 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Maarten buis
Sent: Tuesday, March 18, 2008 3:43 AM
To: [email protected]
Subject: Re: st: nlcom after ML estimation

Or even better (without my typo):
nlcom ((1/[eq1]_b[bid2])*log(1+exp([s]_b[cons])))

--- Maarten buis <[email protected]> wrote:

> Try:
> nlcom ((1/[eq1]_b[bid2])*log(1+exp([s:]_b[cons])))
> 
> hope this helps,
> Maarten
> 
> --- JP Azevedo <[email protected]> wrote:
> 
> > Hello,
> > 
> > I'm trying to implement a Walt test of a nonlinear combination of a 
> > couple of coefficients that have estimated on a loglikelihood 
> > function
> that
> > I
> > programmed myself.
> > 
> > The problem is that my model has two equations, and I think the
> nlcom
> > command is having problems with the labelling of the variables:
> > 
> > 
> > . nlcom ((1/_b[eq1:bid2])*log(1+exp(_b[s:_cons])))
> > 
> > invalid name: (1/_b[eq1
> > r(198); t=0.02 21:42:55
> > 
> > Can anyone help? 
> > 
> > Cheers,
> > 
> > JP
> > 
> > 
> > *
> > *   For searches and help try:
> > *   http://www.stata.com/support/faqs/res/findit.html
> > *   http://www.stata.com/support/statalist/faq
> > *   http://www.ats.ucla.edu/stat/stata/
> > 
> 
> 
> -----------------------------------------
> Maarten L. Buis
> Department of Social Research Methodology Vrije Universiteit Amsterdam 
> Boelelaan 1081
> 1081 HV Amsterdam
> The Netherlands
> 
> visiting address:
> Buitenveldertselaan 3 (Metropolitan), room Z434
> 
> +31 20 5986715
> 
> http://home.fsw.vu.nl/m.buis/
> -----------------------------------------
> 
> 
>       ___________________________________________________________
> Rise to the challenge for Sport Relief with Yahoo! For Good
> 
> http://uk.promotions.yahoo.com/forgood/
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
> 


-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


      ___________________________________________________________
Rise to the challenge for Sport Relief with Yahoo! For Good  

http://uk.promotions.yahoo.com/forgood/
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

Attachment: spike_demo_ado.log
Description: Binary data




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