Difference between revisions of "Manuals/calci/BINOMDIST"

From ZCubes Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<div style="font-size:30px">'''BINOMDIST (ns, ts, ps, cu)'''</div><br/>
+
<div style="font-size:30px">'''BINOMDIST (numbers, trials, probability, cumulative)'''</div><br/>
  
*<math>ns</math> is the number of successes in trials.
+
*<math>numbers</math> is the number of successes in trials.
*<math>ts</math> is the number of independent trials.
+
*<math>trials</math> is the number of independent trials.
*<math>ps</math> is the probability of success on each trial.
+
*<math>probability</math> is the probability of success on each trial.
*<math>cu</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.  
  
 
==Description==
 
==Description==
Line 15: Line 15:
 
#No test has  any impact on any other test.  
 
#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".
 
  For example, the number of ways to achieve 2 heads in a set of four tosses is "4 choose 2".
*In BINOMDIST function, <math>ns</math> is the number of successes  in trials.
+
*In BINOMDIST function, <math>numbers</math> is the number of successes  in trials.
*<math>ts</math> is the number trials to be made, also <math>ns</math> and <math>ts</math> should be integers.
+
*<math>trials</math> is the number trials to be made, also <math>numbers</math> and <math>ts</math> should be integers.
*<math>ps</math> is the number of probability of success on each independent trials.  
+
*<math>probability</math> is the number of probability of success on each independent trials.  
*<math>cu</math> 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.
+
*<math>cumulative</math> 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  
#<math>ns</math> and <math>ts</math> are not an Integer.  
+
#<math>numbers</math> and <math>trials</math> are not an Integer.  
#<math>ns,ts,ps</math> are not a numeric.
+
#<math>numbers,trials,probability</math> are not a numeric.
#<math>ns < 0</math> or <math>ns > ts</math>
+
#<math>numbers < 0</math> or <math>numbers > trials</math>
#Also <math>ps < 0</math> or <math>ps >1</math>
+
#Also <math>probability < 0</math> or <math>probability >1</math>
 
  For Example: =BINOMDIST (4, 12, 0.3, FALSE) is 0.2311
 
  For Example: =BINOMDIST (4, 12, 0.3, FALSE) is 0.2311
  

Revision as of 04:11, 11 July 2014

BINOMDIST (numbers, trials, probability, cumulative)


  • 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:
  1. A number of tests should be fixed.
  2. Each test must be independent.
  3. Each test represents only two results(Success/Failure)
  4. 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, is the number of successes in trials.
  • is the number trials to be made, also and should be integers.
  • is the number of probability of success on each independent trials.
  • 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

  1. and are not an Integer.
  2. are not a numeric.
  3. or
  4. Also or
For Example: =BINOMDIST (4, 12, 0.3, FALSE) is 0.2311
  • 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 is the COMBIN(n,k) i.e.

  • The Cumulative Binomial Distribution is:

ZOS Section

  • The syntax is to calculate
  • is the number of successes in trials.
  • is the number of independent trials.
  • is the probability of success on each trial.
  • is indicating the form of the function.
  • For e.g.BINOMDIST(9,12,0.2,false)
EmbedVideo received the bad id "C0STiQLN-tI?rel=0" for the service "youtube".

Example

  1. 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
  1. 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.0428446
Question3 2 10 0.2 True 0.6777995

See Also

References

Binomial Distribution