Spiders on Mazurian lake islands: Wigry –Mikołajki, Nidzkie, Bełdany) Lecture 2 Analysis of variance Photo: Wigierski Park Narodowe Photo: Ruciane.net.

Slides:



Advertisements
Similar presentations
Spiders on Mazurian lake islands: Wigry –Mikołajki, Nidzkie, Bełdany) Analysis of variance Photo: Wigierski Park Narodowe Photo: Ruciane.net Araneus diadematus.
Advertisements

Analysis of variance and statistical inference.
Research Support Center Chongming Yang
Nonparametric tests and ANOVAs: What you need to know.
MARE 250 Dr. Jason Turner Analysis of Variance (ANOVA)
Classical Regression III
T-Tests.
Lecture 14 Non-parametric hypothesis testing The ranking of data The ranking of data eliminates outliers and non- linearities. In most cases it reduces.
FACTORIAL ANOVA.
t-Tests Overview of t-Tests How a t-Test Works How a t-Test Works Single-Sample t Single-Sample t Independent Samples t Independent Samples t Paired.
T-Tests.
One-Way Between Subjects ANOVA. Overview Purpose How is the Variance Analyzed? Assumptions Effect Size.
PSY 307 – Statistics for the Behavioral Sciences
Independent Sample T-test Formula
Analysis of Variance: ANOVA. Group 1: control group/ no ind. Var. Group 2: low level of the ind. Var. Group 3: high level of the ind var.
Correlation and linear regression
PSY 307 – Statistics for the Behavioral Sciences
Intro to Statistics for the Behavioral Sciences PSYC 1900
Final Review Session.
Analysis of Differential Expression T-test ANOVA Non-parametric methods Correlation Regression.
Lecture 24: Thurs. Dec. 4 Extra sum of squares F-tests (10.3) R-squared statistic (10.4.1) Residual plots (11.2) Influential observations (11.3,
Lecture 9: One Way ANOVA Between Subjects
Two Groups Too Many? Try Analysis of Variance (ANOVA)
Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide Are the Means of Several Groups Equal? Ho:Ha: Consider the following.
Biol 500: basic statistics
One-way Between Groups Analysis of Variance
Topic 3: Regression.
Chapter 11: Inference for Distributions
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
Leedy and Ormrod Ch. 11 Gray Ch. 14
Analysis of Variance. ANOVA Probably the most popular analysis in psychology Why? Ease of implementation Allows for analysis of several groups at once.
AM Recitation 2/10/11.
F-Test ( ANOVA ) & Two-Way ANOVA
ANALYSIS OF VARIANCE. Analysis of variance ◦ A One-way Analysis Of Variance Is A Way To Test The Equality Of Three Or More Means At One Time By Using.
Inferential Statistics: SPSS
Selecting the Correct Statistical Test
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 14 Comparing Groups: Analysis of Variance Methods Section 14.2 Estimating Differences.
Intermediate Applied Statistics STAT 460
ANOVA Greg C Elvers.
Education 793 Class Notes T-tests 29 October 2003.
STA291 Statistical Methods Lecture 31. Analyzing a Design in One Factor – The One-Way Analysis of Variance Consider an experiment with a single factor.
Inferences in Regression and Correlation Analysis Ayona Chatterjee Spring 2008 Math 4803/5803.
B AD 6243: Applied Univariate Statistics Repeated Measures ANOVA Professor Laku Chidambaram Price College of Business University of Oklahoma.
Educational Research: Competencies for Analysis and Application, 9 th edition. Gay, Mills, & Airasian © 2009 Pearson Education, Inc. All rights reserved.
Analysis of variance Petter Mostad Comparing more than two groups Up to now we have studied situations with –One observation per object One.
PSY 307 – Statistics for the Behavioral Sciences Chapter 16 – One-Factor Analysis of Variance (ANOVA)
ANOVA (Analysis of Variance) by Aziza Munir
Psychology 301 Chapters & Differences Between Two Means Introduction to Analysis of Variance Multiple Comparisons.
Chapter 10: Analyzing Experimental Data Inferential statistics are used to determine whether the independent variable had an effect on the dependent variance.
I. Statistical Tests: A Repetive Review A.Why do we use them? Namely: we need to make inferences from incomplete information or uncertainty þBut we want.
Comparing Three or More Means ANOVA (One-Way Analysis of Variance)
Analysis of Variance (ANOVA) Brian Healy, PhD BIO203.
Chapter 15 – Analysis of Variance Math 22 Introductory Statistics.
I271B The t distribution and the independent sample t-test.
1 ANALYSIS OF VARIANCE (ANOVA) Heibatollah Baghi, and Mastee Badii.
Environmental Modeling Basic Testing Methods - Statistics III.
ANOVA P OST ANOVA TEST 541 PHL By… Asma Al-Oneazi Supervised by… Dr. Amal Fatani King Saud University Pharmacy College Pharmacology Department.
DTC Quantitative Methods Bivariate Analysis: t-tests and Analysis of Variance (ANOVA) Thursday 14 th February 2013.
MARE 250 Dr. Jason Turner Analysis of Variance (ANOVA)
Soc 3306a Lecture 7: Inference and Hypothesis Testing T-tests and ANOVA.
Hypothesis test flow chart frequency data Measurement scale number of variables 1 basic χ 2 test (19.5) Table I χ 2 test for independence (19.9) Table.
Statistics for the Social Sciences Psychology 340 Spring 2009 Analysis of Variance (ANOVA)
Analysis of variance Tron Anders Moger
Jump to first page Inferring Sample Findings to the Population and Testing for Differences.
MARE 250 Dr. Jason Turner Analysis of Variance (ANOVA)
Copyright © 2008 by Nelson, a division of Thomson Canada Limited Chapter 18 Part 5 Analysis and Interpretation of Data DIFFERENCES BETWEEN GROUPS AND RELATIONSHIPS.
 List the characteristics of the F distribution.  Conduct a test of hypothesis to determine whether the variances of two populations are equal.  Discuss.
DTC Quantitative Methods Bivariate Analysis: t-tests and Analysis of Variance (ANOVA) Thursday 20th February 2014  
I. Statistical Tests: Why do we use them? What do they involve?
The Analysis of Variance
Presentation transcript:

Spiders on Mazurian lake islands: Wigry –Mikołajki, Nidzkie, Bełdany) Lecture 2 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? If we use the same test several times with the same data we have to apply a Bonferroni correction. Single test n independent tests

Spider species richness on Mazurian lake islands sH2sH2 sM2sM2 sL2sL2 sP2sP2 sT2sT2 If there would be no difference between the sites the average within variance s Within 2 should equal the variance between the sites s Between 2. One way analysis of variance Sir Ronald Aylmer Fisher ( ) s Between 2 We test for significance using the F-test of Fisher with k-1 (Between) and n-k (Within) degrees of freedom. n-1 = n-k + k-1 df Total df Within df Between

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)

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 Main effectsSecondary effects

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.

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 SS total = SS between + SS error Within group residuals Total residuals We need four regression equations: one from all data points and three within groups.

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 (SS total ) in a part that contains the variance between patients (SS between ) and within the patient (SS within ). The latter can be divided in a part that comes from the treatment (SStreat) and the error (SS error ) Medical treatment Before After SS within SS between

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) df error and only one df Effect in the final F-test. df treat = k-1 df Error = (n-1)(k-1)

Bivariate comparisons in environmental protection 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.

Permutation testing Observed P(t) Upper 2.5% confidence limit 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 t and F tests can both be used for pair wise comparisons.

Repeated measures Species richness of ground living Hymenoptera in a beech forest Photo Tim Murray Photo Simon van Noort

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.