Skip to content

chamiyeah/Probability-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Probability Calculator

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.

Features

  • 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.

Installation

To run this project, you need to have Python installed on your machine. You can install the required dependencies using pip.

  1. Clone the repository:

    git clone chamiyeah/Probability-Calculator
    cd probability-calculator
    
  2. Install the required packages:

    pip install -r requirements.txt
    

Usage

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.

Contributing

Contributions are welcome! If you have suggestions for improvements or new features, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages