Download presentation

Presentation is loading. Please wait.

Published byKeagan Farrier Modified about 1 year ago

1
Analysis of variance and statistical inference

2

3

4
Repetitive designs In 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) Medi cal treat ment

5
Ipsative data

6
Spiders from two Mazuarian lake ensembles Summary statistics

7
Starting hyotheses The degree of disturbance (human impact) influences species richenss. Species richness and abundance depends on island area and environmental afctors. 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.

8
Area, abundance, and species richness are non-linearly related. Species – area and individuals area relationships

9
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 S1 S3 S5S6 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.

10
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. If cell values were randomly distributed (not spatially autocorrelated) the expected I is Statistical significance is calculated from a Monte Carlo simulation S1 S3 S5S6 S2 S4 All combinations of sites

11

12
Individuals/trap is slightly spatially autocorrelated Latitude and longitude slightly influence species richenss. Even this weak effect might influence the outcome of a regression analysis.

13
Errors: Too many variables!! Solution: prior factor analysis to reduce the number of dependent variables Stepwsie variable reduction Akaike information criterion. The lower AIC the more appropriate is the model OLS result Spatial autoregression result Log transformed variables

14
Information criteria What function fits best? The more free parameters a model has the higher will be R 2. The more parsimonious a model is the lesser is the bias towards type I errors. We have to find a compromis between goodness of fit and bias! Model parameters few many Bias Explained variance The optimal number of model parameters

15
The Akaike criterion of model choice k: number of model parameters L: maximum likelihood estimate of the model If the parameter errors are normal and independent we get n: number data points RSS: residual sums of squares If we fit using 2 : If we fit using R 2 : At small sample size we should use the following correction The preferred model is the one with the lowest AIC.

16
We get the surprising result that the seemingly worst fitting model appears to be the preferred one. A single outlier makes the difference. The single high residual makes the exponential fitting worse

17
Significant difference in model fit Approximately AIC is statisticaly significant in favor of the model with thesmaller AIC at the 5% error benchmark if | AIC| > 2. The last model is significantly (5% level) the best.

18
Stepwise variable elimination Standardized coefficients ( -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.

19
The final model Simple test wise probability levels. We yet have to correct for multiple testing. Bonferroni correction 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 R 2. Species richness is positively correlated with island area and negatively with soil humidity.

20
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

21
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. 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

22
ANCOVA Species richness does not differ between island ensembles.

23
The degree of disturbance (human impact) influences species richenss. Species richness of spiders on lake islands appears to be independent of the degree of disturbance

24
How does abundance depend on environmental fatcors? The ful model and stepwise variable elimination All coefficients are highly significant! All standardized coefficients are above 1. This points to too high collinearity We furthr eliminate uninformative variables. Abundance does not significally depend on environmental variables

25
How does abundance depend on the degree of disturbance? Abundance of spiders on lake islands appears to be independent of the degree of disturbance

Similar presentations

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google