Code Monkey home page Code Monkey logo

shark-attack-analysis's Introduction

Final_Project

1.Title:

Research on the relationship between shark attack and some possible factors.

2.Members:

Saxue Wang: Sasha

Qikun Liu: AllisonKK

3.Summary:

Shark attacks across the globe have doubled in the last 20 years, according to a recent study. Lots of people enjoy spending time beside the beaches and doing various activities, which makes them at the risk of being attacked by sharks. In order to reduce the chance of shark attacks, we explore multiple potential factors that may affect the sharks’ behavior.

4.Hypothesis:

(1) The temperature is related to the injury type(fatal or not).

(2) The activity people doing when they are attacked have a relationship with the injury type (fatal or not).

(3) The species of shark have a relationship with the injury type (fatal or not).

5.Results:

(1) We can reject the null hypothesis that the temperature is independent to injury type.(alpha = 0.05)

(2) We can reject the null hypothesis that the activity people doing when they are attacked and the injury type are independent of each other.(alpha = 0.05)

(3) We can reject the null hypothesis that the species of shark and injury type are independent of each other.(alpha = 0.05)

The results of chi-square test on three hypothesis are uploaded on GitHub named as R1.png, R2.png and R3.png. We can see that, all of the p-values are pretty small (p-value << 0.05)

6.Codes:

(1) "Final project.py" is the final integrated version code.

(2) files in fold "jupyter notebook" are the previous versions.

  1. Reference:

https://www.foxnews.com/science/shark-attacks-doubled-in-20-years-in-highly-populated-areas-study-finds

shark-attack-analysis's People

Contributors

allisonkk avatar neollen avatar ybull avatar

Watchers

James Cloos 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.