Coder Social home page Coder Social logo

age-crime-relation-project's Introduction

Crime Statistics Analysis - Turkey

Project Overview

This project was carried out as a group for CS210 Introduction to Data Science Course.

This project explores the relationship between education level, age group, and crime rates in Turkey. Our analysis includes data preprocessing, exploratory data analysis (EDA), hypothesis testing, and machine learning.

The dataset was obtained from the Turkish Statistical Institute (TÜİK) website, including different metrics about crime statistics such as age groups and education levels of crime committers.

Project Components

1. Data Preprocessing

The initial step involved cleaning the dataset provided in Excel format to ensure its usability in subsequent stages. This process included handling missing values, removing outliers, and standardizing formats of the data and labels to prepare the data for analysis.

2. Exploratory Data Analysis (EDA)

Key findings about crime committers' demographics were illustrated through various visualizations such as bar charts, heatmaps, and line graphs. We analyzed patterns across age groups, gender, and education levels, and computed the crime rate by including general population data from TÜİK.

3. Hypothesis Testing

We tested the hypothesis (H0) that there is no association between age and the likelihood of committing a crime. A Chi-square test was conducted to examine the relationship between these variables.

4. Machine Learning

We used linear regression to predict crime rates for subsequent years. The predictions were visualized using a heatmap to show the predicted crime numbers across different age groups more comprehensively.

age-crime-relation-project's People

Contributors

bilalbdertli avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.