Difference between revisions of "Manuals/calci/BETADIST"

From ZCubes Wiki
Jump to navigation Jump to search
 
(29 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div style="font-size:30px">'''BETADIST(x,alpha,beta,a,b)'''</div><br/>
+
<div style="font-size:30px">'''BETADIST (Number,Alpha,Beta,LowerBound,UpperBound)'''</div><br/>
*x is the value between a and b,
+
*<math>Number</math> is the value between <math>LowerBound</math> and <math>UpperBound</math>
*alpha and beta are the value of the shape parameter
+
*<math>Alpha</math> and <math>Beta</math> are the value of the shape parameter
*a & b the lower and upper limit to the interval of x.
+
*<math>LowerBound</math> & <math>UpperBound</math> the lower and upper limit to the interval of <math>Number</math>.
 +
**BETADIST(),returns the Beta Cumulative Distribution Function.
  
 
==Description==
 
==Description==
Line 8: Line 9:
 
*The beta distribution is a family of Continuous Probability Distributions defined on the interval [0, 1] parameterized by two positive shape parameters, denoted by <math>\alpha</math> and <math>\beta</math>.
 
*The beta distribution is a family of Continuous Probability Distributions defined on the interval [0, 1] parameterized by two positive shape parameters, denoted by <math>\alpha</math> and <math>\beta</math>.
 
*The Beta Distribution is also known as the Beta Distribution of the first kind.
 
*The Beta Distribution is also known as the Beta Distribution of the first kind.
*In <math>BETADIST(x,\alpha,\beta,a,b)</math>, <math>x</math> is the value between <math>a</math> and <math>b</math>.
+
*In <math>(Number,Alpha,Beta,LowerBound,UpperBound)</math>, <math>Number</math> is the value between <math>LowerBound</math> and <math>UpperBound</math>.
*alpha is the value of the shape parameter.
+
*Alpha is the value of the shape parameter.
*beta is the value of the shape parameter
+
*Beta is the value of the shape parameter
*<math>a</math> and <math>b</math>(optional) are  the Lower and Upper limit to the interval of <math>x</math>.
+
*<math>LowerBound</math> and <math>UpperBound</math>(optional) are  the Lower and Upper limit to the interval of <math>Number</math>.
*Normally <math>x</math> lies between the limit <math>a</math> and <math>b</math>, suppose when we are omitting  <math>a</math> and <math>b</math> value, by default <math>x</math> value with in 0 and 1.
+
*Normally <math>Number</math> lies between the limit <math>LowerBound</math> and <math>UpperBound</math>, suppose when we are omitting  <math>LowerBound</math> and <math>UpperBound</math> value, by default <math>Number</math> value with in 0 and 1.
 
*The Probability Density Function of the beta distribution is:
 
*The Probability Density Function of the beta distribution is:
 
<math>f(x)=\frac{x^{\alpha-1}(1-x)^{ \beta-1}}{B(\alpha,\beta)},</math> where <math>0 \le x \le 1</math>; <math>\alpha,\beta >0 </math> and <math>B(\alpha,\beta)</math> is the Beta function.
 
<math>f(x)=\frac{x^{\alpha-1}(1-x)^{ \beta-1}}{B(\alpha,\beta)},</math> where <math>0 \le x \le 1</math>; <math>\alpha,\beta >0 </math> and <math>B(\alpha,\beta)</math> is the Beta function.
 
*The formula for the Cumulative Beta Distribution is called the Incomplete Beta function ratio and it is denoted by <math>I_x</math> and is defined as :
 
*The formula for the Cumulative Beta Distribution is called the Incomplete Beta function ratio and it is denoted by <math>I_x</math> and is defined as :
<math>F(x)=I_x(\alpha,\beta)=\int_{0}^{x}\frac{t^{α−1}(1−t)^{\beta−1}dt} {B(\alpha,\beta)}</math>,  where <math>0 \le x \le 1</math>0 ; <math>\alpha,\beta>0</math> and <math>B(\alpha,\beta)</math> is the Beta function.
+
<math>F(x)=I_x(\alpha,\beta)</math>=<math>\int_{0}^{x}f(x)=\frac{t^{\alpha-1}(1-t)^{ \beta-1}dt}{B(\alpha,\beta)}</math>,  where <math>0 \le t \le 1</math> ; <math>\alpha,\beta>0</math> and <math>B(\alpha,\beta)</math> is the Beta function.
 
*This function will give the result as error when  
 
*This function will give the result as error when  
  1.Any one of the arguments are non-numeric
+
  1.Any one of the arguments are non-numeric.
  2.<math>\alpha \le 0</math> or <math>\beta \le 0</math>
+
  2.<math>Alpha \le 0</math> or <math>Beta \le 0</math>
  3.<math>x<a</math> ,<math>x>b</math>, or a=b
+
  3.<math>Number<LowerBound</math> ,<math>Number>UpperBound</math>, or <math>LowerBound=UpperBound</math>
*we are not mentioning the limit values <math>a</math> and <math>b</math>,  
+
*we are not mentioning the limit values <math>LowerBound</math> and <math>UpperBound</math>,  
by default it will consider the Standard Cumulative Beta Distribution, a = 0 and b = 1.
+
*By default it will consider the Standard Cumulative Beta Distribution, LowerBound = 0 and UpperBound = 1.
 +
 
 +
==ZOS==
 +
 
 +
*The syntax is to calculate BEATDIST in ZOS is <math>BETADIST (Number,Alpha,Beta,LowerBound,UpperBound)</math>.
 +
**<math>Number</math> is the value between LowerBound and UpperBound
 +
**<math>alpha</math> and <math>beta</math> are the value of the shape parameter.
 +
*For e.g.,BETADIST(11..13,3,5,8,14)
 +
*BETADIST(33..35,5..6,10..11,30,40)
 +
 
  
 
==Examples==
 
==Examples==
#=BETADIST(0.4,8,10) = 0.359492343
+
#=BETADIST(0.4,8,10) = 0.35949234293309396
#=BETADIST(3,5,9,2,6) = 0.20603810250
+
#=BETADIST(3,5,9,2,6) = 0.20603810250759128
#=BETADIST(9,4,2,8,11) = 0.04526748971
+
#=BETADIST(9,4,2,8,11) = 0.04526748971193415
#=BETADIST(5,-1,-2,4,7) = NAN
+
#=BETADIST(5,-1,-2,4,7) = #N/A (ALPHA GREATER THAN (OR) NOT EQUAL TO 0)
 +
 
 +
==Related Videos==
 +
 
 +
{{#ev:youtube|aZjUTx-E0Pk|280|center|Beta Distribution}}
  
 
==See Also==
 
==See Also==
Line 35: Line 49:
  
 
==References==
 
==References==
[http://en.wikipedia.org/wiki/Beta_distribution Beta Distribution]
+
[http://en.wikipedia.org/wiki/Beta_distribution Beta Distribution]
 +
 
 +
 
 +
 
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
 
 +
*[[ Z3 |  Z3 home ]]

Latest revision as of 04:57, 2 June 2020

BETADIST (Number,Alpha,Beta,LowerBound,UpperBound)


  • is the value between and
  • and are the value of the shape parameter
  • & the lower and upper limit to the interval of .
    • BETADIST(),returns the Beta Cumulative Distribution Function.

Description

  • This function gives the Cumulative Beta Probability Density function.
  • The beta distribution is a family of Continuous Probability Distributions defined on the interval [0, 1] parameterized by two positive shape parameters, denoted by and .
  • The Beta Distribution is also known as the Beta Distribution of the first kind.
  • In , is the value between and .
  • Alpha is the value of the shape parameter.
  • Beta is the value of the shape parameter
  • and (optional) are the Lower and Upper limit to the interval of .
  • Normally lies between the limit and , suppose when we are omitting and value, by default value with in 0 and 1.
  • The Probability Density Function of the beta distribution is:

where ; and is the Beta function.

  • The formula for the Cumulative Beta Distribution is called the Incomplete Beta function ratio and it is denoted by and is defined as :

=, where  ; and is the Beta function.

  • This function will give the result as error when
1.Any one of the arguments are non-numeric.
2. or 
3. ,, or 
  • we are not mentioning the limit values and ,
  • By default it will consider the Standard Cumulative Beta Distribution, LowerBound = 0 and UpperBound = 1.

ZOS

  • The syntax is to calculate BEATDIST in ZOS is .
    • is the value between LowerBound and UpperBound
    • and are the value of the shape parameter.
  • For e.g.,BETADIST(11..13,3,5,8,14)
  • BETADIST(33..35,5..6,10..11,30,40)


Examples

  1. =BETADIST(0.4,8,10) = 0.35949234293309396
  2. =BETADIST(3,5,9,2,6) = 0.20603810250759128
  3. =BETADIST(9,4,2,8,11) = 0.04526748971193415
  4. =BETADIST(5,-1,-2,4,7) = #N/A (ALPHA GREATER THAN (OR) NOT EQUAL TO 0)

Related Videos

Beta Distribution

See Also

References

Beta Distribution