Week 8 - Workshop Exercises
Week 8 - Workshop Exercises
Goals
By the end of this workshop, you should be able to do the following:
Explain Heteroskedasticity
Perform the Breusch-Pagan Test
Perform the White Test
Tools
You need to bring the following to class
Background
The data used in this exercise were obtain from televised episodes of Dear or No Deal. The
period covered is from 2 Febuary 2004 to 25 November 2005. The 232 games do not include
special prizes or ‘super cases’.
The game starts by randomly selecting one contestant among 156 people sitting in stands.
There are 26 briefcases each one having different prize money. The chosen contestant is
given a certain number of cases and guess the amount contained in each one. A ‘bank offer’
is made to the contestant when they have consecutively guessed the wrong amounts. A
‘Deal’ is made when the contestant accepts the offer. Otherwise, a ‘No Deal’ occurs. The
process is repeated with on the next round with a certain number of cases.
200916/EFM/MEV&AE Page 1
Variable Definition
The variables in the data set are listed in the table below with their definition.
Variable Label
id episode
series series number
female =1 for female contestant
no_deal =1 for ‘No Deal’
own_case value of their own case
acc_rnd round when accepted offer
avg0 average value at beginning
avg_left average value of remaining cases
davg change in average value after last round
dmax change in maximum case value after last round
doff change in offer made after last round
last_off last offer made
max_left maximum value of remaining cases
min_left minimum value of remaining cases
num_left number of cases to be opened
winnings amount won
Group Work
Complete the questions below with the other members with your group.
1. Write the econometric model where the amount won (winnings) is explained by the
change in the offer made after the last round (doff), the change in the average value
after the last round (davg) and the number of cases left to be opened (num_left).
Winning = B0 + B1doff + B2davg + B3num_left + u
2. With the other people in your group, discuss what the econometric model is trying to
determine.
3. Estimate the econometric model in STATA using the commands below along with the
other diagnostic tests.
BP test:
If the probability small, reject H0 : constant variance hesteroskedasticity
9. The adjusted R-Squared is not reported in STATA for the model. Obtain this figure
by using the formula below where n is the sample size and k the number of
200916/EFM/MEV&AE Page 3
independent variables. The steps to obtain the Sum of Squares Residuals and the Sum
of Squares Total is outlined below the formula.
[ ] (∑ )
n
2
ui
i=1
2 n−k −1
R =1−
[ (∑ ( ) ]
n
2
y i− y )
i=1
n−1
n
Sum of Squared Residuals - ∑ u i
2
i=1
2. Follow the sequence of selection below. Look for the column sse and copy
the value on your paper.
n
Sum of Squares Total - ∑ ( y i− y )
2
i=1
200916/EFM/MEV&AE Page 4
2. Follow the sequence of selection below. Look for the column sst and copy the
value on your paper.
10. As you would have observed from the output in part 8 that it is not possible to obtain
the Breusch-Pagan Test. Type the commands below for the auxiliary regression.
11. Report the results in an equation from part 8. Include the adjusted R-square from part
9 and the LM from part 10.
12. Do the producers of this show have any control over the winnings by use of the
variables in part 8?
13. Reports your results on the table below. Test if the intercept and the independent
variables are significant at 10%, 5% and 1%. If the intercept or independent variable
and fill in the appropriate for each model. Model 1 refers to the model estimate and
the diagnostic tests in part 3 and Model 2 refers to the model estimate and diagnostic
tests in part 8, the R-squared from part 9 and the LM obtained in part 10. The
intercept has been filled in both models for you as an example.
Model 1 Model 2
Dependent Variable winnings winnings
18026.94*** 18026.94***
Intercept
(2365.663) (3275.655)
200916/EFM/MEV&AE Page 5
after last round (davg)
number of cases to be
opened (num_left)
Diagnostics
R-Square
Adjusted R-Square
F-Statistic F(3, 228) = 49.84***
Mean VIF
Ramsey Reset Test F(3, 225) = 90.96***
2
Breusch Pagan Test χ ( 1)=16.85 ***
2
White Test χ ( 9)=16.85 ***
Significant at 10% only (*)
Significant at 10% & 5% only (**)
Significant at 10%, 5% & 1% (***)
200916/EFM/MEV&AE Page 6