Tugas Individu Normality N Homogenity
Tugas Individu Normality N Homogenity
Example:
A lecturer was recapitalize test scores of learners. The total number of learners is 100
people. He make a frequency table to see how much value obtained by learners. But before, he
wanted to test normality of the data obtained
Solution:
Testing Hypotheses
Ho : Data is from normal distribution
Score Students
s
28-35 2
36-43 5
44-51 9
52-59 14
60-67 12
68-75 13
76-83 15
84-91 19
92-99 11
Total 100
Using Chi-Square
N
Kelas- Interval xi xi2 fi fixi fixi2
o
31,
1 28-35 992.25 2 63 1984.5
5
39,
2 36-43 1560.25 5 197.5 7801.25
5
47,
3 44-51 2256.25 9 427.5 20306.25
5
55,
4 52-59 3080.25 14 777 43123.5
5
63,
5 60-67 4032.25 12 762 48387
5
6 68-75 71, 5112.25 13 929.5 66459.25
5
79,
7 76-83 6320.25 15 1192.5 94803.75
5
87,
8 84-91 7656.25 19 1662.5 145468.8
5
95,
9 92-99 9120.25 11 1050.5 100322.8
5
10
Total 7062 528657
0
Calculate the mean
x́=
∑ f i. x i x́= 7062 =70.62
∑ fi 100
Calculate the standard deviation
2
N ∑ f X i 2− ( ∑ f X i )
S=
√ N ( N−1)
2
100(528657)−( 7062 )
S=
√ 100 x 99
52865700−49871844
S=
√
2993856
9900
S=
√
9900
=17.3
2 (Oi −Ei )2
k
χ =∑
i=1 Ei
χ 2 =15 .711
2 2 2
With significant value so χ table = χ (1-α)(k-3) = χ (0,95)(97) = 124,3. From this
2 2
calculation, we know that χ calculation < χ table so H0 accepted. The conclusion is sample is
from normal distribution.
Analysis using SPSS
Cases
Descriptivesa
Median 73.0000
Variance 295.796
Minimum 34.00
Maximum 99.00
Range 65.00
Tests of Normalityb
Kolmogorov-Smirnova Shapiro-Wilk
b. There are no valid cases for Value when Name = .000. Statistics cannot be computed for this
level.
We can see the results of SPSS analysis by Kolmogorov-Smirnov significance level> 0.05
ie 0.051 but for the Shapiro-Wilk stated significance level< 0.05 is 0.016. We ca use analysis by
Kolmogorov-Smirnov. The criteria receipt of H0 if the level of significance> 0.05. So in this
case H0 received stated that the sample data derived from a normal distribution population.
sA =
√
N ∑ f X i −( ∑ f X i )
N (N −1)
2
50( 253572.5)−( 3465 )
sA =
√ 50 x 49
12678600−12006225
sA =
√ 2450
672375
sA =
√ 2450
=16.56
2 (Oi −Ei )2
k
χ =∑
i=1 Ei
χ 2 =3 .176
2 2 2
With significant value so χ table = χ (1-α)(k-3) = χ (0,95)(47) = 67.5. From this calculation, we
2 2
know that χ calculation < χ table so H0 accepted. The conclusion is sample of score statistics at
class A is from normal distribution.
s B=
√
N ∑ f X i −( ∑ f X i )
N (N −1)
2
50 (255172.5)−( 3465 )
s B=
√ 50 x 49
12758625−12006225
s B=
√ 2450
752400
s B=
√ 2450
=17.52
2 (Oi −Ei )2
k
χ =∑
i=1 Ei
χ 2 =5 .294
2 2 2
With significant value so χ table = χ (1-α)(k-3) = χ (0,95)(47) = 67.5. From this calculation, we
2 2
know that χ calculation < χ table so H0 accepted. The conclusion is sample of score statistics at
class B is from normal distribution.
2 ∑ ( x i−x )2 17100
s= = =384 . 9
n−1 49
Variance for Class B
2
2
s =
∑ ( x i−x ) 16888
= =344 . 6
n−1 49
Smallest Variance 384 . 9
F= = =1. 116
Bigget Variance 344 . 6
With significant value 0,05 dan v1 = v2 = 49 so Ftable is F(0,05)(49,49) = 1,61. The testing criteria
is H0 rejected jika F ¿ F(0,05)(49,49) , for others H0 daccepted. From calculation F = 1.116, while at
table = 1,60. It means that F < F (0,05)(49,49). So H0 is accepted. The conclusion is Population have
the same variance,
Analysis using SPSS
Case Processing Summary
Cases
Descriptivesa
Median 73.5000
Variance 290.787
Minimum 34.00
Maximum 99.00
Range 65.00
Median 71.5000
Variance 306.782
Minimum 34.00
Maximum 99.00
Range 65.00
a. There are no valid cases for Value when Class = .000. Statistics cannot be computed for this level.
Tests of Normalityb
Kolmogorov-Smirnova Shapiro-Wilk
We can see the results for Class A of SPSS analysis by Kolmogorov-Smirnov significance
level> 0.05 ie 0.188 as well as the Shapiro-Wilk stated significance level> 0.05 is 0.127.
The criteria receipt of H0 if the level of significance> 0.05. So in this case H0 received
stated that the sample data of Class A derived from a normal distribution population.
Than see the results for Class B of SPSS analysis by Kolmogorov-Smirnov significance
level> 0.05 ie 0.200 as well as the Shapiro-Wilk stated significance level> 0.05 is 0.206.
The criteria receipt of H0 if the level of significance> 0.05. So in this case H0 received
stated that the sample data of Class B derived from a normal distribution population.
a. There are no valid cases for Value when Class = .000. Statistics cannot be computed for
this level.
Test Criteria:
Value Sig. Or significance or probability value <0.05, data derived from populations that have a
variance that is not the same.
Value Sig. Or significance or probability value> 0.05, data derived from populations that have
the same variance.
In the output above shows that the level of significance or probability value of the mean
(average) which is above 0.05 (0.910 bigger than 0.05). So soundly if the basic measurement is
the median data, numbers Sig. Is 0.876, which is still above 0.05. So in this case H0 is accepted
and stated that these populations have the same variance.
IV. Testing Normality and Homogeneity of three samples
(Subject A, Subject B and Subject C)
Example:
A student recapitalize the value he can from the three eyes of different subjects. He made a
table for subject A, subject B and subject C Therefore, students will conduct the third test against
normality test data from three different subjects.
Solution:
sA =
√
N ∑ f X i −( ∑ f X i )
N (N −1)
2
30(153749)− ( 2083 )
sA =
√ 30 x 29
4612470−4338889
sA =
√ 870
273581
sA =
√ 870
=17.73
2 (Oi −Ei )2
k
χ =∑
i=1 Ei
χ 2 =5 .28176
2 2 2
With significant value so χ table = χ (1-α)(k-3) = χ (0,95)(27) = 40.1. From this calculation, we
2 2
know that χ calculation < χ table so H0 accepted. The conclusion is sample of score statistics at
subject A is from normal distribution.
s B=
√
N ∑ f X i −( ∑ f X i )
N (N −1)
2
30 (152827.5)−( 2085 )
s B=
√ 30 x 29
4584825−4347225
s B=
√ 870
237600
s B=
√ 870
=16.52
2 (Oi −Ei )2
k
χ =∑
i=1 Ei
χ 2 =5 .251
2 2 2
With significant value so χ table = χ (1-α)(k-3) = χ (0,95)(27) = 40.1. From this calculation, we
2 2
know that χ calculation < χ table so H0 rejected. The conclusion is sample of score statistics at
subject B is from normal distribution.
sC =
√
N ∑ f X i −( ∑ f X i )
N (N−1)
2
40 (205831)− (2803 )
sC =
√ 40 x 39
8233240−7856809
sC =
√ 1560
376431
sC =
√ 1560
=15.53
2 (Oi −Ei )2
k
χ =∑
i=1 Ei
χ 2 =8 . 878
2 2 2
With significant value so χ table = χ (1-α)(k-3) = χ (0,95)(37) = 55.8. From this calculation, we
2 2
know that χ calculation < χ table so H0 accepted. The conclusion is sample of score statistics at
subject C is from normal distribution.
V. Test Homogeneity of subject A, subject B, and Subject C
Example:
After testing normality tests, these students are now testing the homogeneity test of the
three data values obtained from three Subject
Solution:
To test the homogeneity by manual we use Barthlett testing
The step as follow
1) Formulating hypothesis
H0 : σ 12 = σ 22 = σ 32
H1 : σ 12 ≠ σ 22 = σ 32
σ 12 = σ 22 ≠ σ 32
2) Determine α and x2 of table, with df = n of sample population -1.
α = 5 %, df = 3-1= 2
X 2( 1−α ) (2)= X 2(0.95 )( 2)=5.99
3) Criteria of testing
X2 is accepted if X2 < 5.99
X2 is rejected if X2 ≥ 5.99
4) Statistics testing
s2=
∑ ¿ x− x́ ¿2
n−1
From the calculation :
s2A = 314.35
s2B = 272.91
s2C = 241.18
Make the table :
Sampl
(n-1) 1/(n-1) si 2 log si2 (n-1)*log si2 (n-1)*si2
e
1 29 0.034 314.35 2.497 72.425 9116.15
2 29 0.034 272.91 2.436 70.645 7914.39
3 39 0.025 241.18 2.382 92.911 9406.02
∑ 97 235.981 26436.560
So, the total variants for 3 sample population :
S2=
∑ (ni−1)S 2i = 26436.560 =272.54
∑ (n−1) 97
B = (log s2 ) ∑(n – 1)
= log (272.54). 97
= 236.23
X2 = ( ln 10 ) { B- ∑ (n - 1) log S2}
= 2.3026. (236.32 – 235.981)
= 0.78
5) Make conclusion
2 2
X < X (0.95 )( 2)
0.78 < 5.99, so H0 is accepted
So the data is homogeny
Analysis SPSS
Case Processing Summary
Cases
Descriptivesa
Median 76.0000
Variance 332.823
Minimum 34.00
Maximum 99.00
Range 65.00
Median 71.5000
Variance 291.551
Case Processing Summary
Cases
Minimum 39.00
Maximum 98.00
Range 59.00
Median 71.5000
Variance 286.459
Minimum 34.00
Maximum 99.00
Range 65.00
a. There are no valid cases for Value when Class = .000. Statistics cannot be computed for this level.
Tests of Normalityb
Kolmogorov-Smirnova Shapiro-Wilk
b. There are no valid cases for Value when Class = .000. Statistics cannot be computed for this
level.
We can see the results for Subject A of SPSS analysis by Kolmogorov-Smirnov
significance level> 0.05 ie 0.122 as well as the Shapiro-Wilk stated significance level> 0.05 is
0.126. The criteria receipt of H0 if the level of significance> 0.05. So in this case H0 received
stated that the sample data of Subject A derived from a normal distribution population.
Than see the results for Subject B of SPSS analysis by Kolmogorov-Smirnov significance
level> 0.05 ie 0.200 as well as the Shapiro-Wilk stated significance level> 0.05 is 0.270. The
criteria receipt of H0 if the level of significance> 0.05. So in this case H0 received stated that the
sample data of Class B derived from a normal distribution population.
We can see the results for Subject C of SPSS analysis by Kolmogorov-Smirnov
significance level> 0.05 ie 0.200 as well as the Shapiro-Wilk stated significance level> 0.05 is
0.578. The criteria receipt of H0 if the level of significance> 0.05. So in this case H0 received
stated that the sample data of Subject C derived from a normal distribution population.
Test Criteria:
Value Sig. Or significance or probability value <0.05, data derived from populations that have
a variance that is not the same.
Value Sig. Or significance or probability value> 0.05, data derived from populations that have
the same variance.
In the output above shows that the level of significance or probability value of the mean
(average) which is above 0.05 (0.769 bigger than 0.05). So soundly if the basic measurement is
the median data, numbers Sig. Is 0.861, which is still above 0.05. So in this case H0 is accepted
and stated that these populations have the same variance.