Question: 4 - For each state, we can pool all its accidents and then calculate what fraction of them have severity=4. If we do this for

4 - For each state, we can pool all its accidents and then calculate what fraction of them have severity=4. If we do this for every state, which are the top three states in terms of the proportion of severity=4 accidents?

How would I code this using R?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!