Learn R Programming

distr6 (version 1.3.2)

survivalAntiDeriv: Survival Function Anti-Derivative

Description

The anti-derivative of the survival function between given limits or over the full support.

Usage

survivalAntiDeriv(object, lower = NULL, upper = NULL)

Arguments

object

Distribution.

lower

lower limit for integration, default is infimum.

upper

upper limit for integration, default is supremum.

Value

Antiderivative of the survival function evaluated between limits as a numeric.

R6 Usage

$survivalAntiDeriv(lower = NULL, upper = NULL)

Details

The survival anti-derivative is defined by $$as(a, b) = \int_a^b S_X(x) dx$$ where X is the distribution, \(S_X\) is the survival function of the distribution \(X\) and \(a, b\) are the limits of integration.

Can only be used after decorating with ExoticStatistics.

See Also

ExoticStatistics and decorate