Thursday, 24 October 2013

Binomial Distribution CDF and Quantile Calculator

An implementation of the Binomial Distribution CDF and Quantile function Calculator occurs below. The Binomial Distribution is known as a Probability Mass Function as it describes the distribution of discrete random variables, which are integers from 0 upwards i.e. positive integers. For parameters $n$ (integer, greater than 0) and $p$ (which must lie between 0 and 1) the Binomial distribution function is:-


$\Large {n \choose k}p^k(1-p)^{n-k}$  


Note that $k$ must lie between 0 and $n$ inclusive. We can regard $n$ as the number of trials and $p$ as the probability of success of each trial, while $k$ is the number of successes. The $n$ and $p$ fields have to be filled in, as well as one out of the two fields which are labelled Upper Limit and Probability (the Lower limit is fixed to 0). The upper limit field needs to contain an integer number greater than or equal to 0. The probability field must contain a number between 0 and 1 only.



$n$:
$p$:


Upper limit:
Probablility:



Plot of distribution ($f(x)$) values against $x$ values
$f(x)$
$x$


2 comments:

  1. Data science is one of the top course in today's career. Your content will going to helpful for all the beginners who are trying to find Binomial Distribution Tutorial. Thanks for sharing useful information. keep updating.

    ReplyDelete
  2. Good luck to anyone reading this true life story of mine, I Was Diagnosed With type 2 Herpes Virus Last year, And I Was Looking For Solution To Be Cured Luckily I Saw Testimonies On How Dr OYAGU Cure Herpes Virus I Decided To Contact Dr OYAGU I Contacted Him He Prepared A Herbal Medicine Portion And Sent It To Me, I Started The Herbal Medicine For My Health. He Gave Me Step By Step Instructions On How To Apply It, When I Applied It As Instructed, I Was Cured Of This Deadly Herpes Within 2 weeks, I Am Now Herpes Negative. My Brother And Sister I No That There Are So Many People That Have The Same Herpes Virus Please contact Dr OYAGU To Help You Too, And Help Me To Thank Dr OYAGU For Cure Me, I’m Cured By Dr. OYAGU Herbal Medicine, His Contact Email:oyaguherbalhome@gmail.com or visit his website https://oyaguspellcaster.wixsite.com/oyaguherbalhome Or Cell Whatsapp Number +2348101755322 thank you

    ReplyDelete

Logistic Regression Calculator and ROC Curve Plotter

This blog post implements a Logistic Regression calculator for a binary output. Consider a binary outcome response variable \(Y\...