Difference between revisions of "Manuals/calci/BINOMDIST"
(→ZOS) |
|||
| (6 intermediate revisions by 3 users not shown) | |||
| Line 5: | Line 5: | ||
*<math>probability</math> is the probability of success on each trial. | *<math>probability</math> is the probability of success on each trial. | ||
*<math>cumulative</math> is a logical value that determines the form of the function. | *<math>cumulative</math> is a logical value that determines the form of the function. | ||
| + | **BINOMDIST(), returns the individual term binomial distribution probability. | ||
==Description== | ==Description== | ||
| Line 32: | Line 33: | ||
*The Cumulative Binomial Distribution is:<math>B(x;n,p) = Pr(X \le x) =\sum_{i=0}^x \binom{n}{i}p^{i}(1-p)^{(n-i)}</math> | *The Cumulative Binomial Distribution is:<math>B(x;n,p) = Pr(X \le x) =\sum_{i=0}^x \binom{n}{i}p^{i}(1-p)^{(n-i)}</math> | ||
| − | ==ZOS | + | ==ZOS== |
*The syntax is to calculate <math>BINOMDIST(numbers,trials,probability,cumulative)</math> | *The syntax is to calculate <math>BINOMDIST(numbers,trials,probability,cumulative)</math> | ||
| Line 40: | Line 41: | ||
*<math>cumulative</math> is indicating the form of the function. | *<math>cumulative</math> is indicating the form of the function. | ||
*For e.g.BINOMDIST(9,12,0.2,false) | *For e.g.BINOMDIST(9,12,0.2,false) | ||
| − | {{#ev:youtube| | + | {{#ev:youtube|v=3PWKQiLK41M|280|center|Binomial Distribution}} |
==Example== | ==Example== | ||
| Line 64: | Line 65: | ||
|12 | |12 | ||
|0.5(1/2) | |0.5(1/2) | ||
| − | | | + | |FALSE |
|0.193359375 | |0.193359375 | ||
|- class="even" | |- class="even" | ||
| Line 71: | Line 72: | ||
|15 | |15 | ||
|0.007 | |0.007 | ||
| − | | | + | |FALSE |
|0.00469597319803066 | |0.00469597319803066 | ||
|- class="odd" | |- class="odd" | ||
| Line 78: | Line 79: | ||
|10 | |10 | ||
|0.2 | |0.2 | ||
| − | | | + | |TRUE |
|0.6777995264000007 | |0.6777995264000007 | ||
|- class="even" | |- class="even" | ||
|} | |} | ||
| + | |||
| + | ==Related Videos== | ||
| + | |||
| + | {{#ev:youtube|WWv0RUxDfbs|280|center|Binomial Distribution}} | ||
==See Also== | ==See Also== | ||
| Line 91: | Line 96: | ||
==References== | ==References== | ||
[http://en.wikipedia.org/wiki/Binomial_distribution Binomial Distribution] | [http://en.wikipedia.org/wiki/Binomial_distribution Binomial Distribution] | ||
| + | |||
| + | |||
| + | *[[Z_API_Functions | List of Main Z Functions]] | ||
| + | |||
| + | *[[ Z3 | Z3 home ]] | ||
Latest revision as of 02:30, 25 August 2020
- is the number of successes in trials.
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle trials} is the number of independent trials.
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle probability} is the probability of success on each trial.
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle cumulative}
is a logical value that determines the form of the function.
- BINOMDIST(), returns the individual term binomial distribution probability.
Description
- This function gives the individual element Binomial Distribution Probability.
- We can use this function when the following conditions are satisfied:
- A number of tests Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n} should be fixed.
- Each test must be independent.
- Each test represents only two results(Success/Failure)
- No test has any impact on any other test.
For example, the number of ways to achieve 2 heads in a set of four tosses is "4 choose 2".
- In BINOMDIST function, Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle numbers} is the number of successes in trials.
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle trials} is the number trials to be made, also Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle numbers} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle trials} should be integers.
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle probability} is the number of probability of success on each independent trials.
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle cumulative} is the logical value like TRUE or FALSE. If it is TRUE it will give the cumulative value or FALSE it will give the exact probability.
This function gives result as "Error" when
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle numbers} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle trials} are not an Integer.
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle numbers,trials,probability} are not a numeric.
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle numbers < 0} or Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle numbers > trials}
- Also Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle probability < 0} or Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle probability >1}
For Example: =BINOMDIST (4, 12, 0.3, FALSE) is 0.2311
- The binomial distribution with parameters n and p, we write Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle X \tilde{} B(n, p)} .
- The probability of getting exactly Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle k } successes in Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n } trials is given by the Probability Mass Function:
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle b(k;n,p)=Pr(X = k) = \binom{n}{k}p^{k}(1-p)^{n-k}} for k=0,1,2,3...n where Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \binom{n}{k}} is the COMBIN(n,k) i.e.Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \binom{n}{k} = \frac{n!}{k!(n-k)}!}
- The Cumulative Binomial Distribution is:Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle B(x;n,p) = Pr(X \le x) =\sum_{i=0}^x \binom{n}{i}p^{i}(1-p)^{(n-i)}}
ZOS
- The syntax is to calculate Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle BINOMDIST(numbers,trials,probability,cumulative)}
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle numbers} is the number of successes in trials.
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle trials} is the number of independent trials.
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle probability} is the probability of success on each trial.
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle cumulative} is indicating the form of the function.
- For e.g.BINOMDIST(9,12,0.2,false)
Example
- Toss a coin for 12 times. What is the probability of getting exactly 7 heads.
- Here ns=7,ts=12,and ps=1/2=0.5
- The LMB Company manufactures tires. They claim that only .007 of LMB tires are defective. What is the probability of finding 2 defective tires in a random sample of 50 LMB tires?
- Here ns=2,ts=50 and ps=0.007
| Questions | ns | ts | ps | cu | Result |
|---|---|---|---|---|---|
| Question 1 | 7 | 12 | 0.5(1/2) | FALSE | 0.193359375 |
| Question2 | 2 | 15 | 0.007 | FALSE | 0.00469597319803066 |
| Question3 | 2 | 10 | 0.2 | TRUE | 0.6777995264000007 |
Related Videos
See Also
References