Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Econometrics Expert

Let's start by loading the data file included with this empirical exercise into Gretl. The filename is "gretl_ex2_gasoline.xls". First, save this file to your computer being sure to keep it in .xls format. Then import this data file into Gretl using the instructions in Empirical Exercise 1 (if you have forgotten). Gretl will recognize the first column as the year variable, and tell you so; that's okay, click "close".

We have loaded time series data related to the U.S. gasoline market from 1953 - 2004. The variable definitions are as follows:

• Year = Year, 1953-2004
• GasExp = total U.S. gasoline expenditure in billions of U.S. dollars
• Pop = U.S. total population in thousands
• GasP = Price index for gasoline
• Income = Per capita disposable income
• PNC = Price index for new cars
• PUC = Price index for used cars
• PPT= Price index for public transportation
• PD = Aggregate price index for consumer durables
• PN = Aggregate price index for consumer nondurables
• PS = Aggregate price index for consumer services

Our first task is to generate a new variable. We want to calculate real per capita gasoline expenditures, so

RealGasCap = GasExp/ Pop * GasP

In Gretl this can be done by clicking, Add > Define New Variable. You will see the following window

122_Setup a two-variable regression model.png

Enter the following formula: RealGasCap = GasExp/(Pop*Gasp), and click OK. You will see that new variable has been generated and is listed in your variable list.

OLS Estimation of Regression Coefficients Using Gretl

I will quickly show you how to run an OLS regression in Gretl, and then I'll ask you to run a few more regressions and interpret the results.

First, click Model > Ordinary Least Squares. The following window will appear:

1581_Setup a two-variable regression model1.png

Click on "RealGasCap" so that it is highlighted then click the blue arrow to select per capita gasoline expenditures as the dependent variable (Y). Next, click on "Gasp" and click on the green arrow to select the gasoline price index as the independent variable (X). Gretl
automatically includes a constant term in the regression ("const"). Once you have done this, click OK.

So, we have estimated the following two-variable model:

RealGasCapt = β1 + β2Gaspt + ut

What is your expectation about the sign of β2? According to microeconomic theory, the law of demand tells us that β2 should be negative. An increase in the price of gasoline will lead to a decrease in the quantity demanded of gasoline (real per capita expenditures).

Let's look at the results to find out: (I copied (by right-clicking and selecting "copy") the Gretl results in RTF (MS Word) format and pasted them below - this seems to be the best option.)

1670_Setup a two-variable regression model2.png

What happened? We obtain a statistically significant slope coefficient equal to 0.000000028, implying that a one unit increase in the gasoline price index will lead to a 0.000000028 billion dollar increase in real per capita gasoline expenditures (recall that expenditures are measured in billions of dollars). So in other words, a one unit increase in in the gasoline price index will lead to a 28 dollar increase in real per capita gasoline expenditures. We can also see the calculated  (coefficient of determination) is equal to 0.6658 meaning that around 67% of the variation in real per capita gasoline expenditures is explained by the gasoline price index.

Have we just proven that the law of demand does not hold for gasoline? Not so fast. First of all, while this result is statistically significant; is it economically significant? Obviously, there are many other things that may be impacting the demand for gasoline besides its own price. So we will estimate this model in a multiple regression context and estimate different demand elasticities on Homework 3; but for now, let's just run a few more two-variable regressions to develop our intuition about some of these expected relationships.

NOTE that the price variables included in this data set are price indices, NOT the actual prices of the various commodities over time! In other words, the price variables are NOT measured in dollars. Since they are indices, they have no units; but they do tell us how prices are changing over time.

EXERCISES:

1. Setup a two-variable regression model (i.e. write down the PRF) to examine the impact of per capita disposable income on real per capita gasoline expenditures.

a. Based off your know knowledge of microeconomic theory, what are your expectations about the sign of β2? Why?
b. Estimate the model. Display your regression results.

c. Is β2 statistically significant? How do you know?

d. Comment on the sign of β2. Does this align with your expectations? Provide an interpretation of the slope coefficient .

2. Setup a two-variable regression model (i.e. write down the PRF) to examine the impact of the price of public transportation on real per capita gasoline expenditures.

a. Based off your knowledge of microeconomic theory, what are your expectations about the sign of β2? Why?

b. Estimate the model. Display your regression results.

c. Is β2 statistically significant? How do you know?

d. Comment on the sign of β2. Does this align with your expectations? Provide an interpretation of the slope coefficient β2.

Attachment:- Empirical-exercise-2-Econometrics.xlsx

Econometrics, Economics

  • Category:- Econometrics
  • Reference No.:- M9439967

Have any Question?


Related Questions in Econometrics

Monte carlo exercisein order to illustrate the sampling

Monte Carlo Exercise In order to illustrate the sampling theory for the least squares estimator, we will perform a Monte Carlo experiment based on the following statistical model and the attached design matrix y = Xβ + e ...

Basic econometrics research report group assignment -this

Basic Econometrics Research Report Group Assignment - This assignment uses data from the BUPA health insurance call centre. Each observation includes data from one call to the call centre. The variables describe several ...

Question - consider the following regression model for i 1

Question - Consider the following regression model for i = 1, ..., N: Yi = β1*X1i + β2*X2i + ui Note that there is no intercept in this model (so it is assumed that β0 = 0). a) Write down the least squares function minim ...

Economics and quantitative analysis linear regression

Economics and Quantitative Analysis Linear Regression Report Assignment - Background - In your role as an economic analyst, you have been asked the following question: how much does education influence wages? The Excel d ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As