# st: question about SUM in an regression

 From adiwan fahlan To statalist@hsphsun2.harvard.edu Subject st: question about SUM in an regression Date Wed, 7 May 2008 09:14:20 -0700 (PDT)

```Dear All

I have a regression that has a sum within it. could
anyone help me to solve it? thanks

log(wage)= alpha1*log(SUM(Yi*exp(alpha2*di))

whereas
Yi=GDP,       i=1,2,3...n
di=distance , i=1,2,3.....n

I have the variables (GDP dan distance) and I have
to
estimate the alpha1 and alph2.

However, I could not solve it. it says its a non
linear regression but I dont know how to solve it

Thanks

>
>
____________________________________________________________________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile.  Try it now.
>
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> *
> *   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/
>

____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
*
*   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/
```