Difference between revisions of "Manuals/calci/PROB"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left"> '''PROB'''(Xs, Probabiltiy, LowerLimit, UpperLimit) where, '''Xs''' - is the set of numeric values of X with a...")
 
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left">
+
<div style="font-size:30px">'''PROB (Xs,Probabilities,lower_limit,upper_limit)'''</div><br/>
 +
*<math>Xs</math> is the array of x range of values in the function.
 +
*<math>Probabilities</math> is the set of probabilities.
 +
*<math>lowerlimit</math> is the lower limit
 +
*<math>upperlimit</math> is the upper limit value.
 +
**PROB(),returns the probability that values in a range are between two limits.
  
'''PROB'''(Xs, Probabiltiy, LowerLimit, UpperLimit)
+
==Description==
 +
*This function gives the probability that values in a range of given limits.
 +
*Probability is the likelihood that an event will occur.
 +
*Probabilities can be used to describe frequencies of outcomes in random experiments.
 +
*In <math>PROB(Xs,Probabilities,lowerlimit,upperlimit)</math>, <math>Xs</math> is the array of numeric values which there are associated probabilities, <math>Probabilities</math> is a set of probabilities associated with <math> Xs</math>, <math>lowerlimit</math> is the lower limit of the probability and <math>upperlimit</math> is the upper limit of the probability.
 +
*Here <math>upperlimit</math> is optional. When we are omitting the value of <math>upperlimit</math>, then the function simply returns the probability associated with the value of the given <math>lowerlimit</math>.
 +
*This function will return the result as error when
 +
1.Any one of the value is non-numeric.
 +
2.Any value of <math> Probabilities \le 0 </math> or <math>Probabilities >1</math>
 +
3.The values in the given <math>Probabilities</math>  do not adding  up to 1
 +
4.<math>Xs</math> and <math>Probabilities</math> is of different number of data points.
  
where,
+
==Examples==
 +
1.
 +
{| class="wikitable"
 +
|+Spreadsheet
 +
|-
 +
! !! A !! B !! C
 +
|-
 +
! 1
 +
| 0 || 1 || 2
 +
|-
 +
! 2
 +
| 0.3 || 0.5 || 0.2
 +
|}
 +
=PROB(A1:C1,A2:C2,1) = 0.5
 +
=PROB(A1:C1,A2:C2,1,3) = 0.7
  
'''Xs''' - is the set of numeric values of X with associated probabilties.
+
2.
 +
{| class="wikitable"
 +
|+Spreadsheet
 +
|-
 +
! !! A !! B !! C !! D
 +
|-
 +
! 1
 +
| 1 || 2 || 3 ||4
 +
|-
 +
! 2
 +
| 0.2 || 0.2 || 0.1 ||0.5
 +
|}
 +
=PROB(A1:D1,A2:D2,2) = 0.2
 +
=PROB(A1:D1,A2:D2,2,4) = 0.8
  
'''Probability''' - is a set of probability.
+
3.
 
+
{| class="wikitable"
'''LowerLimit''' - is the lower bound on the values for a probability.
+
|+Spreadsheet
 
+
|-
'''UpperLimit '''- is the optional upper bound on the value for a probability.
+
! !! A !! B !! C
 
+
|-
</div>
+
! 1
----
+
| 0 || 1 || 2
<div id="1SpaceContent" class="zcontent" align="left">
+
|-
 
+
! 2
It returns the probability that values ina range are between two limits.
+
| 0.3 || 0.7 || 0.1
 
+
|}
</div>
 
----
 
<div id="7SpaceContent" class="zcontent" align="left">
 
 
 
If Probability &lt;= 0 or Probability &gt; 1, PROB returns the #ERROR.
 
 
 
If UpperLimit is omitted, then it returns the probability of being equal to LowerLimit.
 
 
 
If Xs and Probalbility have different number of data points, PROB returns the #ERROR.
 
 
 
</div>
 
----
 
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
 
 
 
PROB
 
 
 
<font size="6"></font>
 
 
 
</div></div>
 
----
 
<div id="8SpaceContent" class="zcontent" align="left">
 
  
Lets see an example in (Column1, Row4)
+
=PROB(A1:C1,A2:C2,2) = NAN
  
<nowiki>=PROB(R1C1:R4C1,R1C2:R4C2,1,3)</nowiki>
+
==Related Videos==
  
PROB returns 0.7.
+
{{#ev:youtube|FICRd7Lp67s|280|center|PROBABILITY}}
  
consider an another example
+
==See Also==
 +
*[[Manuals/calci/BINOMDIST  | BINOMDIST ]]
 +
*[[Manuals/calci/CRITBINOM | CRITBINOM]]
  
<nowiki>=PROB(R1C1:R4C1,R1C2:R3C2,1,3)</nowiki>
+
==References==
 +
[http://en.wikipedia.org/wiki/Probability Probability ]
  
PROB returns #ERROR(Length of Xs != Length of Probability) .
 
  
</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="2SpaceContent" class="zcontent" align="left">
 
  
{| id="TABLE3" class="SpreadSheet blue"
+
*[[Z_API_Functions | List of Main Z Functions]]
|- class="even"
 
| class=" " |
 
| Column1
 
| class="  " | Column2
 
| Column3
 
| Column4
 
|- class="odd"
 
| class=" " | Row1
 
| class=" " | 2
 
| class=" " | 0.2
 
| class=" " |
 
| class=" " |
 
|- class="even"
 
| class="  " | Row2
 
| class=" " | 1
 
| class=" " | 0.4
 
| class=" " |
 
| class=" " |
 
|- class="odd"
 
| Row3
 
| class=" " | 3
 
| class=" " | 0.1
 
| class=" " |
 
| class=" " |
 
|- class="even"
 
| Row4
 
| class=" " | 4
 
| class=" " | 0.3
 
| class=" " |
 
| class=" " |
 
|- class="odd"
 
| class=" " | Row5
 
| class="      " |
 
| class="sshl_f" | 0.7
 
| class=" " |
 
| class=" " |
 
|- class="even"
 
| Row6
 
| class=" " |
 
| class="                                SelectTD ChangeBGColor SelectTD" |
 
<div id="2Space_Handle" class="zhandles" title="Click and Drag to resize CALCI Column/Row/Cell. It is EZ!"></div><div id="2Space_Copy" class="zhandles" title="Click and Drag over to AutoFill other cells."></div><div id="2Space_Drag" class="zhandles" title="Click and Drag to Move/Copy Area.">[[Image:copy-cube.gif]]  </div>
 
| class=" " |
 
| class=" " |
 
|}
 
  
<div align="left">[[Image:calci1.gif]]</div></div>
+
*[[ Z3 |  Z3 home ]]
----
 

Latest revision as of 15:59, 8 August 2018

PROB (Xs,Probabilities,lower_limit,upper_limit)


  • is the array of x range of values in the function.
  • is the set of probabilities.
  • is the lower limit
  • is the upper limit value.
    • PROB(),returns the probability that values in a range are between two limits.

Description

  • This function gives the probability that values in a range of given limits.
  • Probability is the likelihood that an event will occur.
  • Probabilities can be used to describe frequencies of outcomes in random experiments.
  • In , is the array of numeric values which there are associated probabilities, is a set of probabilities associated with , is the lower limit of the probability and is the upper limit of the probability.
  • Here is optional. When we are omitting the value of , then the function simply returns the probability associated with the value of the given .
  • This function will return the result as error when
1.Any one of the value is non-numeric.
2.Any value of  or 
3.The values in the given   do not adding  up to 1
4. and  is of different number of data points.

Examples

1.

Spreadsheet
A B C
1 0 1 2
2 0.3 0.5 0.2
=PROB(A1:C1,A2:C2,1) = 0.5
=PROB(A1:C1,A2:C2,1,3) = 0.7

2.

Spreadsheet
A B C D
1 1 2 3 4
2 0.2 0.2 0.1 0.5
=PROB(A1:D1,A2:D2,2) = 0.2
=PROB(A1:D1,A2:D2,2,4) = 0.8

3.

Spreadsheet
A B C
1 0 1 2
2 0.3 0.7 0.1
=PROB(A1:C1,A2:C2,2) = NAN

Related Videos

PROBABILITY

See Also

References

Probability