WebCab Probability and Statistics for .NET v3.3 Demo

StudentHypothesis.MeansDifference Method 

Performs hypothesis tests about differences between means.

public bool MeansDifference(
   double mean1,
   double mean2,
   double claimedDifference,
   double standardDeviation1,
   double standardDeviation2,
   int sampleSize1,
   int sampleSize2,
   double significanceLevel
);

Parameters

mean1
The mean for the first sample.
mean2
The mean for the second sample.
claimedDifference
The claimed difference between means.
standardDeviation1
The standard deviation for the first sample.
standardDeviation2
The standard deviation for the second sample.
sampleSize1
The size for the first sample.
sampleSize2
The size for the second sample.
significanceLevel
The significance level.

Return Value

boolean it returns true if we cannot reject the null hypothesis (HO) or false if the null hypothesis can be rejected

Remarks

Further Explanation

Given two samples where the means of the two samples `u1', `u2'; the standard deviations `d1', `d2'; and the sample sizes `n1', `n2' are known. We can conduct the following statistical test:

             		H0: u1-u2 = dif
            		Ha: u1-u2 != dif  at `s%' significance level.
where `dif' is the claimed difference between the two means and is a percentage.

See Also

StudentHypothesis Class | WebCab.Libraries.Statistics.Hypothesis Namespace