This project is a Probability Calculator built using Python and Streamlit. It provides a user-friendly interface for calculating various probability functions, including Probability Density Function (PDF), Cumulative Distribution Function (CDF), Probability Mass Function (PMF), Variance, Expected Value, and Cross Probability functions. The application is designed to help students understand the calculations involved through detailed step-by-step explanations.
This calculater is made from python and has used streamlit for GUI. Step by step explanations are still a bit mess, but working on it.
- PDF Calculation: Calculate the Probability Density Function with detailed steps.
- CDF Calculation: Compute the Cumulative Distribution Function with clear breakdowns.
- PMF Calculation: Determine the Probability Mass Function for discrete random variables, showing each calculation step.
- Variance Calculation: Compute the variance of a random variable with detailed explanations.
- Expected Value Calculation: Calculate the expected value (E(X)) for both PDF and PMF inputs with step-by-step guidance.
- Cross Probability Calculation: Calculate cross probabilities, including Pmf Y given X and Pmf of X given Y, with user-defined functions.
- Distribution Calculation Poisson and Binomial.
To run this project, you need to have Python installed on your machine. You can install the required dependencies using pip.
-
Clone the repository:
git clone chamiyeah/Probability-Calculator cd probability-calculator
-
Install the required packages:
pip install -r requirements.txt
To start the application, run the following command in your terminal:
streamlit run src/app.py
This will launch the Streamlit application in your web browser, where you can input your data and perform various probability calculations.
Contributions are welcome! If you have suggestions for improvements or new features, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.