Rotating panel data are used with estimation of stochastic production
frontier. The model can be viewed as a generalization of the regular p
roduction function estimation that accommodates technical inefficiency
as well as firm heterogeneity. In particular, while estimating techni
cal efficiency for each firm over time we control for firm-specific ef
fects and separate them from technical inefficiency. Estimation of the
model is considered in two steps. In the first step we estimate param
eters of the underlying production function using generalized least sq
uares method which are then used in the estimation of technical effici
ency in the second step. As an empirical application we used rotating
data on 1425 Swedish dairy farms observed during 1976-1988. The mean t
echnical efficiency of these farms is found to be 94.5% and 16% of the
farms are fully efficient. Evidence of technical regress about 1% per
annum is observed during 1976 to 1984.