A Poisson Distribution is a probability distribution which calculates the probability of a set of independent occurrences within a fixed time or space. e.g. Let us suppose that a prestigious college receives 1000 applications in a particular time interval. On average, 20 applications are accepted.
However, we know that while the average is 20, our distribution allows for the possibility that the actual number of applications accepted could be greater or less than 20. In this regard, the Poisson distribution graphs by means of a histogram the probability or frequency of occurring events that both coincide with the average as well as deviate from the average.
On the other hand, a cumulative binomial probability distribution allows us to analyse the probability of an event occurring over a certain number of iterations. For example, let us suppose that the probability of an event happening during a single trial is 6% (this is our lambda). However, if we have 100 trials (i.e. the event takes place 100 times), then the probability shoots up to 99%.
Let us explore each probability distribution separately below:
Poisson Distribution
As a case in point, we demonstrate in Python and R the Poisson distribution for 1000 independent trades (trials) given a lambda value of 20:
Python
#Import libraries: import numpy as np import matplotlib.pyplot as plt #l=lambda and x=number of observations approximating normal distribution l=20 x=1000 #s = Poisson Distribution s = np.random.poisson(l, x) #Histogram plotted with 10 bins plt.hist(s, 10) plt.show()

R
x=0:40 lambda=20 #dpois = Poisson Distribution probability = dpois(x,lambda) #Histogram plot plot(x, probability, type="h", col="blue")

From the above plots, we can see that while the distribution peaks at 20, we have varying degrees of probability across our histogram.
Cumulative Binomial Probability Plots
In conducting probability analysis, the two variables that take account of the chance of an event happening are N (number of observations) and λ (lambda – our hit rate/chance of occurrence in a single interval).
Note that the below code can also be written as a function – but I will first write an extended version to illustrate exactly how the calculations are taking place.
Based on the law of large numbers, the larger the number of trials; the larger the probability of an event happening even if the probability within a single trial is very low (output generated using R):
#n values
n0=0
n1=10
n2=n1*2
n3=n1*3
n4=n1*4
n5=n1*5
n6=n1*6
n7=n1*7
n8=n1*8
n9=n1*9
n10=n1*10
#lambda values
lambda1=0.02
lambda2=0.04
lambda3=0.06
#mu values for lambda1
mu0=1-((1-lambda1)^n0)
mu1=1-((1-lambda1)^n1)
mu2=1-((1-lambda1)^n2)
mu3=1-((1-lambda1)^n3)
mu4=1-((1-lambda1)^n4)
mu5=1-((1-lambda1)^n5)
mu6=1-((1-lambda1)^n6)
mu7=1-((1-lambda1)^n7)
mu8=1-((1-lambda1)^n8)
mu9=1-((1-lambda1)^n9)
mu10=1-((1-lambda1)^n10)
#mu values for lambda2
mu.0=1-((1-lambda2)^n0)
mu.1=1-((1-lambda2)^n1)
mu.2=1-((1-lambda2)^n2)
mu.3=1-((1-lambda2)^n3)
mu.4=1-((1-lambda2)^n4)
mu.5=1-((1-lambda2)^n5)
mu.6=1-((1-lambda2)^n6)
mu.7=1-((1-lambda2)^n7)
mu.8=1-((1-lambda2)^n8)
mu.9=1-((1-lambda2)^n9)
mu.10=1-((1-lambda2)^n10)
#mu values for lambda3
mu..0=1-((1-lambda3)^n0)
mu..1=1-((1-lambda3)^n1)
mu..2=1-((1-lambda3)^n2)
mu..3=1-((1-lambda3)^n3)
mu..4=1-((1-lambda3)^n4)
mu..5=1-((1-lambda3)^n5)
mu..6=1-((1-lambda3)^n6)
mu..7=1-((1-lambda3)^n7)
mu..8=1-((1-lambda3)^n8)
mu..9=1-((1-lambda3)^n9)
mu..10=1-((1-lambda3)^n10)
#probability values
probability_at_lambda_1 <- c(mu0, mu1, mu2, mu3, mu4, mu5, mu6, mu7, mu8, mu9, mu10)
probability_at_lambda_2 <- c(mu.0, mu.1, mu.2, mu.3, mu.4, mu.5, mu.6, mu.7, mu.8, mu.9, mu.10)
probability_at_lambda_3 <- c(mu..0, mu..1, mu..2, mu..3, mu..4, mu..5, mu..6, mu..7, mu..8, mu..9, mu..10)
#graph plots
par(bg = '#191661', fg = '#ffffff', col.main = '#ffffff', col.lab = '#ffffff', col.axis = '#ffffff')
plot(probability_at_lambda_1,type="o",col="#b1aef4", xlab="N", ylab="Probability", xlim=c(0, 10), ylim=c(0.0, 1.0), pch=19)
lines(probability_at_lambda_2,type="o",col="red", xlab="N", ylab="Probability2", xlim=c(0, 10), ylim=c(0.0, 1.0), pch=19)
lines(probability_at_lambda_3,type="o",col="green", xlab="N", ylab="Probability3", xlim=c(0, 10), ylim=c(0.0, 1.0), pch=19)
title(main="Probability Chart")
grid(nx = NULL, ny = NULL, col = "lightgray", lty = "dotted",
lwd = par("lwd"), equilogs = TRUE)
legend("bottomright", probability[2], c("probability_at_lambda_1","probability_at_lambda_2", "probability_at_lambda_3"), cex=0.8, col=c("#b1aef4","red","green"), pch=21:22, lty=1:2)

This graph demonstrates that even as we have a low probability of occurrence for a lower value of N, we have a higher probability of occurrence for a higher value of N.
As mentioned, this code can also be written as a function and then graphed as follows:
par(bg = '#191661', fg = '#ffffff', col.main = '#ffffff', col.lab = '#ffffff', col.axis = '#ffffff')
muCalculation <- function(lambda, powers) {1 - ((1 - lambda)^powers)}
probability_at_lambda <- sapply(c(0.02, 0.04, 0.06), muCalculation, seq(0, 100, 10))
Then, we can set up our data as a data frame and then plot as normal:
probability_at_lambdadf=data.frame(probability_at_lambda)
col_headings <- c("probability1","probability2","probability3")
names(probability_at_lambdadf) <- col_headings
probability_at_lambdadf
attach(probability_at_lambdadf)
plot(probability_at_lambdadf$probability1,type="o",col="#b1aef4", xlab="N", ylab="Probability", xlim=c(0, 10), ylim=c(0.0, 1.0), pch=19)
lines(probability_at_lambdadf$probability2,type="o",col="red", xlab="N", ylab="Probability2", xlim=c(0, 10), ylim=c(0.0, 1.0), pch=19)
lines(probability_at_lambdadf$probability3,type="o",col="green", xlab="N", ylab="Probability3", xlim=c(0, 10), ylim=c(0.0, 1.0), pch=19)
title(main="Probability Chart")
grid(nx = NULL, ny = NULL, col = "lightgray", lty = "dotted",
lwd = par("lwd"), equilogs = TRUE)
legend("bottomright", probability[2], c("probability_at_lambda_1","probability_at_lambda_2", "probability_at_lambda_3"), cex=0.6, col=c("#b1aef4","red","green"), pch=21:22, lty=1:2)