Stat 112 -- Notes 5 p-values for one-sided tests Caution about forecasting outside the range of the explanatory variable (Chapter 3.7.2) Fitting a linear.

Slides:



Advertisements
Similar presentations
Lecture 17: Tues., March 16 Inference for simple linear regression (Ch ) R2 statistic (Ch ) Association is not causation (Ch ) Next.
Advertisements

Objectives 10.1 Simple linear regression
Chap 12-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 12 Simple Regression Statistics for Business and Economics 6.
Stat 112: Lecture 7 Notes Homework 2: Due next Thursday The Multiple Linear Regression model (Chapter 4.1) Inferences from multiple regression analysis.
Inference for Regression
Regression Analysis Simple Regression. y = mx + b y = a + bx.
Simple Linear Regression. Start by exploring the data Construct a scatterplot  Does a linear relationship between variables exist?  Is the relationship.
Objectives (BPS chapter 24)
Class 16: Thursday, Nov. 4 Note: I will you some info on the final project this weekend and will discuss in class on Tuesday.
July 1, 2008Lecture 17 - Regression Testing1 Testing Relationships between Variables Statistics Lecture 17.
© 2010 Pearson Prentice Hall. All rights reserved Least Squares Regression Models.
Chapter 10 Simple Regression.
Class 15: Tuesday, Nov. 2 Multiple Regression (Chapter 11, Moore and McCabe).
Lecture 23: Tues., April 6 Interpretation of regression coefficients (handout) Inference for multiple regression.
Stat 112 – Notes 3 Homework 1 is due at the beginning of class next Thursday.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 13-1 Statistics for Managers Using Microsoft® Excel 5th Edition Chapter.
Lecture 6 Notes Note: I will homework 2 tonight. It will be due next Thursday. The Multiple Linear Regression model (Chapter 4.1) Inferences from.
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,
Chapter Topics Types of Regression Models
Class 10: Tuesday, Oct. 12 Hurricane data set, review of confidence intervals and hypothesis tests Confidence intervals for mean response Prediction intervals.
Lecture 16 – Thurs, Oct. 30 Inference for Regression (Sections ): –Hypothesis Tests and Confidence Intervals for Intercept and Slope –Confidence.
Simple Linear Regression Analysis
Business Statistics - QBM117 Interval estimation for the slope and y-intercept Hypothesis tests for regression.
Linear Regression Example Data
© 2000 Prentice-Hall, Inc. Chap Forecasting Using the Simple Linear Regression Model and Correlation.
1 BA 555 Practical Business Analysis Review of Statistics Confidence Interval Estimation Hypothesis Testing Linear Regression Analysis Introduction Case.
Statistics 350 Lecture 17. Today Last Day: Introduction to Multiple Linear Regression Model Today: More Chapter 6.
Stat 112: Lecture 16 Notes Finish Chapter 6: –Influential Points for Multiple Regression (Section 6.7) –Assessing the Independence Assumptions and Remedies.
Forecasting Outside the Range of the Explanatory Variable: Chapter
Introduction to Regression Analysis, Chapter 13,
Copyright ©2006 Brooks/Cole, a division of Thomson Learning, Inc. More About Regression Chapter 14.
Simple Linear Regression Analysis
Lecture 5 Correlation and Regression
Correlation & Regression
Active Learning Lecture Slides
Inference for regression - Simple linear regression
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 12-1 Chapter 12 Simple Linear Regression Statistics for Managers Using.
STA291 Statistical Methods Lecture 27. Inference for Regression.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on the Least-Squares Regression Model and Multiple Regression 14.
Simple Linear Regression Models
Chapter 14 Simple Regression
OPIM 303-Lecture #8 Jose M. Cruz Assistant Professor.
Stat 112 Notes 3 Today: –Finish Chapter 3.3 (Hypothesis Testing). Homework 1 due next Thursday.
EQT 373 Chapter 3 Simple Linear Regression. EQT 373 Learning Objectives In this chapter, you learn: How to use regression analysis to predict the value.
Copyright © 2011 Pearson Education, Inc. The Simple Regression Model Chapter 21.
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.
Inference for Regression Chapter 14. Linear Regression We can use least squares regression to estimate the linear relationship between two quantitative.
Chapter 4 Linear Regression 1. Introduction Managerial decisions are often based on the relationship between two or more variables. For example, after.
Stat 112: Notes 2 Today’s class: Section 3.3. –Full description of simple linear regression model. –Checking the assumptions of the simple linear regression.
Copyright ©2011 Brooks/Cole, Cengage Learning Inference about Simple Regression Chapter 14 1.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 21 The Simple Regression Model.
Lecture 10: Correlation and Regression Model.
Business Statistics for Managerial Decision Farideh Dehkordi-Vakil.
Stat 112 Notes 5 Today: –Chapter 3.7 (Cautions in interpreting regression results) –Normal Quantile Plots –Chapter 3.6 (Fitting a linear time trend to.
June 30, 2008Stat Lecture 16 - Regression1 Inference for relationships between variables Statistics Lecture 16.
Stat 112 Notes 6 Today: –Chapters 4.2 (Inferences from a Multiple Regression Analysis)
Stat 112 Notes 14 Assessing the assumptions of the multiple regression model and remedies when assumptions are not met (Chapter 6).
Chapter 26: Inference for Slope. Height Weight How much would an adult female weigh if she were 5 feet tall? She could weigh varying amounts – in other.
Chapter 12: Correlation and Linear Regression 1.
Regression Inference. Height Weight How much would an adult male weigh if he were 5 feet tall? He could weigh varying amounts (in other words, there is.
Lecture #25 Tuesday, November 15, 2016 Textbook: 14.1 and 14.3
The simple linear regression model and parameter estimation
Chapter 20 Linear and Multiple Regression
Regression and Correlation
AP Statistics Chapter 14 Section 1.
26134 Business Statistics Week 5 Tutorial
Stat 112 Notes 4 Today: Review of p-values for one-sided tests
Unit 3 – Linear regression
Presentation transcript:

Stat Notes 5 p-values for one-sided tests Caution about forecasting outside the range of the explanatory variable (Chapter 3.7.2) Fitting a linear trend to Time Series Data (Chapter 3.6) Practice Question Quiz on Tuesday will last first thirty minutes of class. I will send out review materials tonight or tomorrow morning.

P-Values for One and Two Sided Tests 1.Two-sided test: Reject if p-value = Prob>|t| reported in JMP under parameter estimates. 2.One-sided test I: Reject if p-value = (Prob>|t|)/2 if t is negative 1-(Prob>|t|)/2 if t is positive

P-values for One and Two Sided Tests Continued 2.One-sided test II: Reject if p-value = (Prob>|t|)/2 if t is positive 1-(Prob>|t|)/2 if t is negative

Example: Poverty Rates and Doctors

Example: One Sided Test

Example Continued: One and Two Sided Tests

Forecasting Outside the Range of the Explanatory Variable (Extrapolation) When constructing estimates of or predicting individual values of a Y based on, caution must be used if is outside the range of the observed x’s. The data does not provide information about whether the simple linear regression model continues to hold outside of the range of the observed x’s. Prediction intervals only account for (1) variability in Y given X; (2) uncertainty in the estimates of the slope and intercept given that the simple linear regression model is true. When is outside the range of the observed x’s, the prediction interval might not be accurate.

Olympic Long Jump: Length of gold medal jump (Y) vs. Year (X)

Predictions from Long Jump Simple Linear Regression Model Predicted Olympic gold medal winning long jumps: – 2008 (Beijing): *2008 = feet –2028: *2028 = feet –3000: *3000 = feet –95% Prediction Interval for Year 3000: =(70.32, 94.17) Prediction interval is not reasonable! Predicting winning distance for year 3000 is an extrapolation

Time Series Data (Chapter 3.6) Cross-sectional data: Data gathered on a different individuals at the same point in time. Time series: Data gathered on a single individual (person, firm, so on) over a sequence of time periods which may be days, weeks, months, quarters, years or any other measure of time. One goal in analyzing time series is to understand the trend in Y over time: E(Y|Time), i.e., we treat Time as our explanatory variable in the regression analysis. Simple Linear Regression Model for Trend in Time Series Data:

Hurricane Data Is there a trend in the number of hurricanes in the Atlantic over time (possibly an increase because of global warming)? hurricane.JMP contains data on the number of hurricanes in the Atlantic basin from

Inferences for Hurricane Data Residual plots and normal quantile plots indicate that assumptions of linearity, constant variance and normality in simple linear regression model are reasonable. 95% confidence interval for slope (change in mean hurricanes between year t and year t+1): (-0.086,0.012) Hypothesis Test of null hypothesis that slope equals zero: test statistic = -1.52, p-value =0.13. We accept since p-value > No evidence of a trend in hurricanes from