You are on page 1of 9

Statistical Analysis: CHI-SQUARE TEST

Level of significance: 5%
Ho: There is no association between supernatural and school experience.
Ha: There is an association between supernatural and school experience.

EXPECTED FREQUENCY
No High School Diploma; Supernatural No High School Diploma; No supernatural
Row Total ×ColumnTotal Row Total ×ColumnTotal
exp Freq= exp Freq=
N N

26 ×65 26 ×85
exp Freq= exp Freq=
150 150

exp Freq=11.267 exp Freq=14.733


High School Diploma; Supernatural High School Diploma; No supernatural
Row Total ×ColumnTotal Row Total ×ColumnTotal
exp Freq= exp Freq=
N N

45 ×65 45 × 85
exp Freq= exp Freq=
150 150

exp Freq=19.500 exp Freq=25.500


College Diploma; Supernatural College Diploma; No supernatural
Row Total ×ColumnTotal Row Total ×ColumnTotal
exp Freq= exp Freq=
N N

50× 65 50× 85
exp Freq= exp Freq=
150 150

exp Freq=21.667 exp Freq=28.333


Graduate School Diploma; Supernatural Graduate School Diploma;No supernatural
Row Total ×ColumnTotal Row Total ×ColumnTotal
exp Freq= exp Freq=
N N

29 ×65 29 ×85
exp Freq= exp Freq=
150 150

exp Freq=12.567 exp Freq=16.433


2
( f o−f e )
x =∑
2
fe

( 23−11.267 )2 ( 3−14.733 )2 ( 25−19.500 )2 ( 20−25.500 )2


x 2= + + +
11.267 14.733 19.500 25.500
2 2 2 2
+(15−21.667) (35−28.333) (2−12.567) (27−16.433)
+ + +
21.667 28.333 12.567 16.433
2
x =12.218+9.344 +1.551+ 1.186+2.051+1.569+8.885+6.795

x 2=43.599
d . f .=( r −1 ) ( c−1 )

d . f .=( 4−1 )( 2−1 )

d . f .=3 ; critical value=7.815

chi−square critical value=7.815

Conclusion
The conclusion is that the chi-square test statistic 43.600 greater than chi-square critical
value 7.815, so the null hypothesis is rejected at 5% level of significance. There is sufficient
evidence to indicate that there is an association between supernatural and school experience. The
result is statistically significant.
Statistical Analysis: TWO-FACTOR ANOVA
Ho: There is no difference in student attitude about drug abuse before and after the anti-drug
lecture.
Ha: There is difference in student attitude about drug abuse before and after the anti-drug
lecture.

Let Sample 1 is before. Let Sample 2 is after.


Then, d=before−after .
Given:
n = 10; đ = 1.7 ; Sd = 1.567

Test Statistic:
đ 1.7
t= = =3.431
sd / √ n 1.567/√ 10
d . f .=n−1=10−1=9
α =0.05
t α =± 2.262
,df
2

Interval: [-2.262, 2.262]

Conclusion:
Since the statistic does not lies within the interval, the null hypothesis is rejected.
Therefore, there is a sufficient evidence that there is difference in student attitude about drug
abuse before and after the anti-drug lecture.
Statistical Analysis: PEARSON CORRELATION COEFFICIENT

r=
∑ ( x i− x̄ )( y i− ȳ )
√ ∑ ( x i− x̄ )2 ∑ ( y i− ȳ ) 2

x̄=
∑ x i = 43 =4.3
n 10

ȳ=
∑ y i = 31 =3.1
n 10

10

∑ ( xi − x̄ ) 2=( 1−4.3 )2+ (5−4.3 )2+ ( 6−4.3 )2+ ( 1−4.3 )2+( 8−4.3 )2+(2−4.3)2+(5−4.3)2+(9−4.3)2 +(4−4.3)2 +(2−4
i=1

¿ 10.89+0.49+2.89+10.89+13.69+ 5.29+ 0.49+22.09+0.09+5.29


10

∑ ( xi − x̄ ) 2=72.1
i=1

10

∑ ( y i− ȳ )2=( 1−3.1 )2+ ( 4−3.1 )2+ ( 2−3.1 )2 + ( 3−3.1 )2 +( 5−3.1 )2+(1−3.1)2+(2−3.1)2 +(6−3.1)2+(7−3.1)2 +(0−3
i=1

¿ 4.41+0.81+1.21+0.01+3.61+ 4.41+ 1.21+ 8.41+ 15.21+ 9.61

∑ ( xi − x̄ ) ( y i − ȳ )=( 1−4.3 ) ( 1−3.1 ) + ( 5−4.3 ) ( 4−3.1 ) +( 6−4.3 )( 2−3.1 )+( 1−4.3 ) ( 3−3.1 )+ ( 8−4.3 )( 5−3.1 ) + ( 2−4.
¿ 6.93+0.63−1.87+0.33+7.03+ 4.83−0.77+13.63−1.17+ 7.13
¿ 36.7

3 6. 7 36.7 36.7
r= = = =0.62
√(72.1)(48.9) √ 3,525.69 59.38

The correlation coefficient is positive. Hence, it is significant. Therefore, x and y increase


or decrease in the same direction.

Statistical Analysis: TWO FACTOR ANOVA

Independent variable: brands of ice cream


Dependent variable: rating in taste of ice cream
Ho: There is no significant difference in the taste of the ice cream.
Ha: There is a significant difference in the taste of the ice cream.

Store-brand Premium Super-Premium


N 5 5 5
M 4.2 4.4 4.4
SD 1.72 1.62 1.74

Standard Deviation Formula

σ=
√ ∑ ( x i−μ)2
N

Standard Deviation: Standard Deviation: Standard Deviation:


STORE-BRAND PREMIUM SUPER PREMIUM

√ ( ) √ ( ) √ ( )
2 2 2
103 21 110 22 112 22
σ= − σ= − σ= −
5 5 5 5 5 5
¿ √ 20.6−17.64 ¿ √ 22−19.36 ¿ √ 22.4−19.36
¿ √ 2.96 ¿ √ 2.64 ¿ √ 3.04
¿ 1.72 ¿ 1.62 ¿ 1.74

Grand Mean:
( 5 ) ( 4.2 ) + ( 5 ) ( 4.4 )+(5)(4.4 )
x=
15
21+22+22
x=
15
x=4.3

Variance SS df MS F P
source
Between 0.15 2 0.075
0.026 0.974
Within 34.44 12 2.87
Total 34.59 14

Conclusion:
Here, the p-value (0.974) > (0.05) so, we can conclude that the relationship between
mean are not significant. Also, F < Fɑ. Hence, we tails to reject the null hypothesis since there is
a significant difference in the taste of the ice cream.

Statistical Analysis: CHI-SQUARE TEST


Level of significance: 5%
Ho: There is no association between supernatural and school experience.
Ha: There is an association between supernatural and school experience.

EXPECTED FREQUENCY
No High School Diploma; Supernatural No High School Diploma; No supernatural
Row Total ×ColumnTotal Row Total ×ColumnTotal
exp Freq= exp Freq=
N N

26 ×65 26 ×85
exp Freq= exp Freq=
150 150

exp Freq=11.267 exp Freq=14.733


High School Diploma; Supernatural High School Diploma; No supernatural
Row Total ×ColumnTotal Row Total ×ColumnTotal
exp Freq= exp Freq=
N N

45 ×65 45 × 85
exp Freq= exp Freq=
150 150

exp Freq=19.500 exp Freq=25.500


College Diploma; Supernatural College Diploma; No supernatural
Row Total ×ColumnTotal Row Total ×ColumnTotal
exp Freq= exp Freq=
N N

50× 65 50× 85
exp Freq= exp Freq=
150 150

exp Freq=21.667 exp Freq=28.333


Graduate School Diploma; Supernatural Graduate School Diploma;No supernatural
Row Total ×ColumnTotal Row Total ×ColumnTotal
exp Freq= exp Freq=
N N

29 ×65 29 ×85
exp Freq= exp Freq=
150 150

exp Freq=12.567 exp Freq=16.433


2
( f o−f e )
x =∑
2
fe
2 ( 23−11.267 )2 ( 3−14.733 )2 ( 25−19.500 )2 ( 20−25.500 )2
x= + + +
11.267 14.733 19.500 25.500
2 2 2 2
+(15−21.667) (35−28.333) (2−12.567) (27−16.433)
+ + +
21.667 28.333 12.567 16.433
2
x =12.218+9.344 +1.551+ 1.186+2.051+1.569+8.885+6.795
2
x =43.599
d . f .=( r −1 ) ( c−1 )

d . f .=( 4−1 )( 2−1 )

d . f .=3 ; critical value=7.815

chi−square critical value=7.815

Conclusion
The conclusion is that the chi-square test statistic 43.600 greater than chi-square critical value
7.815, so the null hypothesis is rejected at 5% level of significance. There is sufficient evidence
to indicate that there is an association between supernatural and school experience. The result is
statistically significant.

You might also like