首页 >
> 详细

Fall 2019 SCM 460 / SCM 575 Midterm

Exam

Directions

• This exam is open notes, open book, open computer.

• You may use all class materials and resources available to you on the internet.

• You may not communicate with other students in any way.

• Show your work. Credit will not be given to numbers without explanation or intermediate

calculations. In particular, R output with no accompanying analysis will not receive credit.

• Supply all additional analyses and charts that are needed for your analysis, even if I have not

explicitly asked for them.

• Clearly label your final answer. If it is not clear what the final answer is, you will be penalized.

• Maximum points will be awarded to correct and concise answers.

• You have from 10/14 to 10/21 at 11:59pm to complete the exam.

• You must submit two files: (i) a Word or PDF document giving your answers and a brief explanation

of your work, and (ii) the accompanying R script. Submit these files to Blackboard

before the due date.

1

1. What is the effect of unemployment on crime rates? To answer this question, we’ll be using

“unemployment.csv” dataset, posted on Blackboard. This is a dataset of 46 different cities in

Michigan, their unemployment rates, and their crime rates, in two different years. Here is a brief

data description:

• ctyid: ID number of each city.

• crmrte82: crimes per 1000 people in 1982

• unem82: unemployment rate in 1982

• crmrte87: crimes per 1000 people in 1987

• unem87: unemployment rate in 1987

(a) (1 pt) To find the effect of unemployment on crime rates, first try regressing the crime rate on

unemployment, using only observations from 1987. Interpret the regression results. Briefly

discuss any issues or problems surrounding this approach - obviously there are some omitted variables

here, so list a few and explain how these variables can cause problems in the interpretation.

(b) (3 pts) Suppose that one such omitted variable is demographics (say, race, age, and gender).

Is there any way that we can control for this variable even though it is missing from our

dataset?

Note that across such a short period of time from 1982 to 1987, demographics tend to be timeinvariant

- that is, the demographics will be roughly the same in these two years. Let’s try to take

advantage of this fact in our analysis. Taking demographics into account, our regression model for

1987 becomes

crmrtei,yr=1987 = β0 + β1unemi,yr=1987 + β2demographicsi

, (0.1)

where i represents the city ID. In plain English, the crime rate in city i in year 1987 is a linear

function of the unemployment in city i in year 1987, and of the demographics in city i (note that

this is independent of year). Similarly, our regression model for 1982 is

crmrtei,yr=1982 = β0 + β1unemi,yr=1982 + β2demographicsi

. (0.2)

Now use these two equations to estimate β1. Hint. Subtract equation (0.2) from equation (0.1) and

run the resulting regression. It is independent of demographics which is missing from our dataset

anyways. This method can be generalized to control for any number of time-invariant omitted

variables.

2

2. What is the causal effect of attending a Ivy League school instead of a public school on wage?

To answer this question we focus on NYC students who applied to Columbia University (private)

and CUNY (public). In “college.csv” you are given the following information on 2000 students:

• CBApp: Dummy variable, 1 indicates the student applied to Columbia.

• CUNYApp: Dummy variable, 1 indicates the student applied to CUNY.

• CBAdmit: Dummy variable, 1 indicates the student was admitted to Columbia.

• CUNYAdmit: Dummy variable, 1 indicates the student was admitted to CUNY.

• CBAttend: Dummy variable, 1 indicates the student enrolled in Columbia, 0 indicates the

student enrolled in CUNY.

• wage: Annual wage of the student 10 years after graduation.

(a) (1pt) Perform the regression log(wage) = β0 + β1CBAttend. Give an interpretation of β1.

Does β1 give the causal effect of attending Columbia over CUNY on wage? If not, explain why.

(b) (3pts) As I suggested in the beginning of the semester, the comparison would make more

sense if we compared wages only amongst students that applied to and got admitted to the same

universities.

Add controls to the regression in (a) to do this. We want the effect of attending Columbia,

keeping the schools that each student applied and got accepted to constant. Explain how you came

up with your controls. Interpret ALL coefficients in your regression.

Hint: Create groups based on each unique combination of admittance and application decisions,

e.g. Group 1 is the set of students who applied to both schools and got accepted to both

schools, Group 2 is the set of students who applied to both schools and only got into CUNY, etc.

Then add these groups into your regression as controls. Note that this dataset is taken from college

students, so it does not include people who were not admitted into any university.

(c) (2pt) How does the significance of CBAttend change between (a) and (c)? Give intuition

why this is the case. Explain why your regression in (c) accounts for the omitted variables that

you mentioned in (a). What do you conclude about the effect on wage of attending Columbia over

CUNY?

联系我们

- QQ：99515681
- 邮箱：99515681@qq.com
- 工作时间：8:00-23:00
- 微信：codinghelp

- 代写dataset留学生作业、代做c/C++，Java编程设计作业、Pyth 2019-11-21
- Cache Comparisons作业代写、R程序语言作业调试、R实验作业代 2019-11-21
- Programming作业代做、代写c++课程设计作业、C++程序语言作业调 2019-11-21
- Data Programming作业代写、代做dataframe X作业、P 2019-11-21
- Cricos 00213J作业代做、代写it Systems作业、代写pyt 2019-11-21
- 代做r Hw2留学生作业、代写decision Making作业、代写r编程 2019-11-21
- Tcss 380作业代写、代做c++编程设计作业、代写c/C++实验作业、P 2019-11-21
- 代写program留学生作业、Java程序语言作业调试、Java实验作业代做 2019-11-21
- Csci-1200作业代做、Data Structures作业代写、代做py 2019-11-21
- 代写tunedit Data作业、代做python编程设计作业、代写pyth 2019-11-21
- Csci 370作业代写、代做java课程设计作业、Java程序语言作业调试 2019-11-21
- 代写comp 1010作业、Program留学生作业代做、代写python， 2019-11-21
- Wisccompsci200作业代做、Java编程设计作业代写、Java语言 2019-11-21
- 4Cosc001w作业代做、Python程序语言作业调试、Python课程作 2019-11-20
- 代写csc 230作业、代做ascii留学生作业、Python，Java程序 2019-11-20
- Cmpt 361作业代写、代做system留学生作业、Java，C++编程语 2019-11-20
- 代做cs5783留学生作业、代写machine Learning作业、代写c 2019-11-20
- B365留学生作业代做、代写iris Data作业、代做r程序语言作业、代写 2019-11-20
- Inft 3033作业代做、代写c/C++编程语言作业、代做c++课程设计作 2019-11-20
- Cs610-101作业代写、Programming课程作业代做、C/C++, 2019-11-20