Methodology
This study analysed crime statistics in Bangladesh from 2020 to June 2025, using two datasets: a monthly dataset (18 crime categories) and a yearly dataset (2020–2025). Data was processed in Python using the pandas and scipy libraries. The data was processed as follows:
- Non-numeric columns (e.g., ‘Month’) were excluded.
- For each crime category (Jan–June 2025), we calculated:
- Mean: Average monthly cases.
- Standard Deviation: Using Bessel’s correction (n–1).
- 95% Confidence Interval: Computed with scipy.stats.t.interval.
- Outlier Detection: Based on Interquartile Range (IQR). Months with values beyond Q1–1.5×IQR or Q3+1.5×IQR were flagged.
- Annual totals from 2020–2024 were converted to monthly averages by dividing each total by 12.
- 2025 monthly averages were merged with previous years for comparison.
- % Change = ((2025 avg – 2024 avg) ÷ 2024 avg) × 100
- This quantified the year-on-year shift for each crime type.
- Each crime category was labelled based on the % change:
- Major Increase: ≥ 50%
- Moderate Increase: 20% to <50%
- Minor Increase: 5% to <20%
- Stable: –5% to +5%
- Decrease: Categorised as Minor, Moderate, or Major based on negative % change.
Final Output
The resulting table (Table 1) offers a time-series view of monthly averages (2020–2025), allowing clear trend analysis and comparison across crime types.
