subject
Mathematics, 29.10.2021 14:00 justiceharris8

Solve the following using R. Show all of your work and explain your work and/or answers when necessary. Driving fatalities and speed limits. In 1987, the federal government set the speed limit on interstate highways at 65 mph in most areas of the United States. In 1995, federal restrictions were eliminated so that states assumed control of setting speed limits on interstate highways. The datafile Speed contains the variables FatalityRate, the number of interstate fatalities per 100 million vehicle-miles of travel, Year, and an indicator variable StateControl that is 1 for the years 1995–2007 and zero for earlier years in the period 1987–1994. Here are the first few rows of data:
__Year FatalityRate StateControl__
__1987 2.41 0__
__1988 2.32 0__
__1989 2.17 0__
__1990 2.08 0__
__1991 1.91 0__
TO REITERATE, ABOVE IS JUST THE FIRST FEW ROWS OF DATA. ALL OF THE DATA IS STORED IN THE R FILE Speed .
Therefore the first two lines of your code in R should be:
library(Stat2Data)
data(Speed)
a. Fit a regression of fatality rate on year. What is the slope of the least squares line?
b. Examine a residual plot. What is remarkable about this plot?
c. Fit the multiple regression of fatality rate on year, state control, and the interaction between year and state control. Is there a significant change in the relationship between fatality rate and year starting in 1995?
d. What are the fitted equations relating fatality rate to year before and after 1995?

ansver
Answers: 3

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 15:30, namira16
You work for a lender that requires a 20% down payment and uses the standard depth to income ratio to determine a person‘s a little eligibility for a home loan of the following choose the person that you would rate the highest on their eligibility for a home loan
Answers: 1
image
Mathematics, 21.06.2019 20:00, michelle5642b
Find all solutions for 2y - 4x =2 y = 2x + 1 site: socratic. org
Answers: 1
image
Mathematics, 21.06.2019 22:50, Yangster9305
Ur environment is very sensitive to the amount of ozone in the upper atmosphere. the level of ozone normally found is 4.04.0 parts/million (ppm). a researcher believes that the current ozone level is not at a normal level. the mean of 2525 samples is 4.44.4 ppm with a standard deviation of 0.80.8. assume the population is normally distributed. a level of significance of 0.020.02 will be used. make the decision to reject or fail to reject the null hypothesis. answer tables
Answers: 3
image
Mathematics, 21.06.2019 23:30, luketrup
Solve this 364x-64x=300x and 12(x2–x–1)+13(x2–x–1)=25(x2–x–1)
Answers: 1
You know the right answer?
Solve the following using R. Show all of your work and explain your work and/or answers when necessa...

Questions in other subjects:

Konu
Arts, 16.06.2021 19:10