WebCab Probability and Statistics for .NET v3.3 Demo

NormalHypothesis.PercentageTest Method 

Performs hypothesis testing for proportions.

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

Parameters

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 at `s%' significance level.
where h is the claimed percentage and H0, Ha represent the null and alternative hypothesis respectively.

See Also

NormalHypothesis Class | WebCab.Libraries.Statistics.Hypothesis Namespace