/// <summary> /// Returns <c>true</c> if the statistical strength value is greater than or equal to the p parameter with the specified statistical significance (alpha). /// </summary> /// <returns><c>true</c> if if the statistical strength value is greater than or equal to the p parameter with the specified statistical significance (alpha).</returns> /// <remarks> /// <para>It computes the following condition:</para> /// <para>Sum[i = 0..a] x! / (i! * (x - i)!) * p^i * (1 - p)^(x - i) is in <c>relation</c> to alpha, /// where x = (a + b + c).</para> /// </remarks> public override bool Validity(AbstractQuantifierSetting setting, Ice.Current __current) { FourFoldContingencyTable table = new FourFoldContingencyTable(setting.firstContingencyTableRows); return table.DoubleCriticalImplicationValidity(P, Alpha, Relation); }