Home > Statistical Methods calculators > Chi square test example

4. Non parametric test - Chi square 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)
5. Non parametric test - Median test
(Next method)

2. Example-2





2. Non parametric test - Chi square test for the following data
29,24,22,19,21,18,19,20,23,18,20,23, Significance Level `alpha=0.05` and One-tailed test


Solution:
Step-1:State the hypothesis
`H_0`: observed data and expected data are independent.

`H_1`: observed data and expected data are not independent.


Step-2:Observed Frequencies `29,24,22,19,21,18,19,20,23,18,20,23`

sum`=256` and `n=12`

Step-3: Calculate Expected Frequency value
`256/12=21.3333`

Step-4: Chi-square
IdObservedExpected`O_i-E_i``(O_i-E_i)^2``(O_i-E_i)^2/E_i`
12921.33337.666758.77782.7552
22421.33332.66677.11110.3333
32221.33330.66670.44440.0208
41921.3333-2.33335.44440.2552
52121.3333-0.33330.11110.0052
61821.3333-3.333311.11110.5208
71921.3333-2.33335.44440.2552
82021.3333-1.33331.77780.0833
92321.33331.66672.77780.1302
101821.3333-3.333311.11110.5208
112021.3333-1.33331.77780.0833
122321.33331.66672.77780.1302
2565.0938


`chi^2=sum (O_i-E_i)^2/(E_i)=5.0938`

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

Step-6: for 11 df, `p(chi^2>=5.0938)=0.9265`

Since the p-value(0.9265) > `alpha(0.05)` (one-tailed test), we can't 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)
5. Non parametric test - Median test
(Next method)





Share this solution or page with your friends.


 
Copyright © 2024. All rights reserved. Terms, Privacy
 
 

.