LaplaceDistributionRightProbability Method

Returns the cumulative probability to the right of (above) the given point.

Definition

Namespace: Meta.Numerics.Statistics.Distributions
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public override double RightProbability(
	double x
)

Parameters

x  Double
The reference point.

Return Value

Double
The integrated probability Q(x) = 1 - P(x) to obtain a result above the reference point.

Remarks

In survival analysis, the right probability function is commonly called the survival function, because it gives the fraction of the population remaining after the given time.

If you want a right-tailed probability, it is better to call this method directly instead of computing 1.0 - LeftProbability(x), because the latter will loose accuracy as P(x) gets close to 1. (In fact, in the far right tail where Q(x) < 1.0E-16, it will give 0.0, whereas this method is likely to give an accurate tiny value.)

See Also