Empirical Methods for Microeconomic Applications William Greene Department of Economics Stern School of Business.

Slides:



Advertisements
Similar presentations
Econometrics I Professor William Greene Stern School of Business
Advertisements

Econometric Analysis of Panel Data
Econometrics I Professor William Greene Stern School of Business
Discrete Choice Modeling William Greene Stern School of Business New York University Lab Sessions.
Discrete Choice Modeling
Discrete Choice Modeling William Greene Stern School of Business New York University Lab Sessions.
Discrete Choice Modeling William Greene Stern School of Business New York University Lab Sessions.
Applied Econometrics Second edition
Discrete Choice Modeling William Greene Stern School of Business New York University.
Part 17: Nonlinear Regression 17-1/26 Econometrics I Professor William Greene Stern School of Business Department of Economics.
Part 12: Asymptotics for the Regression Model 12-1/39 Econometrics I Professor William Greene Stern School of Business Department of Economics.
3. Binary Choice – Inference. Hypothesis Testing in Binary Choice Models.
Discrete Choice Modeling William Greene Stern School of Business New York University Lab Sessions.
Part 24: Bayesian Estimation 24-1/35 Econometrics I Professor William Greene Stern School of Business Department of Economics.
Empirical Methods for Microeconomic Applications William Greene Department of Economics Stern School of Business.
Path Analysis SPSS/AMOS
By Hrishikesh Gadre Session II Department of Mechanical Engineering Louisiana State University Engineering Equation Solver Tutorials.
Part 12: Random Parameters [ 1/46] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.
Discrete Choice Modeling William Greene Stern School of Business New York University Lab Sessions.
Discrete Choice Modeling William Greene Stern School of Business New York University Lab Sessions.
Discrete Choice Modeling William Greene Stern School of Business New York University Lab Sessions.
Statistical Inference and Regression Analysis: GB Professor William Greene Stern School of Business IOMS Department Department of Economics.
A Simple Guide to Using SPSS© for Windows
Part 4: Partial Regression and Correlation 4-1/24 Econometrics I Professor William Greene Stern School of Business Department of Economics.
EViews. Agenda Introduction EViews files and data Examining the data Estimating equations.
Part 21: Generalized Method of Moments 21-1/67 Econometrics I Professor William Greene Stern School of Business Department of Economics.
Introduction to SPSS Short Courses Last created (Feb, 2008) Kentaka Aruga.
Discrete Choice Modeling William Greene Stern School of Business New York University Lab Sessions.
Cutting-and-Pasting Content Directly Into Blackboard.
How to Analyze Data? Aravinda Guntupalli. SPSS windows process Data window Variable view window Output window Chart editor window.
Efficiency Measurement William Greene Stern School of Business New York University.
Empirical Methods for Microeconomic Applications William Greene Department of Economics Stern School of Business.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Web Technologies Website Development Trade & Industrial Education
Part 5: Random Effects [ 1/54] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.
Uploading Image Files. Introduction – Click on Control Panel Button Typically, most instructors will post the majority of their images under the “Course.
Website Development with Dreamweaver
Microeconometric Modeling William Greene Stern School of Business New York University.
Using SPSS for Windows Part II Jie Chen Ph.D. Phone: /6/20151.
Topics in Microeconometrics William Greene Department of Economics Stern School of Business.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Lesson 1 Introduction.
Frontier Models and Efficiency Measurement Lab Session 1 William Greene Stern School of Business New York University 0Introduction 1Efficiency Measurement.
Introduction to SPSS. Object of the class About the windows in SPSS The basics of managing data files The basic analysis in SPSS.
Linear Regression Analysis Using MS Excel Tutorial for Assignment 2 Civ E 342.
1/69: Topic Descriptive Statistics and Linear Regression Microeconometric Modeling William Greene Stern School of Business New York University New.
Discrete Choice Modeling William Greene Stern School of Business New York University Lab Sessions.
Chapter 6. Copyright 2003, Paradigm Publishing Inc. CHAPTER 6 BACKNEXTEND 6-2 LINKS TO OBJECTIVES Create Folders Select Delete Copy a Document Move a.
Creating Web Pages with Links, Images, and Embedded Style Sheets
Introduction to Eviews Eviews Workshop September 6, :30 p.m.-3:30 p.m.
How to use Limdep?. Three important windows 1.Project window (you can check e.g. the variable and matrix lists and how the variables are coded) 2. Editing.
1/26: Topic 2.2 – Nonlinear Panel Data Models Microeconometric Modeling William Greene Stern School of Business New York University New York NY USA William.
The Multiple Regression Model
DEPARTMENT OF COMPUTER SCIENCE
Microeconometric Modeling
Empirical Methods for Microeconomic Applications
Empirical Methods for Microeconomic Applications
Econometrics I Professor William Greene Stern School of Business
Microeconometric Modeling
Eviews Tutorial for Labor Economics Lei Lei
Econometrics I Professor William Greene Stern School of Business
Microeconometric Modeling
Microeconometric Modeling
Microeconometric Modeling
Using NLOGIT for Discrete Choice Modeling
Microeconometric Modeling
Empirical Methods for Microeconomic Applications
Empirical Methods for Microeconomic Applications
Econometrics I Professor William Greene Stern School of Business
Empirical Methods for Microeconomic Applications
Empirical Methods for Microeconomic Applications
Presentation transcript:

Empirical Methods for Microeconomic Applications William Greene Department of Economics Stern School of Business

Lab 1. Descriptive Tools, Regression, Panel Data

Upload Your Project File

Open folder Name Sample size Variables Contents of the Project File

Use File:New/OK to open an Editing Window

Generic Command Format Verb ; specification ; specification ; … $  Every command ends with $  Use as many lines as desired.  Use spaces wherever desired.  Capital or lower case – no matter. Example: Create ; x = z*y + log(Income) $ Example; PROBIT ; Lhs = doctor ; Rhs = one,X $

Type Commands in the Editor

Important Commands: SAMPLE ; first - last $ Sample ; 1 – 1000 $ Sample ; All $ CREATE ; Variable = transformation $ Create ; loginc = Log(income) $ Create ; logincF =.5*loginc*female $ Create ; … any algebraic transformation $

Name Conventions CREATE ; name = any result desired $ Name is the name of a new variable No more than 8 characters in a name The first character must be a letter or _ May not contain etc. May contain _

Model Command Model ; Lhs = dependent variable ; Rhs = list of independent variables $ Regress ; Lhs = income ; Rhs = ONE,age,educ,female $ ONE requests the constant term Models are REGRESS, PROBIT, POISSON, LOGIT, TOBIT, … and over 100 others. All have the same form.

The Go Button

“Submitting” Commands One line command Place cursor on that line Press “Go” button More than one line command and/or more than one command. Highlight all lines (like any text editor) Press “Go” button

Describe the data DSTAT ; Rhs = * $ Kernel Estimator KERNEL ; Rhs = income $ or KERNEL ; If[female = 1 & married = 1] ; Rhs = income ; Title=Kernel Estimator for Married Women$

Compute a Regression Use the whole sample REGRESS ; Lhs = income ; Rhs = One,age educ,female $ Use part of the sample REGRESS ; If [ married = 1] ; Lhs = income ; Rhs = one,age,educ,female $ The constant term in the model

Interactions and Nonlinearities Regress ; Lhs = loginc ; Rhs = One,age,age^2,educ, female, female*educ $

Project window shows variables Results appear in output window Commands typed in editing window Standard Three Window Operation

Model Results Regress ; Lhs = income ; Rhs =One,age,educ,female ; Res = e $ (Regression with residuals saved) Produces results: Displayed results in output Variables added to data set Matrices Named Scalars

Output Window

New Variable Regress;Lhs=income ;Rhs=One,age,educ,female ; Res = e $ ? We can now manipulate the new ? variable created by the regression. Namelist ; z = married,hhkids $ Create;esq = e*e / (sumsqdev/nreg) – 1 $ Regress; Lhs = esq ; Rhs=One,z $ Calc ; List ; LMTstHet = nreg*Rsqrd $

Saved Matrices B=estimated coefficients and VARB=estimated asymptotic covariance matrix are saved by every model command. Different model estimators save other results as well. Here, we manipulate B and VARB to compute a restricted least squares estimator the hard way. REGRESS ; Lhs = income ; Rhs=One,age,educ,female $ NAMELIST ; X = One, age,educ,female $ MATRIX ; R = [0,1,1,1] ; q = [1] ; XXI= ; m = R*B - q ; C=R*XXI*R' ; bstar = B - XXI*R'* *m ; Vbstar=VARB - ssqrd*XXI*R'* *R*XXI $ DISPLAY ; Parameters = bstar ; Labels = x ; Covariance = vbstar $

Saved Scalars Model estimates include named scalars. Linear regressions save numerous scalars. Others usually save 3 or 4, such as LOGL, and others. The program on the previous page used SSQRD saved by the regression. The LM test two pages back used NREG (the number of observations used), RSQRD (the R 2 in the most recent regression), and sumsqdev.

Save Your Work When You Exit