Difference between revisions of "Manuals/calci/CRITBINOM"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left">   '''CRITBINOM (t, prob, alpha)''' '''Where ‘t’ is the number of Bernoulli trials, ‘Prob’ is the probabi...")
 
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left">  
+
<div style="font-size:30px">'''CRITBINOM(ts,ps,alpha)'''</div><br/>
 +
*<math>ts is the number of independent trials</math>.
 +
*<math>ps is the  probability of success in one trial</math>.
 +
*<math>alpha  is the criterion value</math>.
 +
==Description==
 +
This function gives the smallest value for which the cumulative binomial distribution is a specified probability. 
 +
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(ts,ps,alpha) ,ts is the number of independent trials that are to be done(the ts value is in decimal then it is converted in to integer) ,ps is the  probability of success in one trial and alpha The criterion value of the Cumulative Binomial Distribution (must be between 0 and 1).
 +
This function gives the result as error when
 +
#Any one of the argument is nonnumeric.
 +
#ts<0,or ps<0 or ps>1
 +
#alpha<0 or alpha>1
 +
==Examples==
  
'''CRITBINOM (t, prob, alpha)'''
+
#CRITBINOM(5,0.6,0.4)=3
 +
#CRITBINOM(8,0.1,0.25)=1
 +
#CRITBINOM(20,0.75,0.65)=16
 +
#CRITBINOM(20,1,1.5)=NAN
 +
#CRITBINOM(9.5,0.4,0.35)=3
 +
#CRITBINOM(12,-0.25,0.3)=NAN
  
'''Where ‘t’ is the number of Bernoulli trials, ‘Prob’ is the probability of a success on each trial and ‘alpha’ is the criterion value.'''
+
==See Also==
 
+
*[[Manuals/calci/BINOMDIST  | BINOMDIST ]]
</div>
+
*[[Manuals/calci/NEGBINOMDIST  | NEGBINOMDIST ]]
----
+
*[[Manuals/calci/COMBIN  | COMBIN ]]
<div id="1SpaceContent" class="zcontent" align="left">
+
*[[Manuals/calci/FACT | FACT ]]
 
+
==References==
This function is to determine the quality assurance applications. It returns, the cumulative binomial distribution is greater than or equal to a criterion value.
+
[http://en.wikipedia.org/wiki/Pearson_product-moment_correlation_coefficient| Correlation]
 
 
</div>
 
----
 
<div id="7SpaceContent" class="zcontent" align="left"> 
 
 
 
* This function accepts all numeric values.
 
* Trials should be grater than 0.
 
* Prob and alpha should be between 0 and 1
 
 
 
</div>
 
----
 
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
 
 
 
CRITBINOM
 
 
 
</div></div>
 
----
 
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Syntax </div><div class="ZEditBox"><center></center></div></div>
 
----
 
<div id="4SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Remarks </div></div>
 
----
 
<div id="3SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Examples </div></div>
 
----
 
<div id="11SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Description </div></div>
 
----
 
<div id="5SpaceContent" class="zcontent" align="left">
 
 
 
Lets see an example,
 
 
 
CRITBINOM(t,prob,alpha)
 
 
 
'''B'''
 
 
 
8
 
 
 
0.65
 
 
 
0.80
 
 
 
<nowiki>=CRITBINOM(B2,B3,B4)</nowiki>
 
 
 
</div>
 
----
 
<div id="2SpaceContent" class="zcontent" align="left">
 
 
 
{| id="TABLE3" class="SpreadSheet blue"
 
|- class="even"
 
| class=" " |
 
| class="  " | Column1
 
| class="  " | Column2
 
| class="  " | Column3
 
| class="                                                          " |
 
|- class="odd"
 
| class=" " | Row1
 
| class=" " | 8
 
| class="      " |
 
<div id="2EditDiv" class="tab active">=CRITBINOM(B2,B3,B4)C3</div><div id="2Space_Handle" class="zhandles"></div><div id="2Space_Copy" class="zhandles"></div>
 
| class="sshl_f" |
 
|
 
|- class="even"
 
| class=" " | Row2
 
| class=" " | 0.65
 
| class="SelectTD" |
 
|
 
|
 
|- class="odd"
 
| Row3
 
| class="sshl_f " | 0.80
 
| class="sshl_f  " |
 
|
 
|
 
|- class="even"
 
| Row4
 
| class="        " |
 
| class="sshl_f  " |
 
| class=" " |
 
|
 
|- class="odd"
 
| class=" " | Row5
 
| class="sshl_f" |
 
| class="sshl_f  " |
 
| class=" " |
 
|
 
|- class="even"
 
| class="sshl_f" | Row6
 
| class="sshl_f" |
 
| class="sshl_f  " |
 
| class=" " |
 
|
 
|}
 
 
 
<div align="left">[[Image:calci1.gif]]</div></div>
 
----
 

Revision as of 00:37, 10 December 2013

CRITBINOM(ts,ps,alpha)


  • 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 ts 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 ps is the probability of success in one 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 alpha is the criterion value} .

Description

This function gives the smallest value for which the cumulative binomial distribution is a specified probability. 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(ts,ps,alpha) ,ts is the number of independent trials that are to be done(the ts value is in decimal then it is converted in to integer) ,ps is the probability of success in one trial and alpha The criterion value of the Cumulative Binomial Distribution (must be between 0 and 1). This function gives the result as error when

  1. Any one of the argument is nonnumeric.
  2. ts<0,or ps<0 or ps>1
  3. alpha<0 or alpha>1

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

Correlation