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

From |
"Verkuilen, Jay" <JVerkuilen@gc.cuny.edu> |

To |
<statalist@hsphsun2.harvard.edu> |

Subject |
st: RE: question about SUM in an regression |

Date |
Wed, 7 May 2008 16:42:37 -0400 |

Adiwan Fahlan wrote >> 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 nonlinear regression but I dont know how to solve it>> The sum part seems like a bit of a red herring. It looks like a linear combination inside a nonlinear regression. You probably want to look at -nl-, which does nonlinear least squares. Jay * * 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/

**References**:**st: question about SUM in an regression***From:*adiwan fahlan <adiwan_f@yahoo.com>

- Prev by Date:
**st: RE: Calculating RSE for point estimates** - Next by Date:
**st: Interpretation of tvc in stcox** - Previous by thread:
**st: question about SUM in an regression** - Next by thread:
**st: Stochastic Production Frontier and Serial Correlation** - Index(es):

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