Home
States
Time SeriesFemale HomicidesFeminicidesTwelve-Month ChangesRanking
Municipios
Time SeriesTop 50Tourist Destinations
Maps
Crime MapCluster Map
Statistics
AnomaliesTrendsTrends by stateUnder-reporting of CrimeCrime rateDaily report
Infographics
About
English VersionEs

Daily Homicides in Mexico (preliminary data) - ⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀

What is a Generalized Additive Model (GAM)?

A Generalized Additive Model, or GAM, is a type of statistical model used to understand how different factors influence something you're measuring— for example, daily homicides. It works by fitting smooth curves through noisy data to reveal the underlying patterns.

What Does "Additive" Mean?

Instead of using one complicated formula, a GAM breaks the problem into parts and adds the effects together. For instance, it might separately estimate:

  • How things change over time (long-term trend)
  • How each month of the year affects the outcome (seasonality)
  • How different days of the week behave (weekday vs. weekend)
  • How specific holidays influence the result

Each of these effects gets its own flexible curve, and the model adds them up to make a prediction.

Why Adjust for Seasonality, Weekdays, and Holidays?

  • Seasonality: Some patterns repeat over the year (e.g., more crime in summer).
  • Day of the Week: Behavior often shifts between weekdays and weekends.
  • Holidays: Events like Christmas or Independence Day may cause spikes or drops.

What Does the Model Output?

The model produces a daily prediction based on all these factors.

Comparison of preliminary data and oficial data

— SESNSP victims
— Preliminary homicide data
— Prediction


Homicides per day (and monthly totals in parenthesis), and a forecast one month in advance
DatePreliminary (per day)SNSP (oficial data, per day)Preliminary (monthly)SNSP (monthly)Predicted SNSP

Average number of daily homicides by state

— SESNSP victims
— Preliminary homicide data
— Prediction


Daily homicide data are preliminary estimates that may change, as state authorities must still confirm whether each case is actually a crime. The homicide information published daily is provisional and subject to review by the prosecutors of each state. This data is shared to help authorities make quick decisions, but it is not the final official count.

Author: Diego Valle-Jones

Please visit HoyoDeCrimen for more information on Mexico City crime rates

Twitter Facebook
Author:

Diego Valle-Jones


Please visit HoyoDeCrimen for more information on Mexico City crime rates

GitHubMail

© All rights reserved