Difference between revisions of "Manuals/calci/BINOMDIST"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | <div style="font-size:30px">'''BINOMDIST ( | + | <div style="font-size:30px">'''BINOMDIST (NS, TS, PS, CU)'''</div><br/> |
*<math>ns</math> is the number of successes in trials. | *<math>ns</math> is the number of successes in trials. | ||
Line 15: | Line 15: | ||
*TS is the number trials to be made, also NS and TS should be integers. | *TS is the number trials to be made, also NS and TS should be integers. | ||
*And PS is number of probability of success on each independent trials. | *And PS is number of probability of success on each independent trials. | ||
− | *Finally | + | *Finally CU 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 | This function gives result as "Error" when | ||
#NS and TS are not an Integer. | #NS and TS are not an Integer. | ||
Line 26: | Line 26: | ||
<math> b(k;n,p)=Pr(X = k) = \binom{n}{k}p^{k}(1-p)^{n-k}</math> for k=0,1,2,3...n where (n,k)is the COMBIN(n,k) i.e.<math>(n,k)=\frac{n!}{k!(n-k)}!</math> | <math> b(k;n,p)=Pr(X = k) = \binom{n}{k}p^{k}(1-p)^{n-k}</math> for k=0,1,2,3...n where (n,k)is the COMBIN(n,k) i.e.<math>(n,k)=\frac{n!}{k!(n-k)}!</math> | ||
− | The Cumulative Binomial | + | The Cumulative Binomial Distrbution is:<math>B(x;n,p) = Pr(X \le x) =\sum_{n=0}^x \binom{n}{i}p^{i}(1-p)^{(n-i)}</math> |
*It calculates the individual term Binomial Distribution Probability. | *It calculates the individual term Binomial Distribution Probability. | ||
*ns and ts are integers. | *ns and ts are integers. | ||
Line 56: | Line 56: | ||
|7 | |7 | ||
|12 | |12 | ||
− | |0.5 | + | |0.5(1/2) |
|False | |False | ||
|0.193359375 | |0.193359375 |
Revision as of 23:54, 17 November 2013
BINOMDIST (NS, TS, PS, CU)
- is the number of successes in trials.
- is the number of independent trials.
- is the probability of success on each trial
- is a logical value that determines the form of the function.
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 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, NS is the number of successes in trials.
- TS is the number trials to be made, also NS and TS should be integers.
- And PS is number of probability of success on each independent trials.
- Finally CU 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
- NS and TS are not an Integer.
- NS,TS and PS are not a numeric.
- NS < 0 or NS > TS.
- Also PS < 0 or PS > 1.
The binomial distribution with parameters n and p, we write . The probability of getting exactly successes in trials is given by the Probability Mass Function: for k=0,1,2,3...n where (n,k)is the COMBIN(n,k) i.e.
The Cumulative Binomial Distrbution is:
- It calculates the individual term Binomial Distribution Probability.
- ns and ts are integers.
- When ns or ts or ps is non-numeric BINOMDIST displays error.
- When ns is less than 0 or greater than t, BINOMDIST shows NaN.
When ps is less than 0 or greater than 1, BINOMDIST calculates the wrong result. = BINOMDIST (4, 12, 0.3, FALSE) is 0.2311
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
- BINOMDIST(7,12,0.5,FALSE)=0.193359375
- 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
- BINOMDIST(2,50,0.007,false)=0.0428446
Questions | NS | TS | PS | CU | Result |
---|---|---|---|---|---|
Question 1 | 7 | 12 | 0.5(1/2) | False | 0.193359375 |
Question2 | 2 | 15 | 0.007 | False | 0.0428446 |