Subset the data to include only the accidents that occured in one city or during one month.

Question:

Subset the data to include only the accidents that occured in one city or during one month. Predict whether or not a car crash will result in fatality or severe injuries by using predictor variables such as the weather condition, amount of daylight, and whether or not the accident takes place on a highway.

 

IDCountyCityWeekdaySeverityViolCatClearWeatherMonthCrashTypeHighwayDaylight
1SAN DIEGOSAN DIEGO71801A01
2HUMBOLDTUNINCORPORATED41811A10
3VENTURAOXNARD211212A01
4STANISLAUSUNINCORPORATED41111A00
5MENDOCINOUNINCORPORATED51111A10
6LOS ANGELESLONG BEACH71313A00
7LOS ANGELESLOS ANGELES41303A01
8CALAVERASUNINCORPORATED11112A11
9SAN BERNARDINOHESPERIA21111A00
10VENTURAOXNARD50811A00
11VENTURAOXNARD60801A00
12ORANGEFULLERTON40912A00
13SAN DIEGOCHULA VISTA10311A00
14ALAMEDAOAKLAND60111A00
15LOS ANGELESLOS ANGELES50913A00
16SANTA CLARAMORGAN HILL40813A00
17LOS ANGELESLOS ANGELES30913A01
18SAN JOAQUINUNINCORPORATED30813A01
19LOS ANGELESLOS ANGELES50914A01
20ORANGEFOUNTAIN VALLEY40811A01
21RIVERSIDERIVERSIDE50911A01
22ORANGEANAHEIM20911A00
23CONTRA COSTAWALNUT CREEK40111A00
24SOLANOFAIRFIELD70111A00
25CONTRA COSTAUNINCORPORATED70911A01
26BUTTECHICO50911A01
27EL DORADOUNINCORPORATED70311A01
28ORANGEGARDEN GROVE60911A01
29TUOLUMNEUNINCORPORATED30811A10
30SONOMAUNINCORPORATED60911A01
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Business Analytics

ISBN: 9781265897109

2nd Edition

Authors: Sanjiv Jaggia, Alison Kelly, Kevin Lertwachara, Leida Chen

Question Posted: