Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: how to estimate this equation by the nl methods in Stata
From
zhiqiang zhang <[email protected]>
To
[email protected]
Subject
st: how to estimate this equation by the nl methods in Stata
Date
Tue, 7 Dec 2010 15:07:42 +0800 (CST)
hi ,everyone,
I am working on a study on the new economic geography wage equation. My wage
equation is like this :
log( Wager)= K1*log[(∑Yr* exp-(K2*Distance) )+U, where parameters K1 and K2
are the coefficient that need to be estimated. Wage, Y, and Distance are the
variables that I organize in my dataset,
I don't know how to write a nonlinear square command in Stata, especially for
the ∑ which is for summation for the individual province market potential in my
equation. I can only write this command:
nl (lnwage = {b0}*lnY*exp({b1}*Distance))
Can somebody help me for how to deal with the Summation (∑) in the nl
estimation of my wage equation? Thank you very much.
Best wishes
Zhiqiangzhang
Nankai University
Best Regards
Zhiqiang Zhang
Nankai University
[email protected]
[email protected]
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/