Skip to content

SurvivalFunction ​

The survival function 1−CDF(dist,x)1 - CDF(dist, x) — P(X>x)P(X > x).

SurvivalFunction(dist, x)generic over every distribution this package's CDF answers, old or new — it goes back through CDF rather than switching on the distribution's head.
Typed signatures
TypePackageApplies
(distribution, list<real> | real | signed_infinity) -> realstatisticsalways

Domain: Statistics

Details
  • Exact wherever CDF is exact for dist; unevaluated otherwise.

Examples

Basic #
live ↗
InSurvivalFunction(ChiSquareDistribution(3),2)\mathrm{SurvivalFunction}(\mathrm{ChiSquareDistribution}(3), 2)OutGammaRegularized⁡(32,1)\operatorname{GammaRegularized}(\frac{3}{2}, 1)
About
Examples1

See also: CDF, HazardFunction