Skip to content

Tool that automatically solves Probability of a Discrete Random Variable, Variance and Standard Deviation are also included.

Notifications You must be signed in to change notification settings

Stem-O/Probability-Distribution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 

Repository files navigation

Probability-Distribution of a Discrete Random Variable

The probability distribution of a discrete random variable X is a list of each possible value of X together with the probability that X takes that value in one trial of the experiment.

Prerequisite

  1. Python3

How to install this tool?

$git clone https://github.com/Stem-O/Probability-Distribution

How to run this tool?

While running the tool you must supply with an integer as an argument otherwise it will return an IndexError

Traceback (most recent call last):
  File "probability_distribution.py", line 6, in <module>
    arg = sys.argv[1]
IndexError: list index out of range
$python3 probability_distribution.py <number of x values>

Demo

About

Tool that automatically solves Probability of a Discrete Random Variable, Variance and Standard Deviation are also included.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages