Previous Next


XtoP Method (RDKResults 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 probability at x=100
p = RDKApp.Outputs("myOutput").Results.XtoP(100)