C. Regression Analysis In this section, you will analyze the effects of weather conditions on workers' productivity...
C. Regression Analysis In this section, you will analyze the effects of weather conditions on workers' productivity. You collect a random sample of 500 workers. Your data includes the average time it takes each worker to complete the same task (minutes), the temperature that day (measured in Farenheit), the natural log of temperature that day, whether it was raining that day (dummy variable), and the workers' age (years). An extract of the data is shown below: temperature| log_temperature | rainy worker_id date average_time age Jan-1 10 1.61 1 20 A 41 12 A Jan-2 37 1.57 20 A Jan-3 34 1.53 21 Jan-1 13 41 B 1.61 1 40 15 37 40 B Jan-2 1.57 0 34 1.53 0 Jan-3 40 What type of dataset is this? 1. You run a regression of average time on log temperature, rainy and age, and get the following results (standard errors are shown below each coefficient in parenthesis): avg time = 12 + 6.0 x log(temperature) - 2 x rainy - 0.05 x age (2.5) (2.0) (1.2) (0.01) 2. Interpret the coefficient on rainy. Be precise about units, magnitude, direction! 3. Interpret the coefficient on log_temperature. Be precise about units, magnitude, direction! 4. Suppose you measured the dependent variable "avg time" in seconds instead of minutes. How would the estimated intercept of the regression equation change? 5. What needs to be the percent change in temperature between a rainy and a non-rainy day for worker productivity to remain unaffected? Be clear about the magnitude and direction of the change. 6. Do you reject the null hypothesis that rain does not have an effect on average time it takes to complete the task against the alternative that rain does have an effect at a 5% significance level? 7. Given your answer to question 6 above, is the p-value associated with the null hypothesis that rain does not have an effect on average time it takes to complete the task greater or smaller than 0.05? What is the predicted level of productivity for worker A on January 1st? [Use the table extract shown above.] Calculate the 90% confidence interval for the "age" coefficient 8. 9.
C. Regression Analysis In this section, you will analyze the effects of weather conditions on workers' productivity. You collect a random sample of 500 workers. Your data includes the average time it takes each worker to complete the same task (minutes), the temperature that day (measured in Farenheit), the natural log of temperature that day, whether it was raining that day (dummy variable), and the workers' age (years). An extract of the data is shown below: temperature| log_temperature | rainy worker_id date average_time age Jan-1 10 1.61 1 20 A 41 12 A Jan-2 37 1.57 20 A Jan-3 34 1.53 21 Jan-1 13 41 B 1.61 1 40 15 37 40 B Jan-2 1.57 0 34 1.53 0 Jan-3 40 What type of dataset is this? 1. You run a regression of average time on log temperature, rainy and age, and get the following results (standard errors are shown below each coefficient in parenthesis): avg time = 12 + 6.0 x log(temperature) - 2 x rainy - 0.05 x age (2.5) (2.0) (1.2) (0.01) 2. Interpret the coefficient on rainy. Be precise about units, magnitude, direction! 3. Interpret the coefficient on log_temperature. Be precise about units, magnitude, direction! 4. Suppose you measured the dependent variable "avg time" in seconds instead of minutes. How would the estimated intercept of the regression equation change? 5. What needs to be the percent change in temperature between a rainy and a non-rainy day for worker productivity to remain unaffected? Be clear about the magnitude and direction of the change. 6. Do you reject the null hypothesis that rain does not have an effect on average time it takes to complete the task against the alternative that rain does have an effect at a 5% significance level? 7. Given your answer to question 6 above, is the p-value associated with the null hypothesis that rain does not have an effect on average time it takes to complete the task greater or smaller than 0.05? What is the predicted level of productivity for worker A on January 1st? [Use the table extract shown above.] Calculate the 90% confidence interval for the "age" coefficient 8. 9.