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

From Apache OpenOffice Wiki
Jump to: navigation, search
(See also:)
(correction)
Line 5: Line 5:
  
 
=== 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 parameters <tt>'''&alpha;'''</tt> (shape) and <tt>'''&lambda;'''</tt> (rate).
+
: 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:

Revision as of 06:58, 27 September 2008


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:

GAMMAINV

Statistical functions

Functions listed alphabetically, Functions listed by category

Personal tools