专栏名称: momo
Stata+R,从入门到提高
今天看啥  ›  专栏  ›  momo

Stata学习:如何构建横截面随机前沿模型?sfcross

momo  · 知乎专栏  ·  · 2023-12-12 22:15

文章预览

文献来源 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 ………………………………

原文地址:访问原文地址
快照地址: 访问文章快照
总结与预览地址:访问总结与预览