Skip to main content
Premium project

Trends in Maryland Crime Rates

Apply hierarchical and mixed-effect models to analyze Maryland crime rates.

Start Project
12 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

  1. 1
    Maryland crime data
  2. 2
    Raw data and trend lines
  3. 3
    Re-scale the data
  4. 4
    Build a LMER
  5. 5
    Model outputs
  6. 6
    Format model coefficients
  7. 7
    Maryland map data
  8. 8
    Matching county names
  9. 9
    Merging data frames
  10. 10
    Mapping trends
  11. 11
    Polish the map
  12. 12
    Compare populations and crime rates




Data ManipulationData VisualizationProbability & Statistics
Richard Erickson HeadshotRichard Erickson

Data 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.
See More

What do other learners have to say?