Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Definitions
Parametric Tests
Statistical tests that involve assumptions about or
estimations of population parameters. (data
come from normally distributed populastion)
Nonparametric Tests
Also known as distribution-free tests
Statistical tests that do not rely on assumptions
of distributions or parameter estimates
(what were going to be learning)
More Definitions
The Chi-Square (X2) test is a nonparametric
test that is used to test hypotheses about
distributions of frequencies across categories
of data.
Different from what weve been learning
Then: averages, scales
Now: Frequencies, Categories
Characteristics of the X2
distribution
A family of distributions varying in df (like the t
distribution).
Positively skewed; the amount of skew
decreases as df increases.
Minimum value = 0 (X2 cant be negative)
Average (typical) value increases (the entire
distribution shifts to the right) as df increases.
Characteristics of the X2
distribution
2 Types
Goodness-of-fit Test
X2 Test of Independence
Flowers
I grow 120 of these plants from seed. The
resulting colors of flowers are as follows:
Pink
White
Red
75
20
25
Pink
75
White
20
Red
25
Pink
60
White
30
Red
30
Pink
75
60
White
20
30
Red
25
30
Calculating X2
Observed
Expected
Pink
75
60
White
20
30
Red
25
30
Total
120
120
Interpretation
Since we reject H0, the geneticists hypothesis
does not fit the data.
The population distribution across the three
categories is probably different than .50 pink,
.25 white, .25 red.
Another Example
Alley Chosen
Original
Right
Total
Observed
23
32
Expected
32
Right
Total
Observed
23
32
Expected
16
16
32
Observed
Expected
A
4
8
Alley Chosen
B
C
5
8
8
8
D
15
8
Total
32
32
Two differences:
Calculation of expected frequencies
Calculation of df
df in X2 Independence Tests
df = (# rows - 1) (# columns - 1)
Why?
Remember marginals are fixed in X2
independence tests.
Left
80
55
Right
45
50
Left
80 73.4
55 61.6
135
Right
45 51.6
50 43.4
95
125
105
230
X2 obt = 3.15
X2 crit = 3.84
Apakah kesimpulan anda?
Success
13
14
Relapse
36
30
Help
23%
28%
No Help
77%
72%
1303
1320
Sex of Bystander
F
Help
300
370
670
No Help
1003
950
1953
Total
1303
1320
2623
Spearmans Correlation
Coefficient
d = perbezaan RANK
antara satu pasangan data
n = bilangan pasangan
data
English
26
75
15
71
62
64
58
80
76
61
Maths
66
70
40
60
65
56
59
77
67
63
English
Maths
Rank Eng
Rank Math
d2
26
66
-5
25
75
15
70
40
8
1
9
1
-1
0
1
0
71
60
62
64
65
56
5
6
6
2
-1
4
1
16
58
59
80
77
10
10
76
67
61
63
-1
1
54
Pengiraan
Nilai Kritikal
The End