1 Everyday is a new beginning in life. Every moment is a time for self vigilance.

Slides:



Advertisements
Similar presentations
Scatterplots and Correlation
Advertisements

Chapter 3 Bivariate Data
Chapter 6: Exploring Data: Relationships Lesson Plan
Scatter Diagrams and Linear Correlation
AP Statistics Chapters 3 & 4 Measuring Relationships Between 2 Variables.
1 Simple Linear Regression Linear regression model Prediction Limitation Correlation.
CHAPTER 3 Describing Relationships
Descriptive Methods in Regression and Correlation
Chapter 6: Exploring Data: Relationships Chi-Kwong Li Displaying Relationships: Scatterplots Regression Lines Correlation Least-Squares Regression Interpreting.
Chapter 6: Exploring Data: Relationships Lesson Plan Displaying Relationships: Scatterplots Making Predictions: Regression Line Correlation Least-Squares.
M22- Regression & Correlation 1  Department of ISM, University of Alabama, Lesson Objectives  Know what the equation of a straight line is,
Notes Bivariate Data Chapters Bivariate Data Explores relationships between two quantitative variables.
Chapter 10 Correlation and Regression
Notes Bivariate Data Chapters Bivariate Data Explores relationships between two quantitative variables.
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.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 3 Describing Relationships 3.2 Least-Squares.
Examining Bivariate Data Unit 3 – Statistics. Some Vocabulary Response aka Dependent Variable –Measures an outcome of a study Explanatory aka Independent.
Statistics Bivariate Analysis By: Student 1, 2, 3 Minutes Exercised Per Day vs. Weighted GPA.
Chapter 2 Examining Relationships.  Response variable measures outcome of a study (dependent variable)  Explanatory variable explains or influences.
What Do You See?. A scatterplot is a graphic tool used to display the relationship between two quantitative variables. How to Read a Scatterplot A scatterplot.
Notes Chapter 7 Bivariate Data. Relationships between two (or more) variables. The response variable measures an outcome of a study. The explanatory variable.
1. Analyzing patterns in scatterplots 2. Correlation and linearity 3. Least-squares regression line 4. Residual plots, outliers, and influential points.
Chapter 3: Describing Relationships
CHAPTER 3 Describing Relationships
Chapter 6: Exploring Data: Relationships Lesson Plan
Chapter 3: Describing Relationships
Happiness comes not from material wealth but less desire.
Chapter 6: Exploring Data: Relationships Lesson Plan
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
The greatest blessing in life is
Chapter 3: Describing Relationships
Review of Chapter 3 Examining Relationships
Chapter 3: Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Chapter 3 Scatterplots and Correlation.
Chapter 3: Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
September 25, 2013 Chapter 3: Describing Relationships Section 3.1
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Chapter 3: Describing Relationships
CHAPTER 3 Describing Relationships
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
CHAPTER 3 Describing Relationships
Chapter 3: Describing Relationships
AP Stats Agenda Text book swap 2nd edition to 3rd Frappy – YAY
CHAPTER 3 Describing Relationships
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Honors Statistics Review Chapters 7 & 8
Chapter 3: Describing Relationships
Correlation Coefficient
Review of Chapter 3 Examining Relationships
CHAPTER 3 Describing Relationships
Chapter 3: Describing Relationships
Presentation transcript:

1 Everyday is a new beginning in life. Every moment is a time for self vigilance.

2 Simple Linear Regression Scatterplot Regression equation Correlation

3 Example: Computer Repair A company markets and repairs small computers. How fast (Time) an electronic component (Computer Unit) can be repaired is very important to the efficiency of the company. The Variables in this example are: Time and Units.

4 Humm… How long will it take me to repair this unit? Goal: to predict the length of repair Time for a given number of computer Units

5 Computer Repair Data UnitsMin’sUnitsMin’s

6 Scatterplot of response variable against explanatory variable What is the overall (average) pattern? What is the direction of the pattern? How much do data points vary from the overall (average) pattern? Any potential outliers? Graphical Summary of Two Quantitative Variable

7 Time is Linearly related with computer Units. (The length of) Time is Increasing as (the number of) Units increases. Data points are closed to the line. No potential outlier. Scatterplot (Time vs Units) Some Simple Conclusions Summary for Computer Repair Data

8 Numerical Summary of Two Quantitative Variable Regression equation Correlation

9 Review: Math Equation for a Line Y: the response variable X: the explanatory variable X Y Y=b 0 +b 1 X } b 0 } b 1 1

10 Regression Equation The regression line models the relationship between X and Y on average. The math equation of a regression line is called regression equation.

11 The Predicted Y Value We use the regression line to estimate the average Y value for a specified X value and use this Y value to predict what Y value we might observe at this X value in the near future. This predicted Y value, denoted as and pronounced as “y hat,” is the Y value on the regression line. So, Regression equation

12 The Usage of Regression Equation Predict the value of Y for a given X value Eg. Wish to predict a lady’s weight by her height. ** What is X? Y? ** Suppose b0 = -205 and b1 = 5: ** For ladies with HT of 60”, their WT will be predicted as b 0 +b 1 x60=95 pounds, the (estimated) average WT of all ladies with HT of 60’’.

13 The Usage of Regression Equation Eg. How long will it take to repair 3 computer units? ** Suppose b0= 4.16 and b1=15.51: ** the predicted time = x3 = **  It will take about minutes.

14 The predicted WT of a given HT The predicted repair time of a given # of units Examples of the Predicted Y

15 The Limitation of the Regression Equation The regression equation cannot be used to predict Y value for the X values which are (far) beyond the range in which data are observed. Eg. Given HT of 40”, the regression equation will give us WT of x40 = -5 pounds!!

16 The Unpredicted Part The value is the part the regression equation (model) cannot catch, and it is called “residual.”

17 residual {

18 Correlation between X and Y X and Y might be related to each other in many ways: linear or curved.

19 r =.98 Strong Linearity r =.71 Median Linearity Examples of Different Levels of Correlation

20 r = -.09 Nearly Uncorrelated Examples of Different Levels of Correlation r =.00 Nearly Curved

21 Correlation Coefficient of X and Y A measurement of the strength of the “LINEAR” association between X and Y Sx: the standard deviation of the data values in X, Sy: the standard deviation of the data values in Y; the correlation coefficient of X and Y is:

22 Correlation Coefficient of X and Y -1< r < 1 The magnitude of r measures the strength of the linear association of X and Y, which is the overall closeness of the points to a line. The sign of r indicate the direction of the association: “-”  negative association “+”  positive association ** visit the previous 4 plots again

23 Correlation Coefficient The value r is almost 0  the best line to fit the data points is exactly horizontal  the value of X won’t change our prediction on Y The value r is almost 1  A line fits the data points almost perfectly.

24 Correlation does not Prove Causation Four Ways to interpret an observed association: Causation There might be causation, but other variables contribute as well The association is explained by how other variables affect X and Y Y is causing a change in X

25 i 12…n12…n ……. Total Table for Computing Mean, St. Deviation, and Corr. Coef.

26 Example: Computer Repair Time

27 (1) Fill the following table, then compute the mean and st. deviation of Y and X (2) Compute the corr. coef. of Y and X (3) Draw a scatterplot i Total0 *6.0* Exercise

28 The Influence of Outliers The slope becomes larger (toward the outlier) The size of r becomes smaller

29 The slope becomes clear (toward outliers) The size of r becomes larger (more linear:  0.935) The Influence of Outliers