UC Davis
Dalia Ghanem
ARE 107 Assignment 1
Late Assignments Not Accepted
Instructions. This is a group assignment. You can form a group of a total of 4 students. However,
each group member has to hand in their own individual write-up to the answers to all questions.
Copying and pasting answers, even from your group members, is considered plagiarism.
In addition to the write-up, you have to include the R programs you use for the computational
components.
The problem sets are meant to help you understand the material. If you have any questions,
please come to the instructor or TAs.
Note: Some of the problems here are from www.masteringmetrics.com.
I. Consider the following in-class exercises:
- Exercise 2 in Part I Lecture Notes
- Exercise 3 in Part I Lecture Notes
- Exercise 4 in Part I Lecture Notes
- Exercise 9 in Part I Lecture Notes
Present your answer to each of the four exercises listed above and explain in words how you
derived each of the results.
II. Table 1.5 in Mastering ‘Metrics presents the results for different outcomes from the Oregon
Health Plan experiment.
(a) Explain the estimates presented in columns (1)-(4) in words.
(b) Which of the following terms correctly defines the estimates presented in columns (1)-(4)
given an outcome Yi ,
°
°
- Ȳ 0 ni0 1 Yi {n0 , where individuals i 1, . . . , n0 constitute the subsample of individuals without the treatment
- Ȳ 1 nj 1 1 Yj {n1 , where individuals j 1, . . . , n1 constitute the subsample of individuals with the treatment1
- Ȳ 1 Ȳ 0
- s.e.(Ȳ 0 )
- s.e.(Ȳ 1 )
- s.e.(Ȳ 1 Ȳ 0 )
where s.e. denotes the standard error of the estimator in the parentheses.
°
°
°
°
A more precise way to define Ȳ 0 and Ȳ 1 is Ȳ 0 i1 Yi p1 Di q{ i1 p1 Di q and Ȳ 1 i1 Yi Di { i1 Di ,
where Di equals one if an individual has the treatment and zero otherwise. Note that n n0 n1 and n0 n
n
i1 p1 Di q and n1 i1 Di .
1
°
n
°
1
n
n
n
(c) For each outcome presented in the table, conduct a 5% t-test of the significance of its
average treatment effect, i.e. a t-test of the null hypothesis, H0 : E rY1i Y0i |Di 1s 0.
III. Using the “Advertising” dataset, which consists of data on sales of computers in different
locations as well as advertising spending on TV, radio and newspaper. Run the sample R
program (“Advertising Sample Program”) provided to you on canvas.
(a) Perform the following regressions:
(i) regress Sales on T V ,
(ii) regress Sales on T V and N ewspaper,
(iii) regress Sales on Radio
(iv) regress Sales on Radio, T V .
(b) Does the coefficient on T V change in regressions (i)-(ii)? Explain in detail. Perform any
additional regressions to support your reasoning.
(c) Does the coefficient on Radio change in regressions (iii)-(iv)? Explain in detail. Perform
any additional regressions to support your reasoning.
2