ABVariantPerformanceCalculator GetChanceToBeatOriginal Method Kentico 8.0 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.0.5239.26125)

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