R301B - Panel Data
R301B - Panel Data
MPhil in Economics
MPhil in Economic Research
MPhil in Finance and Economics
MPhil Finance
R301B
CROSS SECTION AND PANEL DATA
Write your candidate number (not your name) on the cover of each booklet.
Write legibly.
If you identify an error in this paper, please alert the Invigilator, who will notify
the Examiner. A general announcement will be made if the error is validated.
STATIONERY REQUIREMENTS
20 Page booklet x 1
Rough work pads
1 of 9
SECTION A
D = 1(xe βe + xo βo + ε ≥ 0) (1)
xe = 1(z ′ θ + e ≥ 0) (2)
Suppose a subsidy for electric cars is introduced and that this subsidy raises
Psec from 0.01 to 0.10. Given the error assumptions, what are the proba-
bilities for lgc and sgc after the subsidy has been introduced.
2 of 9
where individual i = 1, ..., N and j = 1, ..., J indexes individuals and
choices, respectively. Individual faces utility (U ) over two choices, deter-
mined by a single covariate xij .
Letting βi ∼ N (β̄, Σβ ) and ηij = x′ij β̃i + ϵij , where β̃i is mean zero, show
that the covariance matrix of the errors, Cov(ηi1 , ηi2 ), is given by
2
xi1 xi1 xi2 1 0
Ωη = σ β + σϵ .
xi1 xi2 x2i2 0 1
where σβ denotes the variance of βi .
State the implied null and alternative hypothesis that follow directly from
b = κ′ [V ar(κ)]−1 κ.
the use of the test statistic H
Explain why one might want to consider a robust form of this test statistic.
c) A different formulation of (5) may be written as
yit = α + β ′ xit + ζ ′ x̄i + ai + εit , (7)
where ui = ζ ′ x̄i + ai , with ai ∼ i.i.d(0, σa2 ).
3 of 9 [TURN OVER]
i) In what sense can we think of (7) as unifying alternate forms of linear
unobserved effects panel data models.
ii) How might you interpret the fe estimator of β given that this can
obtained using (7) as the estimating equation.
A4 Consider the following observational rule:
yi∗ = x′i β + εi
yi = τ (yi∗ ) = 1(yi∗ > 0)
εi ∼ N (0, σ 2 )
(a) Show that by the use of the e and m step of the em algorithm we can
solve for β using the normal equations
X X
x′i xi β 0 = x′i vi
i i
4 of 9
(e) The error components representation of a mixed logit model and the
random effects panel data estimator both generate non-iid covariance
matrices which may be exploited to solve different problems.
5 of 9 [TURN OVER]
SECTION B
B.1 Denote by Uijt the unobserved utility of individual i who chooses alternative
j at time t. We write Uijt as
Variables xijt are denoted collectively (for all time periods and alternatives)
by xi . βi ∼ g(β|θ) in the population, where g(.) is a mixing distribution
with θ a vector of hyperparameters.
We observe yi = (yi1 , ..., yiT )′ where yit = j if individual i chooses alterna-
tive j at time t.
(a) Write down an expression for the conditional and unconditional proba-
bility of individual i’s sequence of choices, respectively Pij = P (yi |xi , βi )
and Pij = P (yi |xi , θ).
(b) i. Without imposing any restrictions, what is the dimension of θ?
ii. One analyst proposed the use of k(β|θ ′ ), based on the deployment
of independent mixing. θ ′ denotes a different vector of hyperpa-
rameters.
If such a solution is imposed, outline how you would test the validity
of this approach.
(c) Estimating the parameters of the distribution g(β|θ) represents a sig-
nificant constraint on learning about where an individual customer’s β
lies in this distribution.
The suppliers were differentiated based on price, the length of the con-
tract in years, whether the supplier was local, whether the supplier was
6 of 9
well known, whether the supplier charged time-of-day (tod) rates, and
whether the supplier charged seasonal rates.
A mixed logit model was estimated under the assumption that the
parameters are independently normally distributed in the population.
i. Interpret the results.
ii. Demonstrate how these results can be used to determine preference
heterogeneity for the length of contract
iii. Test whether a mixed logit model is to be preferred to a standard
Logit specification.
Table 2: Mixed logit model of choice among energy suppliers
θb σ
bθ
7 of 9 [TURN OVER]
B2 (a) An analyst has data on two covariates, X1 and X2 , and Y . A tree
partitions the covariate space X as shown in Figure 1.
µ(x) = E[Yi | Xi = x]
In the case where Oi = Yi , and θ(x) = µ(x) = E(Yi |Xi = x), the
conditional mean function, demonstrate the equivalence of predic-
tions for θ(x) using a rf and grf.
8 of 9
(d) Consider the following structural model
END OF PAPER
9 of 9