Previous Next


XtoP Method (RDKDistribution Object)

Description

Returns the cumulative probability (p-value) corresponding to a given x-value.

Syntax

object.XToP(x as Double)

Arguments

x (Required Double) – the x-value for which you want to retrieve the corresponding cumulative p-value.

Return Value

(Double) – the cumulative p-value

Example

'Determine the cumulative p-value at x =100
p = dist.XtoP(100)