Академический Документы
Профессиональный Документы
Культура Документы
Chi-square test
t-test
Paired t-test
Regression
Simpson's Diversity Index
(if you don't see the tabs, make sure the window for this worksheet is maximized)
Use this test to compare averages when the two numbers come in pairs
(e.g., if you wanted to compare number of holes in the north versus south sides of cacti, each
cactus will have a number of holes for its north side and a number of holes for its south side, which
make up one pair of observations. You could use this test to compare all of these pairs of numbers,
to see if there were typically more holes on one side or the other.
Use this test to look for a relationship between two numeric variables (such as saguaro
height and number of holes in the saguaro).
Use this test to compare species diversity between locations.
2 categories
Your Data >>>
Category 1
120
Category 2
150
3 categories
Your Data >>>
Category 1
Category 2
4 categories
Your Data >>>
Category 1
40
Category 2
50
Category 3
60
Category 4
104
5 categories
Your Data >>>
Category 1
Category 2
Category 3
Category 4
Category 5
8 categories
Your Data >>>
Category 1
Category 2
Category 3
Category 4
Category 5
P value
Category 3
P value
#DIV/0!
P value
Category 6
Example 1: if you counted 120 saguaros on the N slope and 150 saguaros on the S slope,
then p = 0.068 so there is no significant difference in # of saguaros on the two slopes.
Example 2: if you counted 40 holes on the N side, 50 on E side, 60 on W side, and 104 on S side of saguaros,
then p < 0.01 so there is a significant difference in # of saguaros on the two slopes.
The chi square test compares the observed values to the values expected by the null hypothesis.
p<0.01
P value
Category 7
4 on S side of saguaros,
hypothesis)
hypothesis)
han 0.05?
re not significantly different (cannot reject null hypothesis)
are significantly different (accept an alternative hypothesis)
T-TEST
WHEN TO USE: Use this test when you want to compare values of any numeric variable between two groups (such as tree he
Group 1
3.5
0.2
0.5
1.5
3.1
Group 2
1
3.2
3.5
4.2
0.8
w h a t a r e y o u m e a s u r in g (u n its )
average Group 1
average Group 2
1.760
2.540
0.668
0.690
P value
0.440
3.000
2.500
2.000
1.500
1.000
0.500
0.000
1.500
1.000
0.500
0.000
These values show the variability for each group, and are used to make the "error bars" on the graph below
3.000
2.500
2.000
1.500
1.000
0.500
0.000
Group 1
Group 2
1.500
1.000
0.500
0.000
Group 1
Group 2
PAIRED T-TEST
WHEN TO USE: Use this test when you want to compare numeric variables that come in pairs.
Variable 1
3.5
0.2
0.5
1.5
3.1
Variable 2
1
3.2
3.5
4.2
0.8
w h a t a r e y o u m e a s u r in g (u n its )
average Variable 1
average Variable 2
standard error Variable 1
standard error Variable 2
P value
3.000
2.500
2.000
1.500
1.000
0.500
0.000
2.000
1.500
1.000
0.500
0.000
sides of cacti.)
h of the numbers from each pair of observations in the same row.
e the units if appropriate
1.760
2.540
0.668
0.690
These values show the variability for each variable, and are used to make the "error bars" on the gra
0.581
3.000
2.500
2.000
1.500
1.000
0.500
0.000
Variable 1
Variable 2
2.000
1.500
1.000
0.500
0.000
Variable 1
Variable 2
REGRESSION
WHEN TO USE: Use this test when you want to look for a relationship between two numeric variables.
Steps to using Excel to do regression:
Click on Explanatory variable and type in your explanatory variable; do same for Response variable
Replace existing data with your data under each column name
Click into the axis labels of the graph and change the labels, remembering to give the units, too
Calculations:
Explanatory
variable
0.4
1
2.3
4.1
4.7
Response
variable
22
28
42
55
61
xy
x2
8.8
28
96.6
225.5
286.7
y2
0.16
1
5.29
16.81
22.09
484
784
1764
3025
3721
predicted
y
22.89362
28.2383
39.81844
55.85248
61.19716
onse variable
squared
residuals (x - avg x)^2
0.798551
4.41
0.056786
2.25
4.759205
0.04
0.726726
2.56
0.038873
4.84
n
5
x
12.5
( x)2
156.25
Y o u r r e s p o n s e v a r ia b le (u n its )
residuals
-0.893617
-0.238298
2.18156
-0.852482
-0.197163
Slope =
y-intercept =
r=
r2 =
regression standard error (s) =
standard error of the slope =
t=
P value
y
208
(xy)
645.6
( y)2
43264
8.907801
19.3305
0.997161
0.99433
1.458326
0.388369
22.93642
p<0.01
70
60
50
40
30
20
10
0
0.5
1.5
2.5
Your explanatory va
50
40
30
20
10
0
0.5
1.5
2.5
Your explanatory va
.5
(x2)
45.35
2.5
(y2)
9778
3.5
avg(x)
2.5
4.5
.5
2.5
3.5
4.5
Simpson's Diversity
Index [actually 1-D]
N=
Richness =
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
of
of
of
of
of
of
of
of
of
of
of
of
of
of
of
of
of
of
of
of
of
of
of
of
of
of
of
of
of
of
of
of
of
species
species
species
species
species
species
species
species
species
species
species
species
species
species
species
species
species
species
species
species
species
species
species
species
species
species
species
species
species
species
species
species
species
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Area 1
Area 2
64.8
58.1
14
4
73
5
1
2
3
8
12
45
2
8
6
number
number
number
number
number
number
number
of
of
of
of
of
of
of
species
species
species
species
species
species
species
34
35
36
37
38
39
40
Obs
Exp
(O-E)2
(O-E)2/E
120
135
225
1.67
150
135
225
1.67
total
270
270
TOTAL
3.33
Page