Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: Xtfrontier

From   "Scott Merryman" <>
To   <>
Subject   st: Re: Xtfrontier
Date   Mon, 22 Dec 2003 22:41:41 -0600


I am sending this to the entire list, as other people may find it of use or I
might say something dumb which others will catch.

One possibility would be to use a fixed effects model, using -frontier- with
the -uhet- option to model the inefficiency effects.

Below are some comments I made to a previous question that you might find

Hope this helps,


From: "Scott Merryman" <>
Subject: st: frontier's conditional mean model to panel data
Date: Tue, 15 Jul 2003 20:02:16 -0500


"Wu, Xun" <> wrote on July 10th:

"My question is about frontier's conditional mean model. I appreciate the
advice from Weihua. I also notice from the manual (pp423 of Frontier) that
'You can, in fact, apply frontier's conditional mean model to panel data.'

My question is that whether I can obtain the 'within' effects with this
method with my panel data. It is like using Xtreg, where it fits
fixed-effects (within) with panel data. We might just add firm dummies
besides the exogenous variables or demean the exogenous variables. However,
I have almost 10,000 firms, which I am afraid won't work with my intercooled

Yes, you can include time and firm fixed effects, however demeaning would
not be advised.  In the recent Journal of Business and Economic Statistics
Vol 21, Num 3 July 2003 "A Stochastic Frontier Analysis of Financing
Constraints on Investment:  The Case of Financial Liberalization of Taiwan"
by Hung-Jen Wang, does just that.

He writes (page 408 - 409) "Without firm-specific effects, the model
effectively treats multiple observations of the same firm as being obtained
form independent samples, leaving the data's panel nature unexploited.  As
emphasized in studies by Kumbhakar (1991) and Kumbhakar and Hjalmarsson
(1995), failure to include firm specific effects in a panel stochastic
frontier model is also likely to bias the estimates of the one-sided error,
u_it.....because of the truncated error distribution, one cannot take first
differences or subtract means from the data to eliminate the effects;
differenced truncated normal distributions do not result in a known
distribution.  Instead, the dummy variable approach is used as suggested in
the formulation of Kumbhakar (1991)."

The next question is: do you include these fixed effects (and/or other
factors) in production function or in the inefficiency equation
(using -uhet- you can possibly solve two problems at once - correcting for
heteroskedasticity and incorporating environmental factors on efficiency,
see Kumbhakar and Lovell, 2000 "Stochastic Frontier Analysis").

One approach, following Good et al. (1993), embeds environmental factors
directly into the production function assuming that the environment alters
the shape of the production function. The second approach, following Battese
and Coelli (1995), assumes that environmental factors affect the degree of
technical inefficiency but not the shape of the production technology.  The
first approach (the environment in the production function) produced
technical efficiency scores that are net of environmental factors.  The
second approach (environment in the inefficiency equation) produces
technical efficiency scores that incorporate environmental factors.  Coelli,
Perelman, and Romano (1999) has termed these gross technical efficiency

Hope this helps,

Battese, G. and T. J. Coelli (1995), "A Model for Technical Inefficiency
Effects in a Stochastic Frontier Production for Panel Data."  Empirical
Economics 20.

Coelli, T.; Perelman, Sergio; and Elliot Romano (1999), "Accounting for
Environmental Influences in Stochastic Frontier Models:  With Applications
to International Airlines."  Journal of Productivity Analysis 11.

Good, D., Nadiri, M., Roller, L., Sickles R. (1993), "Efficiency and
Productivity Growth Comparisons of European and U.S. Air Carriers:  A First
Look at the Data." The Journal of Productivity Analysis 4.

Kumbhakar, S. (1991), "Estimation of Technical Inefficiency in Panel Data
Models with Firm and Time Specific Effects"  Economic Letters, 36, 43-48.

Kumbhakar and Hjalmarsson (1995), "Labour-Use Efficiency in Swedish Social
Insurance Offices," Journal of Applied Econometrics, 10, 33 - 47.

----- Original Message ----- 
From: Mahmut Yasar
Sent: Monday, December 22, 2003 4:51 PM
Subject: Xtfrontier

Dear Mr. Merryman,

I am trying to estimate a translog production function using Xtfrontier.  I
include some dummy variables and  other control variables in the model. My
question is about the inefficiency effects. How can I include an inefficiency
effect model, which includes some dummy variables and shares to explain the
differences in the inefficiency levels of firms, in Xtfrontier framework. I know
how to do this using Frontier 4.1 but I am not sure whether I do it right using
Xtfrontier command. Any suggestions would be greatly appreciated. Thank you!

Mahmut Yasar

*   For searches and help try:

© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index