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

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Automated text replacement %s)
(Corrected: 0 is density, 1 is cumulative)
Line 9: Line 9:
 
: The Weibull distribution is a continuous probability distribution, with parameters <tt>'''k'''</tt>  > 0 (shape) and <tt>'''&lambda;'''</tt> > 0 (scale).
 
: The Weibull distribution is a continuous probability distribution, with parameters <tt>'''k'''</tt>  > 0 (shape) and <tt>'''&lambda;'''</tt> > 0 (scale).
  
: If mode is <tt>'''1'''</tt>, <tt>'''WEIBULL'''</tt> calculates the probability density function of the Weibull distribution:
+
: If mode is <tt>'''0'''</tt>, <tt>'''WEIBULL'''</tt> calculates the probability density function of the Weibull distribution:
 
::[[Image:Calc_weibull1_equation.png]]
 
::[[Image:Calc_weibull1_equation.png]]
  
: If mode is <tt>'''0'''</tt>, <tt>'''WEIBULL'''</tt> calculates the cumulative distribution function of the Weibull distribution:
+
: If mode is <tt>'''1'''</tt>, <tt>'''WEIBULL'''</tt> calculates the cumulative distribution function of the Weibull distribution:
 
::[[Image:Calc_weibull0_equation.png]]
 
::[[Image:Calc_weibull0_equation.png]]
  

Revision as of 17:47, 12 September 2009


WEIBULL

Calculates values for a Weibull distribution.

Syntax:

WEIBULL(x; k; λ; mode)

The Weibull distribution is a continuous probability distribution, with parameters k > 0 (shape) and λ > 0 (scale).
If mode is 0, WEIBULL calculates the probability density function of the Weibull distribution:
Calc weibull1 equation.png
If mode is 1, WEIBULL calculates the cumulative distribution function of the Weibull distribution:
Calc weibull0 equation.png

Example:

WEIBULL(2.5; 3; 4; 1)

returns approximately 0.2166, the value of the probability density function with k = 3 and λ = 4 at x = 2.5.

WEIBULL(2.5; 3; 4; 0)

returns approximately 0.2295, the value of the cumulative distribution function with k = 3 and λ = 4 at x = 2.5.

Template:Documentation/SeeAlso

Personal tools