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/