ABVariantPerformanceCalculator GetChanceToBeatOriginal Method Kentico 8.1 API Reference
Returns challenging variant's chance to beat original.

Namespace: CMS.OnlineMarketing
Assembly: CMS.OnlineMarketing (in CMS.OnlineMarketing.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

challengerConversions
Type: OnlineSystem Int32
Number of challenger conversions
challengerVisits
Type: OnlineSystem Int32
Number of challenger visits

Return Value

Type: OnlineDouble
Exceptions

ExceptionCondition
OnlineSystem InvalidOperationExceptionABVariantPerformanceCalculator hasn't been initialized. Call Initialize method first.
OnlineSystem ArgumentExceptionchallengerConversions is negative or challengerVisits is zero or negative
See Also