(12C) Binomial Distribution
|
08-25-2018, 10:29 AM
(This post was last modified: 08-25-2018 10:36 AM by Gamo.)
Post: #1
|
|||
|
|||
(12C) Binomial Distribution
This program calculate Binomial Distribution using three known variables.
Binomial Distribution formula: f(x) = (nCx)(p^x)(1-p)^n-x where n and x are integers, nCx = n! / x!(n-x)! // n choose x Combination 0 ≤ x ≤ n ≤ 69 and 0 < p < 1 n = number of times experiment run x = number we want p = probability of one specific run Procedure: n [ENTER] x [ENTER] p [R/S] Example: FIX 9 Sam says "70% choose chicken, so 7 of the next 10 customers should choose chicken" What are the chances Sam is right? n = 10 // Total of 10 customers x = 7 // 7 out of 10 P = 0.7 // 70% choose chicken 10 [ENTER] 7 [ENTER] .7 [R/S] display 0.266827932 Answer: about 27% chance Program: Binomial Distribution Code:
Gamo |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)