spiders on mazurian lake islands: wigry –mikołajki, nidzkie, bełdany) analysis of variance...
TRANSCRIPT
Spiders on Mazurian lake islands: Wigry –Mikołajki, Nidzkie, Bełdany)
Analysis of variance
Photo: Wigierski Park Narodowe Photo: Ruciane.net
Araneus diadematus
Salticidae
Photo: Eurospiders.com
Spider species richness on Mazurian lake islands
Does species richness differ with respect to the degree of disturbance?
High Medium Low Pristine33 51 6 2534 43 28 2732 75 2238 47 1929 60 21
49 4664 31
302531253493242857
T-TESTMedium Low Pristine
High 0.145265 0.172254 0.931288Medium 1 0.081749Low 0.211812
If we use the same test several times with the same data we have to apply
a Bonferroni correction.
Single test
)(1)( sigpnsigp
)()(
))(1(1
))(1(1)(
))(1()(
signpsigp
signp
sigpsigp
sigpnsigp
testExp
test
ntestExp
ntestExp
n independent tests
Bonferroni corrected
T-TEST
Medium Low Pristine
High 0.857544 0.862042 0.988548Medium 1 0.846958Low 0.868635 n
n
Test
TestExp
05.0
05.0
Island Disturbance SpeciesGórna E High 33Kopanka High 34Kopanka N High 32Piaseczna High 38Górna W High 29Królewski Ostrów
Medium 51
Wygryńska Medium 43Maleńka Low 6Ruciane - ląd Low 28Mikołajki - ląd Low 75Wierzba Low 47Kamień Low 60Mysia Wigry Low 49Ordów Low 64Koń Pristine 25Mała Wierzba Pristine 27Ośrodek Pristine 22Śluza Pristine 19Bryzgiel Pristine 21Bryzgiel - ląd Pristine 46Brzozowa L Pristine 31Brzozowa P Pristine 30Cimochowski Grądzik C
Pristine 25
Cimochowski Grądzik N
Pristine 31
Cimochowski Grądzik S
Pristine 25
Krowa Pristine 34Ostrów Pristine 93Rośków Pristine 24Walędziak Pristine 28Wysoki Pristine 57
Spider species richness on Mazurian lake
islands
sH2
sM2
sL2
sP2
sT2
If there would be no difference between the sites the average within
variance sWithin2 should equal the
variance between the sites sBetween2 .
One way analysis of variance Sir Ronald Aylmer Fisher(1890-1962)
Hx
Lx
Mx
Px
sBetween2
22
2
2
2
Between
Between
Within
Between
ss
s
s
sF
T
We test for significance using the F-test of Fisher with k-1
(Between) and n-k (Within) degrees of freedom.
Island Disturbance SpeciesGórna E High 33Kopanka High 34Kopanka N High 32Piaseczna High 38Górna W High 29Królewski Ostrów
Medium 51
Wygryńska Medium 43Maleńka Low 6Ruciane - ląd Low 28Mikołajki - ląd Low 75Wierzba Low 47Kamień Low 60Mysia Wigry Low 49Ordów Low 64Koń Pristine 25Mała Wierzba Pristine 27Ośrodek Pristine 22Śluza Pristine 19Bryzgiel Pristine 21Bryzgiel - ląd Pristine 46Brzozowa L Pristine 31Brzozowa P Pristine 30Cimochowski Grądzik C
Pristine 25
Cimochowski Grądzik N
Pristine 31
Cimochowski Grądzik S
Pristine 25
Krowa Pristine 34Ostrów Pristine 93Rośków Pristine 24Walędziak Pristine 28Wysoki Pristine 57
n-1 = n-k + k-1df Total df Within df Between
Between
Between
k
iTotali
Between dfSS
k
xxs
1
)(1
2
2
Within
Withink
i i
n
jiji
Within dfSS
n
xx
s
i
1
1
2,
2
1
)(
Total
Total
n
iTotali
Total dfSS
n
xxs
1
)(1
2
2
total between withinSS SS SS total between withindf df df
dfSS
MS
Within
Between
MSMS
F
2
22
1
21
11
ns
ns
xxt
Welch test
The Levene test compares the group variances using the F distribution. Variances shouldn’t differ too much (shouldn’t be heteroskedastic)!!!
The Tuckey test compares simultaneously the means of all combinations of groups. It’s a t-test corrected for multiple comparisons (similar to a Bonferroni correction)
Observations A B C D1 0.08 0.19 0.83 2.80 0.404 0.109 0.220 2.0592 0.71 1.21 0.71 2.69 0.404 0.109 0.220 2.0593 0.19 1.97 1.10 1.93 0.404 0.109 0.220 2.0594 0.51 0.19 0.11 2.57 0.404 0.109 0.220 2.0595 0.73 0.19 0.30 2.58 0.404 0.109 0.220 2.059Group mean 0.445 0.750 0.611 2.515
0.131 0.319 0.046 0.0810.070 0.216 0.010 0.0320.065 1.484 0.244 0.3420.004 0.314 0.250 0.0040.082 0.312 0.096 0.004
Total SSwithin 4.11Total SSbetween 13.96Grand mean 1.08
1.00 0.80 0.06 2.960.14 0.02 0.14 2.610.79 0.79 0.00 0.720.32 0.79 0.94 2.230.12 0.79 0.61 2.24
Grand SS 18.07SSbetween+SSwithin 18.07
F 18.14F-test 2.118E-05
Treatments
SSwithin
Grand SS
SSbetween
Between
Between
k
iTotali
Between dfSS
k
xxs
1
)(1
2
2
Within
Withink
i i
n
jiji
Within dfSS
n
xx
s
i
1
1
2,
2
1
)(
Total
Total
n
iTotali
Total dfSS
n
xxs
1
)(1
2
2
Island Complex Disturbance SpeciesGórna E NBM High 33Kopanka NBM High 34Kopanka N NBM High 32Piaseczna NBM High 38Górna W NBM High 29
Królewski OstrówNBM Medium 51
Wygryńska NBM Medium 43Maleńka NBM Low 6Ruciane - ląd NBM Low 28Mikołajki - lądNBM Low 75Wierzba NBM Low 47Kamień Wigry Low 60Mysia Wigry Wigry Low 49Ordów Wigry Low 64Koń NBM Pristine 25Mała WierzbaNBM Pristine 27Ośrodek NBM Pristine 22Śluza NBM Pristine 19Bryzgiel Wigry Pristine 21Bryzgiel - lądWigry Pristine 46Brzozowa L Wigry Pristine 31Brzozowa P Wigry Pristine 30
Cimochowski Grądzik CWigry Pristine 25
Cimochowski Grądzik NWigry Pristine 31
Cimochowski Grądzik SWigry Pristine 25
Krowa Wigry Pristine 34Ostrów Wigry Pristine 93Rośków Wigry Pristine 24Walędziak Wigry Pristine 28
Wysoki WęgiełWigry Pristine 57
Island Complex Disturbance SpeciesMaleńka NBM Low 6Ruciane - ląd NBM Low 28Mikołajki - lądNBM Low 75Wierzba NBM Low 47Kamień Wigry Low 60Mysia Wigry Wigry Low 49Ordów Wigry Low 64Koń NBM Pristine 25Mała WierzbaNBM Pristine 27Ośrodek NBM Pristine 22Śluza NBM Pristine 19Bryzgiel Wigry Pristine 21Bryzgiel - lądWigry Pristine 46Brzozowa L Wigry Pristine 31Brzozowa P Wigry Pristine 30
Cimochowski Grądzik CWigry Pristine 25
Cimochowski Grądzik NWigry Pristine 31
Cimochowski Grądzik SWigry Pristine 25
Krowa Wigry Pristine 34Ostrów Wigry Pristine 93Rośków Wigry Pristine 24Walędziak Wigry Pristine 28
Wysoki WęgiełWigry Pristine 57
We include the effect of island complex (Wigry – Nidzkie, Bełdany, Mikołaiki)
There must be at least two data for each combination of groups.
We use a simple two way ANOVA
total A B AxB errorSS SS SS SS SS
Main effects Secondary effects
ComplexSS eDisturbancSS eDisturbancComplexSS The significance levels have to be divided by the number of tests (Bonferroni correction)
Spider species richness does not significantly depend on island complex and degree of disturbance.
y = 33.431x0.1917
R² = 0.7215
0
20
40
60
80
100
0 10 20 30 40 50
Spec
ies
Area
Island Complex Disturbance Area [ha] SpeciesGórna E NBM 1 0.7 33Koń NBM 4 0.5 25Kopanka NBM 1 0.69 34Królewski Ostrów NBM 2 6.15 51Maleńka NBM 3 0.0003 6Mała Wierzba NBM 4 0.4 27Kopanka N NBM 1 0.18 32Ośrodek NBM 4 0.09 22Piaseczna NBM 1 0.63 38Ruciane - ląd NBM 3 15 28Mikołajki - ląd NBM 3 20 75Śluza NBM 4 0.48 19Górna W NBM 1 0.44 29Wierzba NBM 3 0.78 47Wygryńska NBM 2 0.67 43Bryzgiel Wigry 4 0.2 21Bryzgiel - ląd Wigry 4 16 46Brzozowa L Wigry 4 3.81 31Brzozowa P Wigry 4 2.32 30Cimochowski Grądzik CWigry 4 0.15 25Cimochowski Grądzik NWigry 4 0.14 31Cimochowski Grądzik SWigry 4 0.76 25
Kamień Wigry 3 3.13 60
Krowa Wigry 4 4.49 34Mysia Wigry Wigry 3 1.55 49Ordów Wigry 3 8.69 64Ostrów Wigry 4 38.82 93Rośków Wigry 4 0.56 24Walędziak Wigry 4 0.76 28Wysoki Węgieł Wigry 4 18 57
Correcting for covariates: Anaysis of covariance
Instead of using the raw data we use the residuals.
These are the area corrected species numbers.
The conmparison of within group residuals and between group residuals
gives our F-statistic.
Disturbance does not significantly influence
area corrected species richness
SStotal = SSbetween + SSerror
Within group residuals
Total residuals
We need four regression equations: one from all data points and three within groups.
Repetitive designsIn medical research we test patients
before and after medical treatment to infer the influence of the therapy.
We have to divide the total variance (SStotal) in a part that contains the variance between patients (SSbetween) and within the
patient (SSwithin). The latter can be divided in a part that
comes from the treatment (SStreat) and the error (SSerror)
k2
jj 1treat error
k n2error treat
ij i jj 1 i 1
n (T x)SS df (n 1)(k 1)
FSS df k 1(x P T x)
total between within between treat errorSS SS SS SS SS SS
total between within between treat errordf df df df df df
kn 1 n 1 n(k 1) n 1 k 1 (n 1)(k 1)
SStotal
SSbetween SSwithin
SSErrorSStreat
Medical
treatment
Before After
SSwithin
SSbe
twee
n
2
1 1
1
2
2
1 1
1
2
2
1 1
)(
)(
)(
)(
)(
xTPxSS
xTnSS
PxSS
xPkSS
xxSS
ji
n
i
k
jijerror
k
jjtreat
i
n
i
k
jijwithin
n
iibetween
n
i
k
jijtotal
Before – after analysis in environmental protection
In the case of unequal variances between groups it is save to use the
conservative ANOVA with (n-1) dferror and only one dfEffect in the final F-test.
2
1 1
1
2
)(
)(
xTPxSS
xTnSS
ji
n
i
k
jijerror
k
jjtreat
Island Spring Summer AutumnGórna E 26 14 22Koń 19 10 16Kopanka 21 17 15Królewski Ostrów 50 46 47Maleńka 6 5 4Mała Wierzba 25 19 21Kopanka N 28 17 23Ośrodek 16 15 12Piaseczna 34 25 29Ruciane - ląd 22 15 13Mikołajki - ląd 43 39 26Śluza 12 10 7Górna W 19 10 11Wierzba 29 25 23Wygryńska 26 18 26Bryzgiel 15 11 14Bryzgiel - ląd 44 23 28Brzozowa L 22 20 13Brzozowa P 29 17 23Cimochowski Grądzik C 19 15 17Cimochowski Grądzik N 29 25 29Cimochowski Grądzik S 14 8 14Kamień 37 21 37Krowa 19 11 13Mysia Wigry 32 16 29Ordów 37 25 25Ostrów 77 50 57Rośków 21 14 17Walędziak 14 8 13Wysoki Węgieł 32 19 19Mean P 27 19 21Grand Mean 23
SStreat 1115.30
df 2
Mean P SSError
21 15.235015 9.793518 11.420148 8.07765 29.2908
22 4.807323 4.528814 31.656929 0.644917 10.904236 120.532210 19.222213 5.088125 13.552923 18.365814 16.576832 98.008918 45.491423 6.883317 9.578128 17.343412 13.284732 93.925314 0.090426 60.167629 18.788961 193.469817 2.583512 9.107624 28.6667
SSerror 917.0866df 58
dftreat = k-1
dfError = (n-1)(k-1)
Mean P 27 19 21 SSerror 917.0866Grand Mean 23 df 29
SStreat 1115.30SStreat/
SSerror1.2161338
df 1 F 35.26788p(f) 1.885E-06
SStreat/
SSerror1.2161338
F 70.53576p(f) 2.953E-09
Bivariate comparisons in environmental protectionIsland Complex Area[ha] Species Predicted_SpeciesResidualGórna E NBM 0.7 33 31.22156 1.778435Koń NBM 0.5 25 29.27129 -4.27129Kopanka NBM 0.69 34 31.13556 2.864436Królewski Ostrów NBM 6.15 51 47.35619 3.643813Maleńka NBM 0.0003 6 7.060143 -1.06014Mała Wierzba NBM 0.4 27 28.04557 -1.04557Kopanka N NBM 0.18 32 24.06496 7.935042Ośrodek NBM 0.09 22 21.07064 0.929363Piaseczna NBM 0.63 38 30.59729 7.402711Ruciane - ląd NBM 15 28 56.18315 -28.1831Mikołajki - ląd NBM 20 75 59.3686 15.6314Śluza NBM 0.48 19 29.04312 -10.0431Górna W NBM 0.44 29 28.5627 0.437301Wierzba NBM 0.78 47 31.87601 15.12399Wygryńska NBM 0.67 43 30.9605 12.0395Bryzgiel Wigry 0.2 21 24.55595 -3.55595Bryzgiel - ląd Wigry 16 46 56.88256 -10.8826Brzozowa L Wigry 3.81 31 43.20288 -12.2029Brzozowa P Wigry 2.32 30 39.28379 -9.28379Cimochowski Grądzik CWigry 0.15 25 23.23839 1.761609Cimochowski Grądzik NWigry 0.14 31 22.93307 8.066934Cimochowski Grądzik SWigry 0.76 25 31.71767 -6.71767
Kamień Wigry 3.13 60 41.60497 18.39503Krowa Wigry 4.49 34 44.58461 -10.5846Mysia Wigry Wigry 1.55 49 36.36101 12.63899Ordów Wigry 8.69 64 50.60104 13.39896Ostrów Wigry 38.82 93 67.41729 25.58271Rośków Wigry 0.56 24 29.91417 -5.91417Walędziak Wigry 0.76 28 31.71767 -3.71767Wysoki Węgieł Wigry 18 57 58.18153 -1.18153
y = 33.431x0.1917
R² = 0.7215
1
10
100
0.0001 0.01 1 100
Spec
ies
Area
The outlier would disturb direct comparisons of species richness
Due to possible differences in island areas between the two island complexes we have to
use the residuals. A direct t-test on raw data would be
erroneous.
00.010.020.030.040.050.060.070.08
0 0.2 0.4 0.6 0.8 1
Freq
uenc
y
t-values
NBM Wigry NBM Wigry NBM Wigry NBM Wigry1.778435 -3.55595 0.929363 -10.0431 1.761609 1.778435 -10.5846 -3.55595-4.27129 -10.8826 -10.5846 2.864436 7.402711 -3.55595 15.12399 1.7616092.864436 -12.2029 25.58271 3.643813 25.58271 2.864436 -12.2029 12.03953.643813 -9.28379 1.778435 12.0395 -12.2029 -10.5846 -4.27129 -10.8826-1.06014 1.761609 -3.55595 15.12399 -5.91417 18.39503 -1.18153 0.929363-1.04557 8.066934 1.761609 8.066934 -10.8826 -9.28379 0.437301 1.7784357.935042 -6.71767 15.6314 -4.27129 3.643813 -6.71767 25.58271 8.0669340.929363 18.39503 -5.91417 12.63899 15.6314 13.39896 -6.71767 -28.18317.402711 -10.5846 -3.71767 -28.1831 0.929363 7.935042 15.6314 2.864436-28.1831 12.63899 -1.04557 -1.18153 -1.18153 0.437301 -9.28379 12.6389915.6314 13.39896 13.39896 7.402711 12.63899 -28.1831 -1.06014 18.39503-10.0431 25.58271 -9.28379 -10.8826 -4.27129 8.066934 7.402711 13.398960.437301 -5.91417 18.39503 0.437301 -1.04557 -10.0431 -3.71767 7.93504215.12399 -3.71767 -1.06014 7.935042 12.0395 -3.71767 -10.0431 -1.0455712.0395 -1.18153 -12.2029 -6.71767 -1.06014 15.12399 3.643813 -5.91417
t 0.118799 0.34257 0.766559 0.346264
Randomized valuesObserved values
Permutation testingObserved P(t)
Upper 2.5% confidence limit.
10000 randomizations of observed values gives a null distribution of t-values and
associated probability levels with which we
compare the observed t.
This gives the probability level for our t-test.
Bivariate comparisons using ANOVA
01412.011884.0 22 Ft
2tF
t and F tests can both be used for pair wise comparisons.
Repeated measures
Plot Before Leaf-litter free Mean
1 52 34 432 58 39 48.53 10 1 5.54 50 52 515 49 45 476 15 6 10.57 32 33 32.58 14 12 139 52 28 4010 19 1 1011 29 35 3212 22 7 14.513 18 33 25.514 11 7 915 15 9 1216 15 10 12.517 2 3 2.518 3 7 5T-Test 0.027271
Mean 25.88889 20.11111111Grand Mean 23
SSEffect 16.69136
df 1
Mean SSError
43 74.6913648.5 87.413585.5 5.19135851 30.2469147 1.580247
10.5 5.19135832.5 22.9691413 7.13580240 166.024710 74.6913632 69.35802
14.5 42.5246925.5 215.858
9 1.58024712 0.024691
12.5 0.3024692.5 22.969145 47.80247
Sum 875.5556df 17
SSEffect/
SSError0.019064
F 0.324083P(F) 0.576609
Species richness of ground living Hymenoptera in a beech forest
Photo Tim Murray Photo Simon van Noort
2
1 1
)( xTPxSS ji
n
i
k
jijerror
k
jjtreat xTnSS
1
2)(
Advices for using ANOVA:
· You need a specific hypothesis about your variables. In particular, designs with more than one predicator level (multifactorial designs) have to be stated clearly.
· ANOVA is a hypothesis testing method. Pattern seeking will in many cases lead to erroneous results.
· Predicator variables should really measure different things, they should not correlate too highly with each other
· The general assumptions of the GLM should be fulfilled. In particular predicators should be additive. The distribution of errors should be normal.
· It is often better to use log-transformed values
· In monofactorial designs where only one predicator variable is tested it is often preferable to use the non-parametric alternatives to ANOVA, the Kruskal Wallis test. The latter test does not rely on the GLM assumptions but is nearly as powerful as the classical ANOVA.
· Another non-parametric alternative for multifactorial designs is to use ranked dependent variables. You loose information but become less dependent on the GLM assumptions.
· ANOVA as the simplest multivariate technique is quite robust against violations of its assumptions.
Starting hyotheses
• The degree of disturbance (human impact) influences species richenss.• Species richness and abundance depends on island area and environmental
factors.• Island ensembles differ in species richness and abundance.• Area, abundance, and species richness are non-linearly related.• Latitude and longitude do not influence species richness.
Sorting
• Area, abundance, and species richness are non-linearly related.
• Latitude and longitude do not influence species richness.
• Species richness and abundance depends on island area and environmental factors.
• Island ensembles differ in species richness and abundance.
• The degree of disturbance (human impact) influences species richenss.
The hypotheses are not independent.
Each hypothesis influences the way how to treat the next.
IslandsIslandEns
embleArea
DistfromnearestMai
nlandLatitude Longitude Traps Light
Temperatur
e
SoilHumidit
y
SoilFertility
SoilAcidity
SoilDdispersion
OrganicMatteCont
ent
Disturbance
Species
IndividIndividuals
/trap
GórnaE MNB 0.7 200 53.63397 21.54726 4 3.04 3.67 3.20 3.25 3.78 3.92 2.11 1 33 149 37.25Koń MNB 0.5 161 53.62628 21.51939 4 3.15 3.54 3.41 3.89 4.01 3.93 2.08 4 25 275 68.75Kopanka MNB 0.69 131 53.62765 21.54238 4 3.37 3.52 3.24 3.11 3.50 3.82 2.08 1 34 349 87.25KrólewskiOstrówMNB 6.15 123 53.63025 21.54168 12 3.23 3.66 3.24 3.68 3.94 3.99 2.00 2 51 920 76.66667Maleńka MNB 0.0003 40 53.64253 21.56479 1 3.84 3.52 4.55 3.77 4.11 4.04 2.49 3 6 12 12MałaWierzba MNB 0.4 180 53.76169 21.60678 4 3.74 3.61 4.76 3.66 4.05 4.35 2.58 4 27 83 20.75KopankaN MNB 0.18 237 53.63135 21.54744 3 3.55 3.67 3.08 3.27 3.74 3.82 2.02 1 32 92 30.66667Ośrodek MNB 0.09 5 53.63747 21.54389 2 3.47 3.54 4.11 3.81 4.04 3.89 2.38 4 22 128 64Piaseczna MNB 0.63 290 53.68015 21.56987 11 3.49 3.65 3.33 3.98 4.16 3.76 2.06 1 38 616 56Ruciane MNB 10 0 53.62833 21.52552 5 3.06 3.55 3.37 3.77 3.96 3.83 2.05 3 28 176 35.2Mikołajki MNB 10 0 53.7854 21.58318 15 3.23 3.49 3.44 3.70 3.93 3.90 2.10 3 75 673 44.86667Śluza MNB 0.48 30 53.66271 21.5731 4 3.36 3.51 3.92 3.82 4.05 4.00 2.19 4 19 281 70.25GórnaW MNB 0.44 287 53.6343 21.54433 5 3.13 3.56 3.24 3.48 3.94 3.79 2.06 1 29 204 40.8Wierzba MNB 0.78 160 53.7592 21.6061 8 3.24 3.57 3.55 3.89 4.10 3.80 2.10 3 47 687 85.875Wygryńska MNB 0.67 120 53.68694 21.56201 5 3.61 3.48 3.54 3.91 4.10 3.67 2.19 2 43 912 182.4Bryzgiel Wigry 0.2 30 54.00219 23.07553 3 3.77 3.70 4.49 3.36 3.75 3.65 2.71 4 21 124 41.33333Bryzgiel Wigry 10 0 54.00886 23.09219 6 3.52 3.51 3.58 3.37 3.76 3.74 2.24 4 46 244 40.66667BrzozowaL Wigry 3.81 220 54.02619 23.10886 3 3.62 3.59 4.47 3.33 3.63 3.51 2.75 4 31 360 120BrzozowaP Wigry 2.32 180 54.02658 23.12553 3 3.68 3.58 4.57 3.53 3.79 3.76 2.69 4 30 232 77.33333CimochowskiGrądzikCWigry 0.15 40 54.05194 23.07553 3 3.57 3.55 4.36 3.51 3.80 3.73 2.60 4 25 188 62.66667CimochowskiGrądzikNWigry 0.14 170 54.05203 23.07553 3 3.55 3.52 4.63 3.66 3.89 3.86 2.70 4 31 258 86CimochowskiGrądzikSWigry 0.76 70 54.04875 23.07553 3 3.61 3.65 4.20 3.51 3.89 3.79 2.50 4 25 170 56.66667Kamień Wigry 3.13 170 54.02625 23.12553 11 3.75 3.62 3.26 3.54 4.03 3.82 2.09 3 60 440 40Krowa Wigry 4.49 120 54.01289 23.09219 6 3.72 3.57 4.64 3.36 3.72 3.56 2.79 4 34 347 57.83333MysiaWigry Wigry 1.55 60 54.07183 23.09219 6 3.76 3.63 3.85 3.70 4.00 3.82 2.33 3 49 386 64.33333Ordów Wigry 8.69 140 54.00739 23.05886 10 3.71 3.64 3.15 3.42 3.99 3.82 2.08 3 64 587 58.7Ostrów Wigry 38.82 190 54.00636 23.07553 15 3.68 3.55 3.33 3.53 3.96 3.83 2.17 4 93 914 60.93333Rośków Wigry 0.56 100 54.00217 23.07553 3 3.66 3.65 4.24 3.24 3.63 3.72 2.51 4 24 154 51.33333Walędziak Wigry 0.76 30 54.00344 23.05886 3 3.70 3.56 4.41 3.49 3.81 3.85 2.59 4 28 88 29.33333WysokiWęgiełWigry 10 0 54.03497 23.12553 10 3.45 3.57 3.59 3.44 3.86 3.72 2.27 4 57 307 30.7
• Area, abundance, and species richness are non-linearly related.
Species – area and individuals area relationships
Latitude and longitude do not influence species richness.
Is species richness correlated with longitude and latitude?
Does the distance between islands influence species richness? Are
geographically near islands also similar in species richness irrespective of island
area?R(S-Long) = 0.22 n.s.R(S-Lat) = 0.28 n.s.)
That there is no significant correlation does not mean that latitude and longitude do not
have an influence on the regression model with
environmental variables.
Spatial autocorrelation
S1S3
S5 S6
S2
S4
In spatial autocorrelation the distance between study sites influence the response (dependent) variable. Spatialy
adjacent sites are then expected to be more similar with respect to the response variable.
Moran’s I as a measure of spatial autocorrelation
Moran’s I is similar to a correlation coefficient all applied to pairwise cells of a spatial matrix. It differs by weighting the covariance to account for spatial non-independence of cells with respect to
distance.
N N
ij i ji 1 j 1
N N N2i
i 1ij
i 1 j 1
w z zN
Izw
ij 2
ij
1w
(1 d )
If cell values were randomly distributed (not spatially autocorrelated) the expected I is
0
1E (I)
N 1
Statistical significance is calculated from a Monte Carlo simulation
S1S3
S5 S6
S2
S4
S1 S2 Distance2 3 0.34 6 0.42 4 0.75 6 0.23 6 0.93 5 0.6
All combinations of sites
Individuals/trap is slightly spatially autocorrelatedLatitude and longitude slightly influence species richenss.
Even this weak effect might influence the outcome of a regression analysis.
High multicollinearitySolution: prior factor analysis to reduce the number of dependent variables
Too many variables!!
Stepwise variable elimination
Standardized coefficients (b-values) are equivalents of correlation coefficients. They
should have values above 1.Such values point to too high correlation between
the predictor variables (collinearity). Collnearity disturbs any regression model and has
to be eliminated prior to analysis.
Highly correlated variables essentially contain the same information.
Correlations of less than 0.7 can be tolerated.Hence check first the matrix of correlation
coefficients.Eliminate variables that do not add information.
The final model after stepwise variable elimination
Simple test wise probability levels.
We yet have to correct for
multiple testing.
Bonferroni correction
n
Ip
nnIp
Ip
Ip
IpIp
n
n
nn
nn
)(
)1(1)(
11)(
1)(
1)()(
To get an experiment wise error rate of 0.05
our test wise error rates have be less than 0.05/n
The best model is not always the one with the lowest AIC
or the highest R2.
Species richness is positively correlated with island area and negatively with soil humidity.
Island ensembles differ in species richness and abundance.
Analysis of covariance (ANCOVA)
Species richness depends on environmental factors that may differ between island ensembles.
A simple ANOVA does not detect any difference
Analysis of covariance (ANCOVA)
ANCOVA is the combination of multiple regression and analysis of variance.
First we perform a regression anlyis and use the residuals of the full model as entries in the
ANOVA. ANCOVA is the ANOVA on regression residuals.
y = 0.9377x + 2.6159R² = 0.843
0.0
10.0
20.0
30.0
40.0
50.0
60.0
70.0
80.0
90.0
100.0
0 20 40 60 80 100 120
Obs
erve
d va
lue
Predicted value
We use the regression
residuals for further analysis
The metrically scaled variables serve as covariates.
Sites with very high positive residuals are particularly
species rich even after controlling for environmental
factors. These are ecological hot
spots.Regression analysis serves to
identify such hot spots
IslandsIslandEns
embleArea Traps Light
Temperatur
e
SoilHumidit
y
SoilFertility
SoilAcidity
SoilDdispersion
OrganicMatteCont
ent
Disturbance
Species
IndividIndividuals
/trapModel Residuals
GórnaE MNB 0.70 4.0 3.04 3.67 3.20 3.25 3.78 3.92 2.11 1.0 33.0 149.0 37.3 3.569704 -0.073Koń MNB 0.50 4.0 3.15 3.54 3.41 3.89 4.01 3.93 2.08 4.0 25.0 275.0 68.8 3.468026 -0.249Kopanka MNB 0.69 4.0 3.37 3.52 3.24 3.11 3.50 3.82 2.08 1.0 34.0 349.0 87.3 3.500137 0.026KrólewskiOstrówMNB 6.15 12.0 3.23 3.66 3.24 3.68 3.94 3.99 2.00 2.0 51.0 920.0 76.7 3.963326 -0.032Maleńka MNB 0.00 1.0 3.84 3.52 4.55 3.77 4.11 4.04 2.49 3.0 6.0 12.0 12.0 1.854909 -0.063MałaWierzba MNB 0.40 4.0 3.74 3.61 4.76 3.66 4.05 4.35 2.58 4.0 27.0 83.0 20.8 3.173658 0.122KopankaN MNB 0.18 3.0 3.55 3.67 3.08 3.27 3.74 3.82 2.02 1.0 32.0 92.0 30.7 3.391454 0.074Ośrodek MNB 0.09 2.0 3.47 3.54 4.11 3.81 4.04 3.89 2.38 4.0 22.0 128.0 64.0 2.977121 0.114Piaseczna MNB 0.63 11.0 3.49 3.65 3.33 3.98 4.16 3.76 2.06 1.0 38.0 616.0 56.0 3.719825 -0.082Ruciane MNB 10.00 5.0 3.06 3.55 3.37 3.77 3.96 3.83 2.05 3.0 28.0 176.0 35.2 3.823174 -0.491Mikołajki MNB 10.00 15.0 3.23 3.49 3.44 3.70 3.93 3.90 2.10 3.0 75.0 673.0 44.9 4.003134 0.314Śluza MNB 0.48 4.0 3.36 3.51 3.92 3.82 4.05 4.00 2.19 4.0 19.0 281.0 70.3 3.079715 -0.135GórnaW MNB 0.44 5.0 3.13 3.56 3.24 3.48 3.94 3.79 2.06 1.0 29.0 204.0 40.8 3.388073 -0.021Wierzba MNB 0.78 8.0 3.24 3.57 3.55 3.89 4.10 3.80 2.10 3.0 47.0 687.0 85.9 3.29098 0.559Wygryńska MNB 0.67 5.0 3.61 3.48 3.54 3.91 4.10 3.67 2.19 2.0 43.0 912.0 182.4 3.754503 0.007Bryzgiel Wigry 0.20 3.0 3.77 3.70 4.49 3.36 3.75 3.65 2.71 4.0 21.0 124.0 41.3 3.076486 -0.032Bryzgiel Wigry 10.00 6.0 3.52 3.51 3.58 3.37 3.76 3.74 2.24 4.0 46.0 244.0 40.7 3.90665 -0.078BrzozowaL Wigry 3.81 3.0 3.62 3.59 4.47 3.33 3.63 3.51 2.75 4.0 31.0 360.0 120.0 3.623234 -0.189BrzozowaP Wigry 2.32 3.0 3.68 3.58 4.57 3.53 3.79 3.76 2.69 4.0 30.0 232.0 77.3 3.568952 -0.168CimochowskiGrądzikCWigry 0.15 3.0 3.57 3.55 4.36 3.51 3.80 3.73 2.60 4.0 25.0 188.0 62.7 3.060985 0.158CimochowskiGrądzikNWigry 0.14 3.0 3.55 3.52 4.63 3.66 3.89 3.86 2.70 4.0 31.0 258.0 86.0 3.127977 0.306CimochowskiGrądzikSWigry 0.76 3.0 3.61 3.65 4.20 3.51 3.89 3.79 2.50 4.0 25.0 170.0 56.7 3.322735 -0.104Kamień Wigry 3.13 11.0 3.75 3.62 3.26 3.54 4.03 3.82 2.09 3.0 60.0 440.0 40.0 4.025703 0.069Krowa Wigry 4.49 6.0 3.72 3.57 4.64 3.36 3.72 3.56 2.79 4.0 34.0 347.0 57.8 3.593559 -0.067MysiaWigry Wigry 1.55 6.0 3.76 3.63 3.85 3.70 4.00 3.82 2.33 3.0 49.0 386.0 64.3 3.761767 0.130Ordów Wigry 8.69 10.0 3.71 3.64 3.15 3.42 3.99 3.82 2.08 3.0 64.0 587.0 58.7 4.248705 -0.090Ostrów Wigry 38.82 15.0 3.68 3.55 3.33 3.53 3.96 3.83 2.17 4.0 93.0 914.0 60.9 4.584715 -0.052Rośków Wigry 0.56 3.0 3.66 3.65 4.24 3.24 3.63 3.72 2.51 4.0 24.0 154.0 51.3 3.041533 0.137Walędziak Wigry 0.76 3.0 3.70 3.56 4.41 3.49 3.81 3.85 2.59 4.0 28.0 88.0 29.3 3.390937 -0.059WysokiWęgiełWigry 10.0 10 3.45 3.57 3.59 3.44 3.86 3.72 2.27 4.0 57.0 307.0 30.7 3.955794 0.087
ANCOVA
Species richness does not differ between island ensembles.
• The degree of disturbance (human impact) influences species richenss.
y = 0.9243x + 3.3687R² = 0.8364
0.0
20.0
40.0
60.0
80.0
100.0
120.0
0 20 40 60 80 100 120
Obs
erve
d va
lue
Predicted value
Species richness of spiders on lake islands appears to be independent of the degree of disturbance
How does abundance depend on environmental fatcors?
The full model and stepwise variable
elimination
Most coefficients are highly
significant!
Standardized coefficients are above 1. This points to too high
collinearity
We furthr eliminate uninformative variables.
Abundance does not significally depend on
environmental variables
How does abundance depend on the degree of disturbance?
Abundance of spiders on lake islands appears to be independent of the degree of disturbance
Literature