Home > Statistical Methods calculators > t test example

8. Parametric test - t-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

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

1. Example-1





1. Parametric test - t-test for the following data
3,11,17,28,34
5,8,13,19,28, Significance Level `alpha=0.05` and One-tailed test


Solution:
Step-1: Take the hypothesis
Null Hypothesis `H_0` : There is no significant differentiating between samples

Alternative Hypothesis `H_1` : There is significant differentiating between samples

Step-2: Calculate `S_1^2,S_2^2`

`bar x_1=18.6` and Variance `S_(1)^2=157.3` for `3,11,17,28,34`


`x``dx = x - A = x - 19``dx^2`
3-16256
11-864
17-24
28981
3415225
---------
`sum x=93``sum (dx)=-2``sum (dx)^2=630`


Mean `bar x = (sum x)/n`

`=(3 + 11 + 17 + 28 + 34)/5`

`=93/5`

`=18.6`

`bar x = 18.6` is not an integer, use assumed mean method

`A = 19`



Sample Variance `S^2 = (sum dx^2 - (sum dx)^2/n)/(n-1)`

`=(630 - (-2)^2/5)/4`

`=(630 - 0.8)/4`

`=629.2/4`

`=157.3`



`bar x_2=14.6` and Variance `S_(2)^2=84.3` for `5,8,13,19,28`


`x``dx = x - A = x - 15``dx^2`
5-10100
8-749
13-24
19416
2813169
---------
`sum x=73``sum (dx)=-2``sum (dx)^2=338`


Mean `bar x = (sum x)/n`

`=(5 + 8 + 13 + 19 + 28)/5`

`=73/5`

`=14.6`

`bar x = 14.6` is not an integer, use assumed mean method

`A = 15`



Sample Variance `S^2 = (sum dx^2 - (sum dx)^2/n)/(n-1)`

`=(338 - (-2)^2/5)/4`

`=(338 - 0.8)/4`

`=337.2/4`

`=84.3`



Step-3: Calculate `t`

`t=|x_1-x_2|/sqrt((S_1^2)/n_1 + (S_2^2)/n_2)`

`=|18.6-14.6|/sqrt(157.3/5 + 84.3/5)`

`=|4|/sqrt(31.46 + 16.86)`

`=|4|/sqrt(48.32)`

`=|4|/6.9513`

`=0.5754`

Step-4:
Degree of freedom `= n_1 + n_2 - 2 = 5+5-2=8`

Step-5:
`df=8,t_(0.05)=1.8595`

As calculated `t=0.5754 < 1.8595`

So, `H_0` is accepted, Hence there is no significant differentiating between samples


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



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





Share this solution or page with your friends.


 
Copyright © 2023. All rights reserved. Terms, Privacy
 
 

.