global xvar x1 x2 G
xtset f t
sfpan y, dist(t) mu() prod frontier($xvar) usigmas vsigmas i(f) inv
quietly ml max, difficult nrtol(0.001) gtol(0.001)
scalar ll_inv = e(ll)
by f: egen smallT = min(t)
generate timeT = (t - smallT)
sfpan y, dist(t) mu() prod frontier($xvar) usigmas vsigmas gamma(timeT, nocons) i(f)
sf_srch, frontier($xvar) usigmas() vsigmas() n(1) gamma(year2) mu() fast
xtset f t
sfpan y, dist(t) mu() prod frontier($xvar) usigmas vsigmas i(f) inv
quietly ml max, difficult nrtol(0.001) gtol(0.001)
scalar ll_inv = e(ll)
by f: egen smallT = min(t)
generate timeT = (t - smallT)
sfpan y, dist(t) mu() prod frontier($xvar) usigmas vsigmas gamma(timeT, nocons) i(f)
sf_srch, frontier($xvar) usigmas() vsigmas() n(1) gamma(year2) mu() fast
0 Response to Parameter constraints in MLE estimation for SFA
Post a Comment