WebCab Probability and Statistics Web Services for .NET v3.3 Demo

StudentHypothesis.SideMeansDifference Method 

Performs one-sided hypothesis testing for the difference between means.

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

Parameters

greater
The side on which the test will be performed.
mean1
The first sample mean.
mean2
The second sample mean.
claimedDifference
The claimed difference.
standardDeviation1
The first standard deviation.
standardDeviation2
The second standard deviation.
sampleSize1
The first sample size.
sampleSize2
The second sample size.
significanceLevel
The significance level.

Return Value

boolean true if the null hypothesis (H0) cannot be rejected, false if the null hypothesis can be rejected

Remarks

Further Explanation

Having two samples: one with mean `u1', standard deviation `d1' and size `n1', and the other with mean `u2', standard deviation `d2' and size `n2'. We conduct the following statistical test:

            		H0: u1-u2 >= dif
            		Ha: u1-u2 < dif   if `greater' is true
             or
            		H0: u1-u2 <= dif
            		Ha: u1-u2 > dif   if `greater' is false
at `s%' significance level, where `dif' is the claimed difference between means.

See Also

StudentHypothesis Class | Hypothesis Namespace