The following data was collected by a Civil Engineering Ph.D. student. The response variable is the number of deer-vehicle crashes given a half-mile section of highway located in Ashtabula County. The half-mile sections were supposedly scattered about the community. Find an appropriate model which will be useful in predicting the number of deer-vehicle crashes using the candidate regressor variables. Interpret your results.

X1 = number of vertical curves in the half-mile section

X2 = number of horizontal curves in the half-mile section

X3 = number of ditches in the half-mile section

X4 = number of residences in the half-mile section

X5 = number of driveways in the half-mile section

X6 = percent of half-mile section that was adjacent to forest land

There are 20 observations total.

See the data below.

Crashes VertCurves HorizCurves Ditches Residences Driveways PctForest

5 2 1 4 5 2 70

12 2 1 2 3 1 70

8 1 0 2 6 2 50

6 1 1 0 6 1 60

7 0 0 0 3 2 40

5 1 0 2 3 3 80

6 1 0 4 3 3 80

5 0 0 2 5 3 60

7 0 1 1 15 2 30

6 0 0 0 25 1 20

5 0 0 0 25 0 10

7 0 0 1 23 0 15

5 1 0 2 20 1 25

6 0 0 0 30 1 30

6 0 0 2 7 0 0

7 0 0 3 20 0 35

5 0 0 0 30 0 0

8 0 0 2 17 0 10

7 0 0 2 6 0 60

7 0 0 0 5 1 80

0 0 0 0 7 2 10

1 0 0 2 10 2 20

1 0 0 2 8 2 10

1 0 0 0 30 2 0

1 0 0 2 6 0 0

0 1 0 2 12 1 10

0 0 0 0 15 0 0

0 0 0 0 35 2 0

0 1 0 2 10 1 20

0 0 1 2 14 1 10

0 0 1 1 4 0 10

0 0 1 0 20 1 10

1 0 1 0 16 1 30

1 0 0 0 30 2 25

0 0 0 0 37 0 0

0 0 0 0 5 0 20

0 0 0 0 30 0 10

1 0 0 0 15 0 0

0 0 1 0 5 1 35

0 0 0 0 5 1 0

USE R CODE