We use the dataset MASchools in the package AER like we did in R-Exercise 2. The dataset
Question:
We use the dataset "MASchools" in the package "AER" like we did in R-Exercise 2. The dataset contains information on test performance, school characteristics and student demographic backgrounds for school districts in Massachusetts (MA). In this exercise, we shall use R-functions in the packages "estimatr" and "AER" (or "car"). We wish to learn the effect of student-teacher ratio (STR) on the 4th grade score (TestScore), which is defined as the sum of math, English, and science. In order to control for omitted variable bias, we shall include a few other additional variables and consider various functional forms. For all estimation exercises here the type of standard error should be "HC1" or equivalently "stata".
QUESTION 4 Estimate the population regression model: T e s t S c o r e subscript i equals beta subscript 0 plus beta subscript 1 S T R subscript i plus beta subscript 2 I n c o m e subscript i plus beta subscript 3 L u n c h subscript i plus beta subscript 4 I n c o m e subscript i superscript 2 plus beta subscript 5 I n c o m e subscript i superscript 3 plus u subscript.
where E left square bracket u subscript i vertical line S T R subscript i right square bracket equals 0 and predict T e s t S c o r e at the sample median of all the right-hand side variables.
What is the predicted T e s t S c o r e (two decimal places)? Note that in tutorial sessions we have done very similar exercises with the sample average of regressors instead of the sample median.
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill