Statalist


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

st: nl syntax help


From   "Ivan Etzo" <[email protected]>
To   <[email protected]>
Subject   st: nl syntax help
Date   Wed, 9 Jan 2008 13:30:54 +0100 (ora solare Europa occidentale)

Dear all,
 
I'm trying to estimate a nonlinear equation but I'm not sure wether stata is
reading the correct formula. The equation I want to estimate is:
 
Y1 = b0 - ln (X1) * [ (1 - exp (-b1*5)) /5]
 
the command I give to stata is:
 
-nl - (y1 = {b0} - ln(gdp83) * (1 - exp(-1*{b1}*5))/5) 

Using the last command line I'm getting results but It's first time I write
a function in stata so I'd like to know whether I wrote it in the correct
way. 
Thanks

Ivan 
*
*   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