Panel Data Analysis User Guide

Total Page:16

File Type:pdf, Size:1020Kb

Panel Data Analysis User Guide Panel Data Analysis With Special Application to Monetary Policy Transmission Mechanism User Guide Panel Data Analysis With Special Application to Monetary Policy Transmission Mechanism Prepared By Dr Esman Nyamongo Assistant Director Research Department Central Bank of Kenya Published by COMESA Monetary Institute (CMI) First Published 2019 by COMESA Monetary Institute C/O Kenya School of Monetary Studies P.O. Box 65041 – 00618 Noordin Road Nairobi, KENYA Tel: +254 – 20 – 8646207 http://cmi.comesa.int Copyright © 2019, COMESA Monetary Institute (CMI) All rights reserved. Except for fully acknowledged short citations for purposes of research and teaching, no part of this publication may be reproduced or transmitted in any form or by any means without prior permission from COMESA. Disclaimer The views expressed herein are those of the author and do not in any way represent the official position of COMESA, its Member States, or the affiliated Institution of the Author. Typesetting and Design Mercy W. Macharia [email protected] TABLE OF CONTENTS List of Figures ............................................................................................ viii List of Tables ............................................................................................. viii List of Acronyms ........................................................................................ ix Preface ........................................................................................................... x Acknowledgements ..................................................................................... xi 1. INTRODUCTION TO PANEL DATA ANALYSIS ...................1 1.0 Introduction.......................................................................................... 1 1.1 Types of Panel Data ............................................................................ 1 1.1.1 Dated vs. Undated Panels ..................................................................... 2 1.1.2 Regular vs. Irregular Dated Panels ........................................................ 2 1.1.3 Balanced vs. Unbalanced Panels ............................................................ 2 1.2 Advantages of Panel Data .................................................................. 4 2. GETTING STARTED IN EVIEWS SOFTWARE ..................... 9 2.0 Introduction.......................................................................................... 9 2.1 Getting Started in Eviews ................................................................... 9 2.2 Data preparation in Excel ................................................................. 11 2.3 To Create an Eviews Workfile ......................................................... 11 2.3.1 Importing the data into Eviews ............................................................ 12 2.3.2 Setting up a pool in a workfile ............................................................. 14 2.3.3 Data transformations .......................................................................... 19 2.4 Viewing Data ...................................................................................... 21 2.5 Basic Plots ........................................................................................... 22 2.6 Descriptive Statistics ......................................................................... 24 3. POOLED REGRESSION ANALYSIS ................................... 29 3.0 Introduction ........................................................................................ 29 3.1 The pooled regression model ........................................................... 29 3.1.1 Limitations of Pooled regression ........................................................... 30 3.2 Estimation of the Pooled Regression Model ................................. 31 3.2.1 Illustration of pooled regression using general data ................................ 31 3.2.2 Organising data in Excel .................................................................... 32 3.2.3 Loading the data into Eviews .............................................................. 34 3.2.4 Pooled regression in Eviews.................................................................. 36 3.2.5 Pooled regressions in Eviews Environment ........................................... 37 3.3 Application of Pooled Regression Approach to Monetary Policy Transmission in Kenya .......................................................... 39 3.3.1 Case Study: Monetary Policy Transmission in Kenya: Evidence from bank level data ............................................................................ 39 3.3.2 The Model setup.................................................................................. 40 References ................................................................................................... 45 4. ERROR COMPONENT MODEL ANALYSIS: ONE WAY ERROR COMPONENTS MODEL ...................................... 47 4.0 Introduction ........................................................................................ 47 4.1 The Error Components Model Specification ................................ 47 4.1.1 One-Way Error Component Model ..................................................... 48 4.1.2 The least squares dummy variable estimation method .......................... 49 4.2 Case Study: Monetary Policy Transmission in Kenya: Evidence from bank level data ......................................................... 57 4.2.1 Within-Q-estimation method .................................................................... 59 4.3 Pooled Estimation Method Versus the Fixed Effect Method................................................................................................. 65 4.4 Case Study: Monetary Policy Transmission in Kenya: Evidence from bank level data ......................................................... 68 ~ vi ~ 4.5 Random Effects Model ..................................................................... 70 4.5.1 Testing the validity of the random effects: Hausman test ............................ 71 References ................................................................................................... 73 5. ERROR COMPONENT MODEL ANALYSIS: TWO WAY ERROR COMPONENTS MODEL ..................................... 75 5.0 Introduction ......................................................................................... 75 5.1 Estimation of the Error Components Model ................................. 76 5.1.1 Fixed effects model.................................................................................... 76 6. DYNAMIC PANEL DATA ANALYSIS ................................ 83 6.1 Arellano and Bond Estimator .......................................................... 84 6.2 Estimation of Dynamic Panel in Eviews ....................................... 85 6.3 Step by Step Implementation of the Dynamic GMM Procedure in Eviews .......................................................................... 86 References ................................................................................................... 95 7. NON-STATIONARY PANEL ANALYSIS ........................... 97 7.0 Panel Unit-root Tests ........................................................................ 97 7.1 Panel Unit-root Test with an Automatic Lag Selection Method .............................................................................................. 105 References ................................................................................................. 107 ~ vii ~ LIST OF FIGURES Figure 1: Creating a work file .............................................................................. 34 Figure 2: Getting the data into Eviews .............................................................. 35 Figure 3: Estimation in a pool object ................................................................. 36 Figure 4: Estimation result .................................................................................. 37 Figure 5: BLC based on pooled regressions analysis ....................................... 44 Figure 6: GMM Model Specification ................................................................. 93 LIST OF TABLES Table 1.1: Panel data set: Normalised bank size for 5 banks ........................... 4 Table 3.1: Raw data on bank size and loan ....................................................... 32 Table 3.2: Stacked data on bank size and loan ................................................. 33 Table 3.3: Data on size and growth rate of loan with cross-section identifiers ............................................................................................. 38 Table 4.1: Dummy variables ................................................................................ 51 Table 4.2: Demeaned data ................................................................................... 61 Table 5.1: Data ...................................................................................................... 77 Table 5.2: transformed data: ................................................................................ 77 Table 6.1: Stacked data on bank size and loan ................................................. 86 Table 6.2: The Estimation results ....................................................................... 94 ~ viii ~ LIST OF ACRONYMS ADF Augmented Dickey-Fuller AIC Akaike Information Criterion BIC Bayesian Information Criteria BLC Bank Lending Channel CBR Central Bank Rate DPD Dynamic Panel Data GDP Gross Domestic
Recommended publications
  • Module Three, Part One: Panel Data Analysis in Economic Education Research
    MODULE THREE, PART ONE: PANEL DATA ANALYSIS IN ECONOMIC EDUCATION RESEARCH William E. Becker, William H. Greene and John J. Siegfried* As discussed in Modules One and Two, most of the empirical economic education research is based on a “value-added,” “change-score” or a “difference-in-differences” model specifications in which the expected improvement in student performance from a pre-program measure (pretest) to its post-program measurement (posttest) is estimated and studied for a cross section of subjects. Other than the fact that testing occurs at two different points in time, there is no time dimension, as seen in the data sets employed in Modules One and Two. Panel data analysis provides an alternative structure in which measurements on the cross section of subjects are taken at regular intervals over multiple periods of time.i Collecting data on the cross section of subjects over time enables a study of change. It opens the door for economic education researchers to address unobservable attributes that lead to biased estimators in cross-section analysis.ii As demonstrated in this module, it also opens the door for economic education researchers to look at things other than test scores that vary with time. This module provides an introduction to panel data analysis with specific applications to economic education. The data structure for a panel along with constant coefficient, fixed effects and random effects representations of the data generating processes are presented. Consideration is given to different methods of estimation and testing. Finally, as in Modules One and Two, contemporary estimation and testing procedures are demonstrated in Parts Two, Three and Four using LIMDEP (NLOGIT), STATA and SAS.
    [Show full text]
  • Panel Data Econometrics: Theory
    Panel Data Econometrics This page intentionally left blank Panel Data Econometrics Theory Edited By Mike Tsionas Academic Press is an imprint of Elsevier 125 London Wall, London EC2Y 5AS, United Kingdom 525 B Street, Suite 1650, San Diego, CA 92101, United States 50 Hampshire Street, 5th Floor, Cambridge, MA 02139, United States The Boulevard, Langford Lane, Kidlington, Oxford OX5 1GB, United Kingdom © 2019 Elsevier Inc. All rights reserved. No part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or any information storage and retrieval system, without permission in writing from the publisher. Details on how to seek permission, further information about the Publisher’s permissions policies and our arrangements with organizations such as the Copyright Clearance Center and the Copyright Licensing Agency, can be found at our website: www.elsevier.com/permissions. This book and the individual contributions contained in it are protected under copyright by the Publisher (other than as may be noted herein). Notices Knowledge and best practice in this field are constantly changing. As new research and experience broaden our understanding, changes in research methods, professional practices, or medical treatment may become necessary. Practitioners and researchers must always rely on their own experience and knowledge in evaluating and using any information, methods, compounds, or experiments described herein. In using such information or methods they should be mindful of their own safety and the safety of others, including parties for whom they have a professional responsibility. To the fullest extent of the law, neither the Publisher nor the authors, contributors, or editors, assume any liability for any injury and/or damage to persons or property as a matter of products liability, negligence or otherwise, or from any use or operation of any methods, products, instructions, or ideas contained in the material herein.
    [Show full text]
  • Models for Panel Data 375 Or Time-Series Settings Alone
    11 MODELS FOR§ PANEL DATA 11.1 INTRODUCTION Data sets that combine time series and cross sections are common in economics. The published statistics of the OECD contain numerous series of economic aggregates observed yearly for many countries. The Penn World Tables [CIC (2010)] is a data bank that contains national income data on 167 countries for more than 60 years. Recently constructed longitudinal data sets contain observations on thousands of individuals or families, each observed at several points in time. Other empirical studies have examined time-series data on sets of firms, states, countries, or industries simultaneously. These data sets provide rich sources of information about the economy. The analysis of panel data allows the model builder to learn about economic processes while accounting for both heterogeneity across individuals, firms, countries, and so on and for dynamic effects that are not visible in cross sections. Modeling in this context often calls for complex stochastic specifications. In this chapter, we will survey the most commonly used techniques for time-series—cross-section (e.g., cross-country) and panel (e.g., longitudinal)—data. The methods considered here provide extensions to most of the models we have examined in the preceding chapters. Section 11.2 describes the specific features of panel data. Most of this analysis is focused on individual data, rather than cross-country aggregates. We will examine some aspects of aggregate data modeling in Section 11.10. Sections 11.3, 11.4, and 11.5 consider in turn the three main approaches to regression analysis with panel data, pooled regression, the fixed effects model, and the random effects model.
    [Show full text]
  • What Are Panel Data? Panel Data Are a Type of Longitudinal Data, Or Data Collected at Different Points in Time
    Introduction to Regression Models for Panel Data Analysis Indiana University Workshop in Methods October 7, 2011 Professor Patricia A. McManus Panel Data Analysis October 2011 What are Panel Data? Panel data are a type of longitudinal data, or data collected at different points in time. Three main types of longitudinal data: Time series data. Many observations (large t) on as few as one unit (small N). Examples: stock price trends, aggregate national statistics. Pooled cross sections. Two or more independent samples of many units (large N) drawn from the same population at different time periods: o General Social Surveys o US Decennial Census extracts o Current Population Surveys* Panel data. Two or more observations (small t) on many units (large N). o Panel surveys of households and individuals (PSID, NLSY, ANES) o Data on organizations and firms at different time points o Aggregated regional data over time This workshop is a basic introduction to the analysis of panel data. In particular, I will cover the linear error components model. WIM Panel Data Analysis October 2011| Page 1 Why Analyze Panel Data? We are interested in describing change over time o social change, e.g. changing attitudes, behaviors, social relationships o individual growth or development, e.g. life-course studies, child development, career trajectories, school achievement o occurrence (or non-occurrence) of events We want superior estimates trends in social phenomena o Panel models can be used to inform policy – e.g. health, obesity o Multiple observations on each unit can provide superior estimates as compared to cross-sectional models of association We want to estimate causal models o Policy evaluation o Estimation of treatment effects WIM Panel Data Analysis October 2011| Page 2 What kind of data are required for panel analysis? Basic panel methods require at least two “waves” of measurement.
    [Show full text]
  • A Primer for Panel Data Analysis by Robert A. Yaffee September 2003
    A Primer for Panel Data Analysis by Robert A. Yaffee September 2003 Updated April 2005 Acknowledgement: I would like to thank Kate Monahan and Jill Hochberg of NYU ITS, and Chunling Lu of Harvard University for their invaluable editorial assistance. Introduction Panel data analysis is an increasingly popular form of longitudinal data analysis among social and behavioral science researchers. A panel is a cross-section or group of people who are surveyed periodically over a given time span. First, we will consider a small sample of panel data analytic applications in the social sciences. Then we will address the data structure for panel analysis. Principal models of panel analysis will be summarized, along with some of their relative advantages and disadvantages. We will discuss a test to determine whether to use fixed or random effects models. After a synopsis of methods of estimations tailored to different situations, we will conclude with a brief discussion of popular software capable of performing panel analysis. Some Applications of Panel Analysis Panel data analysis is a means of studying a particular subject within multiple sites, periodically observed over a defined time frame. Within the social sciences, panel analysis has enabled researchers to undertake longitudinal analyses in a wide variety of fields. In economics, panel data analysis is used to study the behavior of firms and wages of people over time. In political science, it is used to study political behavior of parties and organizations over time. It is used in psychology, sociology and health research to study characteristics of groups of people followed over time.
    [Show full text]