Probability

4 Important Probability Distributions – Normal, Binomial, Poisson, Bernoulli

4 Important Probability Distributions – Normal, Binomial, Poisson, Bernoulli

A probability distribution specifies the likelihood of all possible outcomes of a random variable. The distribution may be classified as either continuous or discrete based on the values assumed by a random variable. Various forms of probability distributions exist. In this post, I will examine Normal, Binomial, Poisson and Bernoulli distribution and demonstrate how to utilize Python to plot it.

read more...
Detect Outliers Using Z-Score In Python

Detect Outliers Using Z-Score In Python

In a Normal Distribution, it is estimated that 68% of the data points lie between +/- 1 standard deviation, 95% of the data points lie between +/- 2 standard deviation, 99.7% of the data points lie between +/-3 standard deviation.

Now if the Z-Score of a data point is more than 3, it indicates that the data point is quite different from rest of the data points. Such a data points are called Outliers.

read more...
How To Display A Plot In Python

How To Display A Plot In Python

Matplotlib.Pyplot is a compilation of utilities that enables matplotlib to operate similarly to MATLAB. Each pyplot function modifies a figure: for instance, it may generate a figure, establish a plotting area within a figure, plot lines in a plotting region, or embellish the plot with labels, among other actions.

read more...