Sleeping and Happiness

Slides:



Advertisements
Similar presentations
Finding Slope – Intercept From an Equation STEPS : 1. Equation must be in y = mx + b form 2. The slope is the coefficient of “x” ( m ) 3. The y - intercept.
Advertisements

Copyright © 2012 by Nelson Education Limited. Chapter 13 Association Between Variables Measured at the Interval-Ratio Level 13-1.
11-1 Empirical Models Many problems in engineering and science involve exploring the relationships between two or more variables. Regression analysis.
Kin 304 Regression Linear Regression Least Sum of Squares
AP Statistics.  Least Squares regression is a way of finding a line that summarizes the relationship between two variables.
Chapter 10 Regression. Defining Regression Simple linear regression features one independent variable and one dependent variable, as in correlation the.
1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Summarizing Bivariate Data Introduction to Linear Regression.
5-7: Scatter Plots & Lines of Best Fit. What is a scatter plot?  A graph in which two sets of data are plotted as ordered pairs  When looking at the.
LINEAR REGRESSION: What it Is and How it Works Overview What is Bivariate Linear Regression? The Regression Equation How It’s Based on r.
LINEAR REGRESSION: What it Is and How it Works. Overview What is Bivariate Linear Regression? The Regression Equation How It’s Based on r.
REGRESSION What is Regression? What is the Regression Equation? What is the Least-Squares Solution? How is Regression Based on Correlation? What are the.
Topics: Regression Simple Linear Regression: one dependent variable and one independent variable Multiple Regression: one dependent variable and two or.
REGRESSION Predict future scores on Y based on measured scores on X Predictions are based on a correlation from a sample where both X and Y were measured.
Correlation 1. Correlation - degree to which variables are associated or covary. (Changes in the value of one tends to be associated with changes in the.
Multiple Regression Research Methods and Statistics.
1 1 Slide Simple Linear Regression Chapter 14 BA 303 – Spring 2011.
Correlation and regression 1: Correlation Coefficient
Chapter 13 Statistics © 2008 Pearson Addison-Wesley. All rights reserved.
© The McGraw-Hill Companies, Inc., 2000 Business and Finance College Principles of Statistics Lecture 10 aaed EL Rabai week
Chapter 6 & 7 Linear Regression & Correlation
Finding Slope – Intercept From an Equation STEPS : 1. Equation must be in y = mx + b form 2. The slope is the coefficient of “x” ( m ) 3. The y - intercept.
Statistics for the Social Sciences Psychology 340 Fall 2013 Correlation and Regression.
Linear Regression James H. Steiger. Regression – The General Setup You have a set of data on two variables, X and Y, represented in a scatter plot. You.
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.
© 2008 Pearson Addison-Wesley. All rights reserved Chapter 1 Section 13-6 Regression and Correlation.
1.5 Cont. Warm-up (IN) Learning Objective: to create a scatter plot and use the calculator to find the line of best fit and make predictions. (same as.
Correlation is a statistical technique that describes the degree of relationship between two variables when you have bivariate data. A bivariate distribution.
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
Ch4 Describing Relationships Between Variables. Section 4.1: Fitting a Line by Least Squares Often we want to fit a straight line to data. For example.
Part IV Significantly Different: Using Inferential Statistics
STATISTICS 12.0 Correlation and Linear Regression “Correlation and Linear Regression -”Causal Forecasting Method.
Welcome to MM570 Psychological Statistics Unit 4 Seminar Dr. Srabasti Dutta.
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.
Practice You collect data from 53 females and find the correlation between candy and depression is Determine if this value is significantly different.
Correlation and Regression: The Need to Knows Correlation is a statistical technique: tells you if scores on variable X are related to scores on variable.
Scatter Diagrams scatter plot scatter diagram A scatter plot is a graph that may be used to represent the relationship between two variables. Also referred.
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.
With the growth of internet service providers, a researcher decides to examine whether there is a correlation between cost of internet service per.
Economics 173 Business Statistics Lecture 10 Fall, 2001 Professor J. Petry
1 Data Analysis Linear Regression Data Analysis Linear Regression Ernesto A. Diaz Department of Mathematics Redwood High School.
STATISTICS 12.0 Correlation and Linear Regression “Correlation and Linear Regression -”Causal Forecasting Method.
V. Rouillard  Introduction to measurement and statistical analysis CURVE FITTING In graphical form, drawing a line (curve) of best fit through.
Simple Linear Regression The Coefficients of Correlation and Determination Two Quantitative Variables x variable – independent variable or explanatory.
Welcome to MM570 Psychological Statistics Unit 4 Seminar Dr. Bob Lockwood.
Method 3: Least squares regression. Another method for finding the equation of a straight line which is fitted to data is known as the method of least-squares.
OLS Regression What is it? Closely allied with correlation – interested in the strength of the linear relationship between two variables One variable is.
Chapter 14 Introduction to Regression Analysis. Objectives Regression Analysis Uses of Regression Analysis Method of Least Squares Difference between.
Linear Regression.
LEAST – SQUARES REGRESSION
Linear Regression Special Topics.
Practice. Practice Practice Practice Practice r = X = 20 X2 = 120 Y = 19 Y2 = 123 XY = 72 N = 4 (4) 72.
Kin 304 Regression Linear Regression Least Sum of Squares
Multiple Regression.
Review. Review Statistics Needed Need to find the best place to draw the regression line on a scatter plot Need to quantify the cluster.
Remember No Class on Wednesday No Class on Friday.
S519: Evaluation of Information Systems
Scatter Plots - Line of Best Fit
Lesson 5.3 How do you write linear equations in point-slope form?
AP Stats: 3.3 Least-Squares Regression Line
LESSON 21: REGRESSION ANALYSIS
Quick Graphs of Linear Equations
Regression making predictions
Correlation and Regression
Slope-intercept Form of Equations of Straight Lines
Algebra Review The equation of a straight line y = mx + b
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.
Sleeping and Happiness
Descriptive Statistics Univariate Data
Graphing using Slope-Intercept Form
Presentation transcript:

Sleeping and Happiness Hours slept (X) Happiness (Y) Pam 8 7 Jim 9 Dwight 5 4 Michael 6 Meredith You are interested in the relationship between hours slept and happiness. 1) Make a scatter plot 2) Guess the correlation 3) Guess and draw the location of the regression line

. . . . . r = .76

Remember this: Statistics Needed Need to find the best place to draw the regression line on a scatter plot Need to quantify the cluster of scores around this regression line (i.e., the correlation coefficient)

Regression allows us to predict! . . . . .

Straight Line Y = mX + b Where: Y and X are variables representing scores m = slope of the line (constant) b = intercept of the line with the Y axis (constant)

Excel Example

That’s nice but. . . . How do you figure out the best values to use for m and b ? First lets move into the language of regression

Straight Line Y = mX + b Where: Y and X are variables representing scores m = slope of the line (constant) b = intercept of the line with the Y axis (constant)

Regression Equation Y = a + bX Where: Y = value predicted from a particular X value a = point at which the regression line intersects the Y axis b = slope of the regression line X = X value for which you wish to predict a Y value

Practice Y = -7 + 2X What is the slope and the Y-intercept? Determine the value of Y for each X: X = 1, X = 3, X = 5, X = 10

Practice Y = -7 + 2X What is the slope and the Y-intercept? Determine the value of Y for each X: X = 1, X = 3, X = 5, X = 10 Y = -5, Y = -1, Y = 3, Y = 13

Finding a and b Uses the least squares method Minimizes Error Error = Y - Y  (Y - Y)2 is minimized

. . . . .

. . . . . Error = Y - Y  (Y - Y)2 is minimized Error = 1 Error = .5

Finding a and b Ingredients r value between the two variables Sy and Sx Mean of Y and X

b = b r = correlation between X and Y SY = standard deviation of Y SX = standard deviation of X

a a = Y - bX Y = mean of the Y scores b = regression coefficient computed previously X = mean of the X scores

Mean Y = 4.6; SY = 2.41 r = .88 Mean X = 3.0; SX = 1.41

Mean Y = 4.6; SY = 2.41 r = .88 Mean X = 3.0; SX = 1.41

Mean Y = 4.6; SY = 2.41 r = .88 Mean X = 3.0; SX = 1.41 b =

Mean Y = 4.6; SY = 2.41 r = .88 Mean X = 3.0; SX = 1.41 b = .88 1.50 1.41

Mean Y = 4.6; SY = 2.41 r = .88 Mean X = 3.0; SX = 1.41 b = 1.5 a = Y - bX

Mean Y = 4.6; SY = 2.41 r = .88 Mean X = 3.0; SX = 1.41 b = 1.5 0.1 = 4.6 - (1.50)3.0

Regression Equation Y = a + bX Y = 0.1 + (1.5)X

Y = 0.1 + (1.5)X . . . . .

Y = 0.1 + (1.5)X X = 1; Y = 1.6 . . . . . .

Y = 0.1 + (1.5)X X = 5; Y = 7.60 . . . . . . .

Y = 0.1 + (1.5)X . . . . . . .