Quantitative Methods Regression. Examples for linear regression Do more brightly coloured birds have more parasites? How should we estimate merchantable.

Slides:



Advertisements
Similar presentations
Simple linear models Straight line is simplest case, but key is that parameters appear linearly in the model Needs estimates of the model parameters (slope.
Advertisements

Chap 12-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 12 Simple Regression Statistics for Business and Economics 6.
Inference for Regression
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)
July 1, 2008Lecture 17 - Regression Testing1 Testing Relationships between Variables Statistics Lecture 17.
Classical Regression III
Chapter 10 Simple Regression.
Chapter 12 Simple Regression
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 13-1 Chapter 13 Simple Linear Regression Basic Business Statistics 11 th Edition.
1 Simple Regression – Example #2 t-test df = n – 2.
Quantitative Methods Regression. Examples for linear regression Do more brightly coloured birds have more parasites? How should we estimate merchantable.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 14-1 Chapter 14 Introduction to Multiple Regression Basic Business Statistics 11 th Edition.
Linear Regression and Correlation Analysis
Simple Linear Regression Analysis
Linear Regression Example Data
Chapter 14 Introduction to Linear Regression and Correlation Analysis
Descriptive measures of the strength of a linear association r-squared and the (Pearson) correlation coefficient r.
Linear Regression/Correlation
Linear Regression and Correlation Explanatory and Response Variables are Numeric Relationship between the mean of the response variable and the level of.
Multiple Linear Regression Response Variable: Y Explanatory Variables: X 1,...,X k Model (Extension of Simple Regression): E(Y) =  +  1 X 1 +  +  k.
Simple linear regression Linear regression with one predictor variable.
M23- Residuals & Minitab 1  Department of ISM, University of Alabama, ResidualsResiduals A continuation of regression analysis.
Statistics for Business and Economics 7 th Edition Chapter 11 Simple Regression Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch.
Introduction to Linear Regression
Chap 12-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 12 Introduction to Linear.
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.
Chapter 11 Linear Regression Straight Lines, Least-Squares and More Chapter 11A Can you pick out the straight lines and find the least-square?
Multiple Regression I 4/9/12 Transformations The model Individual coefficients R 2 ANOVA for regression Residual standard error Section 9.4, 9.5 Professor.
Introduction to Probability and Statistics Thirteenth Edition Chapter 12 Linear Regression and Correlation.
An alternative approach to testing for a linear association The Analysis of Variance (ANOVA) Table.
Chap 14-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 14-1 Chapter 14 Introduction to Multiple Regression Basic Business Statistics.
Chapter 14 Inference for Regression AP Statistics 14.1 – Inference about the Model 14.2 – Predictions and Conditions.
AP Statistics Chapter 15 Notes. Inference for a Regression Line Goal: To determine if there is a relationship between two quantitative variables. Goal:
1 Lecture 4 Main Tasks Today 1. Review of Lecture 3 2. Accuracy of the LS estimators 3. Significance Tests of the Parameters 4. Confidence Interval 5.
Inference for Regression Simple Linear Regression IPS Chapter 10.1 © 2009 W.H. Freeman and Company.
AP Statistics Chapter 15 Notes. Inference for a Regression Line Goal: To determine if there is a relationship between two quantitative variables. –i.e.
Inference for Regression Chapter 14. Linear Regression We can use least squares regression to estimate the linear relationship between two quantitative.
Solutions to Tutorial 5 Problems Source Sum of Squares df Mean Square F-test Regression Residual Total ANOVA Table Variable.
Sequential sums of squares … or … extra sums of squares.
Inference for regression - More details about simple linear regression IPS chapter 10.2 © 2006 W.H. Freeman and Company.
Statistics for Business and Economics 8 th Edition Chapter 11 Simple Regression Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch.
STA 286 week 131 Inference for the Regression Coefficient Recall, b 0 and b 1 are the estimates of the slope β 1 and intercept β 0 of population regression.
1 1 Slide Simple Linear Regression Estimation and Residuals Chapter 14 BA 303 – Spring 2011.
Lecture 10 Chapter 23. Inference for regression. Objectives (PSLS Chapter 23) Inference for regression (NHST Regression Inference Award)[B level award]
Chapter 6 Simple Regression Introduction Fundamental questions – Is there a relationship between two random variables and how strong is it? – Can.
Agresti/Franklin Statistics, 1 of 88 Chapter 11 Analyzing Association Between Quantitative Variables: Regression Analysis Learn…. To use regression analysis.
[1] Simple Linear Regression. The general equation of a line is Y = c + mX or Y =  +  X.  > 0  > 0  > 0  = 0  = 0  < 0  > 0  < 0.
Chapter 13 Design of Experiments. Introduction “Listening” or passive statistical tools: control charts. “Conversational” or active tools: Experimental.
Regression. Height Weight How much would an adult female weigh if she were 5 feet tall? She could weigh varying amounts – in other words, there is a distribution.
Inference for regression - More details about simple linear regression IPS chapter 10.2 © 2006 W.H. Freeman and Company.
Using Microsoft Excel to Conduct Regression Analysis.
Chapter 12 Simple Linear Regression.
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 + 
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.
Regression Analysis Presentation 13. Regression In Chapter 15, we looked at associations between two categorical variables. We will now focus on relationships.
Simple linear regression. What is simple linear regression? A way of evaluating the relationship between two continuous variables. One variable is regarded.
Simple linear regression. What is simple linear regression? A way of evaluating the relationship between two continuous variables. One variable is regarded.
Chapter 11 Linear Regression and Correlation. Explanatory and Response Variables are Numeric Relationship between the mean of the response variable and.
Analysis of variance approach to regression analysis … an (alternative) approach to testing for a linear association.
Canadian Bioinformatics Workshops
Marshall University School of Medicine Department of Biochemistry and Microbiology BMS 617 Lecture 10: Comparing Models.
Lecture #25 Tuesday, November 15, 2016 Textbook: 14.1 and 14.3
Inference for Regression
CHAPTER 29: Multiple Regression*
Chapter 12 Inference on the Least-squares Regression Line; ANOVA
Linear Regression and Correlation
Linear Regression and Correlation
Essentials of Statistics for Business and Economics (8e)
Presentation transcript:

Quantitative Methods Regression

Examples for linear regression Do more brightly coloured birds have more parasites? How should we estimate merchantable volume of wood from the height of a living tree? How is pest infestation late in the season affected by the concentration of insecticide applied early in the season?

Regression Similarities to analysis of variance

x y M Y Regression Geometry

x y M Y Regression Geometry

x y M Y Regression Geometry

x y M Y Regression Geometry

x y M Y Regression Geometry

x y M Y Regression Geometry

x y M Y F1F1 Regression Geometry

x y M Y F1F1 Regression Geometry

x y M Y Sum of squares of residuals = Squared distance from Y to F 1 F1F1 Regression Geometry

x y M Y Regression Geometry

M Y F1F1 F2F2 F3F3 x y Regression Geometry

M Y F1F1 F2F2 F3F3 x y Regression Geometry

Regression Geometry

Regression Geometry

Regression Minitab commands

Regression Minitab commands

Regression Minitab commands

Regression Minitab commands Minitab Supplement is in a PDF file in the same directory as the dataset.

Regression Regression Output

Regression Regression Output

Regression Regression Output

Regression Confidence intervals and t-tests

Regression estimate ± t crit  Standard Error of estimate Coef ± t crit (on 29 DF)  SECoef ±  = (0.758, 2.328) Confidence intervals and t-tests t crit is always on Error degrees of freedom

Regression Confidence intervals and t-tests

Regression t = distance between estimate and hypothesised value, in units of standard error vs Confidence intervals and t-tests

Regression Confidence intervals and t-tests

Regression Confidence intervals and t-tests

Regression Regression output

Regression Regression output

Regression Extreme residuals

Regression Outliers

Regression Regression output

Regression Low R-sq High R-sq Low p-value: significant High p-value: non-significant Four possible outcomes

Regression Difference from analysis of variance Continuous vs Categorical Continuously varying Values have meaning as numbers Values are ordered Interpolation makes sense Examples: –height –concentration –duration Discrete values Values are just “names” that define subsets Values are unordered Interpolation is meaningless Examples –drug –breed of sheep –sex

Regression Not because relationships are linear Good simple starting point - cf recipes Approximation to a smoothly varying curve Why linear?

Regression Last words… Regression is a powerful and simple tool, very commonly used in biology Regression and ANOVA have deep similarities Learn the numerical skills of calculating confidence intervals and testing for non-zero slopes.

Regression Last words… Next week: Models, parameters and GLMs Read Chapter 3 Regression is a powerful and simple tool, very commonly used in biology Regression and ANOVA have deep similarities Learn the numerical skills of calculating confidence intervals and testing for non-zero slopes.