WebCab Probability and Statistics for .NET v3.3 Demo

NormalConfidence.MeansDifference Method 

Calculates the confidence interval for the difference between two means.

public double[] MeansDifference(
   int size1,
   int size2,
   double mean1,
   double mean2,
   double standardDeviation1,
   double standardDeviation2,
   double confidence
);

Parameters

size1
The size of the first sample.
size2
The size of the second sample.
mean1
The mean of the first sample.
mean2
The mean of the second sample.
standardDeviation1
The standard deviation of the first sample.
standardDeviation2
The standard deviation of the second sample.
confidence
The confidence level required given in absolute terms (i.e. 1 percent = 1).

Return Value

double[] an array of length two corresponding to the upper and lower boundaries of the confidence interval. The first term of the array returned corresponds to the lower bound of the boundary and the second terms to the upper bound of the boundary of the confidence interval.

See Also

NormalConfidence Class | WebCab.Libraries.Statistics.Hypothesis Namespace