Click or drag to resize
sqx

ProbabilityGeometric_CDF Method

Function [float] Geometric_CDF([int] k, [float] P)
(Discrete Probability)

Namespace:  sqx
Assembly:  SQX (in SQX.dll) Version: 1.0.2.6 (1.0.2.6)
Syntax
C#
public static SqlDouble Geometric_CDF(
	SqlInt32 k,
	SqlDouble P
)

Parameters

k
Type: System.Data.SqlTypesSqlInt32
[int]
P
Type: System.Data.SqlTypesSqlDouble
[float]

Return Value

Type: SqlDouble
[float]
Remarks
Geometric cumulative distribution function.
Support: [0,+∞)
Examples
SQL
declare @P float = 0.6
select Value
, sqx.Geometric_PMF(Value, @P) PMF
, sqx.Geometric_CDF(Value, @P) CDF
, sqx.Geometric_QDF(Value, @P) QDF
, sqx.Geometric_PPF(sqx.Geometric_CDF(Value, @P), @P) PPF
from sqx.NTable(0,40)
See Also