1 / 20

Topics in Microeconometrics University of Queensland Brisbane, QLD July 7-9, 2010

William Greene Department of Economics Stern School of Business. Topics in Microeconometrics University of Queensland Brisbane, QLD July 7-9, 2010. Lab 1-2 IV Regression and Panel Data. 2sls. Load Cornwell and Rupert Data with OPEN:Project. Telling NLOGIT You are Fitting a Panel Data Model.

dyan
Download Presentation

Topics in Microeconometrics University of Queensland Brisbane, QLD July 7-9, 2010

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. William Greene Department of Economics Stern School of Business Topics in MicroeconometricsUniversity of QueenslandBrisbane, QLDJuly 7-9, 2010

  2. Lab 1-2 IV Regression andPanel Data

  3. 2sls Load Cornwell and Rupert Data with OPEN:Project

  4. Telling NLOGIT You are Fitting a Panel Data Model Balanced Panel Model ; … ; PDS = number of periods $ REGRESS ; Lhs = Milk ; Rhs = One,Labor ; Pds = 6 ; Panel $ (Note ;Panel is needed only for REGRESS) Unbalanced Panel Model ; … ; PDS = group size variable $ REGRESS ; Lhs = Milk ; Rhs = One,Labor ; Pds = FarmPrds ; Panel $ FarmPrds gives the number of periods, in every period. (More later about unbalanced panels)

  5. Group Size Variables for Unbalanced Panels

  6. Creating a Group Size Variable Requires an ID variable (such as FARM) (1) Set the full sample exactly as desired (2) REGRESS ; LHS=One ; Rhs = One ; Panel ; STR = ID $ where ID is the identification variable $ This creates a new variable named _GROUPTI

  7. Application to Spanish Dairy Farms Dairy.lpj N = 247 farms, T = 6 years (1993-1998)

  8. A Panel Data Regression Regress ; LHS = YIT ; RHS = One,X1,X2,X3,X4 ; PDS = 6 ; PANEL $ (;PANEL is needed only for the linear regression model.)

  9. Dialog Boxes for Model Commands

  10. Selecting PANEL from the Options Tab

  11. Global Setting for Panels SETPANEL ; Group = the name of the ID variable ; PDS = the name of the groupsize variable to create $ Subsequent model commands state ;PANEL with no other specifications requred to set the panel. Some other specifications usually required for the specific model – e.g., fixed vs. random effects.

  12. Panel Data Analysis: Cornwell and Rupert

  13. This is caused by the time invariant variable FEM.

More Related