Premium project
Trends in Maryland Crime Rates
Apply hierarchical and mixed-effect models to analyze Maryland crime rates.
Start Project12 Tasks1,500 XP
Loved by learners at thousands of companies
Project Description
Is the violent crimes rate in Maryland increasing, decreasing, or staying the same? In this project, you will find out. First, you will wrangle the raw data supplied by the State of Maryland. Second, you will analyze the data using a hierarchical regression to examine both the statewide crime rate and crime rate for each Maryland county. Third, you will plot the changes in crime rates for each county.
You will use the crime statistics from the State of Maryland from 1975 to 2016. The Maryland Statistical Analysis Center provides this and updates data.
Project Tasks
- 1Maryland crime data
- 2Raw data and trend lines
- 3Re-scale the data
- 4Build a LMER
- 5Model outputs
- 6Format model coefficients
- 7Maryland map data
- 8Matching county names
- 9Merging data frames
- 10Mapping trends
- 11Polish the map
- 12Compare populations and crime rates
Technologies
R
Richard Erickson
See MoreData Scientist
Richard helps people to experience and understand their increasingly numerical world. For his day job he develops new quantitative methods for monitoring and controlling invasive species as well as helping other scientists analyze and understand their data. He has worked on diverse datasets ranging from continent-wide species distributions to pesticides in playa wetlands. After hours, he teaches SCUBA Diving as a NAUI Instructor. He has been a member of "UserR" since 2007.