Regression designs 0 1 2 3 4 5 6 7 8 9 Growth rate Y 110 Plant size X1X1 X Y 11.5 23.3 44.0 64.5 85.2 1072.

Slides:



Advertisements
Similar presentations
Topic 12: Multiple Linear Regression
Advertisements

Lecture 10 F-tests in MLR (continued) Coefficients of Determination BMTRY 701 Biostatistical Methods II.
Analysis of covariance Experimental design and data analysis for biologists (Quinn & Keough, 2002) Environmental sampling and analysis.
Multiple regression. Problem: to draw a straight line through the points that best explains the variance Regression.
CompositionsFunctions Slope and Graphs Parallel & Perpendicular.
Chapter 17 Making Sense of Advanced Statistical Procedures in Research Articles.
Some Terms Y =  o +  1 X Regression of Y on X Regress Y on X X called independent variable or predictor variable or covariate or factor Which factors.
Multiple regression. Problem: to draw a straight line through the points that best explains the variance Regression.
January 6, afternoon session 1 Statistics Micro Mini Multiple Regression January 5-9, 2008 Beth Ayers.
Analysis of Covariance Goals: 1)Reduce error variance. 2)Remove sources of bias from experiment. 3)Obtain adjusted estimates of population means.
PSY 1950 General Linear Model November 12, The General Linear Model Or, What the Hell ’ s Going on During Estimation?
SADC Course in Statistics Comparing Regressions (Session 14)
Dr. Mario MazzocchiResearch Methods & Data Analysis1 Correlation and regression analysis Week 8 Research Methods & Data Analysis.
Analysis of Covariance Harry R. Erwin, PhD School of Computing and Technology University of Sunderland.
 Combines linear regression and ANOVA  Can be used to compare g treatments, after controlling for quantitative factor believed to be related to response.
7.1 - Motivation Motivation Correlation / Simple Linear Regression Correlation / Simple Linear Regression Extensions of Simple.
Moderation & Mediation
Statistics: Unlocking the Power of Data Lock 5 STAT 250 Dr. Kari Lock Morgan Multiple Regression SECTIONS 10.1, 10.3 (?) Multiple explanatory variables.
23-1 Analysis of Covariance (Chapter 16) A procedure for comparing treatment means that incorporates information on a quantitative explanatory variable,
ALISON BOWLING THE GENERAL LINEAR MODEL. ALTERNATIVE EXPRESSION OF THE MODEL.
Analysis of Covariance, ANCOVA (GLM2)
Correlation and Regression Used when we are interested in the relationship between two variables. NOT the differences between means or medians of different.
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
BIOL 582 Lecture Set 11 Bivariate Data Correlation Regression.
Multiple regression models Experimental design and data analysis for biologists (Quinn & Keough, 2002) Environmental sampling and analysis.
Regression. Population Covariance and Correlation.
Sociology 680 Multivariate Analysis: Analysis of Variance.
Complex Analytic Designs. Outcomes (DVs) Predictors (IVs)1 ContinuousMany Continuous1 CategoricalMany Categorical None(histogram)Factor Analysis: PCA,
Multiple Regression BPS chapter 28 © 2006 W.H. Freeman and Company.
Regression Models w/ 2 Quant Variables Sources of data for this model Variations of this model Main effects version of the model –Interpreting the regression.
Department of Cognitive Science Michael J. Kalsher Adv. Experimental Methods & Statistics PSYC 4310 / COGS 6310 Regression 1 PSYC 4310/6310 Advanced Experimental.
How to use a covariate to get a more sensitive analysis.
PS 225 Lecture 20 Linear Regression Equation and Prediction.
Discussion of time series and panel models
Analysis of Covariance Combines linear regression and ANOVA Can be used to compare g treatments, after controlling for quantitative factor believed to.
Analysis of Covariance (ANCOVA)
Correlation. Up Until Now T Tests, Anova: Categories Predicting a Continuous Dependent Variable Correlation: Very different way of thinking about variables.
28. Multiple regression The Practice of Statistics in the Life Sciences Second Edition.
General Linear Model.
Multivariate Analysis: Analysis of Variance
Week 101 ANOVA F Test in Multiple Regression In multiple regression, the ANOVA F test is designed to test the following hypothesis: This test aims to assess.
Statistics: Unlocking the Power of Data Lock 5 STAT 250 Dr. Kari Lock Morgan Multiple Regression SECTIONS 10.1, 10.3 Multiple explanatory variables (10.1,
Another way to select sample size The sample R-squared method.
Tutorial 5 Thursday February 14 MBP 1010 Kevin Brown.
Michael J. Kalsher PSYCHOMETRICS MGMT 6971 Regression 1 PSYC 4310 Advanced Experimental Methods and Statistics © 2014, Michael Kalsher.
Modeling in R Sanna Härkönen.
Chapter 8 Linear normal models.
REGRESSION (R2).
Regression Scientific
CHAPTER 7 Linear Correlation & Regression Methods
Chapter 11 Analysis of Covariance
B&A ; and REGRESSION - ANCOVA B&A ; and
Analysis of Covariance, ANCOVA (GLM2)
CHAPTER 29: Multiple Regression*
Lesson 5.3 How do you write linear equations in point-slope form?
How to use a covariate to get a more sensitive analysis
Statistics review Basic concepts: Variability measures Distributions
Multiple Regression BPS 7e Chapter 29 © 2015 W. H. Freeman and Company.
Scientific Practice Regression.
Simple Linear Regression
Regression designs Y X1 Plant size Growth rate 1 10
Soc 3306a Lecture 11: Multivariate 4
Independent variables correlate with each other
Quadrat sampling Quadrat shape Quadrat size Lab Regression and ANCOVA
Multivariate Analysis: Analysis of Variance
Regression and Categorical Predictors
Dr. Green note. This starter slide deck generally follows the sequence of slides the department uses. Over time, some requirements tend to be added, this.
How to use a covariate to get a more sensitive analysis
Multivariate Analysis: Analysis of Variance
Regression designs Y X1 Plant size Growth rate 1 10
Presentation transcript:

Regression designs Growth rate Y 110 Plant size X1X1 X Y

Regression designs Growth rate Y 110 Plant size X1X Growth rate Y 110 Plant size X1X1 X Y X Y

Regression designs Growth rate Y 110 Plant size X1X Growth rate Y 110 Plant size X1X Growth rate Y 01 Plant size X1X1 X Y X Y X Y Code 0=small, 1=large

Growth rate Y 01 Plant size X1X1 X Y Code 0=small, 1=large Growth = m*Size + b Questions on the general equation above: 1. What parameter predicts the growth of a small plant? 2. Write an equation to predict the growth of a large plant. 3. Based on the above, what does “m” represent?

Growth rate Y 01 Plant size X1X1 X Y Code 0=small, 1=large Growth = m*Size + b If small Growth = m*0 + b If large Growth = m*1 + b Large - small = m Growth of small Difference in growth

What about “covariates”… - looking at the effect of salmon on tree growth rates Nitrogen

Compare tree growth around 2 streams, one with and one without salmon Growth rate (g/day) Salmon No Salmon t (9) = 0.06, p = 0.64

Is something else having an effect? Growth rate (g/day) Salmon No Salmon Plant height (cm)

In an Analysis of Covariance, we look at the effect of a treatment (categorical) while accounting for a covariate (continuous) ANCOVA Salmon No Salmon Plant height (cm) Growth rate (g/day)

Fertilizer treatment (X 1 ): code as 0 = No Salmon; 1 = Salmon Plant height (X 2 ): continuous ANCOVA Salmon No Salmon Plant height (cm) Growth rate (g/day)

Plant height (cm) Growth rate (g/day) ANCOVA X1X2Y ::: ::: X1*X2 0 : ? ? Salmon No Salmon Fertilizer treatment (X 1 ): code as 0 = No Salmon; 1 = Salmon Plant height (X 2 ): continuous

1.Fit full model (categorical treatment, covariate, interaction) Y=m 1 X 1 + m 2 X 2 +m 3 X 1 X 2 +b ANCOVA Salmon No Salmon Plant height (cm) Growth rate (g/day)

ANCOVA Questions: Write out equation for No Salmon (X 1 = 0) Write out equation for Salmon (X 1 = 1) What differs between two equations? If no interaction (i.e. m 3 = 0) what differs between eqns? 1.Fit full model (categorical treatment, covariate, interaction) Y=m 1 X 1 + m 2 X 2 +m 3 X 1 X 2 +b

ANCOVA If X 1 =0: Y=m 1 X 1 + m 2 X 2 +m 3 X 1 X 2 +b If X 1 =1: Y=m 1 + m 2 X 2 +m 3 X 2 +b Difference: m 1 +m 3 X 2 1.Fit full model (categorical treatment, covariate, interaction) Y=m 1 X 1 + m 2 X 2 +m 3 X 1 X 2 +b Difference if no interaction: m 1 +m 3 X 2

Plant height (cm) Growth rate (g/day) Plant height (cm) Growth rate (g/day) Difference between categories…. Constant, doesn’t depend on covariate Depends on covariate = m 1 (no interaction) = m 1 + m 3 X 2 (interaction)

1.Fit full model (categorical treatment, covariate, interaction) 2.Test for interaction (if significant- stop!) ANCOVA If no interaction, the lines will be parallel Salmon No Salmon Plant height (cm) Growth rate (g/day)

1.Fit full model (categorical treatment, covariate, interaction) 2.Test for interaction (if significant- stop!) 3.Test for differences in intercepts between lines = m 1 ANCOVA No interaction Intercepts differ Plant height (cm) Growth rate (g/day) m 1

Multiple X variables: Both categorical …………... ANOVA One categorical, one continuous……………...ANCOVA Both continuous …………....Multiple Regression

Regression’s deep dark secret: Order matters! Input: heightp=0.001 weight p=0.34 agep=0.07 Input: heightp=0.001 age p=0.04 weightp=0.88 Why? In the first order, even though weight wasn’t significant, it explained some of the variation before age was tested. Common when x-variables are correlated with each other.