154k views
4 votes
Oad data set countymurders, which contains year-by-year statistics about counties in the US. In articular, it has the number of murders committed (murders) and the number of executions arried out (execs) in each U.S. county , as well as demographic characteristics about the county.

(a) What are the definitions of variables murdrate and execrate?
(b) Run a simple linear regression of murdrate on exercate, and report your results.
(c) What if the rate of executions is measured by the number of executions per 100 people? What will happen to the intercept estimate, the slope estimate, and R2?
(d) What if the rate of murders is measured by the number of murders committed per 100 people? What will happen to the intercept estimate, the slope estimate, and R2?

1 Answer

3 votes

Final answer:

The murdrate variable represents the homicide rate, while the execrate variable represents the execution rate. Running a linear regression can estimate the relationship between the two variables. Changing the rate measurements may affect the intercept, slope, and R-squared values.

Step-by-step explanation:

In the given data set, the variable murdrate refers to the homicide rate, which is the number of murders committed per county. The variable execrate represents the execution rate, which is the number of executions carried out per county. To run a simple linear regression of murdrate on execrate, you can use statistical software like R or Python. The regression analysis will estimate the intercept, slope, and the R-squared value, which indicates the strength of the relationship between the two variables. If the rate of executions is measured by the number of executions per 100 people, the intercept estimate, the slope estimate, and R-squared may change. However, the direction and the strength of the relationship should remain similar. Similarly, if the rate of murders is measured by the number of murders committed per 100 people, the intercept estimate, slope estimate and R-squared may change, but the direction and strength of the relationship should remain similar.

User Ihsan
by
7.7k points