Difference between revisions of "Documentation/How Tos/Calc: GAMMADIST function"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Initial content)
 
m
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE:GAMMADIST function}}
 +
{{Documentation/CalcFunc StatisticalTOC
 +
|ShowPrevNext=block
 +
|PrevPage=Documentation/How_Tos/Calc:_GAMMALN_function
 +
|NextPage=Documentation/How_Tos/Calc:_GAUSS_function
 +
}}__NOTOC__
  
 
== GAMMADIST ==
 
== GAMMADIST ==
Line 5: Line 10:
  
 
=== Syntax: ===
 
=== Syntax: ===
<tt>'''GAMMADIST(x; &alpha;; &lambda;; mode)'''</tt>
+
<tt>'''GAMMADIST(x; &alpha;; &beta;; mode)'''</tt>
: The gamma distribution is a family of continuous probability distributions, with two controlling parameters <tt>'''&alpha;'''</tt> and <tt>'''&lambda;'''</tt>.
+
: The gamma distribution is a family of continuous probability distributions, with parameters <tt>'''&alpha;'''</tt> (shape) and <tt>'''&beta;'''</tt> (scale).
  
: If mode is <tt>'''0'''</tt>, <tt>'''GAMMADIST'''</tt> calculates the probability density function of the gamma distribution.
+
: If mode is <tt>'''0'''</tt>, <tt>'''GAMMADIST'''</tt> calculates the probability density function of the gamma distribution:
 +
::[[Image:Calc_gammadist0_equation.png]]
  
: If mode is <tt>'''1'''</tt>, <tt>'''GAMMADIST'''</tt> calculates the cumulative distribution function of the gamma distribution.
+
: If mode is <tt>'''1'''</tt>, <tt>'''GAMMADIST'''</tt> calculates the cumulative distribution function of the gamma distribution:
 +
::[[Image:Calc_gammadist1_equation.png]]
 +
 
 +
: <tt>'''x'''</tt> must be greater than or equal to <tt>'''0'''</tt>.
  
 
=== Example: ===
 
=== Example: ===
Line 16: Line 25:
 
: returns approximately 0.86.
 
: returns approximately 0.86.
  
=== See also: ===
+
{{SeeAlso|EN|
[[Documentation/How_Tos/Calc: GAMMAINV function|'''GAMMAINV''']]
+
* [[Documentation/How_Tos/Calc: GAMMAINV function|GAMMAINV]]
 +
 
 +
* [[Documentation/How_Tos/Calc: Statistical functions|Statistical functions]]
  
[[Documentation/How_Tos/Calc: Statistical functions|'''Statistical functions''']]
+
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
 +
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
 +
[[Category: Documentation/Reference/Calc/Statistical functions]]

Latest revision as of 14:00, 2 February 2024



GAMMADIST

Calculates values for a gamma distribution.

Syntax:

GAMMADIST(x; α; β; mode)

The gamma distribution is a family of continuous probability distributions, with parameters α (shape) and β (scale).
If mode is 0, GAMMADIST calculates the probability density function of the gamma distribution:
Calc gammadist0 equation.png
If mode is 1, GAMMADIST calculates the cumulative distribution function of the gamma distribution:
Calc gammadist1 equation.png
x must be greater than or equal to 0.

Example:

GAMMADIST(2; 1; 1; 1)

returns approximately 0.86.



See Also
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_GAMMADIST_function&oldid=260051"
Views
Personal tools
Navigation
Tools