Question: Let y be any response variable and x a binary explanatory variable. Let {(x i , y i ): i = 1, ... , n}

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

По 2(1 – x,), n, = i=1

Show that x̅ = n1/n and (1 – x) 5 n0/n. How do you interpret x̅?

(ii) Argue that

2(1 x,), n, = i=1

(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).

2(1 x,), n, = i=1

Step by Step Solution

3.45 Rating (164 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

i Since x i is a binary variable it is equal to either 0 or 1 Thus the number of observations with x ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Introductory Econometrics Modern Questions!