Statalist


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

Re: st: nlcom after ML estimation


From   Maarten buis <maartenbuis@yahoo.co.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: nlcom after ML estimation
Date   Tue, 18 Mar 2008 06:36:29 +0000 (GMT)

Try:
nlcom ((1/[eq1]_b[bid2])*log(1+exp([s:]_b[cons])))

hope this helps,
Maarten

--- JP Azevedo <jp.statalist@gmail.com> 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/



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