Stochastic-Frontier

  • Reproduction: Coelli, T. J. (1996). A guide to FRONTIER Version 4.1.

    For most of the 1990s and 2000s, estimating a stochastic frontier meant running FRONTIER 4.1, Tim Coelli’s Fortran program, and its guide (Coelli, 1996) was where one learnt how. The guide works through a small example: a Cobb-Douglas production frontier for 60 firms with half-normal inefficiency, estimated by maximum likelihood. Its data are distributed with the program and, today, with the R package frontier by Coelli and Henningsen, which implements FRONTIER 4.1 in R.

    This post reproduces that example twice: by maximum likelihood with frontier, which returns the guide’s printed estimates, and by Bayesian inference with bsfa. The second is the more interesting exercise, because the two approaches answer slightly different questions, and a sample of 60 is small enough for the difference to show.

  • Reproduction: Griffin, J. E., & Steel, M. F. J. (2007). Bayesian stochastic frontier analysis using WinBUGS.

    Griffin and Steel (2007) is a tutorial as much as a research paper. It shows how the Bayesian stochastic frontier models that van den Broeck, Koop, Osiewalski and Steel (1994) set out can be written down and estimated in WinBUGS, and its first example is the classic of the field: the costs of 123 US electric utilities in 1970, first analysed by Christensen and Greene (1976) and used by Greene (1990) and many others since. The paper prints its WinBUGS code, its priors and the posterior summaries it obtained, which makes it an unusually complete target for a reproduction.

    This post reproduces the exponential and half-normal cost frontiers of that example with the bsfa package, which samples the same models by data augmentation and elicits its priors in the way the paper does.

  • How Efficiently Do Countries Produce?

    In an earlier post on growth accounting total factor productivity was calculated as a residual: whatever part of output that cannot be explained by capital and labour is attributed to technology. The drawback of this approach is that the residual contains everything, which the model does not capture – including measurement error and bad luck. A stochastic frontier model takes a different route. It splits the residual into a symmetric noise term and a one-sided term, which measures how far a country produces below the maximum output that is attainable with its inputs. This post applies that idea to the countries in the Penn World Table.

  • Stochastic Frontier Models in R

    An OLS regression describes the average relationship between inputs and output. But in many economic questions the average is not what we are interested in. If two firms use the same amount of capital and labour, but one produces twice as much as the other, we would like to know how far each of them is away from what is technically possible – and not from what is usual. Stochastic frontier models, which were proposed independently by Aigner, Lovell and Schmidt (1977) and Meeusen and van den Broeck (1977), are designed for exactly that question. This post introduces the basic idea behind them and shows how to estimate such models in R.