Linear Regression: Test scores vs. HW scores. Positive/Negative Correlation.

Slides:



Advertisements
Similar presentations
Inference for Regression
Advertisements

Regression Inferential Methods
Objectives (BPS chapter 24)
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.
Lecture 23: Tues., Dec. 2 Today: Thursday:
Class 5: Thurs., Sep. 23 Example of using regression to make predictions and understand the likely errors in the predictions: salaries of teachers and.
Multivariate Data Analysis Chapter 4 – Multiple Regression.
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 13 Introduction to Linear Regression and Correlation Analysis.
Lecture 24: Thurs. Dec. 4 Extra sum of squares F-tests (10.3) R-squared statistic (10.4.1) Residual plots (11.2) Influential observations (11.3,
Linear Regression and Correlation Analysis
Chapter 13 Introduction to Linear Regression and Correlation Analysis
Simple Linear Regression Analysis
Copyright ©2006 Brooks/Cole, a division of Thomson Learning, Inc. More About Regression Chapter 14.
Correlation & Regression
Correlation and Linear Regression
Correlation and Linear Regression
McGraw-Hill/Irwin Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 13 Linear Regression and Correlation.
Active Learning Lecture Slides
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 12 Analyzing the Association Between Quantitative Variables: Regression Analysis Section.
Inference for regression - Simple linear regression
Linear Regression and Correlation
Regression Analysis (2)
CPE 619 Simple Linear Regression Models Aleksandar Milenković The LaCASA Laboratory Electrical and Computer Engineering Department The University of Alabama.
Confidence Intervals for the Regression Slope 12.1b Target Goal: I can perform a significance test about the slope β of a population (true) regression.
BPS - 3rd Ed. Chapter 211 Inference for Regression.
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved Chapter 13 Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple.
Regression. Height Weight Suppose you took many samples of the same size from this population & calculated the LSRL for each. Using the slope from each.
McGraw-Hill/Irwin Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 13 Linear Regression and Correlation.
Correlation & Regression
Copyright © 2011 Pearson Education, Inc. Analysis of Variance Chapter 26.
Regression with Inference Notes: Page 231. Height Weight Suppose you took many samples of the same size from this population & calculated the LSRL for.
Lecture 8 Simple Linear Regression (cont.). Section Objectives: Statistical model for linear regression Data for simple linear regression Estimation.
Inference for Regression Simple Linear Regression IPS Chapter 10.1 © 2009 W.H. Freeman and Company.
Chapter 14 Inference for Regression © 2011 Pearson Education, Inc. 1 Business Statistics: A First Course.
Copyright ©2011 Brooks/Cole, Cengage Learning Inference about Simple Regression Chapter 14 1.
Agresti/Franklin Statistics, 1 of 88 Chapter 11 Analyzing Association Between Quantitative Variables: Regression Analysis Learn…. To use regression analysis.
Chapter 14: Inference for Regression. A brief review of chapter 4... (Regression Analysis: Exploring Association BetweenVariables )  Bi-variate data.
Chapter 8: Simple Linear Regression Yang Zhenlin.
CHAPTER 3 Describing Relationships
Linear Regression and Correlation Chapter GOALS 1. Understand and interpret the terms dependent and independent variable. 2. Calculate and interpret.
Unit 4 Lesson 3 (5.3) Summarizing Bivariate Data 5.3: LSRL.
Chapter 5 Lesson 5.2 Summarizing Bivariate Data 5.2: LSRL.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 26 Analysis of Variance.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin Linear Regression and Correlation Chapter 13.
BPS - 5th Ed. Chapter 231 Inference for Regression.
Chapter 20 Linear and Multiple Regression
Inference for Least Squares Lines
CHAPTER 12 More About Regression
AP Statistics Chapter 14 Section 1.
Inference for Regression
Regression.
Correlation and Regression
Correlation and Simple Linear Regression
Lecture Slides Elementary Statistics Thirteenth Edition
Chapter 12 Regression.
Regression.
Regression.
Correlation and Simple Linear Regression
BASIC REGRESSION CONCEPTS
Regression.
Regression Chapter 8.
Regression.
Simple Linear Regression and Correlation
Regression.
Essential Statistics Two-Sample Problems - Two-sample t procedures -
8.3 Estimating a Population Mean
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.
Correlation and Simple Linear Regression
Presentation transcript:

Linear Regression: Test scores vs. HW scores

Positive/Negative Correlation

Variety of Correlation Values

Example (Tests vs. HW): Correlation HWTestsStd HWStd tests Product of std XYzxzyzxzy Sum Mean SD

Example: Hypothesis Testing - Correlation Is there a correlation between test scores and homework scores within the linear model H 0 :  = 0 : there is no linear correlation between test scores and homework scores H A :   0 : there is a linear correlation between test scores and homework scores This study does provide evidence (P < ) at the 0.05 significance level that that there is a linear correlation between Homework scores and test scores.

Example: Confidence Interval - Correlation We are 95% confident that the correlation between test scores and homework scores is between and X X

Effect of Outliers on r

Example: Fitted Regression Line Let X be the total score on the Homework (in points) and Y be the total score on Tests (in points). The following summary statistics were obtained: What is the equation of the fitted regression line? n = 31r = x ̄ = 84.89y ̄ = s x = 16.02s y = 29.34

Example: Fitted Regression Line (cont) Tests = Homework R 2 =

Residual SD

Size of SE b1

Hypothesis testing Step 1: Does X influence Y within the linear model ? Step 2: Let β 1 be the slope of the linear regression of Y on X. Step 3: H 0 : β 1 = 0; there is no linear influence of X on Y. H A :  1 ≠ 0; there is a linear influence of X on Y. Step 9: This study does [not] provide evidence (P = ?) at the  significance level that that there is a linear association of X on Y.

Example: Hypothesis Testing Does homework scores influence test scores within the linear model Is there a nonzero linear influence of Homework scores on Test scores? Let β 1 be the slope of the linear regression of Tests on Homework.

Example: Hypothesis Testing (cont) H 0 : β 1 = 0 : there is zero linear influence of Homework on tests H A : β 1  0 : there is a nonzero linear influence of homework on test This study does provide evidence (P < ) at the 0.05 significance level that that there is a (positive) linear influence of Homework score on test scores.

Curvilinear

Outlier

Influential Point

Dependency

Distribution of R

Residual Plot

Summary of Formulas (1)

Summary of Formulas (2)

Summary of Formulas (3)

Chapter What question were the researchers attempting to answer when they collected these data? 2. What is the response variable in the study? 3. What predictor variables, if any, were involved?

Chapter 13

Case Studies For each of the 4 research question in the following cases, propose the appropriate statistical methods, what assumptions need to be checked for the method and how to check those assumptions.

Case 1: Consumer opinions on the effectiveness of energy drink The consumer opinions on the effectiveness of energy drink. Background: The popularity of energy drinks has risen constantly since the introduction of the first major energy drink in 1997, Red Bull. An energy drink, by definition, is a drink aimed to increase the consumer’s mental alertness and physical performance. A serving of energy drink can contain the same amount of caffeine as 5 ounces of coffee, which is the same as two cans of popular caffeinated soft drinks. The typical college students’ day consists of strenuous and demanding schedule. One can often strike the need to get an extra boost of energy or alertness during the day in order to accomplish. The point of the study is to indentify if energy drinks are an effective tool for a typical college student, and what factors influence students’ rating of effectiveness. In total there are five variables measured: age, gender, average sleeping hour, stress level and effectiveness.

Case 1 (Cont) Data: A 6-question survey was given to 33 randomly and independently chosen college students. A sample data is shown below. Research question 1: the effectiveness is related with the resting situation. So the time spent on sleeping impacts students’ rating of effectiveness. Research question2: The stress level is affected by the sleeping time. IDAgeGenderHr_sleepstresseffectiveness 1y21F7to9high4.8 2n21M7to9low1.9 3n21F4to6high2.2

Case 2: Can you hear these words? Background: To test whether a hearing aid is right for a patient, audiologists play a tape on which words are pronounced at low volume. The patient tries to repeat the words. There are several different lists of words that are supposed to be equally difficult. Are the lists equally difficult when there is background noise? To find out, an experimenter had subjects with normal hearing listen to four lists with a noisy background.

Case 2 (cont) Data: The data set contains 96 responses. The experimenter assigns 96 subjects to 4 groups at random. Each group of 24 subjects listens to one of the lists. All individual listen and respond separately. Research question: Are the four lists are equally difficult? percentlevel

Case 3: Plant density and cob weight Background: Twenty plots, each 10 x 4 meters, were randomly chosen in a large field of corn. For each plot, the plant density (number of plants in the plot) and the mean cob weight (gm of grain per cob) were observed.

Case 3 (cont) Data: a sample of size 20 was collected, as demonstrated below. Research question: Does plant density have an effect on cob weight? densityweight

Linear Regression: Test scores vs. HW scores x

R vs. Shape of Scatterplots x

Example: Fitted Regression Line (cont) x

Outlier x