Question: I need the R-Studio software commands to answer this question on countymurders from the wooldridge package. Use the data (only 1996 data) in countymurders: a.
I need the R-Studio software commands to answer this question on "countymurders" from the "wooldridge" package.
Use the data (only 1996 data) in countymurders:
a. How many counties had zero murders in 1996? How many counties had at least one execution? What is the largest number of executions?
b. Estimate the equation: (murders = Bo + B1execs + u) by OLS and report in the usual way, including a regression equation with estimated coefficients, standard errors beneath each coefficient, sample size and R^2.
c. What is the smallest number of murders that can be predicated by the equation? What is the residual for a county with zero executions and zero murders? (hint: residual u^ i = yi - y^i)

4. Use the data (only 1996 data) in countymurders to answer this question. a. How many counties had zero murders in 1996? How many counties had at least one execution? What is the largest number of executions? b. Estimate the equation: (murders = B.+Bexecs + u) by OLS and report in the usual way, including a regression equation with estimated coefficients, standard errors beneath each coefficient, sample size and R2. c. What is the smallest number of murders that can be predicated by the equation? What is the residual for a county with zero executions and zero murders? (hint: residual = y; - 3 4. Use the data (only 1996 data) in countymurders to answer this question. a. How many counties had zero murders in 1996? How many counties had at least one execution? What is the largest number of executions? b. Estimate the equation: (murders = B.+Bexecs + u) by OLS and report in the usual way, including a regression equation with estimated coefficients, standard errors beneath each coefficient, sample size and R2. c. What is the smallest number of murders that can be predicated by the equation? What is the residual for a county with zero executions and zero murders? (hint: residual = y; - 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
