Setup a two-variable regression model

Assignment Help Econometrics
Reference no: EM13149824

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

Reference no: EM13149824

Questions Cloud

Analytical procedures for the sales : How are the tests of controls, substantive tests of transactions, and analytical procedures for the sales and collection cycle, payroll and personnel cycle, and acquisition and payment cycle similar? How do the cycles differ?
What would be freezing point of 0.210 m solution of octane : Benzene freezes at 5.45 oC. The Kf for benzene is - 5.07 oC/m. What would be the freezing point of a 0.210 m solution of octane in benzene?
When a war breaks out in the middle east price of gasoline : When a war breaks out in the Middle East, the price of gasoline rises, and the price of used Cadillac falls.
Explain what are the equilibrium partial pressures : What are the equilibrium partial pressures? Nitrogen dioxide decomposes according to the reaction given below where Kp = 4.48 x10^-13
Setup a two-variable regression model : 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.
Beginning cash balance : In 2010, Bombay Corporation had cash receipts of $21,000 and cash disbursements of $12,000. Their ending cash balance at December 31, 2010 was $33,000. What was their beginning cash balance?
Discussing factors to consider when choosing accounting : Prepare a memo discussing the factors to consider when choosing accounting software. Be sure to discuss why each factor is important, as well as the risks of not considering each factor.
Stakeholder position in light of the facts of case : Write a 1,050- to 1,400-word paper you assume the role of Kardell's CEO. As CEO, critically examine each stakeholder position in light of the facts of the case.
Explain reactant becomes oxidized during the reaction : Balance the following equation in basic solution. indicate which reactant becomes oxidized during the reaction, which reactant becomes reduced

Reviews

Write a Review

Econometrics Questions & Answers

  Discussion on kohls

Select three macroeconomic indicators that you feel have greatest impact on operations or considering for Kohls. Discuss and describe why they are important to current or future situation of your organization.

  Solve the forecast model

Solve the forecast model

  Determine how many workers company should hire

The local operations manager for IRS must decide whether to employee 1, 2, or 3 temporary employees. He determine that net revenues will vary with how well taxpayers comply with new tax code.

  Regression equation for determining market value of houses

Following is a multiple regression in which dependent variable is market value of houses and independent variables are the age of the house and square footage of the house.

  Computing regression lines and coefficient of squares

Computing regression lines, coefficient of squares, graphing dependent and independent variables using square footage vs home sales.

  How the reserve bank of australia has dealt with crisis

"Financial crises, such as the recent ‘sub-prime' credit crisis, have significant disruptive effects on the flow of funds in the financial system". With the aid of examples, show how the Reserve Bank of Australia has dealt with the 2008 Global Fin..

  Coal prices moved in sympathy with oil prices

Coal prices moved in sympathy with oil prices, with the result that coal companies earned pure economic profits. Since coal is a homogeneous good and the market is competitive, what happend in this market.

  Maximizing total output vs output per worker

You have given the following data about the amount your firm can manufacture per day given the number of workers it hires.

  Estimate the regression model

A security analyst specializing in stocks of motion picture industry the relation in number of movie theater tickets sold in December and the annual level of earnings in motion picture industry.

  Concentration rate and the herfindahl-hirschman index

If a corporation operates in a highly competitive industry and competes against many other companies. In the last some years, many new companies have entered the industry and firm now earns a return on investment very close to prevailing interest rat..

  Estimate the value of for sales level

Over the last one year the Four Winds Novelty Corporation has recorded its internet sales and its monthly total variable costs for a particular novelty item as demonstrate in the following table.

  What is the interpretation of the coefficient on ca

What is the effect of the age of the house on its price and calculate the goodness of fit of the equation and What is the interpretation of the coefficient on CA?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd