STAT E-100 Section 2—Monday, September 23, 2013 5:30-6:30PM, SC113.

Slides:



Advertisements
Similar presentations
Correlation and Linear Regression.
Advertisements

2nd Day: Bear Example Length (in) Weight (lb)
Correlation & Regression Chapter 15. Correlation statistical technique that is used to measure and describe a relationship between two variables (X and.
July 1, 2008Lecture 17 - Regression Testing1 Testing Relationships between Variables Statistics Lecture 17.
2.2 Correlation Correlation measures the direction and strength of the linear relationship between two quantitative variables.
Correlation and Regression Analysis
Welcome to class today! Chapter 12 summary sheet Jimmy Fallon video
Introduction to simple linear regression ASW, Economics 224 – Notes for November 5, 2008.
15: Linear Regression Expected change in Y per unit X.
Correlation & Regression
Chapter 8: Bivariate Regression and Correlation
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Simple Linear Regression Analysis Chapter 13.
Statistics for the Social Sciences Psychology 340 Fall 2013 Tuesday, November 19 Chi-Squared Test of Independence.
VCE Further Maths Least Square Regression using the calculator.
Chapter 14 – Correlation and Simple Regression Math 22 Introductory Statistics.
Chapter 6 & 7 Linear Regression & Correlation
Lecture 22 Dustin Lueker.  The sample mean of the difference scores is an estimator for the difference between the population means  We can now use.
STAT E100 Section Week 3 - Regression. Review  Descriptive Statistics versus Hypothesis Testing  Outliers  Sample vs. Population  Residual Plots.
Least-Squares Regression Section 3.3. Why Create a Model? There are two reasons to create a mathematical model for a set of bivariate data. To predict.
Statistics for the Social Sciences Psychology 340 Fall 2013 Correlation and Regression.
1 Chapter 10 Correlation and Regression 10.2 Correlation 10.3 Regression.
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
Chapter 10 Correlation and Regression
GrowingKnowing.com © Correlation and Regression Correlation shows relationships between variables. This is important. All professionals want to.
CHAPTER 3 INTRODUCTORY LINEAR REGRESSION. Introduction  Linear regression is a study on the linear relationship between two variables. This is done by.
Simple Linear Regression. The term linear regression implies that  Y|x is linearly related to x by the population regression equation  Y|x =  +  x.
STATISTICS 12.0 Correlation and Linear Regression “Correlation and Linear Regression -”Causal Forecasting Method.
Correlation and Regression Basic Concepts. An Example We can hypothesize that the value of a house increases as its size increases. Said differently,
Relationships If we are doing a study which involves more than one variable, how can we tell if there is a relationship between two (or more) of the.
June 11, 2008Stat Lecture 10 - Review1 Midterm review Chapters 1-5 Statistics Lecture 10.
11/23/2015Slide 1 Using a combination of tables and plots from SPSS plus spreadsheets from Excel, we will show the linkage between correlation and linear.
PS 225 Lecture 17 Correlation Line Review. Scatterplot (Scattergram)  X: Independent Variable  Y: Dependent Variable  Plot X,Y Pairs Length (in)Weight.
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,
Essential Statistics Chapter 51 Least Squares Regression Line u Regression line equation: y = a + bx ^ –x is the value of the explanatory variable –“y-hat”
CHAPTER 5 CORRELATION & LINEAR REGRESSION. GOAL : Understand and interpret the terms dependent variable and independent variable. Draw a scatter diagram.
Chapter 14: Inference for Regression. A brief review of chapter 4... (Regression Analysis: Exploring Association BetweenVariables )  Bi-variate data.
June 30, 2008Stat Lecture 16 - Regression1 Inference for relationships between variables Statistics Lecture 16.
LEAST-SQUARES REGRESSION 3.2 Least Squares Regression Line and Residuals.
STAT E100 Section Week 12- Regression. Course Review - Project due Dec 17 th, your TA. - Exam 2 make-up is Dec 5 th, practice tests have been updated.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Describing the Relation between Two Variables 4.
STATISTICS 12.0 Correlation and Linear Regression “Correlation and Linear Regression -”Causal Forecasting Method.
Simple Linear Regression The Coefficients of Correlation and Determination Two Quantitative Variables x variable – independent variable or explanatory.
Chapter 14 Introduction to Regression Analysis. Objectives Regression Analysis Uses of Regression Analysis Method of Least Squares Difference between.
Unit 3 – Association: Contingency, Correlation, and Regression Lesson 3-3 Linear Regression, Residuals, and Variation.
Correlation and Regression Basic Concepts. An Example We can hypothesize that the value of a house increases as its size increases. Said differently,
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and l Chapter 9 l Simple Linear Regression 9.1 Simple Linear Regression 9.2 Scatter Diagram 9.3 Graphical.
4.2 – Linear Regression and the Coefficient of Determination Sometimes we will need an exact equation for the line of best fit. Vocabulary Least-Squares.
Part II Exploring Relationships Between Variables.
Chapter 11 Linear Regression and Correlation. Explanatory and Response Variables are Numeric Relationship between the mean of the response variable and.
Describing Bivariate Relationships. Bivariate Relationships When exploring/describing a bivariate (x,y) relationship: Determine the Explanatory and Response.
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Linear Regression Prof. Andy Field.
Simple Linear Regression
(Residuals and
Regression Analysis PhD Course.
Ice Cream Sales vs Temperature
Section 3.3 Linear Regression
AP Statistics, Section 3.3, Part 1
^ y = a + bx Stats Chapter 5 - Least Squares Regression
CHAPTER 3 Describing Relationships
Simple Linear Regression
Least-Squares Regression
Correlation and Regression
Linear Regression and Correlation
3 4 Chapter Describing the Relation between Two Variables
Linear Regression and Correlation
Section 3.2: Least Squares Regressions
A medical researcher wishes to determine how the dosage (in mg) of a drug affects the heart rate of the patient. Find the correlation coefficient & interpret.
Regression and Correlation of Data
Presentation transcript:

STAT E-100 Section 2—Monday, September 23, :30-6:30PM, SC113

Housekeeping Homework assignments are due at the beginning of each class 5:30PM on Tuesday) Comments on homework If you have any questions about the homework, me at Section review can be found on course website under “Sections” tab

General Questions General Questions? Questions about HW assignments 1 or 2. Questions about SPSS?

Sample Question 2 A survey was given in a section of stat 104 students last fall. It measured the students to report their self- recorded heart rate and asked them the number of hours they exercised per week. Here are the histograms of the 2 variables.

Sample Question 2 (cont’d) The first (exercise) is skewed to the right, with much of the data falling between 0 and 10. The second (heartrate) is a bit skewed to the left, with data falling more evenly around both sides of the mean (which is different than the first).

Sample Question 2 (cont’d) Below is the scatterplot of y = heart rate vs. x = exercise. b) What do you think the correlation coefficient is between these 2 variables? Is the coefficient positive or negative? In other words, when there is an increase in hours/wk of exercise, what happens to heartrate?

Sample Question 2 (cont’d) Here is some SPSS output to describe the relationship between the variables exercise and heartrate:

Sample Question 2 (cont’d) c) What would be the correlation between heartrate and exercise if iexercise were measures in minutes per week instead of hours? We can convert this in SPSS via the Transform - >Compute Variable menu option (see original SPSS handout for more information). The SPSS output is below:

Sample Question 2 (cont’d) d) What is the equation for the best fit line for this data? Remember, we use y = b0 + b1x format, with b0 being the y-intercept (i.e. what the value of y is when x=0, visually seen as when the line crosses the y axis) and b1 being the slope of the simple linear regression equation.

Sample Question 2 (cont’d) e) What would be the equation for the least squares line between heartrate and exercise if it were measured in minutes per week? Using the new variable we computed and re-running the regression, we see that:

Sample Question 2 (cont’d) f) What is the estimated heartrate for a person who exercise 10 hours per week? How would this change if this person exercised an additional 5 hours per week? y hat = b 0 + b 1 x y hat = hrs (10hrs) y hat = hrs – 8.83hrs = hrs is the predicted value of y given our equation when a person exercised 10 hours y hat = hrs (15hrs) y hat = hrs – hrs = hrs

Sample Question 2 (cont’d) f) What is the estimated heartrate for a person who exercise 10 hours per week? How would this change if this person exercised an additional 5 hours per week?

“r” versus “r 2 ” Correlation (represented as “r”) and proportion of variance (represented as “r 2 ”) might be difficult to discern at face value Similarities: They use the same letter to represent the two concepts In simple linear regression (what we’ve been doing with one x value), one can find the correlation (r) between the two variables. When exploring the strength of the relationship between the explanatory (x) and response (y) variables, one can do this by taking the square root of the r 2.

Correlation (r) From Kevin’s lecture, we know that correlation is the measure of strength of the linear relationship between two variables In SPSS when using the Analyze->Correlate->Bivariate menu option, the r is the value listed under the Pearson Correlation row that is matched between the two variables (one has a value of 1 when you match the same variable since the data would be the same)

Proportion of variance (r 2 ) Again, from Kevin (and he does a great job in explaining variance in lecture #3 towards the end of the Part 1), r 2 is the fraction of the total variability of the values of y (irrespective of x) over the variance of observed values from your model. In other words, r 2 it is a way to discern how helpful your regression equation is in explaining the variability in y.