Econometric Analysis Using Stata

Slides:



Advertisements
Similar presentations
1 Research Methods Lecture 2 The dummies’ guide to STATA Wiji Arulampalam 18/10/2006.
Advertisements

Econometric Analysis of Panel Data
Econometric Analysis of Panel Data
Part 11: Asymptotic Distribution Theory 11-1/72 Econometrics I Professor William Greene Stern School of Business Department of Economics.
Unbalanced Panel Data … and Stata Kuan-Pin Lin Portland State University and WISE, Xiamen University.
Econometric Analysis of Panel Data Random Regressors –Pooled (Constant Effects) Model Instrumental Variables –Fixed Effects Model –Random Effects Model.
Part 13: Endogeneity 13-1/62 Econometrics I Professor William Greene Stern School of Business Department of Economics.
Lecture 12 (Ch16) Simultaneous Equations Models (SEMs)
STATA TUTORIAL: LAB STATA windows  The command window  The viewer/results window  The review of commands window  The variable window.
Econometric Analysis of Panel Data Dynamic Panel Data Analysis –First Difference Model –Instrumental Variables Method –Generalized Method of Moments –Arellano-Bond-Bover.
Multinomial Logistic Regression
Psid3.do Panel study of income dynamics Longitudinal data of 5000 households started in 1969 HH members followed annually since This example has 5-years.
Econometric Analysis of Panel Data Instrumental Variables in Panel Data –Assumptions of Instrumental Variables –Fixed Effects Model –Random Effects Model.
Econometric Analysis Using Stata
Advanced Panel Data Methods1 Econometrics 2 Advanced Panel Data Methods I.
Econometric Analysis of Panel Data Lagged Dependent Variables –Pooled (Constant Effects) Model –Fixed Effects Model –Random Effects Model –First Difference.
Econometrics I Professor William Greene Stern School of Business
Part 7: Regression Extensions [ 1/59] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.
Part 2: Projection and Regression 2-1/45 Econometrics I Professor William Greene Stern School of Business Department of Economics.
Econometric Analysis of Panel Data Fixed Effects and Random Effects: Extensions – Time-invariant Variables – Two-way Effects – Nested Random Effects.
DUMMY VARIABLES BY HARUNA ISSAHAKU Haruna Issahaku.
Linear Regression – Estimating Demand Elasticities U.S. Sugar Consumption H. Schultz (1933). “A Comparison of Elasticities of Demand Obtained.
Richard Williams, University of Notre Dame Paul Allison, University of Pennsylvania Enrique Moral-Benito,
1. Descriptive Tools, Regression, Panel Data. Model Building in Econometrics Parameterizing the model Nonparametric analysis Semiparametric analysis Parametric.
Econometric Analysis Using Stata
Part 5: Random Effects [ 1/54] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.
[Part 3: Common Effects ] 1/57 Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.
Topics in Microeconometrics William Greene Department of Economics Stern School of Business.
1/68: Topic 1.3 – Linear Panel Data Regression Microeconometric Modeling William Greene Stern School of Business New York University New York NY USA William.
Panel Data. Assembling the Data insheet using marriage-data.csv, c d u "background-data", clear d u "experience-data", clear u "wage-data", clear d reshape.
Econometric Analysis of Panel Data
[Topic 2-Endogeneity] 1/33 Topics in Microeconometrics William Greene Department of Economics Stern School of Business.
1/69: Topic Descriptive Statistics and Linear Regression Microeconometric Modeling William Greene Stern School of Business New York University New.
Empirical Methods for Microeconomic Applications University of Lugano, Switzerland May 27-31, 2013 William Greene Department of Economics Stern School.
[Topic 1-Regression] 1/37 1. Descriptive Tools, Regression, Panel Data.
Chapter 1 Introduction.
Econometric Analysis of Panel Data Panel Data Analysis – Linear Model One-Way Effects Two-Way Effects – Pooled Regression Classical Model Extensions.
Part 4A: GMM-MDE[ 1/33] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.
1 Panel Data Analysis in STATA Binam Ghimire. Learning Objectives  Importing file into STATA  Running panel data regression  Run fixed, random effect.
4. Tobit-Model University of Freiburg WS 2007/2008 Alexander Spermann 1 Tobit-Model.
Part 12: Endogeneity 12-1/71 Econometrics I Professor William Greene Stern School of Business Department of Economics.
Econ 326 Prof. Mariana Carrera Lab Session X [DATE]
Econometric Analysis of Panel Data
Panel Data Models By Mai Thanh, Jin Lulu.
PANEL DATA Development Workshop.
Microeconometric Modeling
Econometric Analysis of Panel Data
Microeconometric Modeling
Microeconometric Modeling
Migration and the Labour Market
Econometric Analysis of Panel Data
Econometrics I Professor William Greene Stern School of Business
Chengyuan Yin School of Mathematics
Econometric Analysis of Panel Data
Microeconometric Modeling
Microeconometric Modeling
Econometrics I Professor William Greene Stern School of Business
Microeconometric Modeling
Econometrics I Professor William Greene Stern School of Business
Econometric Analysis of Panel Data
Statistical Inference and Regression Analysis: GB
Econometrics I Professor William Greene Stern School of Business
ECON686: Panel Data Analysis
Econometric Analysis of Panel Data
Econometrics I Professor William Greene Stern School of Business
Econometrics I Professor William Greene Stern School of Business
Empirical Methods for Microeconomic Applications University of Lugano, Switzerland May 27-31, 2019 William Greene Department of Economics Stern School.
Econometrics I Professor William Greene Stern School of Business
Econometrics I Professor William Greene Stern School of Business
Presentation transcript:

Econometric Analysis Using Stata Introduction Time Series Panel Data

Panel Data Analysis Using Stata Declare panel data and variables xtset Panel data analysis: xt commands xtdes xtsum xtdata xtline Panel data regression xtreg

Example: Returns to Schooling Cornwell and Rupert Data, 595 Individuals, 7 Years These data were analyzed in Cornwell, C. and Rupert, P., "Efficient Estimation with Panel Data: An Empirical Comparison of Instrumental Variable Estimators," Journal of Applied Econometrics, 3, 1988, pp. 149-155.  Data Source: Panel Study of Income Dynamics.  

Example: Returns to Schooling LWAGE = log of wage EXP = work experience WKS = weeks worked OCC = occupation, 1 if blue collar, IND = 1 if manufacturing industry SOUTH = 1 if resides in south SMSA = 1 if resides in a city (SMSA) MS = 1 if married FEM = 1 if female UNION = 1 if wage set by union contract ED = years of education BLK = 1 if individual is black

Example: Returns to Schooling The Model

/* ** Panel Data (Cornwell and Rupert, 1988) ** Greene [2008], Chap. 9 ** Data is stacked in long form, 595 individuals 7 years */ clear set more off infile exp wks occ ind south smsa ms fem union ed blk lwage /// using “http://web.pdx.edu/~crkl/ec510/data/cornwell&rupert.txt" drop in 1 describe summarize generate person=group(595) bysort person: generate period=group(7) * panel data definition xtset person period xtdes xtsum * one-way tabulation of data xttab union xttab ind xttrans ms xttab ed // ed is time invariant * plots of panel data xtline lwage if person<=10, overlay generate exp2=exp^2 local x1 exp exp2 wks occ ind south smsa ms union local x2 ed blk fem * panel data regression: y=lwage * x1=[1 exp exp2 wks occ ind south smsa ms union], * x2=[ed blk fem] (time-invariant regressors) regress lwage `x1' `x2' regress lwage `x1' `x2', vce(cluster person)