|
BINOMIAL PROPORTION TESTName:
The hypothesis test that the two binomial proportions are equal is
Dataplot computes this test for a number of different significance levels.
<SUBSET/EXCEPT/FOR qualification> where <y1> is the first response variable; <y2> is the second response variable; and where the <SUBSET/EXCEPT/FOR qualification> is optional. This syntax is used for the case where you have raw data and want to perform a two-tailed test.
<SUBSET/EXCEPT/FOR qualification> where <y1> is the first response variable; <y2> is the second response variable; and where the <SUBSET/EXCEPT/FOR qualification> is optional. This syntax is used for the case where you have raw data and want to perform a lower tailed test.
<SUBSET/EXCEPT/FOR qualification> where <y1> is the first response variable; <y2> is the second response variable; and where the <SUBSET/EXCEPT/FOR qualification> is optional. This syntax is used for the case where you have raw data and want to perform a upper tailed test.
where <p1> is a parameter that specifies the proportion of successes for sample 1; <n1> is a parameter that specifies the sample size for sample 1; <p2> is a parameter that specifies the proportion of successes for sample 2; and <n2> is a parameter that specifies the sample size for sample 2. This syntax is used for the case where you have summary data and want to perform a two-tailed test.
where <p1> is a parameter that specifies the proportion of successes for sample 1; <n1> is a parameter that specifies the sample size for sample 1; <p2> is a parameter that specifies the proportion of successes for sample 2; and <n2> is a parameter that specifies the sample size for sample 2. This syntax is used for the case where you have summary data and want to perform a lower tailed test.
where <p1> is a parameter that specifies the proportion of successes for sample 1; <n1> is a parameter that specifies the sample size for sample 1; <p2> is a parameter that specifies the proportion of successes for sample 2; and <n2> is a parameter that specifies the sample size for sample 2. This syntax is used for the case where you have summary data and want to perform an upper tailed test.
BINOMIAL PROPORTION TEST P1 N1 P2 N2
(Z) where
is the
cumulative distribution function for the standard normal distribution.
For a lower tailed test, the p-value is equal to STATCDF. For an upper tailed test, the p-value is equal to 1 - STATCDF. For a two-tailed test, the p-value is equal to 2*(1 - STATCDF).
Ryan (2008), "Modern Engineering Statistics", Wiley, pp. 124-126.
LET X1 = 32
LET N1 = 38
LET P1 = X1/N1
LET X2 = 39
LET N2 = 44
LET P2 = X1/N1
BINOMIAL PROPORTION TEST P1 N1 P2 N2
The following output is generated.
BINOMIAL TEST FOR EQUAL PROPORTIONS
(LARGE SAMPLE CASE)
NULL HYPOTHESIS: P1 = P2
ALTERNATIVE HYPOTHESIS: P1 <> P2
SAMPLE 1:
NUMBER OF OBSERVATIONS = 38
PROBABILITY OF SUCCESS = 0.8421053
SAMPLE 2:
NUMBER OF OBSERVATIONS = 44
PROBABILITY OF SUCCESS = 0.8421053
POOLED PROBABILITY OF SUCCESS = 0.8414634
POOLED STANDARD DEVIATION = 0.8088560E-01
TEST STATISTIC = 0.000000
CDF (P-VALUE) OF TEST STATISTIC = 1.000000
NULL HYPOTHESIS NULL
NULL CONFIDENCE CRITICAL REJECTION HYPOTHESIS
HYPOTHESIS LEVEL VALUE INTERVAL CONCLUSION
===================================================================
P1 = P2 50.0% +/- 0.67 (0.500,1) REJECT
P1 = P2 80.0% +/- 1.28 (0.200,1) REJECT
P1 = P2 90.0% +/- 1.64 (0.100,1) REJECT
P1 = P2 95.0% +/- 1.96 (0.050,1) REJECT
P1 = P2 97.5% +/- 2.24 (0.025,1) REJECT
P1 = P2 99.0% +/- 2.58 (0.010,1) REJECT
Date created: 1/23/2009 |