Home > Statistical Methods calculators > Mood's Median test example

6. Non parametric test - Mood's Median test example ( Enter your problem )
  1. Example-1
  2. Example-2
Other related methods
  1. Non parametric test - Sign test
  2. Non parametric test - Mann whitney U test
  3. Non parametric test - Kruskal-wallis test
  4. Non parametric test - Chi square test
  5. Non parametric test - Median test
  6. Non parametric test - Mood's Median test
  7. Parametric test - F test
  8. Parametric test - t-test
  9. Parametric test - Standard error

1. Example-1
(Previous example)
7. Parametric test - F test
(Next method)

2. Example-2





1. Non parametric test - Mood's Median test for the following data
11,15,9,4,34,17,18,14,12,13,26,31
34,31,35,29,28,12,18,30,14,22,10,29, Significance Level `alpha=0.05` and One-tailed test


Solution:
AB
1134
1531
935
429
3428
1712
1818
1430
1214
1322
2610
3129

Step-1:Calculate total Median of combination of 2 samples
Sorting of cobmined samples
`4,9,10,11,12,12,13,14,14,15,17,18,18,22,26,28,29,29,30,31,31,34,34,35`

`n=24`

Median `= (12^(th) "term" + 13^(th) "term" )/2=(18 + 18)/2= 18`


Step-2:Create a `2 xx 2` contingency table whose first row consists of the number of elements in each sample that are greater than Median and second row consists of the number of elements in each sample that are less than or equal to Median

Sample ASample BTotal
`>` Median3811
`<=` Median9413
Total121224


Step-3:Perform a chi-square test of independence


Step-1:State the hypothesis
`H_0`: two categories variables are independent.

`H_1`: two categories variables are not independent.


Step-2:Observed Frequencies
`B_1``B_2`Total
`A_1`3811
`A_2`9413
Total121224


Step-3:Expected Frequencies Steps

`E_(1,1)=(3-5.5)^2/5.5=1.1364`

`E_(1,2)=(8-5.5)^2/5.5=1.1364`

`E_(2,1)=(9-6.5)^2/6.5=0.9615`

`E_(2,2)=(4-6.5)^2/6.5=0.9615`


Step-3:Expected Frequencies
`B_1``B_2`Total
`A_1`5.55.511
`A_2`6.56.513
Total121224


Step-4: Compute Chi-square
`chi^2=sum (O_(ij)-E_(ij))^2/(E_(ij))`

`=(3-5.5)^2/5.5+(8-5.5)^2/5.5+(9-6.5)^2/6.5+(4-6.5)^2/6.5`

`=6.25/5.5+6.25/5.5+6.25/6.5+6.25/6.5`

`=1.1364+1.1364+0.9615+0.9615`

`=4.1958`

Step-5: Compute the degrees of freedom (df).
`df=(2-1)*(2-1)=1`

Step-6:for 1 df, `p(chi^2>=4.1958)=0.0405`

Since the p-value(0.0405) < `alpha(0.05)` (one-tailed test), we reject the null hypothesis `H_0`.


This material is intended as a summary. Use your textbook for detail explanation.
Any bug, improvement, feedback then Submit Here



1. Example-1
(Previous example)
7. Parametric test - F test
(Next method)





Share this solution or page with your friends.


 
Copyright © 2024. All rights reserved. Terms, Privacy
 
 

.