# 随机前沿模型

随机前沿模型是一种计量经济学回归模型，用于估计生产、成本或成本效率前沿，同时将误差项内部的随机统计噪声与技术非效率分离开来。该模型由艾格纳（Aigner）、洛弗尔（Lovell）和施密特（Schmidt）以及梅乌森（Meeusen）和范登布罗克（van den Broeck）于1977年各自独立提出，其相对于确定性前沿的标志性优势在于误差项被拆分为两部分，因此偏离前沿不必被解读为非效率。<sup>[1](https://www.cambridge.org/core/services/aop-cambridge-core/content/view/1399220173F97CC6D90AB078887805EC/S1365100525000148a.pdf/distance-functions-and-the-analysis-of-inefficiency.pdf)</sup> 确定性前沿和数据包络分析（DEA）则相反：任何偏离前沿的部分都必须归因于非效率，不设统计噪声或测量误差的余地。<sup>[2](https://pages.stern.nyu.edu/~wgreene/StochasticFrontierModels.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 模型形式 | 对数生产前沿 \( y_{it} = x'_{it}\beta + v_{it} - u_{it} \)，其中 \( y_{it} \) 为对数产出，\( v_{it} \sim N(0, \sigma_{v}^{2}) \)，\( u_{it} \geq 0 \)；对数成本前沿则加 \( u \) 而非减 \( u \)<sup>[3](https://panelbox.readthedocs.io/en/latest/user-guide/frontier/production-cost/)</sup> |
| 技术效率 | \( TE_{i} = \exp(-u_{i}) \in (0, 1] \)；\( TE = 0.85 \) 意味着企业产出为最大可行产出的85%<sup>[3](https://panelbox.readthedocs.io/en/latest/user-guide/frontier/production-cost/)</sup> |
| 起源 | 两篇独立的1977年论文：艾格纳、洛弗尔和施密特发表于《计量经济学杂志》<sup>[4](https://doi.org/10.1016/0304-4076%2877%2990052-5)</sup>，梅乌森和范登布罗克发表于《国际经济评论》<sup>[5](https://doi.org/10.2307/2525757)</sup> |
| 方差占比 | \( \gamma = \sigma_{u}^{2} / (\sigma_{v}^{2} + \sigma_{u}^{2}) \)；\( \gamma < 0.1 \) 表明OLS可能足够，\( \gamma > 0.9 \) 表明前沿近乎确定性<sup>[3](https://panelbox.readthedocs.io/en/latest/user-guide/frontier/production-cost/)</sup> |
| 非效率分布 | 半正态、指数、截断正态和伽马；截断正态嵌套半正态（μ = 0），伽马嵌套指数<sup>[3](https://panelbox.readthedocs.io/en/latest/user-guide/frontier/production-cost/)</sup> |
| 效率预测值 | JLMS \( E[u \mid \varepsilon] \) 和巴蒂斯–科利（Battese–Coelli）\( E[\exp(-u) \mid \varepsilon] \)，后者为推荐的默认选项<sup>[6](https://doi.org/10.1016/0304-4076%2882%2990004-5)</sup><sup> • </sup><sup>[3](https://panelbox.readthedocs.io/en/latest/user-guide/frontier/production-cost/)</sup> |
| 主要局限 | 横截面数据中不存在个体效率的一致估计量，且需要对两个误差分量都做参数假设<sup>[7](https://iseapa.org/documents/sfa_with_stata_v19.pdf)</sup> |

## 运作方式

该模型将产出（或成本）写为前沿函数加上一个复合误差。对于对数形式的生产前沿，\( y_{it} = x'_{it}\beta + v_{it} - u_{it} \)，其中 \( y_{it} \) 为对数产出；对于成本前沿，\( y_{it} = x'_{it}\beta + v_{it} + u_{it} \)，其中 \( y_{it} \) 为对数成本。噪声项 \( v \) 服从对称的正态分布；非效率项 \( u \) 非负，因此复合误差 \( \varepsilon = v - u \) 在生产前沿中呈负偏，在成本前沿中呈正偏。<sup>[3](https://panelbox.readthedocs.io/en/latest/user-guide/frontier/production-cost/)</sup> 等价地，对于生产前沿，复合误差是一个对称正态变量减去一个正态变量的绝对值，\( \varepsilon_{it} = v_{it} - \lvert U_{it} \rvert \)，其中 \( u_{it} = \lvert U_{it} \rvert \)，\( U_{it} \sim N(0, \sigma_{u}^{2}) \)；而对于成本前沿，则是该正态变量加上绝对值。<sup>[8](https://pages.stern.nyu.edu/~wgreene/panelfrontiers.pdf)</sup>

技术效率定义为 \( TE = \exp(-u) \)，即给定投入下企业产出接近估计最大产出的程度；\( u \) 通常取半正态、截断正态、指数或伽马分布，\( v \) 为正态分布的噪声。<sup>[9](https://link.springer.com/article/10.1007/s11123-025-00785-z)</sup> 在正态–半正态情形下，参数 \( \lambda = \sigma_{u} / \sigma_{v} \) 刻画了分布特征：当 \( \lambda \to +\infty \) 时得到确定性前沿，当 \( \lambda \to 0 \) 时不存在非效率，OLS即可。<sup>[2](https://pages.stern.nyu.edu/~wgreene/StochasticFrontierModels.pdf)</sup>

## 操作步骤

实践者设定一个参数化前沿，为 \( v \) 和 \( u \) 选择分布，通过最大似然估计参数，然后根据给定残差 \( \varepsilon_{i} \) 下 \( u \) 的条件分布预测每个企业的非效率，例如通过 \( E[u_{i} \mid \varepsilon_{i}] \)。分解步骤即JLMS估计量（根据残差预测每个企业非效率的公式），由琼德罗（Jondrow）、洛弗尔、马捷罗夫（Materov）和施密特提出，他们考虑了给定 \( v - u \) 下 \( u \) 的期望值，并给出了半正态和指数情形的显式公式。<sup>[6](https://doi.org/10.1016/0304-4076%2882%2990004-5)</sup> 对于半正态模型，给定 \( \varepsilon \) 下 \( u \) 的条件分布是在零处截断的正态变量，其均值和方差取决于观测残差 \( \varepsilon \) 和尺度参数 \( \sigma_{u} \) 与 \( \sigma_{v} \)，包括 \( \lambda = \sigma_{u} / \sigma_{v} \)；该条件分布的均值或众数作为点估计。<sup>[10](https://upcommons.upc.edu/bitstream/handle/2099/4187/article.pdf;sequence=4)</sup>

软件通常报告三个预测值：JLMS \( E[u \mid \varepsilon] \)；巴蒂斯–科利 \( E[\exp(-u) \mid \varepsilon] \)，后者为推荐的默认选项，因为它直接估计效率并避免詹森不等式偏误；以及条件众数，附霍拉斯–施密特（Horrace–Schmidt）置信区间。<sup>[3](https://panelbox.readthedocs.io/en/latest/user-guide/frontier/production-cost/)</sup> 方差参数 \( \gamma = \sigma_{u}^{2} / (\sigma_{v}^{2} + \sigma_{u}^{2}) \) 衡量非效率占总方差的比例。<sup>[3](https://panelbox.readthedocs.io/en/latest/user-guide/frontier/production-cost/)</sup>

## 起源

前沿思想早于随机模型：法雷尔（Farrell）1957年关于生产效率测量的论文<sup>[11](https://doi.org/10.2307/2343100)</sup>和蒂默（Timmer）1971年的概率前沿生产函数是同一研究路线中的早期步骤。<sup>[12](https://doi.org/10.1086/259787)</sup> 两篇1976年的论文奠定了统计基础：艾格纳、雨宫（Amemiya）和普瓦里耶（Poirier）关于生产前沿最大似然估计的论文<sup>[13](https://doi.org/10.2307/2525708)</sup>，以及施密特关于参数化前沿生产函数统计估计的论文<sup>[14](https://doi.org/10.2307/1924032)</sup>。施密特在该文中表明，早期的确定性优化准则可以解读为单边误差模型的对数似然——线性规划对应指数分布，二次规划对应半正态分布。<sup>[2](https://pages.stern.nyu.edu/~wgreene/StochasticFrontierModels.pdf)</sup>

随机前沿模型本身出现在两篇几乎同时的1977年论文中：艾格纳、洛弗尔和施密特发表于《计量经济学杂志》<sup>[4](https://doi.org/10.1016/0304-4076%2877%2990052-5)</sup>，梅乌森和范登布罗克发表于《国际经济评论》，后者使用带有科布–道格拉斯前沿和指数非效率的复合误差。<sup>[5](https://doi.org/10.2307/2525757)</sup> 标准的长篇参考著作是库姆巴卡尔（Kumbhakar）和洛弗尔的《随机前沿分析》（剑桥大学出版社，2000年），该书发展了估计生产、成本和利润前沿以及生产者接近前沿的效率的计量经济学技术，同时保留随机统计噪声。<sup>[15](https://www.cambridge.org/core/books/stochastic-frontier-analysis/510E56C2F890A0E6B38B4C4B241645B6)</sup>

## 变体

\( u \) 通常采用的四种主要分布为：半正态、指数、截断正态和伽马。<sup>[3](https://panelbox.readthedocs.io/en/latest/user-guide/frontier/production-cost/)</sup> 截断正态分布 \( u \sim TN(\mu, \sigma_{u}, 0, \infty) \) 由史蒂文森（Stevenson）于1980年引入，通过允许非零均值推广了半正态分布；指数设定则可追溯至梅乌森和范登布罗克的1977年论文。<sup>[16](https://doi.org/10.1016/0304-4076%2880%2990042-1)</sup><sup> • </sup><sup>[17](https://ar5iv.labs.arxiv.org/html/2006.03459)</sup> 格林（Greene）1990年的伽马分布模型允许更灵活的单边形状，但计算难度大幅增加，其实际应用受到里特（Ritter）和西马尔（Simar）提出的可识别性问题的限制。<sup>[18](https://doi.org/10.1016/0304-4076%2890%2990052-u)</sup><sup> • </sup><sup>[8](https://pages.stern.nyu.edu/~wgreene/panelfrontiers.pdf)</sup><sup> • </sup><sup>[19](http://www.ruf.rice.edu/~rsickles/Efficiency/sickles72004.pdf)</sup>

面板数据缓解了横截面模型的识别问题。皮特（Pitt）和李（Lee）（1981）提出了通过最大似然拟合的时不变随机效应前沿。<sup>[20](https://doi.org/10.1016/0304-3878%2881%2990004-3)</sup> 施密特和西克尔斯（Sickles）（1984）定义了固定效应模型，可通过组内估计、GLS或MLE估计，无需对非效率做分布假设。<sup>[21](https://doi.org/10.1080/07350015.1984.10509410)</sup> 巴蒂斯和科利1988年的论文将前沿推广到面板数据，并提供了作为推荐默认选项的效率预测值。<sup>[22](https://doi.org/10.1016/0304-4076%2888%2990053-x)</sup><sup> • </sup><sup>[3](https://panelbox.readthedocs.io/en/latest/user-guide/frontier/production-cost/)</sup> 具有灵活个体路径的时变效率由康韦尔（Cornwell）、施密特和西克尔斯于1990年发展。<sup>[23](https://doi.org/10.1016/0304-4076%2890%2990054-w)</sup> 格林2005年的真固定效应和真随机效应模型将持续性未观测异质性与时变非效率分离，使企业异质性不被误读为非效率。<sup>[24](https://doi.org/10.1007/s11123-004-8545-1)</sup> 随后出现了将非效率本身分解为持续性和时变部分的四分量模型。<sup>[25](https://link.springer.com/article/10.1007/s11123-025-00769-z)</sup> 一步固定效应估计可通过固定效应方法<sup>[26](https://doi.org/10.1016/j.jeconom.2013.05.009)</sup>和模型变换方法<sup>[27](https://doi.org/10.1016/j.jeconom.2009.12.006)</sup>实现。

近期工作进一步扩展了该模型。2024年提出了四分量模型的贝叶斯估计，对持续性和时变非效率采用非参数分布，同时保持前沿的参数化。<sup>[25](https://link.springer.com/article/10.1007/s11123-025-00769-z)</sup> 分布随机前沿模型将SFA重新表述为通过惩罚最大似然一步估计的GAMLSS，通过联结函数支持多产出，并支持非平衡面板，并以R包`dsfa`发布。<sup>[28](https://www.sciencedirect.com/science/article/abs/pii/S016794732300107X)</sup> 2024年的一种稳健非参数扩展SFMA，用形状约束B样条建模前沿，纳入所报告的抽样误差以用于元分析，并加入基于似然的修剪以增强对异常值的稳健性，附开源Python代码。<sup>[29](https://arxiv.org/pdf/2404.04301)</sup>

## 应用

SFA被经济监管机构广泛应用于多个行业，包括医院、供水、燃气、电力生产与配送、港口、机场和空中交通管制。<sup>[9](https://link.springer.com/article/10.1007/s11123-025-00785-z)</sup> 格林2005年的面板技术在美国银行业和跨国医疗保健提供效率比较中得到了展示。<sup>[30](https://ideas.repec.org/a/kap/jproda/v23y2005i1p7-32.html)</sup> 四分量面板模型在农业中被广泛应用于评估农场和农业生产效率。<sup>[25](https://link.springer.com/article/10.1007/s11123-025-00769-z)</sup>

## 局限与替代方案

基本横截面模型有三个主要缺点：不存在个体效率的一致估计量；需要对两个误差分量都做参数分布假设；非效率与回归变量独立的假设通常不合理。<sup>[7](https://iseapa.org/documents/sfa_with_stata_v19.pdf)</sup> 在单一横截面下，只能识别给定复合误差（残差）\( \varepsilon \) 下企业非效率的期望，这正是JLMS公式所给出的；面板数据则允许识别企业特定的非效率。<sup>[19](http://www.ruf.rice.edu/~rsickles/Efficiency/sickles72004.pdf)</sup> 当时间期数较少而横截面单位数较多时，固定效应非效率估计存在上偏，因为用于对企业排序的最大值算子引入了偏误。<sup>[1](https://www.cambridge.org/core/services/aop-cambridge-core/content/view/1399220173F97CC6D90AB078887805EC/S1365100525000148a.pdf/distance-functions-and-the-analysis-of-inefficiency.pdf)</sup> 异方差性和非单调效率效应可通过误差方差的参数化来处理。<sup>[31](https://doi.org/10.1023/a:1020638827640)</sup> 2025年针对SFA的一种测量误差校正方法，基于巴蒂斯–科利面板模型发展，除代理测量外不需要辅助数据，可减少系数和效率估计中的偏误；其R代码公开。<sup>[9](https://link.springer.com/article/10.1007/s11123-025-00785-z)</sup>

与DEA相比：横截面SFA和横截面DEA都受测量误差的不利影响，但面板数据SFA模型能够处理统计噪声，因为多个时期增加了信息。<sup>[32](https://onlinelibrary.wiley.com/doi/10.1111/j.1475-3995.2007.00585.x)</sup> DEA的共同缺点在于，任何偏离前沿的部分都必须归因于非效率，不设统计噪声的余地。<sup>[2](https://pages.stern.nyu.edu/~wgreene/StochasticFrontierModels.pdf)</sup> 一条中间路径将自由处置包（FDH）非参数方法与OLS相结合。<sup>[33](https://dial.uclouvain.be/pr/boreal/object/boreal%3A120639/datastream/PDF_01/view)</sup>

## References

1. [Distance functions and the analysis of inefficiency (2025)](https://www.cambridge.org/core/services/aop-cambridge-core/content/view/1399220173F97CC6D90AB078887805EC/S1365100525000148a.pdf/distance-functions-and-the-analysis-of-inefficiency.pdf)
2. [The Measurement of Productive Efficiency / Econometric Analysis of Technical and Economic Efficiency (Greene, survey chapter)](https://pages.stern.nyu.edu/~wgreene/StochasticFrontierModels.pdf)
3. [PanelBox documentation: Production and Cost Frontiers](https://panelbox.readthedocs.io/en/latest/user-guide/frontier/production-cost/)
4. [Formulation and estimation of stochastic frontier production function models (Journal of Econometrics, 1977)](https://doi.org/10.1016/0304-4076%2877%2990052-5)
5. [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)
6. [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)
7. [Efficiency Analysis with Stochastic Frontier Models in Stata (practitioner guide)](https://iseapa.org/documents/sfa_with_stata_v19.pdf)
8. [Stochastic Frontier Estimation with Panel Data (Greene, working paper)](https://pages.stern.nyu.edu/~wgreene/panelfrontiers.pdf)
9. [Measurement error corrected stochastic frontier analysis (Journal of Productivity Analysis, 2025)](https://link.springer.com/article/10.1007/s11123-025-00785-z)
10. [A Monte Carlo study of the Jondrow et al. (1982) inefficiency estimator](https://upcommons.upc.edu/bitstream/handle/2099/4187/article.pdf;sequence=4)
11. [M. J. Farrell (1957). The Measurement of Productive Efficiency. Journal of the Royal Statistical Society Series A (General).](https://doi.org/10.2307/2343100)
12. [C. P. Timmer (1971). Using a Probabilistic Frontier Production Function to Measure Technical Efficiency. Journal of Political Economy.](https://doi.org/10.1086/259787)
13. [D. J. Aigner, T. Amemiya, D. J. Poirier (1976). On the Estimation of Production Frontiers: Maximum Likelihood Estimation of the Parameters of a Discontinuous Density Function. International Economic Review.](https://doi.org/10.2307/2525708)
14. [Peter Schmidt (1976). On the Statistical Estimation of Parametric Frontier Production Functions. The Review of Economics and Statistics.](https://doi.org/10.2307/1924032)
15. [Stochastic Frontier Analysis (Kumbhakar & Lovell, Cambridge University Press, 2000)](https://www.cambridge.org/core/books/stochastic-frontier-analysis/510E56C2F890A0E6B38B4C4B241645B6)
16. [Likelihood functions for generalized stochastic frontier estimation (Journal of Econometrics, 1980)](https://doi.org/10.1016/0304-4076%2880%2990042-1)
17. [Analytic expressions for the CDF of the Composed Error Term in SFA with Truncated Normal and Exponential Inefficiencies (arXiv)](https://ar5iv.labs.arxiv.org/html/2006.03459)
18. [A Gamma-distributed stochastic frontier model (Journal of Econometrics, 1990)](https://doi.org/10.1016/0304-4076%2890%2990052-u)
19. [On Estimating Technical and Scale Efficiency in Panel Data (Sickles)](http://www.ruf.rice.edu/~rsickles/Efficiency/sickles72004.pdf)
20. [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)
21. [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)
22. [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)
23. [Production frontiers with cross-sectional and time-series variation in efficiency levels (Journal of Econometrics, 1990)](https://doi.org/10.1016/0304-4076%2890%2990054-w)
24. [Willam Greene (2005). Fixed and Random Effects in Stochastic Frontier Models. Journal of Productivity Analysis.](https://doi.org/10.1007/s11123-004-8545-1)
25. [The generalized panel data stochastic frontier model: A review and nonparametric estimation (Journal of Productivity Analysis, 2025)](https://link.springer.com/article/10.1007/s11123-025-00769-z)
26. [Yi-Yi Chen, Peter Schmidt, Hung-Jen Wang (2014). Consistent estimation of the fixed effects stochastic frontier model. Journal of Econometrics.](https://doi.org/10.1016/j.jeconom.2013.05.009)
27. [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)
28. [Multivariate distributional stochastic frontier models (Computational Statistics & Data Analysis)](https://www.sciencedirect.com/science/article/abs/pii/S016794732300107X)
29. [Robust non-parametric stochastic frontier meta-analysis (SFMA) (arXiv, 2024)](https://arxiv.org/pdf/2404.04301)
30. [Greene (2005), Fixed and Random Effects in Stochastic Frontier Models, Journal of Productivity Analysis 23(1), 7-32 (RePEc record)](https://ideas.repec.org/a/kap/jproda/v23y2005i1p7-32.html)
31. [Hung-Jen Wang (2002). Heteroscedasticity and Non-Monotonic Efficiency Effects of a Stochastic Frontier Model. Journal of Productivity Analysis.](https://doi.org/10.1023/a:1020638827640)
32. [A comparison of DEA and the stochastic frontier model using panel data (Ruggiero, 2007)](https://onlinelibrary.wiley.com/doi/10.1111/j.1475-3995.2007.00585.x)
33. [Semiparametric stochastic frontier model with panel data (UCLouvain paper)](https://dial.uclouvain.be/pr/boreal/object/boreal%3A120639/datastream/PDF_01/view)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Statistical inference, estimation, sampling, and testing › Regression analysis

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/stochastic-frontier-model

English original: https://www.edgepedia.org/stochastic-frontier-model
