Inbound 2323158544640608273
Inbound 2323158544640608273
commonly used to test the relationship between variables that are quantitative in
nature (either interval or ratio scale)
Meanwhile,
* Spearman rho or Kendall’s tau – are common statistical tools used to measure the
relationship between variables at the ordinal scale.
• * Chi – square test – is commonly used for significance of
relationship.
Click File
New
Data 19
Click
Variable
View
Type in
ScoreMath
&
ScorePhysics
Enter
Data
21
Click
Analyze
Correlate
Bivariate
22
Highlight
ScoreMath &
ScorePhysics
Drag to
Variables
Click
Options
23
• *** Note:
Pearson r
• Two- tailed
Flag significant
correlations
Check mean and
standard deviation
Continue
Ok
Result
25
RESULT:
Sig. (2-tailed)
= 0.000
26
INTERPRETATION:
Stat test: Pearson r
α = 0.05
Tail = 2 tailed
Result: Computed Pearson r = 0.913
Sig = ρ value = 0.000
Decision:
Reject Ho • Rule # 1 : If sig ˂ 0.05
Reject Ho • Rule # 2: If sig = 0.05
27
Accept Ho • Rule # 3: If sig ˃ 0.05
DECISION:
• Reject Ho
• Conclusion:
• * There is significant relationship between score in Math and
score in Physics.
• Implications:
• * Better background in Mathematics would lead to better
performance in Physics.
28
Pearson r
Analyze
Correlate
Bivariate
Drag
Pearson r
Option
Ok
29
TABLE OF CORRELATIONS INTERPRETATION
Range of Coefficient Description
From To
+ 0.81 + 1.00 Very Strong
• 1. What is the profile of the respondents in terms of sex, age and income?
Stat tools: frequency & percentage distribution and graph
2. To what extent is the buying behavior of the respondents in terms of: cultural,
social, personal and psychological factors?
Stat tools: mean and sd
3. Is there a significant relationship between respondents’ sex and their overall
buying behavior?
Stat tool: Pearson r
Chi- Square Test as a Statistical Tool
Chi-Square as a Statistical Test
( fe fo ) 2
2
fe
fe = expected frequencies
fo = observed frequencies
The Sampling Distribution of Chi-Square
where
r = the number of rows
c = the number of columns
Calculating Degrees of Freedom
How many degrees of freedom would a table with 3 rows and 2 columns
have?
(3 – 1)(2 – 1) = 2
2 degrees of freedom
The Chi Square Test
(we will cover this in lab;)
(O – E)2
S
E
• where
– O = observed data in each category
– E = observed data in each category based on the
experimenter’s hypothesis
S = Sum of the calculations for each category
Consider the following example in Drosophila melanogaster
• The Cross:
– A cross is made between two true-breeding flies (c+c+e+e+
and ccee). The flies of the F1 generation are then allowed
to mate with each other to produce an F2 generation.
• The outcome
– F1 generation
• All offspring have straight wings and gray bodies
– F2 generation
• 193 straight wings, gray bodies
• 69 straight wings, ebony bodies
• 64 curved wings, gray bodies
• 26 curved wings, ebony bodies
• 352 total flies
Expected Observed
0.13 + 0.14 + 0.06 + 0.73 number number
198 193
1.06 66 64
66 62
22 24
• Step 4: Interpret the chi square value
– The calculated chi square value can be used to obtain
probabilities, or P values, from a chi square table
• These probabilities allow us to determine the likelihood that the
observed deviations are due to random chance alone
Independent Variables:
Degree – Teaching (1),
Non- teaching (0)
Age – 20 or above years old (1),
below 20 (0)
Dependent Variable:
Cholesterol – (3) High
(2) Moderate
(1) Low
Hypothesis:
H0 : Degree is not associated with age in relation to
a person’s cholesterol
32
n Degree Age Choleste n Degree Age Choleste
rol rol
1 0 1 3 11 0 1 2
2 1 1 2 12 1 1 1
3 1 1 1 13 1 1 3
4 1 1 1 14 0 1 3
5 0 1 1 15 1 1 1
6 0 1 2 16 1 1 1
7 1 1 2 17 1 1 2
8 1 0 3 18 0 1 2
9 0 0 3 19 1 1 1
10 0 0 1 20 0 1 1
33
Required:
A. Frequency Table
B. Null hypothesis
C. Test the null hypothesis
D. Conclusion
34
FREQUENCY TABLE
Degree 20 or above years old Below 20 years old Total
Cholesterol 3 2 1 3 2 1
Teaching (1) 1 3 6 1 0 0 11
Non- 2 3 2 1 0 1 9
teaching (0)
Total 3 6 8 2 0 1 20
35
NULL HYPOTHESIS
Decision True False
Reject Type I Error No Error
Accept No Error Type II Error
36
Test H0 :
Rule # 1 : If sig < 0.05
Rule # 2: If sig = 0.05
Reject HO
37
How to Input Data on SPSS?
Open SPSS
(File, New, Data)
• Degree
Type Variable • Age
• Cholesterol
• Enter
Click Data View data
38
File
New
Data
39
Click
Variable
View
Enter Variables:
Degree
Age
Cholesterol
40
Click Data
View
Enter
Data
41
Click
Analyze
Descriptive
Statistics
Crosstabs
42
Drag
DEGREE
to rows
AGE to
columns
43
Click
Statistics
Check Phi
and
Cramer’s V
44
Check Cells
Check
Observe
Check
Expected
Continue
Ok
45
Result
46
Result
Symmetric Measures
Value Approx. Sig
N of valid cases 20
Therefore: Ho is accepted
Statistics
Phi &
Cramer’s V
Cells
Observed
Expected
Continue
Ok
48
Analysis of Variance (ANOVA)
1
One- Way Analysis of Variance
(ANOVA)
is used to determine whether there are any
statistically significant differences between the
means of three or more independent
(unrelated) groups
Steps:
Ho: There are no significant differences among
the three (3) group means.
1 90 100 98
2 90 90 80
3 100 90 90
4 85 90 75
5 100 100 100
6 92 90 90
7 91 100 90
8 80 90 80
9 100 70 80
10 100 90 4 80
Compute Mean ( x )
Analyze
Descriptive
Statistics
Descriptive
Drag
Option
Mean
Ok
5
Open
File
New
Data
6
Click Variable
View
Enter
TM1
TM2
TM3
7
Click
Data
View
Enter
Data
8
Click
Analyze
Descriptive
Statistics
Descriptives
9
Drag
TM1,
TM2,
TM3 to
Variables
10
Click
Options
11
Check
Mean
Continue
Ok
12
Computed Mean
13
Compute One – Way ANOVA
Test # TM (1) TM (2) TM (3)
1 90 100 98
2 90 90 80
3 100 90 90
4 85 90 75
5 100 100 100
6 92 90 90
7 91 100 90
8 80 90 80
9 100 70 80
10 100 90 14 80
Open File
New
Data
Variable View
Type ScoreTM
and Group
15
Click Data
View
Score TM: Groups:
1- 10 TM1 (1)
11-20 TM2 (2)
Enter 21-30 TM3 (3)
Data
16
Click
Analyze
Compare
Means
One- Way
ANOVA
17
Drag
ScoreTM to
Dependent
List
Group to
Factor
18
Ordinal Variable
Click
Post
Hoc
Nominal Variable
19
Check
Scheffe
***Take Note:
Significant
level @ 0.05
Continue
20
Click Options
Continue
Ok
Result
21
One – Way ANOVA Result
22
Interpretation:
Stat test: One- Way ANOVA
α = 0.05
Tail = 2 tailed
Result: Computed F - value= 1.70
Sig = ρ value = 0.202
Decision:
Reject Ho • Rule # 1 : If sig ˂ 0.05
Reject Ho • Rule # 2: If sig = 0.05
Accept Ho • Rule # 3: If sig ˃ 0.05
23
Decision:
• Accept Ho
• Conclusion:
• * There are no significant differences
among the three (3) group means.
• Implications:
• * The three methods of teaching are
equally effective.
24
Analyze
Compare
Means • Score – Dependent List
One – Way • Group- Factor
ANOVA
Post- Hoc
Scheffe
Continue
Option
Continue
Ok
25
Two- Way Analysis of Variance
(ANOVA)
A two-way ANOVA tests the effect of two independent
variables on a dependent variable.
Religion:
* * Performance
Catholic (1) 5- Excellent
N0n- Catholic (2) 4- Very Satisfactory
3- Satisfactory
*Sex 2- Fair
Male (1) 1- Poor
Female (2)
27
Teacher Performance Rating (3)
Catholic (1) Non- Catholic (2)
Male (1) Female (2) Male (1) Female (2)
5 5 5 4
4 5 5 5
3 5 4 3
3 4 3 3
5 4 3 2
4 3 4 4
3 3 5 3
Hypotheses:
Religion: Ho1 : Xc = X Nc
Sex : Ho2 : XM = XF
29
Open File
New
Data
Variable View
Enter:
Religion
Sex
Performance
30
Click Data Religion:
Sex:
1-7 Male (1)
8-14 Female (2)
15-21 Male (1)
Enter
22-28 Female (2)
Data Performance:
Data shown in the table
31
Click
Analyze
General
Linear Model
Univariate
32
Performance
(Dependent
Variables)
Sex and
Religion
(Fixed Factors)
33
Click
Model
34
Full
Factorial
Type III
Continue
35
Contrasts
Continue
36
Drag Religion
and Sex to
Post Hoc Tests
Check Scheffe
Continue
Click Options
37
Drag all
variables to
Display Means
Check
Descriptive
Statistics
Continue
38
39
Bootstrap
Continue
Ok
40
41
Two – Way ANOVA Result
42
Analyze
General Linear
Post – Hoc Test
Model
Univariate
• Religion
Fixed Factors • Sex
Model
Full
Factorial
43
Type III
Post – Hoc Test
Contrasts
Post Hoc
Enter Religion &
Sex
Scheffe
Continue
Option
44
Post – Hoc Test
• Religion
Enter • Sex
Overall • Performance
Descriptive
Statistics
Continue
Boostrap
Continue
Ok
45
•Education is not the learning of facts,
training of the mind
but the
to think!
-Albert Einstein
46
t -test
1
t-test
• The t-test tells you how significant the differences
between groups are; In other words it lets you know
if those differences (measured in means/averages)
could have happened by chance.
2
Three main types of t-test:
Opposites:
• Dependent
• Correlated/ paired t-test, compares means from the same
group at different times (say, one year apart).
• Homogeneous paired t-test
3
• Test at = 0.05 if the group’s
pretest mean score differ significantly
from that of the group’s posttest mean
score.
Step 1:
Ho : XPretest = Xposttest
H1 : XPretest = Xposttest
Step 2: Statistical test
*test for correlated samples
Step 3: Compute
4
Step 4: Decide
Step 5: Draw a conclusion
5
T- test for correlated samples
Pretest Post-test
90 88
80 90
90 91
84 90
82 95
80 92
80 90
94 80
90 80 6
File
New
Data
Variable View:
Pretest
Posttest
7
Click
Data
View
Enter
Data
8
Click Analyze
Compare
Means
Paired Samples
T Test
9
Drag Pretest
& Posttest to
Paired
Variables
Click Options
10
Continue
Ok
Result
11
• Sig (correlation) = 0.028
12
• Sig. (2- tailed) = 0.404, sig ˃0.05
• Therefore: Accept Ho
• T = -0.881
Conclusion :
* There is no significant difference between
group’s pretest mean scores and group’s post
test mean scores.
13
T- test for Uncorrelated Samples
If uncorrelated, unequal number of members in a group.
Boys (x) Sex (Boys) Girls (x) Sex (Girls)
90 1 90 0
90 1 95 0
85 1 95 0
85 1 90 0
85 1 90 0
90 1 95 0
91 1 95 0
86 1 96 0
XB = 87.75 97 0
100 0
XG= 94.30
14
File
New
Data
Variable View:
x
Sex
15
Click
Data
View
Enter
Data
16
Click Analyze
Compare
Means
Independent-
Samples T Test
17
Drag X - test
variables and
sex - grouping
variables
Click Define
Groups
18
Define Groups:
Group 1 – 1
Group 2 - 0
Continue
Option
Continue
Ok
19
RESULT
22
•Education is not the learning of facts,
training of the mind
but the
to think!
-Albert Einstein
23