In this project, we create a python script to find the winning probablity of mercedes the russian grand prix looking at the score after singapore grand prix.
Goal: To check how certain conditional events affect the probability distribution.
We create a probablity distribution function based on the point table. Then we create the necessary function to calculate the conditional probablity of certain event taking place. Conditions:
- Probability for Mercedes to win both races
0.12188950138590415
- Probability for Mercedes to win at least one race
0.5764216739671665
- If Mercedes wins the first race, probability that Mercedes wins the next one
0.3446697187704381
- Mercedes wins at least one of these two races, probability Mercedes wins both races
0.21145891435173045
- Probability Mercedes wins both races in any weather conditions (Assuming 5 conditions)
0.2893805802888808
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
git clone https://github.com/kashishshah881/sports-analytics.git
What things you need to install the software:
Python3.5+
Run These Commands on the terminal
pip3 install jupyter numpy pandas scipy
Once Everything is installed successfully run
jupyter notebook
This project is licensed under the MIT License - see the LICENSE.md file for details