24
Frontier Models and Efficiency Measurement Lab Session 4: Panel Data William Greene Stern School of Business New York University 0 Introduction 1 Efficiency Measurement 2 Frontier Functions 3 Stochastic Frontiers 4 Production and Cost 5 Heterogeneity 6 Model Extensions 7 Panel Data 8 Applications

Frontier Models and Efficiency Measurement Lab Session 4: Panel Data

Embed Size (px)

DESCRIPTION

William Greene Stern School of Business New York University. Frontier Models and Efficiency Measurement Lab Session 4: Panel Data. 0Introduction 1 Efficiency Measurement 2 Frontier Functions 3 Stochastic Frontiers 4 Production and Cost 5 Heterogeneity 6 Model Extensions - PowerPoint PPT Presentation

Citation preview

Page 1: Frontier Models and Efficiency Measurement Lab Session 4: Panel Data

Frontier Models and Efficiency Measurement

Lab Session 4: Panel Data

William Greene

Stern School of Business

New York University

0 Introduction1 Efficiency Measurement2 Frontier Functions3 Stochastic Frontiers4 Production and Cost5 Heterogeneity6 Model Extensions7 Panel Data8 Applications

Page 2: Frontier Models and Efficiency Measurement Lab Session 4: Panel Data

Group Size Variables for Unbalanced Panels

Farm Milk Cows FarmPrds1 23.3 10.7 3

1 23.3 10.6 3

1 25 9.4 3

2 19.6 11 2

2 22.2 11 2

3 24.7 11 4

3 25.4 12 4

3 25.3 13.5 4

3 26.1 14.5 4

4 55.4 22 2

4 63.5 22 2

Page 3: Frontier Models and Efficiency Measurement Lab Session 4: Panel Data

Creating a Group Size Variable Requires an ID variable (such as FARM)

(1) Set the full sample exactly as desired

(2) SETPANEL ; Group = the id variable ; Pds = the name you want limdep to use for the periods variable $

SETPANEL ; Group = farm ; pds = ti $

Page 4: Frontier Models and Efficiency Measurement Lab Session 4: Panel Data

Application to Spanish Dairy Farms

Input Units Mean Std. Dev.

Minimum

Maximum

Milk Milk production (liters)

131,108 92,539 14,110 727,281

Cows # of milking cows 2.12 11.27 4.5 82.3

Labor

# man-equivalent units

1.67 0.55 1.0 4.0

Land Hectares of land devoted to pasture and crops.

12.99 6.17 2.0 45.1

Feed Total amount of feedstuffs fed to dairy cows (tons)

57,941 47,981 3,924.14

376,732

N = 247 farms, T = 6 years (1993-1998)

Page 5: Frontier Models and Efficiency Measurement Lab Session 4: Panel Data

Exploring a Panel Data Set: Dairy

REGRESS ; Lhs = YIT

; RHS = COBBDGLS

; PANEL $

REGRESS ; Lhs = YIT ; RHS = COBBDGLS ; PANEL ; Het = Group $

Page 6: Frontier Models and Efficiency Measurement Lab Session 4: Panel Data

Initiating a Panel Data Model

Page 7: Frontier Models and Efficiency Measurement Lab Session 4: Panel Data

Nonlinear Panel Data Models

MODEL NAME ; Lhs = …

; RHS = …

; Panel

; … any other model parts … $

ALL PANEL DATA MODEL COMMANDS ARE THE SAME

Page 8: Frontier Models and Efficiency Measurement Lab Session 4: Panel Data

Panel Data Frontier Model Commands

FRONTIER ; LHS = … [ ; COST ] ; RHS = … [; TECHEFF = …] ; Panel ; ... the rest of the model ; any other options $

Page 9: Frontier Models and Efficiency Measurement Lab Session 4: Panel Data

Pitt and Lee Random Effects

FRONTIER ; LHS = … [ ; COST ] ; RHS = … [; EFF = …] ; Panel ; any other options $

This is the default panel model.

Page 10: Frontier Models and Efficiency Measurement Lab Session 4: Panel Data

Pitt and Lee Model

Page 11: Frontier Models and Efficiency Measurement Lab Session 4: Panel Data

Pitt and Lee Random Effects with Heteroscedasticity and Time Invariant Inefficiency

FRONTIER ; LHS = … [ ; COST ] ; RHS = … [; EFF = …] ; Panel ; HET ; HFU = … ; HFV = … $

Page 12: Frontier Models and Efficiency Measurement Lab Session 4: Panel Data

Pitt and Lee Random Effectswith Heteroscedasticity and Truncation

Time Invariant Inefficiency

FRONTIER ; LHS = … [ ; COST ] ; RHS = … [; EFF = …] ; Panel ; HET ; HFU = … ; HFV = … ; MODEL = T

; RH2 = One,… $

Page 13: Frontier Models and Efficiency Measurement Lab Session 4: Panel Data

Pitt and Lee Random Effectswith Heteroscedasticity

Time Invariant Inefficiency

FRONTIER ; LHS = … [ ; COST ] ; RHS = … [; EFF = …] ; Panel ; HET ; HFU = … ; HFV = … $

Page 14: Frontier Models and Efficiency Measurement Lab Session 4: Panel Data

Schmidt and Sickles Fixed Effects

REGRESS ; LHS = … ; RHS = … ; PANEL ; PAR ; FIXED $CREATE ; AI = ALPHAFE ( id ) $CALC ; MAXAI = Max(AI) $CREATE ; UI = MAXAI – AI $

(Use Minimum and AI – MINAI for cost)

Page 15: Frontier Models and Efficiency Measurement Lab Session 4: Panel Data

True Random EffectsTime Varying Inefficiency

FRONTIER ; LHS = … [ ; COST ] ; RHS = … $FRONTIER ; LHS = … [ ; COST ] ; RHS = … ; Panel ; Halton (a good idea)

; PTS = number for the simulations ; RPM ; FCN = ONE (n) ; EFF = … $

Note, first and second FRONTIER commands are identical. This sets up the starting values.

Page 16: Frontier Models and Efficiency Measurement Lab Session 4: Panel Data

True Fixed EffectsTime Varying Inefficiency

FRONTIER ; LHS = … [ ; COST ] ; RHS = … $FRONTIER ; LHS = … [ ; COST ] ; RHS = … ; Panel ; FEM ; EFF = … $

Note, first and second FRONTIER commands are identical. This sets up the starting values.

Page 17: Frontier Models and Efficiency Measurement Lab Session 4: Panel Data

Battese and CoelliTime Varying Inefficiency

FRONTIER ; LHS = … [ ; COST ] ; RHS = … ; Panel ; MODEL = BC ; EFF = … $This is the default specification,

u(i,t) = exp[h(t-T)] |U(i)|To use the extended specification,

u(i,t)=exp[d’z(i)] |U(i)| ; Het ; HFU = variables

Page 18: Frontier Models and Efficiency Measurement Lab Session 4: Panel Data
Page 19: Frontier Models and Efficiency Measurement Lab Session 4: Panel Data
Page 20: Frontier Models and Efficiency Measurement Lab Session 4: Panel Data
Page 21: Frontier Models and Efficiency Measurement Lab Session 4: Panel Data

Other Models

There are many other panel models with time varying and time invariant inefficiency, heteroscedasticity, heterogeneity, etc.

Latent class,Random parametersSample selection,And so on….

Page 22: Frontier Models and Efficiency Measurement Lab Session 4: Panel Data
Page 23: Frontier Models and Efficiency Measurement Lab Session 4: Panel Data

Frontier Models and Efficiency Measurement

Lab Session 4: Model Building

William Greene

Stern School of Business

New York University

0 Introduction1 Efficiency Measurement2 Frontier Functions3 Stochastic Frontiers4 Production and Cost5 Heterogeneity6 Model Extensions7 Panel Data8 Applications

Page 24: Frontier Models and Efficiency Measurement Lab Session 4: Panel Data

Modeling Assignment