Linear regression. Regression Models. Chapter 11 Student Lecture Notes Regression Analysis is the

Similar documents
Statistics for Managers Using Microsoft Excel/SPSS Chapter 13 The Simple Linear Regression Model and Correlation

Lecture 6: Introduction to Linear Regression

Chapter 9: Statistical Inference and the Relationship between Two Variables

Statistics for Business and Economics

Department of Quantitative Methods & Information Systems. Time Series and Their Components QMIS 320. Chapter 6

Statistics MINITAB - Lab 2

Statistics for Economics & Business

Introduction to Regression

Basic Business Statistics, 10/e

Biostatistics. Chapter 11 Simple Linear Correlation and Regression. Jing Li

The Ordinary Least Squares (OLS) Estimator

Lecture 9: Linear regression: centering, hypothesis testing, multiple covariates, and confounding

Lecture 9: Linear regression: centering, hypothesis testing, multiple covariates, and confounding

Chapter 11: Simple Linear Regression and Correlation

Chapter 14 Simple Linear Regression

Chapter 3. Two-Variable Regression Model: The Problem of Estimation

Comparison of Regression Lines

Learning Objectives for Chapter 11

Lecture Notes for STATISTICAL METHODS FOR BUSINESS II BMGT 212. Chapters 14, 15 & 16. Professor Ahmadi, Ph.D. Department of Management

/ n ) are compared. The logic is: if the two

Correlation and Regression. Correlation 9.1. Correlation. Chapter 9

2016 Wiley. Study Session 2: Ethical and Professional Standards Application

Y = β 0 + β 1 X 1 + β 2 X β k X k + ε

Chapter 15 - Multiple Regression

Correlation and Regression

1. Inference on Regression Parameters a. Finding Mean, s.d and covariance amongst estimates. 2. Confidence Intervals and Working Hotelling Bands

Chapter 8 Multivariate Regression Analysis

β0 + β1xi. You are interested in estimating the unknown parameters β

Scatter Plot x

Linear Regression Analysis: Terminology and Notation

Lecture 3 Stat102, Spring 2007

Properties of Least Squares

Biostatistics 360 F&t Tests and Intervals in Regression 1

[The following data appear in Wooldridge Q2.3.] The table below contains the ACT score and college GPA for eight college students.

Diagnostics in Poisson Regression. Models - Residual Analysis

β0 + β1xi. You are interested in estimating the unknown parameters β

Chapter 10. What is Regression Analysis? Simple Linear Regression Analysis. Examples

Chapter 13: Multiple Regression

e i is a random error

The Multiple Classical Linear Regression Model (CLRM): Specification and Assumptions. 1. Introduction

Outline. Zero Conditional mean. I. Motivation. 3. Multiple Regression Analysis: Estimation. Read Wooldridge (2013), Chapter 3.

Linear correlation and linear regression

Here is the rationale: If X and y have a strong positive relationship to one another, then ( x x) will tend to be positive when ( y y)

Chapter 2 - The Simple Linear Regression Model S =0. e i is a random error. S β2 β. This is a minimization problem. Solution is a calculus exercise.

Basically, if you have a dummy dependent variable you will be estimating a probability.

ECONOMICS 351*-A Mid-Term Exam -- Fall Term 2000 Page 1 of 13 pages. QUEEN'S UNIVERSITY AT KINGSTON Department of Economics

Regression Analysis. Regression Analysis

28. SIMPLE LINEAR REGRESSION III

18. SIMPLE LINEAR REGRESSION III

Econ Statistical Properties of the OLS estimator. Sanjaya DeSilva

STAT 3008 Applied Regression Analysis

Negative Binomial Regression

III. Econometric Methodology Regression Analysis

Sociology 301. Bivariate Regression. Clarification. Regression. Liying Luo Last exam (Exam #4) is on May 17, in class.

Decision Analysis (part 2 of 2) Review Linear Regression

Statistics for Managers Using Microsoft Excel/SPSS Chapter 14 Multiple Regression Models

Midterm Examination. Regression and Forecasting Models

STAT 3340 Assignment 1 solutions. 1. Find the equation of the line which passes through the points (1,1) and (4,5).

Predictive Analytics : QM901.1x Prof U Dinesh Kumar, IIMB. All Rights Reserved, Indian Institute of Management Bangalore

8/25/17. Data Modeling. Data Modeling. Data Modeling. Patrice Koehl Department of Biological Sciences National University of Singapore

Lecture 16 Statistical Analysis in Biomaterials Research (Part II)

17 - LINEAR REGRESSION II

β0 + β1xi and want to estimate the unknown

NANYANG TECHNOLOGICAL UNIVERSITY SEMESTER I EXAMINATION MTH352/MH3510 Regression Analysis

January Examinations 2015

SIMPLE LINEAR REGRESSION

Resource Allocation and Decision Analysis (ECON 8010) Spring 2014 Foundations of Regression Analysis

Systematic Error Illustration of Bias. Sources of Systematic Errors. Effects of Systematic Errors 9/23/2009. Instrument Errors Method Errors Personal

Econ107 Applied Econometrics Topic 3: Classical Model (Studenmund, Chapter 4)

See Book Chapter 11 2 nd Edition (Chapter 10 1 st Edition)

Chapter 15 Student Lecture Notes 15-1

DO NOT OPEN THE QUESTION PAPER UNTIL INSTRUCTED TO DO SO BY THE CHIEF INVIGILATOR. Introductory Econometrics 1 hour 30 minutes

The SAS program I used to obtain the analyses for my answers is given below.

Activity #13: Simple Linear Regression. actgpa.sav; beer.sav;

Some basic statistics and curve fitting techniques

Interval Estimation in the Classical Normal Linear Regression Model. 1. Introduction

Chapter 14: Logit and Probit Models for Categorical Response Variables

Measuring the Strength of Association

3/3/2014. CDS M Phil Econometrics. Vijayamohanan Pillai N. CDS Mphil Econometrics Vijayamohan. 3-Mar-14. CDS M Phil Econometrics.

x yi In chapter 14, we want to perform inference (i.e. calculate confidence intervals and perform tests of significance) in this setting.

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur

IV. Modeling a Mean: Simple Linear Regression

where I = (n x n) diagonal identity matrix with diagonal elements = 1 and off-diagonal elements = 0; and σ 2 e = variance of (Y X).

SIMPLE LINEAR REGRESSION and CORRELATION

Chapter 12 Analysis of Covariance

Chapter 5 Multilevel Models

x i1 =1 for all i (the constant ).

Lecture 3 Specification

Chapter 14 Simple Linear Regression Page 1. Introduction to regression analysis 14-2

a. (All your answers should be in the letter!

Continuous vs. Discrete Goods

Methods in Epidemiology. Medical statistics 02/11/2014. Estimation How large is the effect? At the end of the lecture students should be able

STATISTICS QUESTIONS. Step by Step Solutions.

ANSWERS CHAPTER 9. TIO 9.2: If the values are the same, the difference is 0, therefore the null hypothesis cannot be rejected.

Uncertainty as the Overlap of Alternate Conditional Distributions

Modeling and Simulation NETW 707

This column is a continuation of our previous column

Sociology 470. Bivariate Regression. Extra Points. Regression. Liying Luo Job talk on Thursday 11/3 at Pond 302

Reminder: Nested models. Lecture 9: Interactions, Quadratic terms and Splines. Effect Modification. Model 1

Hydrological statistics. Hydrological statistics and extremes

Transcription:

Chapter 11 Student Lecture Notes 11-1 Lnear regresson Wenl lu Dept. Health statstcs School of publc health Tanjn medcal unversty 1 Regresson Models 1. Answer What Is the Relatonshp Between the Varables?. Equaton Used 1 Numercal Dependent (Response) Varable What Is to Be Predcted 1 or More Numercal or Categorcal Independent (Explanatory) Varables 3. Used Manly for Predcton & Estmaton Regresson Analyss s the estmaton of the lnear or nonlnear relatonshp between a dependent varable and one or more ndependent varables or covarates. (from SPSS Help) 3

Chapter 11 Student Lecture Notes 11- Types of Regresson Models 1 Explanatory Varable Regresson Models + Explanatory Varables Smple Multple Lnear Non- Lnear Lnear Non- Lnear 4 Thnkng Challenge: Whch Is More Logcal? Sales Advertsng Sales Advertsng 5 Types of Regresson Models 1 Explanatory Regresson + Explanatory Varable Models Varables Smple Multple Lnear Lnear Non- Lnear Non- Lnear 6

Chapter 11 Student Lecture Notes 11-3 Regresson Modelng Steps 1. Hypothesze Determnstc Component. Estmate Unknown Model Parameters 7 Lnear Equatons = m + b m = Slope Change n b = -ntercept Change n Hgh School Teacher 1984-1994 T/Maker Co. 8 Populaton Lnear Regresson Model 0 1 = Random error Observed value Observed value E 0 1 9

Chapter 11 Student Lecture Notes 11-4 Lnear Regresson Model Relatonshp Between Varables Is a Lnear Functon Populaton -Intercept Populaton Slope Random Error 0 1 Dependent (Response) Varable (e.g., ncome) Independent (Explanatory) Varable (e.g., educaton) Populaton & Sample Regresson Models Populaton Unknown Relatonshp $ 0 1 $ $ $ $ Random Sample 0 1 $ $ 11 Sample Lnear Regresson Model Observed value 0 1 ^ = Random error 0 1 Unsampled observaton 1

Chapter 11 Student Lecture Notes 11-5 Estmatng Parameters: Least Squares Method 13 Scattergram Plot of All ((, ) Pars 60 40 0 0 0 0 40 60 14 Thnkng Challenge How would you draw a lne through the ponts? How do you determne whch lne fts best? 100 50 0 0 0 40 60 15

Chapter 11 Student Lecture Notes 11-6 Least Squares 1. Best Ft Means Dfference Between Actual Values & Predcted Values Are a Mnmum But Postve Dfferences Off-Set Negatve n 1 n ˆ ˆ 1 16 Least Squares Graphcally LS mnmzes n ˆ ˆ ˆ ˆ 1 3 ˆ 4 1 ^ ^ 1 ^ 3 0 1 ^ 4 0 1 17 Coeffcent Equatons Predcton Equaton yˆ ˆ ˆ 0 1x Sample Slope ˆ 1 SS SS xy xx Sample -ntercept ˆ 0 y ˆ 1x x x y y lxy x x lxx 18

Chapter 11 Student Lecture Notes 11-7 Interpretaton of Coeffcents ^ 1. Slope ( ( 1 ) Estmated Changes by ^ 1 for Each 1 Unt Increase n ^ If 1 =, then Sales ()( ) Is Expected to Increase by for Each 1 Unt Increase n Advertsng ()( ^. -Intercept ( ( 0 ) Average Value of When = 0 19 Table 1 Smple lnear regresson Age and systolc blood pressure (SBP) among 33 adult women Age SBP Age SBP Age SBP 131 41 139 5 18 3 18 41 171 54 105 4 116 46 137 56 145 7 106 47 111 57 141 8 114 48 115 58 153 9 13 49 133 59 157 30 117 49 18 63 155 3 1 50 183 67 176 33 99 51 130 71 17 35 11 51 133 77 178 40 147 51 144 81 17 0 SBP (mm Hg) 0 00 SBP 81.51. Age 180 160 140 10 100 80 0 30 40 50 60 70 80 90 Age (years) adapted from Colton T. Statstcs n Medcne. Boston: Lttle Brown, 1974 1

Chapter 11 Student Lecture Notes 11-8 It s tme-consumng to calculate t by calculator How to do t wth software-spss Regresson ->lnear 3 The value of the dependent varable therefore depends upon the value of the ndependent varable 4

Chapter 11 Student Lecture Notes 11-9 5 ˆ ˆ 1 0 1 SBP 81.5 1. Age 6 Regresson Modelng Steps 1. Hypothesze Determnstc Component. Estmate Unknown Model Parameters 3. Specfy Probablty Dstrbuton of Random Error Term Estmate Standard Devaton of Error 4. Evaluate Model 5. Use Model for Predcton & Estmaton 7

Chapter 11 Student Lecture Notes 11-10 Test of Slope Coeffcent 1. Shows If There Is a Lnear Relatonshp Between &. Involves Populaton Slope 1 3. Hypotheses H 0 : 1 = 0 (No Lnear Relatonshp) H a : 1 0 (Lnear Relatonshp) 4. Theoretcal Bass Is Samplng Dstrbuton of Slope 8 SBP 81.5 1. Age There s a sgnfcant assocaton between age and sbp (p=0.000). 9 Hypothess test 30

Chapter 11 Student Lecture Notes 11-11 Coeffcent of determnaton 31 Be cautous for both correlaton and regresson Correlaton does not mean causalty Patents heght may correlate wth ther blood pressure, but t does not mean that ther heght s the cause for ther blood pressure 3 Be cautous When the estmaton s based on sample data, you may get a strong postve or negatve correlaton purely by chance, even though there s no relatonshp between the two varables Patents shoe sze n the hosptal may correlates wth ther blood pressure at tme of admsson, but there may be no relatonshp between the two 33

Chapter 11 Student Lecture Notes 11-1 ou can do t,i have fath on you! Multvarate lnear regresson more ndependent varable Non-lnear regresson Logstc regresson when the dependent varable s a 0-10 1 varable 34