Yesterday Correlation Regression -Definition

Slides:



Advertisements
Similar presentations
Forecasting Using the Simple Linear Regression Model and Correlation
Advertisements

Regression & Correlation Analysis of Biological Data Ryan McEwan and Julia Chapman Department of Biology University of Dayton
Correlation and Linear Regression.
Correlation and regression Dr. Ghada Abo-Zaid
The plot below shows residuals from a simple regression. What, if anything, is of greatest concerning about these residuals? (A) They exhibit heteroscedasticity.
Simple Linear Regression. Start by exploring the data Construct a scatterplot  Does a linear relationship between variables exist?  Is the relationship.
Learning Objectives Copyright © 2002 South-Western/Thomson Learning Data Analysis: Bivariate Correlation and Regression CHAPTER sixteen.
Regression Analysis Once a linear relationship is defined, the independent variable can be used to forecast the dependent variable. Y ^ = bo + bX bo is.
Learning Objectives Copyright © 2004 John Wiley & Sons, Inc. Bivariate Correlation and Regression CHAPTER Thirteen.
Learning Objectives 1 Copyright © 2002 South-Western/Thomson Learning Data Analysis: Bivariate Correlation and Regression CHAPTER sixteen.
Correlation and Regression
Chapter 4 The Relation between Two Variables
Chapter 6 (p153) Predicting Future Performance Criterion-Related Validation – Kind of relation between X and Y (regression) – Degree of relation (validity.
Overview Correlation Regression -Definition
Correlation & Regression Chapter 15. Correlation statistical technique that is used to measure and describe a relationship between two variables (X and.
Simple Linear Regression 1. Correlation indicates the magnitude and direction of the linear relationship between two variables. Linear Regression: variable.
LINEAR REGRESSION: Evaluating Regression Models Overview Assumptions for Linear Regression Evaluating a Regression Model.
LINEAR REGRESSION: Evaluating Regression Models. Overview Assumptions for Linear Regression Evaluating a Regression Model.
LINEAR REGRESSION: Evaluating Regression Models. Overview Standard Error of the Estimate Goodness of Fit Coefficient of Determination Regression Coefficients.
Chapter 2: Looking at Data - Relationships /true-fact-the-lack-of-pirates-is-causing-global-warming/
Correlation and Regression. Spearman's rank correlation An alternative to correlation that does not make so many assumptions Still measures the strength.
Chapter Topics Types of Regression Models
Topics: Regression Simple Linear Regression: one dependent variable and one independent variable Multiple Regression: one dependent variable and two or.
Correlation A correlation exists between two variables when one of them is related to the other in some way. A scatterplot is a graph in which the paired.
Correlation and Regression. Correlation What type of relationship exists between the two variables and is the correlation significant? x y Cigarettes.
© 2000 Prentice-Hall, Inc. Chap Forecasting Using the Simple Linear Regression Model and Correlation.
Pertemua 19 Regresi Linier
C82MCP Diploma Statistics School of Psychology University of Nottingham 1 Linear Regression and Linear Prediction Predicting the score on one variable.
Correlation & Regression Math 137 Fresno State Burger.
Simple Linear Regression
T-tests and ANOVA Statistical analysis of group differences.
Correlation vs. Causation What is the difference?.
Correlation and Regression
Chapter 12 Correlation and Regression Part III: Additional Hypothesis Tests Renee R. Ha, Ph.D. James C. Ha, Ph.D Integrative Statistics for the Social.
Regression and Correlation Methods Judy Zhong Ph.D.
Relationship of two variables
Section #6 November 13 th 2009 Regression. First, Review Scatter Plots A scatter plot (x, y) x y A scatter plot is a graph of the ordered pairs (x, y)
CPE 619 Simple Linear Regression Models Aleksandar Milenković The LaCASA Laboratory Electrical and Computer Engineering Department The University of Alabama.
Simple Linear Regression Models
September In Chapter 14: 14.1 Data 14.2 Scatterplots 14.3 Correlation 14.4 Regression.
Chapter 15 Correlation and Regression
OPIM 303-Lecture #8 Jose M. Cruz Assistant Professor.
Simple Linear Regression One reason for assessing correlation is to identify a variable that could be used to predict another variable If that is your.
When trying to explain some of the patterns you have observed in your species and community data, it sometimes helps to have a look at relationships between.
Inference for Regression Simple Linear Regression IPS Chapter 10.1 © 2009 W.H. Freeman and Company.
Regression Lesson 11. The General Linear Model n Relationship b/n predictor & outcome variables form straight line l Correlation, regression, t-tests,
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
Chapter 16 Data Analysis: Testing for Associations.
Analysis of Covariance (ANCOVA)
REGRESSION DIAGNOSTICS Fall 2013 Dec 12/13. WHY REGRESSION DIAGNOSTICS? The validity of a regression model is based on a set of assumptions. Violation.
CHAPTER 5 Regression BPS - 5TH ED.CHAPTER 5 1. PREDICTION VIA REGRESSION LINE NUMBER OF NEW BIRDS AND PERCENT RETURNING BPS - 5TH ED.CHAPTER 5 2.
Chapter Thirteen Copyright © 2006 John Wiley & Sons, Inc. Bivariate Correlation and Regression.
Lesson Correlation and Regression Wisdom. Knowledge Objectives Recall the three limitations on the use of correlation and regression. Explain what.
Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.
Intro to Statistics for the Behavioral Sciences PSYC 1900 Lecture 7: Regression.
Chapter 12: Correlation and Linear Regression 1.
Correlation & Simple Linear Regression Chung-Yi Li, PhD Dept. of Public Health, College of Med. NCKU 1.
Chapter 12: Correlation and Linear Regression 1.
Statistics 200 Lecture #6 Thursday, September 8, 2016
Regression & Correlation
REGRESSION G&W p
Correlation and Simple Linear Regression
Linear Regression Prof. Andy Field.
Chapter 12: Regression Diagnostics
Correlation and Regression
Multiple Regression A curvilinear relationship between one variable and the values of two or more other independent variables. Y = intercept + (slope1.
^ y = a + bx Stats Chapter 5 - Least Squares Regression
Simple Linear Regression
Correlation and Regression
Presentation transcript:

Yesterday Correlation Regression -Definition -Deviation Score Formula, Z score formula -Hypothesis Test Regression Intercept and Slope Unstandardized Regression Line Standardized Regression Line Hypothesis Tests

Summary Correlation: Pearson’s r Unstandardized Regression Line

Some issues with r Outliers have strong effects Restriction of range can suppress or augment r Correlation is not causation No linear correlation does not mean no association

Outliers Child 19 is lowering r Child 18 is increasing r

The restricted range problem The relationship you see between X and Y may depend on the range of X For example, the size of a child’s vocabulary has a strong positive association with the child’s age But if all of the children in your data set are in the same grade in school, you may not see much association

Common causes, confounds Two variables might be associated because they share a common cause. There is a positive correlation between ice cream sales and drownings. Also, in many cases, there is the question of reverse causality

Non-linearity Some variables are not linearly related, though a relationship obviously exists For monotonic relationships that are not linear we use Spearman’s r

Regression: Analyzing the “Fit” How well does the regression line describe the data? Assessing “fit” relies on analysis of residuals Are the residuals randomly distributed? (If no, perhaps a linear model is inappropriate) How large are the residuals? Too big? (low correlation means big residuals)

Assumptions of Regression The residuals have mean of 0 and variance of sresid2 The residuals are uncorrelated with X The residuals are homoscedastic (similarly sized across the range of x)

Residual Diagnostics I: Graphing

Residual Diagnostics I: Graphing Residual Plot resid Problem: curvilinearity

Residual Diagnostics I: Graphing Agreeableness Time 2

Residual Diagnostics I: Graphing Residual Plot Residuals Problem: heteroscedasticity

Regression: Analyzing the “Fit” How well does the regression line describe the data? Assessing “fit” relies on analysis of residuals Are the residuals randomly distributed? (If no, perhaps a linear model is inappropriate) How large are the residuals? Too big? (low correlation means big residuals) Residual plots ANOVA

Regression ANOVA SSY SSmodel SSresid Y Y’

Regression ANOVA Source SS df s2 Model Error Total F=t2 “the amount of variance in Y explained by our model”

Exercise X Y Fill in the ANOVA table 1 3 4 5 6 9 7 Mean: 5 5 Stdevp: 3.27 1.41 r= 0.866025404 b= 0.375 a= 3.125 X Y Y' 1 3 3.5 1 4 3.5 5 4 5 5 6 5 9 6 6.5 9 7 6.5

Exercise X Y Y’ (Y-Y’)2 1 3 4 5 6 9 7 SSresid = … SSmodel = … Predicted value (Y-Y’)2 Residual (Unpredicted deviation) (Predicted Deviation) 1 3 4 5 6 9 7 SSresid = … SSmodel = … Mean: 5 5 Stdevp: 3.27 1.41 r= 0.866025404 b= 0.375 a= 3.125 X Y Y' 1 3 3.5 1 4 3.5 5 4 5 5 6 5 9 6 6.5 9 7 6.5

Exercise X Y Y’ (Y-Y’)2 1 3 3.5 (-0.5)2 (-1.5)2 4 (0.5)2 5 (-1)2 (0)2 Predicted value (Y-Y’)2 Residual (Unpredicted deviation) (Predicted Deviation) 1 3 3.5 (-0.5)2 (-1.5)2 4 (0.5)2 5 (-1)2 (0)2 6 (1)2 9 6.5 (1.5)2 7 SSresid = … SSmodel = … Mean: 5 5 Stdevp: 3.27 1.41 r= 0.866025404 b= 0.375 a= 3.125 X Y Y' 1 3 3.5 1 4 3.5 5 4 5 5 6 5 9 6 6.5 9 7 6.5 3 9

Regression ANOVA Source SS df s2 F Model Error Total

Regression ANOVA Source SS df s2 F Model 9 1 12 Error 3 4 .75 Total 5