Click or drag to resize
Accord.NET (logo)

BernoulliDistributionComplementaryDistributionFunction Method (Int32)

Gets P(X > k) the complementary cumulative distribution function (ccdf) for this distribution evaluated at point k. This function is also known as the Survival function.

Namespace:  Accord.Statistics.Distributions.Univariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.5.0
Syntax
public override double ComplementaryDistributionFunction(
	int k
)
Request Example View Source

Parameters

k
Type: SystemInt32
A single point in the distribution range.

Return Value

Type: Double

Implements

IDistributionTObservationComplementaryDistributionFunction(TObservation)
IDistributionTObservationComplementaryDistributionFunction(TObservation)
Remarks
The Complementary Cumulative Distribution Function (CCDF) is the complement of the Cumulative Distribution Function, or 1 minus the CDF.
See Also