Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Data and Packages: We use the dataset MASchools in the package AER like we did in R-Exercise 2. The dataset contains information on test performance,
Data and Packages: 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 "estimate" 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 Insider 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: TestScore =B + B STR, + B,Income, + B Lunch, + B Income?+ B Income tu where E[u ISTR ]=0 and predict TestScore at the sample median of all the right-hand side variables. What is the predicted TestScore (two decimal places)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started