Ramb&Reitzig – Non Linear Functions in Panel Data Models Non Linear Functions in Panel Data Models - Algorithm Using Stata Presentation at the Stata User.

Slides:



Advertisements
Similar presentations
Bayesian Learning & Estimation Theory
Advertisements

Alexander Statnikov1, Douglas Hardin1,2, Constantin Aliferis1,3
Efficiency and Productivity Measurement: Bootstrapping DEA Scores
1 Efficiency and Productivity Measurement: Multi-output Distance and Cost functions D.S. Prasada Rao School of Economics The University of Queensland Australia.
Impact analysis and counterfactuals in practise: the case of Structural Funds support for enterprise Gerhard Untiedt GEFRA-Münster,Germany Conference:
Introduction Describe what panel data is and the reasons for using it in this format Assess the importance of fixed and random effects Examine the Hausman.
Puzzles in Financial Development and Economic Growth by Gianluigi Giorgioni and Binam Raj Ghimire Banks Development and Economic Growth Negative & significant.
Econometric Analysis of Panel Data Panel Data Analysis – Random Effects Assumptions GLS Estimator Panel-Robust Variance-Covariance Matrix ML Estimator.
Making Inferences about Causality In general, children who watch violent television programs tend to behave more aggressively toward their peers and siblings.
David Bell University of Stirling
PANEL DATA 1. Dummy Variable Regression 2. LSDV Estimator
GRA 5917 Public Opinion and Input Politics. Lecture September 16h 2010 Lars C. Monkerud, Department of Public Governance, BI Norwegian School of Management.
Panel Data Models Prepared by Vera Tabakova, East Carolina University.
Data organization.
B – Design B(i) How the solution solves the problem In this section you specify exactly how your chosen software will meet the requirements. For example.
On Dynamic Load Balancing on Graphics Processors Daniel Cederman and Philippas Tsigas Chalmers University of Technology.
LIUQING WANG DO STOCK PRICE FULLY REFLECT INFORMATION IN ACCRUALS AND CASH FLOWS ABOUT FUTURE EARNINGS RICHARD G. SLOAN Oct 2013 University of Pennsyvania.
Lecture 8 (Ch14) Advanced Panel Data Method
1 FE Panel Data assumptions. 2 Assumption #1: E(u it |X i1,…,X iT,  i ) = 0.
Econ Prof. Buckles1 Welcome to Econometrics What is Econometrics?
Economics 20 - Prof. Anderson
Chapter 8 Nonlinear Regression Functions. 2 Nonlinear Regression Functions (SW Chapter 8)
Advanced Panel Data Methods1 Econometrics 2 Advanced Panel Data Methods II.
1Prof. Dr. Rainer Stachuletz Fixed Effects Estimation When there is an observed fixed effect, an alternative to first differences is fixed effects estimation.
The Role of Financial System in Economic Growth Presented By: Saumil Nihalani.
Sustainability of economic growth and inequality in incomes distribution Assistant, PhD, BURZ R ă zvan-Dorin West University of Timisoara, Romania Lecturer,
© John M. Abowd 2005, all rights reserved Modeling Integrated Data John M. Abowd April 2005.
Prof. Dr. Rainer Stachuletz 1 Welcome to the Workshop What is Econometrics?
Empirical Estimation Review EconS 451: Lecture # 8 Describe in general terms what we are attempting to solve with empirical estimation. Understand why.
Economics 20 - Prof. Anderson1 Fixed Effects Estimation When there is an observed fixed effect, an alternative to first differences is fixed effects estimation.
Investments in HIV and AIDS are paying off by reducing incidence and mortality Carlos Avila, MD, ScD. Abt Associates, Washington DC Melbourne 22 July 2014.
The Paradigm of Econometrics Based on Greene’s Note 1.
Part 1: Introduction 1-1/22 Econometrics I Professor William Greene Stern School of Business Department of Economics.
Lecture 2: Key Concepts of Econometrics Prepared by South Asian Network on Economic Modeling Reference Introductory Econometrics: Jeffrey M Wooldridge.
Part 5: Random Effects [ 1/54] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.
EE325 Introductory Econometrics1 Welcome to EE325 Introductory Econometrics Introduction Why study Econometrics? What is Econometrics? Methodology of Econometrics.
Determinants of Credit Default Swap Spread: Evidence from the Japanese Credit Derivative Market.
Panel Data Models ECON 6002 Econometrics I Memorial University of Newfoundland Adapted from Vera Tabakova’s notes.
Generalised method of moments approach to testing the CAPM Nimesh Mistry Filipp Levin.
Panel Data Models ECON 6002 Econometrics Memorial University of Newfoundland Adapted from Vera Tabakova’s notes.
Analysis of Experimental Data III Christoph Engel.
Lecture 1 Introduction to econometrics
Topics on Econometric Models and Applications with R Richard Lu Department of Risk Management and Insurance, Feng-Chia University.
1 Panel Data Analysis in STATA Binam Ghimire. Learning Objectives  Importing file into STATA  Running panel data regression  Run fixed, random effect.
High Speed Heteroskedasticity Review. 2 Review: Heteroskedasticity Heteroskedasticity leads to two problems: –OLS computes standard errors on slopes incorrectly.
Econ 326 Prof. Mariana Carrera Lab Session X [DATE]
Nonlinear Regression Functions
Vera Tabakova, East Carolina University
Chapter 15 Panel Data Models.
Linear Regression with One Regression
Vera Tabakova, East Carolina University
The CAPM is a simple linear model expressed in terms of expected returns and expected risk.
Microeconometric Modeling
Author: Konstantinos Drakos Journal: Economica
PANEL DATA Development Workshop.
The Nature of Econometrics and Economic Data
David Bell University of Stirling
Corporate governance and the stock liquidity in Australia
PANEL DATA 1. Dummy Variable Regression 2. LSDV Estimator
Non Linear Functions in Panel Data Models
Sven Blank (University of Tübingen)
American Housing Survey III
Microeconometric Modeling
Migration and the Labour Market
Microeconometric Modeling
Economics 20 - Prof. Anderson
Chengyaun yin School of Mathematics SHUFE
Panel Stochastic Frontier Models with Endogeneity in Stata
Ordinary Least Square estimator using STATA
Global Market Inefficiencies
Presentation transcript:

Ramb&Reitzig – Non Linear Functions in Panel Data Models Non Linear Functions in Panel Data Models - Algorithm Using Stata Presentation at the Stata User Group Meeting in Berlin 8. April 2005 Fred Ramb and Markus Reitzig

Ramb&Reitzig – Non Linear Functions in Panel Data Models Theoretical models often are nonlinear e.g. in economics the well known q-model Micro panel data NLLS estimator is biased Fixed effects estimator is efficient Standard software package is not available Overview

Ramb&Reitzig – Non Linear Functions in Panel Data Models Motivation Theory q Model Linearized Fixed Effects Estimator Stata Code Pooled Cross Sectional Nonlinear Least Squares Panel Data Random Effects and Fixed Effects Empirical Results Summary Overview

Ramb&Reitzig – Non Linear Functions in Panel Data Models Cobb-Douglas Production function Theory (I): q Model Logarithmic transformation With for small x:

Ramb&Reitzig – Non Linear Functions in Panel Data Models Theory (II): Algorithm with: Logarithmic transformation With for larger x, linearized version is estimated:

Ramb&Reitzig – Non Linear Functions in Panel Data Models program nlacc if "`1'" =="?" { global S_1 "B_0 X1 C1 C2 C3 T1 T2 T3 T4 T5" global B_0= 0 global X1= 0 global C1= 0 global C2= 0 global C3= 0 global T1= 0 global T2= 0 global T3= 0 global T4= 0 global T5= 0 exit } replace `1'=$B_0 + ln(1+($X1*x2)) + $C1*control1+$C2*control2 + $C3*control3 /* */ + $T1*dyear1 + $T3*dyear2 + $T3*dyear3 + $T4*dyear4 + $T5*dyear5 end nl acc y Stata Code: NLLS

Ramb&Reitzig – Non Linear Functions in Panel Data Models xtreg y x control1 control2 time*, fe Stata Code: Fixed Effects gen ex = _b[x] gen y_s = y - (log(1+ex*x)) gen x_s = x / (1+ (ex*x)) log off local i=1 while `i' < 50 { quietly xtreg y_s x_s control1 control2 time*, fe quietly replace ex = ex + _b[x_s] quietly replace y_s = y - (log(1+ex*x)) quietly replace x_s = x2 / (1+ (ex*x)) local i = `i' + 1 } log on replace y_s = y - (log(1+ex*x)) + (ex*(x / (1+ (ex*x)))) xtreg y_s x_s control1 control2 time*, fe

Ramb&Reitzig – Non Linear Functions in Panel Data Models xtreg y x control1 control2 time*, re gen exr = _b[x] gen y_sr = y - (log(1+exr*x)) gen x_sr = x / (1+ (exr*x) log off local i=1 while `i' < 50 { quietly replace exr = exr + _b[x_sr] quietly replace y_sr = y-(log(1+exr*x)) quietly replace x_sr = x / (1+ (exr*x)) quietly xtreg y_sr x_sr control1 control2 time*, re local i = `i' + 1 } log on replace y_sr = y-(log(1+exr*x)) + (exr*(x / (1+ (exr*x)))) xtreg y_sr x_sr control1 control2 time*, re xttest0 Stata Code: Random Effects

Ramb&Reitzig – Non Linear Functions in Panel Data Models xtreg y_s x_s control1 control2 time*, fe est store fixed xtreg y_sr x_sr control1 control2 time*, re hausman fixed Stata Code: Hausman Test

Ramb&Reitzig – Non Linear Functions in Panel Data Models Empirical Results: Dataset Sources Hoppenstedt: accounting data Datastream: stock market data Sample Consolidated financial statements Manufacturing sector Estimation Sample 2,786 observations / 676 firms (Overall) 1,463 observations / 325 firms (HGB) 532 observations / 139 firms (IAS) 791 observations / 212 firms ( US-GAAP)

Ramb&Reitzig – Non Linear Functions in Panel Data Models Empirical Results: Example 1

Ramb&Reitzig – Non Linear Functions in Panel Data Models Empirical Results: Example 2

Ramb&Reitzig – Non Linear Functions in Panel Data Models Pros Different results by estimating pooled cross sectional nonlinear least squares on the one hand and by estimating fixed effects using the algorithm on the other hand. Results using the algorithm are more efficient Summary Cons Do-File is limited to the q-model Heteroskedasticity? Robust estimation is necessary Local or global maximum? Bootstrap is necessary Dynamics? GMM is necessary

Ramb&Reitzig – Non Linear Functions in Panel Data Models Thank you for your attention

Ramb&Reitzig – Non Linear Functions in Panel Data Models Appendix (I)

Ramb&Reitzig – Non Linear Functions in Panel Data Models

Appendix (III)