hi everyone, I met one problem when I use the SFA model to calculate the TFP. I am very grateful if you can provide some advice.
my code:
global xvar_prod lnx1 lnx2 lnx3 lnx4 t lnx1x1 lnx1x2 lnx1x3 lnx1x4 lnx1t lnx2x2 lnx2x3 lnx2x4 lnx2t lnx3x3 lnx3x4 lnx3t lnx4x4 lnx4t tt
sfmodel lny,prod dist(h) frontier($xvar_prod) usigmas(t) vsigmas()
ml max,difficult nrtol(1e-5) gtol(1e-5)
initial: log likelihood = -72595.097
alternative: log likelihood = -42600.451
rescale: log likelihood = -1524.7414
rescale eq: log likelihood = -843.91446
varlist required
r(100);
Thanks.
Related Posts with SFA with sf_model
Creating a year variable out of two date variablesI have two date variables in my dataset. They show the beginning and end dates of a person's leaders…
STATS CANADA: hadamard? brr? what am I doingI am using the National Longitudinal Survey of Children and Youth (NLSCY) Cycle 1 from Statistics Ca…
PPMLDHFE dropping linear time trendHi all, I'm trying to run the following code: Code: ppmlhdfe died year `controls' if year!=2020,…
How to write a more efficient code calculating a weighted index?Hi, I use the following code to calculate a weighted zipf index: gen zipfindlight`var' = zipf13*in…
And how to write the following more efficiently: reg dep zipf6 zipf7 zipf8 zipf9 zip11 ind6 ind7 ind8 ind9 ind11And how to write the following more efficiently? reg dep zipf6 zipf7 zipf8 zipf9 zip11 ind6 ind7 in…
Subscribe to:
Post Comments (Atom)
0 Response to SFA with sf_model
Post a Comment