10-3 Inferences.

Slides:



Advertisements
Similar presentations
Objectives 10.1 Simple linear regression
Advertisements

Forecasting Using the Simple Linear Regression Model and Correlation
Inference for Linear Regression (C27 BVD). * If we believe two variables may have a linear relationship, we may find a linear regression line to model.
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and l Chapter 12 l Multiple Regression: Predicting One Factor from Several Others.
Chapter 27 Inferences for Regression This is just for one sample We want to talk about the relation between waist size and %body fat for the complete population.
Inference for Regression
CH 27. * Data were collected on 208 boys and 206 girls. Parents reported the month of the baby’s birth and age (in weeks) at which their child first crawled.
6-1 Introduction To Empirical Models 6-1 Introduction To Empirical Models.
CHAPTER 24: Inference for Regression
Objectives (BPS chapter 24)
Inference for Regression 1Section 13.3, Page 284.
LECTURE 3 Introduction to Linear Regression and Correlation Analysis
Confidence Interval and Hypothesis Testing for:
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
© 2010 Pearson Prentice Hall. All rights reserved Least Squares Regression Models.
Chapter 10 Simple Regression.
Chapter 12 Simple Regression
BCOR 1020 Business Statistics Lecture 28 – May 1, 2008.
SIMPLE LINEAR REGRESSION
Chapter Topics Types of Regression Models
Business Statistics - QBM117 Interval estimation for the slope and y-intercept Hypothesis tests for regression.
SIMPLE LINEAR REGRESSION
Chapter 9 Hypothesis Testing.
Correlation and Regression Analysis
Simple Linear Regression and Correlation
Chapter 12 Section 1 Inference for Linear Regression.
Simple Linear Regression Analysis
Lecture 5 Correlation and Regression
SIMPLE LINEAR REGRESSION
Introduction to Linear Regression and Correlation Analysis
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 12 Analyzing the Association Between Quantitative Variables: Regression Analysis Section.
STA291 Statistical Methods Lecture 27. Inference for Regression.
Copyright © Cengage Learning. All rights reserved. 13 Linear Correlation and Regression Analysis.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on the Least-Squares Regression Model and Multiple Regression 14.
Section 9.2 Testing the Mean  9.2 / 1. Testing the Mean  When  is Known Let x be the appropriate random variable. Obtain a simple random sample (of.
OPIM 303-Lecture #8 Jose M. Cruz Assistant Professor.
+ Chapter 12: Inference for Regression Inference for Linear Regression.
Inference for Regression Simple Linear Regression IPS Chapter 10.1 © 2009 W.H. Freeman and Company.
Inference for Regression Chapter 14. Linear Regression We can use least squares regression to estimate the linear relationship between two quantitative.
+ Chapter 12: More About Regression Section 12.1 Inference for Linear Regression.
Section 9-1: Inference for Slope and Correlation Section 9-3: Confidence and Prediction Intervals Visit the Maths Study Centre.
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
Inen 460 Lecture 2. Estimation (ch. 6,7) and Hypothesis Testing (ch.8) Two Important Aspects of Statistical Inference Point Estimation – Estimate an unknown.
Inferences Concerning Variances
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 12 More About Regression 12.1 Inference for.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Simple Linear Regression Analysis Chapter 13.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics Seventh Edition By Brase and Brase Prepared by: Lynn Smith.
Dependent (response) Variable Independent (control) Variable Random Error XY x1x1 y1y1 x2x2 y2y2 …… xnxn ynyn Raw data: Assumption:  i ‘s are independent.
1 1 Slide The Simple Linear Regression Model n Simple Linear Regression Model y =  0 +  1 x +  n Simple Linear Regression Equation E( y ) =  0 + 
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 3 – Slide 1 of 27 Chapter 11 Section 3 Inference about Two Population Proportions.
Hypothesis Testing. Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean μ = 120 and variance σ.
Jump to first page Inferring Sample Findings to the Population and Testing for Differences.
Lesson Testing the Significance of the Least Squares Regression Model.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 12 More About Regression 12.1 Inference for.
CHAPTER 12 More About Regression
Inference about the slope parameter and correlation
Regression and Correlation
Inference for Regression (Chapter 14) A.P. Stats Review Topic #3
Virtual COMSATS Inferential Statistics Lecture-26
Inferences for Regression
Inference for Regression
CHAPTER 12 More About Regression
Correlation and Regression
Chapter 12 Inference on the Least-squares Regression Line; ANOVA
Statistical Inference about Regression
CHAPTER 12 More About Regression
SIMPLE LINEAR REGRESSION
CHAPTER 12 More About Regression
Inferences for Regression
Inferences 10-3.
Presentation transcript:

10-3 Inferences

What about making inferences? r, a and b are the sample test statistics Sample r becomes population ρ and ŷ = ax + b becomes y = αx + β The Idealized model…. Certain assumptions must be met: (x,y) is a random sample from the population For each fixed x, the y has a normal distributions. All the y distributions have the same variance Other books use β0 and β1 for a and b

Testing ρ 2. Compute the test statistic i.e. Testing whether there is or is not a linear correlation 1. Set your hypotheses HO: ρ = 0 HA: ρ > 0, ρ < 0, ρ ≠ 0 2. Compute the test statistic

Testing ρ 2. Compute the test statistic i.e. Testing whether there is or is not a linear correlation 1. Set your hypotheses HO: ρ = 0 HA: ρ > 0, ρ < 0, ρ ≠ 0 2. Compute the test statistic d.f. = n – 2 Logic dictates how many data sets (n)?

Testing ρ 2. Compute the test statistic 3. Find the P-value i.e. Testing whether there is or is not a linear correlation 1. Set your hypotheses HO: ρ = 0 HA: ρ > 0, ρ < 0, ρ ≠ 0 2. Compute the test statistic 3. Find the P-value 4. Compare to α and conclude. 5. State your conclusion. What is the purpose? Seeing if there is a linear correlation of any type, NOT determining causation…

Measuring Spread What if you feel there is a linear correlation, but are not sure how “good” it is. That is, while the line maybe touches two points, some other points are substantially off…. The line is a model. The model assumes that the means of the distributions fall on the line even though individual data points may not…

Measuring Spread Error can be determined a number of ways Method 1: Using residual

Measuring Spread Error can be determined a number of ways Method 1: Using residual Where ŷ = ax + b, and n > 3 Use this one!!

Measuring Spread (cont) Method 2: Find a confidence interval for y True y, for a population, has a population slope, a population y intercept, plus some sort of random error. Therefore, we can create a confidence interval for y that allows us to predict true y.

Measuring Spread (cont) Method 2: This will look familiar…. Based on n ≥ 3 data pairs, after finding ŷ use

Measuring Spread (cont) Method 2: This will look familiar…. Based on n ≥ 3 data pairs, after finding ŷ use Where ŷ = ax + b, c = confidence level, n = number of data pairs, and Se is the standard error of estimate

Measuring Spread (cont) Method 3: Using a student t distribution, you will test the population slope (β) Based on a null hypotheses of β = 0 and an alternate like before (greater, less than or not equal to..) What will the test statistic simplify to be?

Measuring Spread (cont) Method 3: Using a student t distribution, you will test the population slope (β) Based on a null hypotheses of β = 0 and an alternate like before (greater, less than or not equal to..) What will the test statistic simplify to be? d.f. = n-2

Measuring Spread (cont) Method 3: Therefore, the confidence interval will be

Calculator Your calculator can find standard error, and can also do a linear regression test (callced a LinRegTTest)

Problem Let x be a random variable that represents the batting average of a professional baseball player. Let y be a random variable that represents the percentage of strikeouts of a professional baseball player. A random sample of 6 professional baseball players gave the following information: x 0.328 0.290 0.340 0.248 0.367 0.269 y 3.2 7.6 4.0 8.6 3.1 11.1

Given the following a) use a 5% confidence level to test the claim that ρ≠0. b) Find Se, a and b c) Find the predicted percentage of strikeouts for a player with an x = 0.300 batting average d) Find an 80% confidence interval for y when x = 0.300 e) Use a 5% level of significance ot test the claim that β≠0 f) Find a 90% confidence interval for β and interpret its meaning.