Statalist The Stata Listserver


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

st: Non-linear MLE programming


From   aslihan arslan <[email protected]>
To   [email protected]
Subject   st: Non-linear MLE programming
Date   Tue, 30 Jan 2007 18:36:07 -0800 (PST)

Hi,

I am trying to program an ML model to estimate Log
Cobb Douglas production function where some rhs
variables have zero values. To make logs defined I am
adding a constant to variables with zeros that needs
to be estimated too (hence nonlinear MLE).  The
function looks like:

lnY=B0+B1*lnX1+B2*ln (X2+alpha)+epsilon

where X2 is the variable with some zero values, and
B0, B1, B2 and alpha need to be estimated. I am also
using a constraint like:
constraint 1 `alpha'>0.

My program does not work and I am wondering whether
anybody can help me with this program. I did not paste
the whole program here since it is a little long, but
can send it to those who could help.

Thank you,
aslihan arslan


Aslihan Arslan, PhD.Candidate 
Department of Agricultural and Resource Economics
University of California, Davis
Phone: (530) 752 8014
Fax: (530) 752 5614
http://tinyurl.com/6q85m


 
____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index