# 前沿分析

前沿分析是一类统计与计量经济学方法，它根据企业或其他决策单元的数据估计出一条最佳实践生产前沿，并衡量每个单元偏离该前沿的程度。技术效率定义为实际产出与最大可行产出之比，\( TE_{i} = y_{i} / y_{i}^{*} \)，取值介于0与1之间，因此0.80的得分意味着该单元在给定投入下达到了前沿所允许产出的80%。<sup>[1](https://www.adb.org/sites/default/files/event/978811/files/sessionz1618-dr-oleg-badunenko-stochastic-frontier-analysis-i-ii-cross-sectional-analysis-rev.pdf)</sup> 基准是经验性的，由数据本身构建，而非来自理论最优值。由于生产者试图优化但并非总能成功，偏离前沿既归因于无效率，也归因于随机噪声——这正是前沿分析与普通最小二乘法的区别所在，后者将所有偏离都归因于噪声。<sup>[2](https://www.cambridge.org/core/books/stochastic-frontier-analysis/510E56C2F890A0E6B38B4C4B241645B6)</sup>

| 关键事实 | 详情 |
|---|---|
| 测量对象 | 技术效率 \( TE = y / y^{*} = \exp(-u) \)，即实际产出与最大可行产出之比<sup>[3](https://www.cambridge.org/core/journals/macroeconomic-dynamics/article/distance-functions-and-the-analysis-of-inefficiency/1399220173F97CC6D90AB078887805EC)</sup> |
| 核心模型 | 复合误差 \( \varepsilon_{i} = v_{i} - u_{i} \)：对称噪声加单边无效率<sup>[4](https://www.sciencedirect.com/science/article/abs/pii/S0304407623000465)</sup> |
| 关键参数 | \( \lambda = \sigma_{u}/\sigma_{v} \)；\( \lambda \to \infty \) 给出确定性前沿，\( \lambda \to 0 \) 退化为OLS<sup>[5](https://pages.stern.nyu.edu/~wgreene/StochasticFrontierModels.pdf)</sup> |
| 奠基论文 | 艾格纳、洛弗尔和施密特（1977）以及缪森和范登布鲁克（1977），各自独立提出<sup>[6](https://doi.org/10.1016/0304-4076%2877%2990052-5)</sup><sup> • </sup><sup>[7](https://doi.org/10.2307/2525757)</sup> |
| 主要替代方法 | 数据包络分析（DEA），非参数且确定性，无法将噪声与无效率分离<sup>[8](https://bingweb.binghamton.edu/~kkar/NP_frontier.pdf)</sup> |
| 典型得分 | 稻农效率中位数0.797；印度尼西亚织造业均值87.7%<sup>[9](https://hungjenwang1991.github.io/SFrontiers.jl/)</sup><sup> • </sup><sup>[10](https://conservancy.umn.edu/bitstreams/ae641929-5ac1-4fcb-b5a8-633632bf5040/download)</sup> |
| 标准软件 | Stata的frontier命令及用户编写的sfcross和sfpanel；Julia的SFrontiers.jl；Python的depp_sfa<sup>[11](https://iseapa.org/documents/sfa_with_stata_v19.pdf)</sup><sup> • </sup><sup>[9](https://hungjenwang1991.github.io/SFrontiers.jl/)</sup><sup> • </sup><sup>[12](https://github.com/ThomasLucereau/DEPP_SFA)</sup> |

## 工作原理

随机前沿模型将对数产出写为 \( \ln y_{i} = \ln f(x_{i} \mid \beta) + \varepsilon_{i} \)，其中复合误差 \( \varepsilon_{i} = v_{i} - u_{i} \)。这里 \( v_{i} \) 是对称扰动项，通常为 \( v_{i} \sim N(0, \sigma_{v}^{2}) \)，捕捉测量误差和随机冲击；而 \( u_{i} \geq 0 \) 是单边无效率项，与 \( v_{i} \) 及投入均独立。<sup>[4](https://www.sciencedirect.com/science/article/abs/pii/S0304407623000465)</sup><sup> • </sup><sup>[11](https://iseapa.org/documents/sfa_with_stata_v19.pdf)</sup> 在最初的设定中，\( u_{i} \) 取自零点以下截断的正态分布（即半正态情形）。<sup>[4](https://www.sciencedirect.com/science/article/abs/pii/S0304407623000465)</sup>

构造参数 \( \lambda = \sigma_{u}/\sigma_{v} \) 刻画了模型特征：当 \( \lambda \to \infty \) 时得到确定性前沿，当 \( \lambda \to 0 \) 时不存在无效率，OLS即可胜任。<sup>[5](https://pages.stern.nyu.edu/~wgreene/StochasticFrontierModels.pdf)</sup> 这正是随机设定相对于确定性前沿的优势所在——后者将包括测量误差和运气在内的所有偏离都归因于无效率；将两个误差成分分离可得到更精确的无效率度量。<sup>[3](https://www.cambridge.org/core/journals/macroeconomic-dynamics/article/distance-functions-and-the-analysis-of-inefficiency/1399220173F97CC6D90AB078887805EC)</sup>

## 操作步骤

实践者首先对数据取自然对数，因为标准软件不进行任何变换；然后为前沿选择函数形式（线性、Cobb-Douglas或超越对数），并为 \( u_{i} \) 选择分布：半正态（默认）、指数或截断正态，截断正态情形下还可使用条件均值模型。<sup>[13](https://www.stata.com/manuals/rfrontier.pdf)</sup> 估计采用最大似然法，正态/半正态、正态/指数和正态/截断正态模型均有闭式对数似然函数。

随后从给定复合误差下 \( u_{i} \) 的条件分布中恢复企业层面的无效率。JLMS估计量使用 \( E[u_{i} \mid \varepsilon_{i}] \)；<sup>[14](https://doi.org/10.1016/0304-4076%2882%2990004-5)</sup> Battese-Coelli估计量则使用 \( TE_{i} = E[\exp(-u_{i}) \mid \varepsilon_{i}] \)。<sup>[15](https://doi.org/10.1016/0304-4076%2888%2990053-x)</sup> 两者都是无偏的，但在横截面数据下不一致。

## 起源

法雷尔（1957）提出了以经验方式测量效率的思想，即用企业实际产出 \( y_{i} \) 与最优产出 \( y_{i}^{*} \) 之比，相对于一条经验生产前沿来度量；DEA和随机前沿方法均源于这一提议。<sup>[16](https://doi.org/10.2307/2343100)</sup><sup> • </sup><sup>[17](https://wrap.warwick.ac.uk/id/eprint/36370/1/WRAP_THESIS_Read_1998.pdf)</sup>

随机前沿模型在1977年由不止一个团队报告：丹尼斯·艾格纳、C. A. 诺克斯·洛弗尔和彼得·施密特在《计量经济学杂志》发表《随机前沿生产函数模型的设定与估计》，<sup>[6](https://doi.org/10.1016/0304-4076%2877%2990052-5)</sup> 以及威姆·缪森和朱利安·范登布鲁克在《国际经济评论》发表《基于复合误差的Cobb-Douglas生产函数效率估计》。<sup>[7](https://doi.org/10.2307/2525757)</sup> DEA本身则由A. 查恩斯、W. W. 库珀和E. 罗兹（1978）推广普及。<sup>[18](https://doi.org/10.1016/0377-2217%2878%2990138-8)</sup>

## 变体

**面板模型**缓解了横截面模型的若干局限，包括缺乏个体效率的一致估计量以及无效率与回归元独立的假设。<sup>[11](https://iseapa.org/documents/sfa_with_stata_v19.pdf)</sup> 皮特和李（1981）引入了无效率不随时间变化的随机效应面板前沿，<sup>[19](https://doi.org/10.1016/0304-3878%2881%2990004-3)</sup> 施密特和西克尔斯（1984）将模型扩展到面板数据且不对无效率作分布假设。<sup>[20](https://doi.org/10.1080/07350015.1984.10509410)</sup> 时变无效率被引入，<sup>[21](https://doi.org/10.1016/0304-4076%2890%2990055-x)</sup><sup> • </sup><sup>[22](https://doi.org/10.1007/bf00158774)</sup> 巴蒂斯和科埃利（1995）增加了技术无效率效应模型，由企业特征解释无效率。<sup>[23](https://doi.org/10.1007/bf01205442)</sup> 格林（2004）提出了真固定效应和真随机效应模型，将未观测异质性与无效率分离，<sup>[24](https://doi.org/10.1016/j.jeconom.2004.05.003)</sup> 王和何（2010）通过模型变换估计了固定效应面板前沿。<sup>[25](https://doi.org/10.1016/j.jeconom.2009.12.006)</sup>

**半参数和非参数前沿**放松了函数形式假设。局部最大似然方法通过局部化使参数模型的参数依赖于协变量，<sup>[26](https://doi.org/10.1016/j.jeconom.2006.03.006)</sup><sup> • </sup><sup>[27](https://www.sciencedirect.com/science/article/abs/pii/S0304407606000376)</sup> 西马尔和威尔逊（2022）发展了多投入多产出的非参数随机前沿模型。<sup>[28](https://doi.org/10.1080/07350015.2022.2110882)</sup> StoNED分两阶段进行：先用凸非参数最小二乘拟合单调凹形，再在分布假设下估计无效率和方差；帕米特和泽列纽克（2019）发展了结合SFA与DEA特征的混合估计量。<sup>[29](https://arxiv.org/html/2404.04301)</sup><sup> • </sup><sup>[30](https://doi.org/10.1287/opre.2018.1831)</sup>

用于前沿效率分析的贝叶斯人工神经网络由迈克·齐奥纳斯、克里斯托弗·F. 帕米特和瓦连京·泽列纽克（2023）引入，放宽了对参数函数形式的限制。<sup>[31](https://doi.org/10.1016/j.jeconom.2023.105491)</sup>

## 应用

SFA已应用于银行业、医疗、农业和税收领域，距离函数前沿则应用于银行业、教育和公立医院，包括对非期望产出的处理。<sup>[11](https://iseapa.org/documents/sfa_with_stata_v19.pdf)</sup><sup> • </sup><sup>[3](https://www.cambridge.org/core/journals/macroeconomic-dynamics/article/distance-functions-and-the-analysis-of-inefficiency/1399220173F97CC6D90AB078887805EC)</sup> 典型得分差异很大。在对王的稻农数据分析的复现中，Battese-Coelli效率中位数为0.797，意味着典型农户大约在前沿的80%处经营，最低十分位为0.488，最高十分位为0.903。<sup>[9](https://hungjenwang1991.github.io/SFrontiers.jl/)</sup> 一项对印度尼西亚织造企业的截断正态最大似然应用估计平均效率为87.7%。<sup>[10](https://conservancy.umn.edu/bitstreams/ae641929-5ac1-4fcb-b5a8-633632bf5040/download)</sup>

## 局限与替代方法

确定性前沿（包括DEA）易受异常值影响：单个错误观测即可对估计产生深远影响，且该问题不会因大样本而缓解。<sup>[5](https://pages.stern.nyu.edu/~wgreene/StochasticFrontierModels.pdf)</sup> DEA不作分布或函数形式假设，但由于是确定性的，它将统计噪声、测量误差、运气和遗漏变量都计为无效率，因而对异常值敏感。<sup>[18](https://doi.org/10.1016/0377-2217%2878%2990138-8)</sup><sup> • </sup><sup>[8](https://bingweb.binghamton.edu/~kkar/NP_frontier.pdf)</sup><sup> • </sup><sup>[17](https://wrap.warwick.ac.uk/id/eprint/36370/1/WRAP_THESIS_Read_1998.pdf)</sup> SFA施加函数形式和分布假设，但允许直接的渐近推断，这是相对于DEA的一大优势。<sup>[32](https://www.degruyterbrill.com/document/doi/10.1515/demo-2022-0107/html)</sup>

在SFA本身中，限制无效率与噪声之间的依赖关系可能导致估计量严重偏误和错误推断；若投入是内生的，即与 \( u_{i} \) 或 \( v_{i} \) 相关，则所有标准SFA估计量都有偏且很可能不一致；控制函数法和校正两阶段最小二乘法虽然存在，但需要额外结构。<sup>[32](https://www.degruyterbrill.com/document/doi/10.1515/demo-2022-0107/html)</sup><sup> • </sup><sup>[33](https://doi.org/10.22004/ag.econ.312072)</sup>

还有两点关于解释的警示。无效率不随时间变化的面板模型将未观测异质性与无效率混为一谈，且时不变回归元因完全多重共线性无法与固定效应一同纳入。<sup>[3](https://www.cambridge.org/core/journals/macroeconomic-dynamics/article/distance-functions-and-the-analysis-of-inefficiency/1399220173F97CC6D90AB078887805EC)</sup> 若不谨慎选择函数形式并关注异质性和异方差，无效率结果可能极具误导性。<sup>[3](https://www.cambridge.org/core/journals/macroeconomic-dynamics/article/distance-functions-and-the-analysis-of-inefficiency/1399220173F97CC6D90AB078887805EC)</sup> 成本无效率混合了技术无效率与配置无效率，但将其分解为这两种来源是文献中已知的未解决问题。<sup>[5](https://pages.stern.nyu.edu/~wgreene/StochasticFrontierModels.pdf)</sup>

## References

1. [Workshop: Stochastic Frontier Analysis (Badunenko, cross-sectional analysis slides)](https://www.adb.org/sites/default/files/event/978811/files/sessionz1618-dr-oleg-badunenko-stochastic-frontier-analysis-i-ii-cross-sectional-analysis-rev.pdf)
2. [Kumbhakar & Lovell, Stochastic Frontier Analysis (Cambridge University Press, 2000)](https://www.cambridge.org/core/books/stochastic-frontier-analysis/510E56C2F890A0E6B38B4C4B241645B6)
3. [Distance functions and the analysis of inefficiency (Macroeconomic Dynamics, Cambridge Core)](https://www.cambridge.org/core/journals/macroeconomic-dynamics/article/distance-functions-and-the-analysis-of-inefficiency/1399220173F97CC6D90AB078887805EC)
4. [Reprint of: Formulation and estimation of stochastic frontier production function models (Journal of Econometrics, Vol. 234, Supplement, March 2023)](https://www.sciencedirect.com/science/article/abs/pii/S0304407623000465)
5. [Greene, 'The Measurement of Productive Efficiency and Productivity Growth' / Stochastic Frontier Models (survey chapter)](https://pages.stern.nyu.edu/~wgreene/StochasticFrontierModels.pdf)
6. [Formulation and estimation of stochastic frontier production function models (Journal of Econometrics, 1977)](https://doi.org/10.1016/0304-4076%2877%2990052-5)
7. [Wim Meeusen, Julien van Den Broeck (1977). Efficiency Estimation from Cobb-Douglas Production Functions with Composed Error. International Economic Review.](https://doi.org/10.2307/2525757)
8. [Non-parametric stochastic frontier models (Kumbhakar et al., working paper)](https://bingweb.binghamton.edu/~kkar/NP_frontier.pdf)
9. [SFrontiers.jl User Manual](https://hungjenwang1991.github.io/SFrontiers.jl/)
10. [Pitt & Lee (University of Minnesota working paper), variance components stochastic frontier model applied to Indonesian weaving firms](https://conservancy.umn.edu/bitstreams/ae641929-5ac1-4fcb-b5a8-633632bf5040/download)
11. [Stochastic Frontier Analysis with Stata (methods/software chapter)](https://iseapa.org/documents/sfa_with_stata_v19.pdf)
12. [depp_SFA: Python library for Stochastic Frontier Analysis (GitHub repository)](https://github.com/ThomasLucereau/DEPP_SFA)
13. [Stata manual: frontier, Stochastic frontier analysis](https://www.stata.com/manuals/rfrontier.pdf)
14. [On the estimation of technical inefficiency in the stochastic frontier production function model (Journal of Econometrics, 1982)](https://doi.org/10.1016/0304-4076%2882%2990004-5)
15. [Prediction of firm-level technical efficiencies with a generalized frontier production function and panel data (Journal of Econometrics, 1988)](https://doi.org/10.1016/0304-4076%2888%2990053-x)
16. [M. J. Farrell (1957). The Measurement of Productive Efficiency. Journal of the Royal Statistical Society Series A (General).](https://doi.org/10.2307/2343100)
17. [Comparing DEA and stochastic frontiers (PhD thesis, University of Warwick, 1998)](https://wrap.warwick.ac.uk/id/eprint/36370/1/WRAP_THESIS_Read_1998.pdf)
18. [Measuring the efficiency of decision making units (European Journal of Operational Research, 1978)](https://doi.org/10.1016/0377-2217%2878%2990138-8)
19. [The measurement and sources of technical inefficiency in the Indonesian weaving industry (Journal of Development Economics, 1981)](https://doi.org/10.1016/0304-3878%2881%2990004-3)
20. [Peter Schmidt, Robin C. Sickles (1984). Production Frontiers and Panel Data. Journal of Business and Economic Statistics.](https://doi.org/10.1080/07350015.1984.10509410)
21. [Production frontiers, panel data, and time-varying technical inefficiency (Journal of Econometrics, 1990)](https://doi.org/10.1016/0304-4076%2890%2990055-x)
22. [G. E. Battese, T. J. Coelli (1992). Frontier production functions, technical efficiency and panel data: With application to paddy farmers in India. Journal of Productivity Analysis.](https://doi.org/10.1007/bf00158774)
23. [G. E. Battese, T. J. Coelli (1995). A model for technical inefficiency effects in a stochastic frontier production function for panel data. Empirical Economics.](https://doi.org/10.1007/bf01205442)
24. [William Greene (2004). Reconsidering heterogeneity in panel data estimators of the stochastic frontier model. Journal of Econometrics.](https://doi.org/10.1016/j.jeconom.2004.05.003)
25. [Hung-Jen Wang, Chia-Wen Ho (2010). Estimating fixed-effect panel stochastic frontier models by model transformation. Journal of Econometrics.](https://doi.org/10.1016/j.jeconom.2009.12.006)
26. [Subal C. Kumbhakar and colleagues (2006). Nonparametric stochastic frontiers: A local maximum likelihood approach. Journal of Econometrics.](https://doi.org/10.1016/j.jeconom.2006.03.006)
27. [Nonparametric stochastic frontiers: A local maximum likelihood approach (Journal of Econometrics)](https://www.sciencedirect.com/science/article/abs/pii/S0304407606000376)
28. [Léopold Simar, Paul W. Wilson (2022). Nonparametric, Stochastic Frontier Models with Multiple Inputs and Outputs. Journal of Business and Economic Statistics.](https://doi.org/10.1080/07350015.2022.2110882)
29. [Robust Nonparametric Stochastic Frontier Analysis (arXiv working paper, 2024)](https://arxiv.org/html/2404.04301)
30. [Christopher F. Parmeter, Valentin Zelenyuk (2019). Combining the Virtues of Stochastic Frontier and Data Envelopment Analysis. Operations Research.](https://doi.org/10.1287/opre.2018.1831)
31. [Mike Tsionas, Christopher F. Parmeter, Valentin Zelenyuk (2023). Bayesian Artificial Neural Networks for frontier efficiency analysis. Journal of Econometrics.](https://doi.org/10.1016/j.jeconom.2023.105491)
32. [Dependence modeling in stochastic frontier analysis (Dependence Modeling)](https://www.degruyterbrill.com/document/doi/10.1515/demo-2022-0107/html)
33. [Maximum Likelihood Estimation of Stochastic Frontier Models with Endogeneity](https://doi.org/10.22004/ag.econ.312072)

---
*Initially written Sep 29, 2026 · Reviewed: Sep 30, 2026 · Edited: Sep 30, 2026 · Last review: Sep 30, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Applied, official, and domain statistics

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/frontier-analysis

English original: https://www.edgepedia.org/frontier-analysis
