Autonomous Vehicle/Theory

(prerequisite-Poisson distribution) Binomial Distribution

Naranjito 2024. 3. 15. 19:06
  • Binomial Distribution

 

It is the discrete probability distribution that gives only two possible results in an experiment, either Success or Failure. For example, if we toss a coin, there could be only two possible outcomes: heads or tails, and if any test is taken, then there could be only two results: pass or fail. 

 

P r ( K = k ) = ( n k ) p k ( 1 p ) n k

- k = 0 , 1 , 2 , , n

( n k ) = n ! k ! ( n k ) ! = n C k

- p : Success Probability

- n : The number of events occurring within a given interval of time or space.

- ( p k ) : The success of the k times.

- ( ( 1 p ) n k ) : The probability of n k times failure.

Example.

 

k = 0 , 1 , 2 , , 10 : The number of times to toss the coin.

p : The probability of a HEAD coming out when you toss a coin, assume 1/2.

k = 0 : 10 ! 0 ! 10 ! ( 1 2 ) 0 ( 1 1 2 ) 10 = 0.0010 k = 1 : 10 ! 1 ! 9 ! ( 1 2 ) 1 ( 1 1 2 ) 9 = 0.0098 k = 2 : 10 ! 2 ! 8 ! ( 1 2 ) 2 ( 1 1 2 ) 8 = 0.0439 k = 10 : 10 ! 10 ! 0 ! ( 1 2 ) 10 ( 1 1 2 ) 0 = 0.0010

P r ( K = k ) = [ 0.0010 , 0.0098 , 0.0439 , 0.1172 , 0.2051 , 0.2461 , 0.2051 , 0.1172 , 0.0439 , 0.0098 , 0.0010 ]

 

https://angeloyeo.github.io/2021/04/23/binomial_distribution.html