WebCab Probability and Statistics for COM v3.3 Demo

NormalHypothesis.MeanTest Method 

Performs hypothesis testing about the mean.

public bool MeanTest(
   double claimedMean,
   double mean,
   double standardDeviation,
   int sampleSize,
   double significanceLevel
);

Parameters

claimedMean
The claimed mean of the hypothesis.
mean
The sample mean.
standardDeviation
The standard deviation of the sample.
sampleSize
The sample size.
significanceLevel
The significance level of the hypothesis test given in absolute terms (i.e. 99 percent = 99).

Return Value

boolean a boolean value is returned which is true if we cannot reject the null hypothesis (H0) or false if we can reject it.

Remarks

Further Details

Having one sample with mean `u', standard deviation `d' and size `n', we conducts the following hypothesis test:

            		H0: u = h
            		Ha: u != h, to a `s%' significance level.
where `h' is the claimed mean and H0, Ha represent the null and alternative hypothesis respectively.

See Also

NormalHypothesis Class | WebCab.COM.Statistics.Hypothesis Namespace