文章预览
文献来源 Ajayi, V., Weyman-Jones, T. (2021). State-level electricity generation efficiency: Do restructuring and regulatory institutions matter in the US? Appendix A. Supplementary data 【数据+Stata】 示例代码 xtset id_code year
xtreg ly $ xvar , re
predict e_errors , e
g onee = 1
*** TRUNCATED - NORMAL ***
*** variables labelled zm_ * are log mean corrected values of exogenous variables
sfcross e_errors onee , noconstant d ( t ) emean ( zm_numberofcustomer ) usigma ( zm_numberofcustomer )
predict tr_eff , bc margin 得到结果 Stoc. frontier normal/tnormal model Number of obs = 755
Wald chi2(1) = 181.52
Prob chi2 = 0.0000
Log likelihood = 1089.9433
-------------------------------------------------------------------------------------
e_er
………………………………