WebCab Probability and Statistics for COM v3.3 Demo

NormalHypothesis.PercentageDifference Method 

Performs hypothesis testing about differences between proportions.

public bool PercentageDifference(
   double percentage1,
   double percentage2,
   double claimedDifference,
   int size1,
   int size2,
   double significanceLevel
);

Parameters

percentage1
The first percentage.
percentage2
The second percentage.
claimedDifference
The claimed difference.
size1
The first sample size.
size2
The second sample size.
significanceLevel
The significance level of the hypothesis test given in absolute terms (i.e. 99 percent = 99).

Return Value

boolean true if we cannot reject the null hypothesis (H0), false if we can reject the null hypothesis

Remarks

Further Details

Having two sample proportions: one with percentage `p1' and size `n1' and one with percentage `p2' and size `n2' it conducts the following statistical test:

            		H0: p1-p2 = dif
            		Ha: p1-p2 != dif at `s%' significance level.
where `dif' is the claimed difference between the two percentages and H0, Ha represent the null and alternative hypothesis respectively.

See Also

NormalHypothesis Class | WebCab.COM.Statistics.Hypothesis Namespace