/// <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] n! / (i! * (n - i)!) * p^i * (1 - p)^(n - i) is in <c>relation</c> to alpha.</para> /// </remarks> public override bool Validity(AbstractQuantifierSetting setting, Ice.Current __current) { FourFoldContingencyTable table = new FourFoldContingencyTable(setting.firstContingencyTableRows); return table.CriticalEquivalenceValidity(P, Alpha, Relation); }