Giter VIP home page Giter VIP logo

jupyternotebook-fullmoon's Introduction

LunarCrime

Overview

  • Work collectively to find if a full moon impacts crime rate.
    • In this project, we analyze 2016 crime rates in three major US cities - Baltimore, Boston and Philadelphia as they relate to a full moon. We consider various types of crime while observing the cycles of the moon attempting to find a correlation between the lunar cycle and crime rate.
    • Hypothesis: On days where full moons occur, the crime rates are greater.

Analysis Process

  • For the year 2016, we analyzed each month individually to find the below information:

    • The day the full moon took place in that month

    Full Moon 2016

    • Total number of crimes reported
    • Average number of crimes per day
    • The day with the highest crime rate
    • The day with the lowest crime rate
    • Total crime committed on the day with the full moon
    • Percentage of monthly crime committed on the day with a full moon
    • The rank of the crime committed on the day with the full moon in relation to the crime committed on the rest of the month
    • Bargraph revealing monthly total and line for number of crimes that occured on the full moon

Data for Boston (Data for Philadelphia and Baltimore contained within)

January

January Data January bargraph

February

February Data February bargraph

March

March Data March bargraph

April

April Data April bargraph

May

May Data May bargraph

June

June Data June bargraph

July

July Data July bargraph

August

August Data August bargraph

Spetember

September Data September bargraph

October

October Data October bargraph

November

November Data November bargraph

December

December Data December bargraph

Overall for the year

Day of Full Moon, Max Day, Min Day

Max Day, Min Day, Full Moon Day

Percentage of Crime on days with a full moon compared to all other days fo crime

Full moon year

Conclusions

  • Given our analysis, we reject our hypothesis. Crime rates were not impacted by a full moon.
  • Out of the 36 months we looked at there was only one month where the most crime occurred on the full moon. (March in Philadelphia)
  • For all three cities, the annual crime committed on nights with a full moon (12 days) was 3.3%.
    • For all three cities, the average crime committed per 12 days was 3.3%.
  • We noticed a pattern in weekly activities, alomst like a sin wave. Showing that day of the week has an impact on crime rates.

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.