Gretl Workshop 4B. Model Specification Review of gretl procedures

Similar documents
Estimating the Elasticity of the Demand for Gasoline

SAARC Training Workshop Program Identification, Comparison and Scenario Based Application of Power Demand/ Load Forecasting Tools

Topic 7: Demand and Elasticity

Problem set 3: hypothesis testing and model selection

Beneficiary Change. To gain an understanding on how to add or change any type of beneficiaries by recording the following in HRIS.

PUBLIC GOODS PROVISION IN RURAL AREA: CASE FROM ZHEJIANGPROVINCE OF CHINA. Pan Weiguang 1 1. INTRODUCTION

Finance Manager: Human Resources

Chapter 3. Table of Contents. Introduction. Empirical Methods for Demand Analysis

A Research Note on Correlation

The Dummy s Guide to Data Analysis Using SPSS

Tutorial #7: LC Segmentation with Ratings-based Conjoint Data

Semester 2, 2015/2016

Chapter 5 Regression

Latent Growth Curve Analysis. Daniel Boduszek Department of Behavioural and Social Sciences University of Huddersfield, UK

The United States alone has less than 5% of the

THE FACTORS DETERMINING THE QUANTITY OF TAXIES - AN EMPIRICAL ANALYSIS OF CITIES IN CHINA

Module 7: Multilevel Models for Binary Responses. Practical. Introduction to the Bangladesh Demographic and Health Survey 2004 Dataset.

Fundamentals of Antitrust Economics Series: Econometrics

SCENARIO: We are interested in studying the relationship between the amount of corruption in a country and the quality of their economy.

Does price shock in electricity sector correct the consumption. pattern in Iran?

Microsoft Office Project 2010 Basic Course 01: Getting Started

LIR 832: MINITAB WORKSHOP

Econometric Analysis Dr. Sobel

SPSS 14: quick guide

FORECASTING THE GROWTH OF IMPORTS IN KENYA USING ECONOMETRIC MODELS

Hierarchical Linear Modeling: A Primer 1 (Measures Within People) R. C. Gardner Department of Psychology

SPSS Guide Page 1 of 13

Spreadsheets in Education (ejsie)

Vacation/Sick/Holiday Time in TimeSaver

How to Use Excel for Regression Analysis MtRoyal Version 2016RevA *

efinance Plus Instructions

Product: ODTView. Subject: Basic Overview of Delivery and Orders Tab. Version: December 6, Distribution: Customer

*Returning Students your password will remain as the same password that you used during your last rotation at Salem Health

A Production Problem

DETECTING AND MEASURING SHIFTS IN THE DEMAND FOR DIRECT MAIL

Upon selecting Add New Employee, a screen will pop-up that prompts you to search for your employee.

Fall 1998 Econ 472 Roger Koenker. Lecture The gasoline tax and therefore the economics of gasoline demand continues to be an

Shopping Cart: Create an Independent Contractor Cart

Introduction to Labour Economics. Professor H.J. Schuetze Economics 370. What is Labour Economics?

THE EFFECT OF MACROECONOMIC VARIABLE TOWARDS PURCHASING POWER PARITY

Opening SPSS 6/18/2013. Lesson: Quantitative Data Analysis part -I. The Four Windows: Data Editor. The Four Windows: Output Viewer

WINDOWS, MINITAB, AND INFERENCE

EJD Portal How-To Guide

Finance & Banking Studies

UNITY CRM INTEGRATION AGILE CRM

The Relationship between Foreign Direct Investment, Exports and Economic Growth in SIDS: Evidence from Saint Lucia

R-SQUARED RESID. MEAN SQUARE (MSE) 1.885E+07 ADJUSTED R-SQUARED STANDARD ERROR OF ESTIMATE

i. How do you measure the value of a firm? What is the likely impact of further increases in global oil prices on a firm's value? Explain.

= = Intro to Statistics for the Social Sciences. Name: Lab Session: Spring, 2015, Dr. Suzanne Delaney

Gasoline Consumption Analysis

Chapter 1. An Introduction to Econometrics. 1.1 Why Study Econometrics?

EXERCISE 5. THE MARKET FOR GASOLINE (Not to be handed in)

DEVELOPMENT OF SUPPLY AND DEMAND FUNCTIONS OF POTATO CROP

FIREHOUSE REPORT INSTRUCTIONS

Techniques for Understanding Consumer Demand and Behavior

Timesheets. Printing Timesheets for a Department

Using NPA Works. Prepared by Matthew Chance Applied Behavioral Learning Services Page 1! of 17!

Topic: Customers and Customer Groups

Research on Calculating and Analyzing the Contribution Rate of Science and Technology Progress Jie LIU1,a,*, Ping-Ping TANG2,b,Yi-Yuan HU2,c

Problem Points Score USE YOUR TIME WISELY SHOW YOUR WORK TO RECEIVE PARTIAL CREDIT

Testing the Predictability of Consumption Growth: Evidence from China

The US dollar exchange rate and the demand for oil

FOLLOW-UP NOTE ON MARKET STATE MODELS

CHAPTER 8 T Tests. A number of t tests are available, including: The One-Sample T Test The Paired-Samples Test The Independent-Samples T Test

DIS 300. Quantitative Analysis in Operations Management. Instructions for DIS 300-Transportation

Order Entry Freight Tables. Setting Up Freight Items

ARIMA LAB ECONOMIC TIME SERIES MODELING FORECAST Swedish Private Consumption version 1.1

Hiring a Part Time Graduate Assistant

Infor HR Specialized Service Provider Self-Appraisal Guide

! # %& () +,. /! 0, (8 +, + & ( &

AcaStat How To Guide. AcaStat. Software. Copyright 2016, AcaStat Software. All rights Reserved.

Applicant Reviewer Quick Guide

ARSTAF Day at the Pre-Command Course Army G-8 LTG James O. Barclay III

Chapter 10 Regression Analysis

Getting Started with HLM 5. For Windows

= = Name: Lab Session: CID Number: The database can be found on our class website: Donald s used car data

Tutorial #3: Brand Pricing Experiment

APPRAISAL OF POLICY APPROACHES FOR EFFECTIVELY INFLUENCING PRIVATE PASSENGER VEHICLE FUEL CONSUMPTION AND ASSOCIATED EMISSIONS.

Before you work in Kronos, you should have a Payroll Calendar available to you. From the Ferris

Managers Practice about Demand Estimation and Demand Forecasting in Pakistan: An Analysis

Managerial Decision-Making Introduction To Using Excel In Forecasting

Distinguish between different types of numerical data and different data collection processes.

EMPLOYEE SELF-SERVICE ANNUAL ENROLLMENT INSTRUCTIONS

Empirical analysis of institutional constraints influence on new-type urbanization

Applying Online with Conway Corp

SUPPLY MANAGEMENT GUIDE INDEPENDENCE MEDICAL

Creating Attendance Incident Detail Report

LECTURE 17: MULTIVARIABLE REGRESSIONS I

Step by step guide for cells without overlapping replication cycles

Bricks'n'Tiles. Easy Creation of Architectural Textures Tutorial Creating a seamless brick texture

WorldShip Set Up Automated Hands-Off Shipping

Chapter 8.B. Food and Agricultural Data Base: Local Modifications. Robert A. McDougall

CHAPTER 10 REGRESSION AND CORRELATION

BeAScout Unit Leader Pin Update Instructions A Step-by-Step Guide. BeAScout Recruiting on the Web

A Review of Road Transportation Value

Multiple Choice (#1-9). Circle the letter corresponding to the best answer.

CHAPTER FIVE CROSSTABS PROCEDURE

Aurangzeb Zeb. Climate Change and Economic Growth in Nordic Countries: An application of smooth coefficient semi-parametric approach

The Role of Education for the Economic Growth of Bulgaria

Fuel Switching from Coal to Gas: The Impact of Coal Stockpiling at U.S. Coal-fired Plants

Transcription:

Gretl Workshop 4B Model Specification Review of gretl procedures

Data for Gasoline Demand Fct Start gretl Click on File/Open data/sample file and choose greene tab double click on Greene7_8 data file. Look at variable definitions and consider which variables go into a demand function.

Theoretical Specification What are the usual variables in a demand function? What role might the price of cars and the price of public transportation play in the demand model? How might the aggregate price indexes Pd, Pn, Ps enter into a model for the demand for gasoline?

Empirical Specification How should population enter into the model? Would you prefer a model that is linear or nonlinear in the variables? Why?

Variable Transformations Define real (relative) price variables. Use Add/define new variable and enter the formulas (pay attention to upper case/lower case letters) Pncr=Pnc/Pd Pucr=Puc/Pd Pgr=Pgr/Pn Pptr=Ppt/Ps

Variable Transformations Define per capita variables for gasoline consumption and income. Use Add/define new variable and enter the formulas, Gpc=G/Pop Ypc=Y/Pop Use Add/time trend to create time

Variable Transformations Take logs of all variables you have created (Gpc, Ypc, Pgr, Pncr, Pucr, Pptr). Hold down the ctrl key and click on all six of these variables to highlight them. Choose Add/logs of selected variables. This creates l_gpc, etc. to indicate the log of Gpc.

Save your data Choose File/Save data/save This will save all new and original variables in a file named greene7-8, but in the user subdirectory.

Regressions Estimate the double-log demand model Choose Model/ordinary least squares and l_gpc is dependent variable (double click on this variable to set it as the default dependent variable) l_pgr, l_pncr, l_pucr, l_pptr, l_ypc are explanatory variables You can use ctrl-click to select all five explanatory variables at once.

Interpretation What is own price elasticity of demand? What is income elasticity of demand? What are cross price elasticities with respect to new cars, used cars, and public transportation? What signs do you expect for these cross price elasticities and why? Test the significance of each elasticity using 5% one-tailed tests.

Model 1: OLS estimates using the 36 observations 1960-1995 Dependent variable: l_gpc VARIABLE COEFFICIENT STDERROR T STAT P-VALUE const -5.62858 0.511035-11.014 <0.00001 *** l_ypc 1.66562 0.117736 14.147 <0.00001 *** l_pgr -0.209770 0.0352978-5.943 <0.00001 *** l_pptr -0.0317361 0.0746973-0.425 0.67397 l_pncr -0.301922 0.146579-2.060 0.04819 ** l_pucr -0.0864846 0.0509702-1.697 0.10009 Unadjusted R-squared = 0.9779 Adjusted R-squared = 0.974217 F-statistic (5, 30) = 265.494 (p-value < 0.00001)

Diagnostics From the output window choose Graphs/fitted,actual plot/against time Notice how the model tracks the period of oil price shocks (1974 and 1979-1981) From the output window choose Tests/normality of residual. Do the residuals pass the Jarque-Bera test reported in the upper left corner? (What is the null hypothesis; what is the p-value?)

Another Model From the main gretl window choose Model/ordinary least squares and add time as another explanatory variable (dependent variable is still l_gpc). What is the theoretical reason for including time? What could time be approximating? How do you interpret the coefficient estimate on this variable (.003)?

Back to original model In main window go to Model/Ordinary least squares, and remove time from the regression. Then ok. Minimize, but do not close, this output window.

Importance of theory in model specification Based on theory of the consumer, all prices and income were put in real terms. Theory of individual consumer suggests per capita form. Suppose we had ignored theory and just used nominal variables and not per capita forms?

Model with raw data (logs) In main gretl window, use ctrl-click to highlight G, Y, Pg, Pnc, Puc, Ppt, Pop Choose Add/logs of selected variables. Go to Model/ordinary least squares and choose l_g as dependent, and l_y, l_pg, l_pnc, l_puc, l_ppt, l_pop as independent variables (should be last 6 variables in list)

Model 2: OLS estimates using the 36 observations 1960-1995 Dependent variable: l_g VARIABLE COEFFICIENT STDERROR T STAT P-VALUE const -9.14555 1.84637-4.953 0.00003 *** l_pg -0.0926626 0.0301961-3.069 0.00463 *** l_y 1.98770 0.202518 9.815 <0.00001 *** l_pnc 0.105085 0.138465 0.759 0.45402 l_puc -0.0997882 0.0743772-1.342 0.19012 l_ppt -0.0333806 0.0832224-0.401 0.69129 l_pop -0.641761 0.614642-1.044 0.30506 Unadjusted R-squared = 0.988756

Compare the two models Which model has more statistically significant elasticities? Are there any important differences in the point estimates of particular elasticities? What do these comparisons say about the use of economic theory in model specification?

Lessons Use economic theory to choose exact definitions of variables Demand theory is in real terms, so that prices and incomes should be deflated appropriately