Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(a) (5p) Run a regression of the average price on the BP indicator using the data from the time period during the spill (the if

(a) (5p) Run a regression of the average price on the BP indicator using the data from the time period during the spill (the "if" statement in Stata will be helpful here, and the subset() command in R will be helpful). Weight the regression using the p_obs_time variable. In Stata, we use "aweight" for this. For example, instead of running "reg y x, robust" we run "reg y x [aweight = p_obs_time], robust". Interpret the coefficient on bp. (b) (5p) Run the regression of price on during using only the BP gas stations (and using only the observations from before the spill or during the spill). Weight the regression using the p_obs_time variable. Interpret the coefficient on during. (c) (6p) What are some omitted variables that might vary across gas stations but don't change over time? How could you deal with these? (d) (6p) What are some omitted variables that might change over time but affect all gas stations equally? How could you deal with these

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Analysis And Decision Making

Authors: Christian Albright, Wayne Winston, Christopher Zappe

4th Edition

538476125, 978-0538476126

More Books

Students also viewed these Mathematics questions