Relationship between two variables Two quantitative variables: correlation and regression methods Two qualitative variables: contingency table methods.

Slides:



Advertisements
Similar presentations
Lesson 10: Linear Regression and Correlation
Advertisements

Forecasting Using the Simple Linear Regression Model and Correlation
Hypothesis Testing Steps in Hypothesis Testing:
Correlation and regression Dr. Ghada Abo-Zaid
6-1 Introduction To Empirical Models 6-1 Introduction To Empirical Models.
Learning Objectives Copyright © 2002 South-Western/Thomson Learning Data Analysis: Bivariate Correlation and Regression CHAPTER sixteen.
Learning Objectives Copyright © 2004 John Wiley & Sons, Inc. Bivariate Correlation and Regression CHAPTER Thirteen.
Linear regression models
Learning Objectives 1 Copyright © 2002 South-Western/Thomson Learning Data Analysis: Bivariate Correlation and Regression CHAPTER sixteen.
EPI 809/Spring Probability Distribution of Random Error.
Objectives (BPS chapter 24)
Correlation Correlation is the relationship between two quantitative variables. Correlation coefficient (r) measures the strength of the linear relationship.
Chapter 4 Describing the Relation Between Two Variables
Multiple regression analysis
Correlation and Regression. Spearman's rank correlation An alternative to correlation that does not make so many assumptions Still measures the strength.
Chapter 10 Simple Regression.
The Simple Regression Model
Correlation. Two variables: Which test? X Y Contingency analysis t-test Logistic regression Correlation Regression.
Chapter 11 Multiple Regression.
Regression Chapter 10 Understandable Statistics Ninth Edition By Brase and Brase Prepared by Yixun Shi Bloomsburg University of Pennsylvania.
© 2000 Prentice-Hall, Inc. Chap Forecasting Using the Simple Linear Regression Model and Correlation.
Chapter 12 Section 1 Inference for Linear Regression.
Linear Regression/Correlation
Statistical hypothesis testing – Inferential statistics II. Testing for associations.
Chapter 21 Correlation. Correlation A measure of the strength of a linear relationship Although there are at least 6 methods for measuring correlation,
Lecture 5 Correlation and Regression
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Simple Linear Regression Analysis Chapter 13.
Regression and Correlation Methods Judy Zhong Ph.D.
Introduction to Linear Regression and Correlation Analysis
Chapter 11 Simple Regression
Copyright © Cengage Learning. All rights reserved. 13 Linear Correlation and Regression Analysis.
Regression Analysis (2)
Correlation.
Is there a relationship between the lengths of body parts ?
Chapter 15 Correlation and Regression
Learning Objective Chapter 14 Correlation and Regression Analysis CHAPTER fourteen Correlation and Regression Analysis Copyright © 2000 by John Wiley &
14 Elements of Nonparametric Statistics
Data Handling & Analysis BD7054 Scatter Plots Andrew Jackson
1 Experimental Statistics - week 10 Chapter 11: Linear Regression and Correlation Note: Homework Due Thursday.
+ Chapter 12: Inference for Regression Inference for Linear Regression.
Hypothesis of Association: Correlation
Correlation and Regression Used when we are interested in the relationship between two variables. NOT the differences between means or medians of different.
Examining Relationships in Quantitative Research
Inference for Regression Chapter 14. Linear Regression We can use least squares regression to estimate the linear relationship between two quantitative.
Lesson 15 - R Chapter 15 Review. Objectives Summarize the chapter Define the vocabulary used Complete all objectives Successfully answer any of the review.
Chapter 16 Data Analysis: Testing for Associations.
Chapter Thirteen Copyright © 2006 John Wiley & Sons, Inc. Bivariate Correlation and Regression.
Chapter Bivariate Data (x,y) data pairs Plotted with Scatter plots x = explanatory variable; y = response Bivariate Normal Distribution – for.
Chapter 4 Summary Scatter diagrams of data pairs (x, y) are useful in helping us determine visually if there is any relation between x and y values and,
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics Seventh Edition By Brase and Brase Prepared by: Lynn Smith.
Correlation & Regression Analysis
Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics Seventh Edition By Brase and Brase Prepared by: Lynn Smith.
Experimental Statistics - week 9
Regression Line  R 2 represents the fraction of variation in the data (regression line)
Principles of Biostatistics Chapter 17 Correlation 宇传华 网上免费统计资源(八)
Chapter 12: Correlation and Linear Regression 1.
The “Big Picture” (from Heath 1995). Simple Linear Regression.
Slide 1 Copyright © 2004 Pearson Education, Inc. Chapter 10 Correlation and Regression 10-1 Overview Overview 10-2 Correlation 10-3 Regression-3 Regression.
Inference about the slope parameter and correlation
The simple linear regression model and parameter estimation
Regression and Correlation
Spearman’s Rho Correlation
CHAPTER fourteen Correlation and Regression Analysis
Simple Linear Regression - Introduction
6-1 Introduction To Empirical Models
Warsaw Summer School 2017, OSU Study Abroad Program
See Table and let’s do it in R…
Correlation and Simple Linear Regression
Correlation and Simple Linear Regression
Presentation transcript:

Relationship between two variables Two quantitative variables: correlation and regression methods Two qualitative variables: contingency table methods One quantitative, one qualitative : two-sample methods already considered… We’ll begin with two quantitative variables, continuous measurement variables usually, X and Y. There are usually two situations giving rise to X and Y: 1.bivariate sampling: assume we select pairs at random from a bivariate population 2.fixed-X sampling: an experiment is performed where the X’s are fixed in advance and we observe the values of Y that correspond to those X’s. In either of these cases we may use the correlation coefficient and regression to look for the association between X and Y. Think of Y as the response and X the explanatory variable (though in the first case above, we may not have an explanatory/response situation…)

we define the population correlation coefficient as the value of  ranges from -1 to +1 and measures the strength of the linear relationship between X and Y. -1 corresponds to perfect negative correlation, +1 to perfect positive correlation. If rho = 0 then there is no linear association between X and Y and we say they are uncorrelated variables.. The usual parametric statistic to test the hypothesis that rho=0 is the Pearson product- moment correlation coefficient, r, given by the formula below: The t-statistic (n-2 df) below can be used to test the null hypothesis that rho=0:

Of course, the parametric assumptions are that the (X,Y)-pairs are from a bivariate normal distribution… We may also consider the slope of the so-called regression line relating Y to X: We estimate the unknown slope and intercept via least-squares (the important formulas are given on pages ) and we use the statistic given in the middle of p.147 to test the null hypothesis that    As with our statistic to test 0 correlation, this statistic has n-2 df and assumes the errors are normally distributed. Let’s use SAS and R to show how they implement the correlation and regression tests… Go over Example on page 149… we’ll do the permutation test next, but first, try SAS and R: –in SAS, the procedures of interest here are PROC PLOT (always look at your data), PROC CORR (to get correlations and to test rho=0), and PROC REG (to get estimates for the slope and intercept and to test hypotheses about them). PROC REG also will give plots… –in R use the lm function (fit linear models) and look at the various components

Let’s try to reproduce the empirical distribution of the correlation coefficient, r, as given in Figure on page 153 – use R (see R#9, page 2). Note the correspondence between the transformed r (Z=r(sqrt(n-1))) percentiles and the standard normal percentiles (see Table on page 152). HW: Read Chapter 5, through page 153. Do problems #1, 3 and 4 on page 189 Then for next time, we’ll begin our discussion of the Spearman’s rank correlation coefficient…