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

NormalHypothesis.SidePercentage Method 

Performs one-sided hypothesis testing for proportions.

public bool SidePercentage(
   bool greater,
   double claimedProportion,
   double proportion,
   int size,
   double significanceLevel
);

Parameters

greater
The side on which the test will be performed.
claimedProportion
The claimed proportion.
proportion
The sample proportion.
size
The sample size.
significanceLevel
The significance level of the hypothesis test given in absolute terms (i.e. 99 percent = 99).

Return Value

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

Remarks

Further Details

Having a sample percentage `p' with a sample size `n' it conducts 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 and H0, Ha represent the null and alternative hypothesis respectively.

See Also

NormalHypothesis Class | Hypothesis Namespace