# Probability Calculator

### Visually learn, model and calculate Probability Distributions from commonly used Distributions; Or Create your own using Custom f(x) expressions. Learning probability distributions can be very interesting when you have the SpiceLogic Probability Calculator. And, in fact, that was the main goal when we made this little GUI application.

### Probability Distribution Gallary

It has a collection of commonly used Probability Distributions. You can open one of them from the Gallery and change the appropriate parameters and see various properties of the distributions. ### Many useful perspectives and metric calculations

Lots of properties of a distribution is automatically calculated as you change any parameter. Also, you can calculate the probability of a range or a single Random input. ### Truncated Distributions

A probability distribution can have infinity maximum and minimum value. But, in our real life, most of the scenario has a limit on minimum and maximum value. That's why there is a concept of Truncated Probability Distribution. Truncation is the idea to truncate either one or both end of a distribution and rescale the distribution. This can be done easily with this tool. As you can see there are 2 truncation sliders. Simply drag and move the slider to truncate. ### PMF/PDF, CDF, SF and Hazard Rate

The tool will create Cumulative distribution function, Survival Function and Hazard rate from the same Distribution. Using the Buttons PDF, CDF, SF, and Hazard rate, you can easily navigate to these views for the same distribution. This is the view of the Cumulative distribution function for the Normal Distribution. Same way, using the button SF, the survival function can be viewed.

### Custom Distributions using f(x) Expressions

When none of the distributions from the gallery fits your need, you have the freedom to model your own probability distribution using f(x) expressions. For example: ((3.4)^x * e^(-3.4))/factorial(x) Custom distributions can be modeled for both Continuous and Discrete Distributions.

### Model a distribution using a Data Table

Not only using f(x) expressions, you can populate a table to model the distribution as well. ### Even the data table can be of various perspectives

The table input can be for Probability Mass Function, Cumulative distribution function or Survival function. For example, here is a screenshot that demonstrates how to use a table for CDF to model a custom Discrete Distribution. ### Supported Environments

#### Operating Systems

Windows 7, Windows 8, 8.1, Windows 10

4.5 or later