Multiple Regression Model: Learning to Interpret Coefficients and Test Hypotheses, Lab Reports of Introduction to Econometrics

In this computer lab session, students will learn about multiple regression models and how to interpret the coefficients, test hypotheses about individual coefficients, and calculate the proportion of variation explained. The session covers both a simple and a logarithmic model.

Typology: Lab Reports

Pre 2010

Uploaded on 08/18/2009

koofers-user-eup
koofers-user-eup 🇺🇸

9 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Computer lab for March 13
Topic: Multiple regression model
In today’s class, you will learn about the multiple regression model and how to
interpret the coefficients. You need to know how to get variance and covariance
matrix for the estimated coefficients, You also need to know how to test hypotheses
about single coefficients in a multiple regression model.
5.8
The regression model:
etrendqualquantprice ***
4321
a) What signs would you expect on the coefficients
2
,
3
and
4
b) Estimate the equation and interpret the coefficients. Did the sign turn out as
you expected?
regress price quant qual trend
c) What proportion of variation in cocaine price is explained jointly by variation
in quantity, quality and time?
It is just R2, you can get it after you run the regression
d) Test the null hypothesis that the greater the number of sales, the lower the
price.
0:1
0:0
2
2
H
H
scalar t2=(_b[quant]-0)/_se[quant]
scalar tc=invttail(52,0.05)
scalar list t2 tc
If you do not like defining a scalar
You can use the following command
Display (_b[quant]-0)/_se[quant]
display invttail(52,0.05)
e) Test the following hypothesis:
0:1
0:0
3
3
H
H
scalar t3=(_b[qual]-0)/_se[qual]
scalar tc=invttail(52,0.05)
scalar list t3 tc
If you do not like defining a scalar
You can use the following command
Display (_b[qual]-0)/_se[qual]
display invttail(52,0.05)
f) What is the average annual change in the cocaine price? Can you suggest why
price might be changing in this direction?
5.9
The model:
pf2

Partial preview of the text

Download Multiple Regression Model: Learning to Interpret Coefficients and Test Hypotheses and more Lab Reports Introduction to Econometrics in PDF only on Docsity!

Computer lab for March 13

Topic: Multiple regression model

In today’s class, you will learn about the multiple regression model and how to

interpret the coefficients. You need to know how to get variance and covariance

matrix for the estimated coefficients, You also need to know how to test hypotheses

about single coefficients in a multiple regression model.

The regression model:

price   1   2 * quant   3 * qual   4 * trende

a) What signs would you expect on the coefficients ^2 , ^3 and  4

b) Estimate the equation and interpret the coefficients. Did the sign turn out as

you expected?

regress price quant qual trend

c) What proportion of variation in cocaine price is explained jointly by variation

in quantity, quality and time?

It is just R^2 , you can get it after you run the regression

d) Test the null hypothesis that the greater the number of sales, the lower the

price.

2 2 

H

H

scalar t2=(_b[quant]-0)/_se[quant] scalar tc=invttail(52,0.05) scalar list t2 tc If you do not like defining a scalar You can use the following command Display (_b[quant]-0)/_se[quant] display invttail(52,0.05)

e) Test the following hypothesis:

3 3 

H

H

scalar t3=(_b[qual]-0)/_se[qual] scalar tc=invttail(52,0.05) scalar list t3 tc If you do not like defining a scalar You can use the following command Display (_b[qual]-0)/_se[qual] display invttail(52,0.05)

f) What is the average annual change in the cocaine price? Can you suggest why

price might be changing in this direction?

The model:

ln qb   1   2 *ln( pb )  3 *ln( pl )  4 *ln( pp )  5 *ln( in ) e

a) What sign do you expect on each of the coefficients?

b) Estimate the coefficients by OLS, interpret the results. Do they seem

reasonable?

regress QB IN PB PL PP

c) Compute and interpret the estimated covariance matrix for the OLS estimator

and the standard error.

estat vce

Or use menu, StatisticsPostestimationReports and Statistics, choose “covariance

matrix estimates”.

d) Compute 95% interval estimate for each of the parameters.

You can get the confidence interval after you run the regression.