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

StudentHypothesis.SidePercentage Method 

Performs one-sided hypothesis testing for proportions.

public bool SidePercentage(
   bool greater,
   double claimedDifference,
   double proportion,
   int sampleSize,
   double significanceLevel
);

Parameters

greater
The side on which the test will be performed.
claimedDifference
The claimed proportion.
proportion
The sample proportion.
sampleSize
The sample size.
significanceLevel
The significance level.

Return Value

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

Remarks

Further Explanation

Given a sample with a sample percentage `p' and size `n'. We conduct the following statistical test:

            		H0: p >= h
            		Ha: p < h   if `greater' is true
             or
            		H0: p <= h
            		Ha: p > h   if `greater' is false 
at `s%' significance level, where h is the claimed percentage.

See Also

StudentHypothesis Class | Hypothesis Namespace