Statistics
HazardRate
compute the hazard rate
Calling Sequence
Parameters
Description
Computation
Options
Examples
References
HazardRate(X, t, options)
FailureRate(X, t, options)
X
-
algebraic; random variable or distribution
t
algebraic; point
options
(optional) equation of the form numeric=value; specifies options for computing the hazard rate of a random variable
The HazardRate rate computes the hazard (failure) rate of the specified random variable at the specified point.
The first parameter can be a distribution (see Statistics[Distribution]), a random variable, or an algebraic expression involving random variables (see Statistics[RandomVariable]).
By default, all computations involving random variables are performed symbolically (see option numeric below).
For more information about computation in the Statistics package, see the Statistics[Computation] help page.
The options argument can contain one or more of the options shown below. More information for some options is available in the Statistics[RandomVariables] help page.
numeric=truefalse -- By default, the hazard rate is computed using exact arithmetic. To compute the hazard rate numerically, specify the numeric or numeric = true option.
withStatistics:
Compute the hazard rate of the beta distribution with parameters p and q.
HazardRateΒp,q,t
0t<0tp−11−tq−1Βp,qt<10otherwise1−0t<0tphypergeomp,1−q,1+p,tΒp,qpt<11otherwise
Use numeric parameters.
HazardRateΒ3,5,12
105641−35hypergeom−4,3,4,128
HazardRateΒ3,5,12,numeric
7.241379317
Define new distribution.
T≔Distribution`=`PDF,t↦1π⋅t2+1:
X≔RandomVariableT:
CDFX,t
π+2arctant2π
FailureRateX,t
1πt2+11−π+2arctant2π
Another distribution
U≔Distribution`=`CDF,t↦Ft,`=`PDF,t↦ft:
Y≔RandomVariableU:
CDFY,t
Ft
FailureRateY,t
ft1−Ft
Stuart, Alan, and Ord, Keith. Kendall's Advanced Theory of Statistics. 6th ed. London: Edward Arnold, 1998. Vol. 1: Distribution Theory.
See Also
Statistics[Computation]
Statistics[Distributions]
Statistics[RandomVariables]
Download Help Document