Professional Documents
Culture Documents
Learning Outcome
Student should be able to make inferences about the difference between two location by using Median Test.
MEDIAN TEST
The simplest and most widely procedures for testing the null hypothesis of two populations that have the same median.
Only two-sided alternatives will be discussed.
samples : X1, X2, X3, ..., X n, and Y1, Y2, Y3, ..., Y n 2) The first sample is from a population with unknown median, MX and the second sample is from a population with unknown median, MY. 3) The measurement scale employed is at least ordinal. 4) The variable of interest is continuous. 5) The two populations have the same shape. 6) If the two populations have the same median, then for each population the probability p is the same that an observed value will exceed the grand median.
Step 1 : State the hypothesis: H0: MX=MY H1: MXMY Step 2: Find the grand median from the sample values.
Step 3 : Classify each sample observation according to two criteria: whether it belongs to sample X or sample Y whether it is above or below the computed sample median Step 4 : Draw the contingency table.
CONTINGENCY TABLE
SAMPLE RELATION ON THE SAMPLE ABOVE X A Y B TOTAL A+B
BELOW
C+D
n1 = A+C
n2 = B+D
N=n1+n2
Where, A : The number of observations from sample X falling above the median B : The number of observations from sample Y falling above the median C : The number of observations from sample X falling below the median D : The number of observations from sample Y falling below the median
TABLE 3.2 Stroke-index values, milliliters, for patients admitted to the myocardial-infarction research unit of a university hospital
Diagnosis
21
37
31
26
28
30
Assumption:
This data consists of two independent random samples X and Y.
Relationship to 25.5
Total
24 24 48
Step 7: Conclusion.
Since we reject the null hypothesis, we have enough evidence to support the claim that the two population medians are not equal.