Basic Statistical Test
Basic Statistical Test
Test
TESTING FOR
SIGNIFICANT
DIFFERENCE
t-Test
t-Test
Analysis of Variance
Sum of
Source of Degrees of Mean p-value/
Variation Squares freedom squares F sig
Treatment 89.00 2.00 44.50 2.925 0.086817769
Error 213.00 14.00 15.21
Total 302 16
■ The table above shows that the highest mean was observed for
students taught by young teachers followed by middle aged teachers.
Students performed low when handled by aging teacher. The f value
computed is 9.564 with an associated p-value of 0.000. Since the p-
value is less than the 5%level significance, then the null hypo is
immediately rejected which means that there is sufficient evidence to
conclude that at least 2 means are significantly different.
Multiple Mean Comparison Test
■
(Post hoc or After-ANOVA test)
If found significant, which pair(s) of means of the categories of
teacher’s age is(are)significantly different?
20
15
Y
10
0
0 2 4 6 8 10 12
X
25 30
20 25
20
15
15
Y
Y
10
10
5
5
0 0
0 2 4 6 8 10 12 0 2 4 6 8 10 12
X X
Perfect Strong
30 25
25
20
20
15
15
Y
Y
10
10
5 5
0
0
0 2 4 6 8 10 12
0 2 4 6 8 10 12
X
X
Moderate Weak/Poor
The wider the distance between the two lines that colonize the scattered
points the weaker is the relationship between the involved variables
Signed relationship
30
25
20
15
Y
10
0
0 2 4 6 8 10 12
X
2 2
1.5 1.5
1 1
0.5 0.5
0 0
r=-0.0582
r=-0.12332
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5
60
50
40
Y
30
20
10
0
0 1 2 3 4 5
X
Strong
nonlinear
(exponential)
Simple Correlation
Pearson r- measure linear relationship between two normally
distributed ratio variables, 2 interval variables, or 1 ratio and 1 interval
variables
cov(x, y )
r=
SDx SDy
SDx , SD y
Important points about Pearson r
−1 r 1 → 0 r 1
Absolute r Interpretation
value/contingency
Null Hypothesis: There is no significant relationship between academic performance and the
following variables: Daily allowance, High School GPA, Religion, Mothers Age, Mothers
Education, HS Graduated From
Data
Mother's HS Graduated Academic
Daily Allowance HS GPA Religion Mother's Age Education From Performance
10 98.000 1 29 1 2 76.200
21 99.840 3 26 1 1 78.520
30 99.160 3 34 1 1 79.600
29 98.880 1 32 1 1 81.480
14 98.400 3 25 1 1 78.680
18
43
98.320
97.640
2
3
28
30
11
1
1
83.160
83.160
20 96.760 2 32 1 1 77.400
49 96.400 3 27 1 2 80.880
66 95.960 1 30 1 1 83.920
45 95.920 2 27 1 2 84.400
29 95.280 1 24 1 2 78.480
14 95.240 2 32 1 2 82.680
33 95.040 3 23 1 2 78.960
50 94.760 1 29 1 2 84.000
36 94.600 3 33 1 1 85.320
46 94.520 3 29 1 2 80.520
30 94.400 2 26 1 2 81.600
48 94.280 3 26 1 2 81.760
74 94.160 1 30 1 2 85.880
42 94.000 2 38 1 2 82.040
44 93.760 2 46 1 1 84.280
78 93.000 2 42 1 2 86.360
13 92.840 1 45 1 2 81.560
64 92.560 1 40 1 1 84.680
64 92.440 1 41 1 1 83.680
57 92.440 1 45 1 2 84.840
67 92.360 3 44 1 2 83.040
34 92.320 3 45 1 1 85.080
59 92.120 3 46 1 2 82.080
60 91.800 2 45 1 1 85.200
36 91.760 3 46 1 1 81.320
87 91.280 2 47 1 1 87.440
54 90.920 3 46 1 1 85.480
47 90.400 1 36 1 2 84.640
47 90.280 1 39 1 1 82.640
74 90.000 2 39 1 2 84.880
66 89.960 3 43 1 1 82.920
108 89.880 3 37 1 2 87.960
50 89.560 1 47 1 1 85.000
62 89.520 1 43 1 2 85.440
30 89.200 3 45 1 2 84.600
47 89.000 2 36 1 2 83.640
115 89.000 2 45 1 2 88.800
52 88.800 2 38 1 2 85.240
94 88.680 2 47 1 1 89.280
70 88.360 2 38 1 2 86.400
46 88.200 2 42 1 1 86.520
121 87.760 3 38 1 2 89.520
80 87.640 3 43 1 2 86.600
122 87.600 1 49 1 2 89.640
123 87.520 1 60 1 1 89.760
110 87.520 3 53 2 2 90.200
103 87.400 3 48 2 1 89.360
114 87.280 2 60 2 2 89.680
65 87.240 1 51 2 2 88.800
125 86.800 3 55 2 1 91.000
75 86.640 2 56 2 2 89.000
85 86.600 3 55 2 2 89.200
96 86.440 2 49 2 2 87.520
63 86.000 3 53 2 1 85.560
99 85.960 3 52 2 2 89.880
83 85.920 1 51 2 2 90.960
100 85.880 1 50 2 2 89.000
69 85.640 3 57 2 1 88.280
70 85.640 1 60 2 1 86.400
116 85.480 1 60 2 1 92.920
119 85.440 1 51 2 1 92.280
148 85.320 2 48 2 1 93.760
115 85.200 3 56 2 1 88.800
76 85.080 3 51 2 2 90.120
86 85.080 1 53 2 2 90.320
128 85.040 2 55 2 2 90.360
112 84.840 1 59 2 2 91.440
112 84.680 3 60 2 1 92.440
63 84.680 1 49 2 2 88.560
132 84.560 1 50 2 2 90.840
150 84.360 3 49 2 2 93.000
73 84.280 2 48 3 2 89.760
125 84.040 3 50 3 1 94.000
118 83.880 1 58 3 2 94.160
144 83.760 2 48 3 2 93.280
120 83.600 3 51 3 1 92.400
121 83.520 2 58 3 2 94.520
130 83.320 1 58 3 1 91.600
123 83.000 2 49 3 2 93.760
117 82.960 3 50 3 2 95.040
127 82.680 1 53 3 2 91.240
144 82.480 2 53 3 1 97.280
141 82.400 2 48 3 1 97.920
133 81.920 3 48 3 2 96.960
145 81.880 2 59 3 2 97.400
148 81.400 1 50 3 2 93.760
122 81.160 1 48 3 1 94.640
136 81.160 1 49 3 2 96.320
145 80.680 3 55 3 1 95.400
149 80.480 2 54 3 2 94.880
143 77.600 1 55 3 2 95.160
132 77.520 1 51 3 2 96.840
130 77.200 3 52 3 1 96.600
Grade
Below 80 Poor
80 to 85 Fair
85 to 90 Good
1 1.2 25 0.95
2 1.5 25 0.93
3 2.0 25 0.92
4 3.5 26 0.90
5 4.1 28 0.87
6 5.6 28 0.85
Answer the ff.:
25 1.2
25 1.5
25 2.0
26 3.5
28 4.1
28 5.6
Sum:
Solution:
(b) Causal linear regression
based on product price:
Product Price Sales Revenue (y)
(millions of dollars)
0.95 1.2
0.93 1.5
0.92 2.0
0.90 3.5
0.87 4.1
0.85 5.6
Sum:
Solution:
(c) Coefficients of
determination for a
(c) Coefficients of
determination for b
Example 2:
The following data represent the industry
sales(x) and Corporation ABC’s annual sales
Year Industry Sales (x) ($millions) ABC’s Sales (y) ($ millions)
(y) of toddler clothes:
1 1103 105
2 1250 117
3 1097 110
4 955 101
5 945 97
6 903 92
7 1025 104
8 1170 116
Answer the following
(a) If the industry estimate of next year’s sales is $1300 millions,
forecast ABC’s annual sales for next year using causal linear
regression.
(b) Compute the correlation coefficient and interpret its meaning.
(c) How much of the variation in ABC’s sales is explained by industry
sales?
(a) If the industry estimate of next year’s sales
is $1300 millions, forecast ABC’s annual
sales for next year using causal linear
regression.
Industry Sales (x) ABC’s Sales
(y)
1103 105
1250 117
1097 110
955 101
945 97
903 92
1025 104
1170 116
Solution:
(b) Compute the correlation
coefficient and interpret its
meaning.
(c) How much of the variation in
ABC’s sales is explained by industry
sales?
Example 3:
(a) Using the data below, forecast next year’s sales
revenue using time series linear regression with
time as the independent variable;
(b) Find theSales
Year(x)2
coefficient
(y)
of determination
1 1.2
2 1.5
3 2
4 3.5
5 4.1
6 5.6
Sum:
Solution: