Difference between revisions of "Manuals/calci/CRITBINOM"

From ZCubes Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<div style="font-size:30px">'''CRITBINOM(ts,ps,alpha)'''</div><br/>
+
<div style="font-size:30px">'''CRITBINOM(trials,probabilitys,alpha,accuracy)'''</div><br/>
*<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 in one trial.
+
*<math>probabilitys</math> is the  probability of success in one trial.
 
*<math>alpha</math> is the criterion value.
 
*<math>alpha</math> is the criterion value.
 +
*<math>accuracy</math> gives accurate value of the solution.
 +
 
==Description==
 
==Description==
*the smallest value in Cumulative Binomial Distribution probability result is the Critbinom.
+
*The smallest value in Cumulative Binomial Distribution probability result is the Critbinom.
 
*This function is the inverse of the Cumulative Binomial Distribution.  
 
*This function is the inverse of the Cumulative Binomial Distribution.  
 
*For example, the Critbinom function could be used to find the smallest number of through the dice for which there is a 40% chance of at least 10 six's.  
 
*For example, the Critbinom function could be used to find the smallest number of through the dice for which there is a 40% chance of at least 10 six's.  
*In CRITBINOM(ts,ps,alpha), <math>ts</math> is the number of independent trials that are to be done (if <math>ts</math> value is in decimal then it is converted to an integer), <math>ps</math> is the  probability of success in one trial and <math>alpha</math> is the criterion value of the Cumulative Binomial Distribution (must be between 0 and 1).  
+
*In CRITBINOM(trials,probabilitys,alpha,accuracy), <math>trials</math> is the number of independent trials that are to be done (if <math>trials</math> value is in decimal then it is converted to an integer).
 +
*<math>probabilitys</math> is the  probability of success in one trial and <math>alpha</math> is the criterion value of the Cumulative Binomial Distribution (must be between 0 and 1).
 +
*<math>accuracy</math> gives accurate value of the solution.
 
*This function gives the result as error when  
 
*This function gives the result as error when  
 
  1.Any one of the argument is non-numeric.
 
  1.Any one of the argument is non-numeric.
  2.<math>ts<0</math>,or <math>ps<0</math> or <math>ps>1</math>
+
  2.<math>trials<0</math>,or <math>probabilitys<0</math> or <math>probabilitys>1</math>
  3.<math>alpha<0</math> or <math>alpha>1</math>
+
  3.<math>alpha<0</math> or <math>alpha>1</math>.
 +
 
 +
==ZOS Section==
 +
*The syntax is to calculate CRITBINOM in ZOS is <math>CRITBINOM(trials,probabilitys,alpha,accuracy)</math>.
 +
**<math>trials</math> is the number of independent trials.
 +
**<math>probabilitys</math> is the  probability of success in one trial.
 +
**<math>alpha</math> is the criterion value.
 +
**<math>accuracy</math> gives accurate value of the solution.
 +
*For e.g.,CRITBINOM(5..8,0.5,0.4,0.02)
  
 
==Examples==
 
==Examples==

Revision as of 00:08, 18 June 2014

CRITBINOM(trials,probabilitys,alpha,accuracy)


  • is the number of independent trials.
  • is the probability of success in one trial.
  • is the criterion value.
  • gives accurate value of the solution.

Description

  • The smallest value in Cumulative Binomial Distribution probability result is the Critbinom.
  • This function is the inverse of the Cumulative Binomial Distribution.
  • For example, the Critbinom function could be used to find the smallest number of through the dice for which there is a 40% chance of at least 10 six's.
  • In CRITBINOM(trials,probabilitys,alpha,accuracy), is the number of independent trials that are to be done (if value is in decimal then it is converted to an integer).
  • is the probability of success in one trial and is the criterion value of the Cumulative Binomial Distribution (must be between 0 and 1).
  • gives accurate value of the solution.
  • This function gives the result as error when
1.Any one of the argument is non-numeric.
2.,or  or 
3. or .

ZOS Section

  • The syntax is to calculate CRITBINOM in ZOS is .
    • is the number of independent trials.
    • is the probability of success in one trial.
    • is the criterion value.
    • gives accurate value of the solution.
  • For e.g.,CRITBINOM(5..8,0.5,0.4,0.02)

Examples

  1. CRITBINOM(5,0.6,0.4) = 3
  2. CRITBINOM(8,0.1,0.25) = 1
  3. CRITBINOM(20,0.75,0.65) = 16
  4. CRITBINOM(20,1,1.5) = NAN
  5. CRITBINOM(9.5,0.4,0.35) = 3
  6. CRITBINOM(12,-0.25,0.3) = NAN

See Also

References

Binomial Distribution