Let y be any response variable and x a binary explanatory variable. Let {(x i , y
Question:
Let y be any response variable and x a binary explanatory variable. Let {(xi, yi): i = 1, ... , n} be a sample of size n. Let n0 be the number of observations with xi = 0 and n1 the number of observations with xi = 1. Let y0 be the average of the y̅i with xi = 0 and y̅1 the average of the yi with xi = 1.
(i) Explain why we can write
Show that x̅ = n1/n and (1 – x) 5 n0/n. How do you interpret x̅?
(ii) Argue that
(iii) Show that the average of yi in the entire sample, y̅, can be written as a weighted average:
(iv) Show that when xi is binary,
(v) Show that
(vi) Use parts (iv) and (v) to obtain (2.74).
(vii) Derive equation (2.73).
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Introductory Econometrics A Modern Approach
ISBN: 9781337558860
7th Edition
Authors: Jeffrey Wooldridge
Question Posted: