Statistical Fridays J C Horrow, MD, MS STAT Clinical Professor, Anesthesiology Drexel University College of Medicine.

Slides:



Advertisements
Similar presentations
11-1 Empirical Models Many problems in engineering and science involve exploring the relationships between two or more variables. Regression analysis.
Advertisements

Probability & Statistical Inference Lecture 9
6-1 Introduction To Empirical Models 6-1 Introduction To Empirical Models.
11 Simple Linear Regression and Correlation CHAPTER OUTLINE
Prediction, Correlation, and Lack of Fit in Regression (§11. 4, 11
Linear regression models
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 13 Nonlinear and Multiple Regression.
Analysis of Economic Data
LINEAR REGRESSION: Evaluating Regression Models Overview Assumptions for Linear Regression Evaluating a Regression Model.
Statistical Fridays J C Horrow, MD, MS STAT Clinical Professor, Anesthesiology Drexel University College of Medicine.
Multivariate Data Analysis Chapter 4 – Multiple Regression.
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 13 Introduction to Linear Regression and Correlation Analysis.
Chapter Topics Types of Regression Models
Linear Regression and Correlation Analysis
Chapter 13 Introduction to Linear Regression and Correlation Analysis
Statistics for Business and Economics Chapter 11 Multiple Regression and Model Building.
Introduction to Probability and Statistics Linear Regression and Correlation.
Quantitative Business Analysis for Decision Making Simple Linear Regression.
Pertemua 19 Regresi Linier
11-1 Empirical Models Many problems in engineering and science involve exploring the relationships between two or more variables. Regression analysis.
Correlation and Regression Analysis
Simple Linear Regression and Correlation
Review for Exam 2 Some important themes from Chapters 6-9 Chap. 6. Significance Tests Chap. 7: Comparing Two Groups Chap. 8: Contingency Tables (Categorical.
Regression Model Building Setting: Possibly a large set of predictor variables (including interactions). Goal: Fit a parsimonious model that explains variation.
Copyright ©2006 Brooks/Cole, a division of Thomson Learning, Inc. More About Regression Chapter 14.
Regression and Correlation
Correlation & Regression
Objectives of Multiple Regression
Regression and Correlation Methods Judy Zhong Ph.D.
Marketing Research Aaker, Kumar, Day and Leone Tenth Edition
Regression Analysis Regression analysis is a statistical technique that is very useful for exploring the relationships between two or more variables (one.
Inference for regression - Simple linear regression
Simple Linear Regression
Statistics for clinical research An introductory course.
1 Least squares procedure Inference for least squares lines Simple Linear Regression.
OPIM 303-Lecture #8 Jose M. Cruz Assistant Professor.
SESSION Last Update 17 th June 2011 Regression.
Introduction to Linear Regression
Multiple Regression and Model Building Chapter 15 Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
Linear correlation and linear regression + summary of tests
Chapter 5: Regression Analysis Part 1: Simple Linear Regression.
Inference for Regression Simple Linear Regression IPS Chapter 10.1 © 2009 W.H. Freeman and Company.
Review of Building Multiple Regression Models Generalization of univariate linear regression models. One unit of data with a value of dependent variable.
Lesson Multiple Regression Models. Objectives Obtain the correlation matrix Use technology to find a multiple regression equation Interpret the.
1 11 Simple Linear Regression and Correlation 11-1 Empirical Models 11-2 Simple Linear Regression 11-3 Properties of the Least Squares Estimators 11-4.
Reasoning in Psychology Using Statistics
Regression & Correlation. Review: Types of Variables & Steps in Analysis.
Copyright ©2011 Brooks/Cole, Cengage Learning Inference about Simple Regression Chapter 14 1.
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.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Model Building and Model Diagnostics Chapter 15.
Business Statistics for Managerial Decision Farideh Dehkordi-Vakil.
Multiple Regression  Similar to simple regression, but with more than one independent variable R 2 has same interpretation R 2 has same interpretation.
I271B QUANTITATIVE METHODS Regression and Diagnostics.
SIMPLE LINEAR REGRESSION AND CORRELLATION
Lesson 14 - R Chapter 14 Review. Objectives Summarize the chapter Define the vocabulary used Complete all objectives Successfully answer any of the review.
Example x y We wish to check for a non zero correlation.
Lab 4 Multiple Linear Regression. Meaning  An extension of simple linear regression  It models the mean of a response variable as a linear function.
Yandell – Econ 216 Chap 15-1 Chapter 15 Multiple Regression Model Building.
Stats Methods at IC Lecture 3: Regression.
Chapter 20 Linear and Multiple Regression
Inference for Least Squares Lines
11-1 Empirical Models Many problems in engineering and science involve exploring the relationships between two or more variables. Regression analysis.
REGRESSION (R2).
Basic Estimation Techniques
Basic Estimation Techniques
CHAPTER 29: Multiple Regression*
LESSON 24: INFERENCES USING REGRESSION
6-1 Introduction To Empirical Models
Tutorial 8 Table 3.10 on Page 76 shows the scores in the final examination F and the scores in two preliminary examinations P1 and P2 for 22 students in.
Correlation and Regression
Presentation transcript:

Statistical Fridays J C Horrow, MD, MS STAT Clinical Professor, Anesthesiology Drexel University College of Medicine

Previous Session Review Student’s t test. Frequency Data. Chi-square contingency tables.

Session Outline: Regression Regression v. Correlation The regression model Types of regression How to do linear regression Features of well-performed regression How to examine regression data

Regression v. Correlation Correlation: observational data Regression: cause-effect (experimental) –Do not imply a cause-effect relationship with observational data

The regression model SAMPLE: (x i,y i ). –Dependent variable: x. May have >1 –Response variable: y. May have >1 MODEL: y = x +  –where  describes the error  ~ N(0,  2 ). –Models can be very complicated

Types of Regression SIMPLE: one dependent variable MULTIPLE: several dependent variables LINEAR: x variables appear to 1 st power y =  0 +  1 x QUADRATIC: y =  0 +  1 x + +  2 x 2 LOGISTIC: outcome is dichotamous (0,1)

Simple Linear Regression Obtain data pairs (x i,y i ). Plot your data: should look linear. X i measured without error Y i measured with common error  ~ N(0,  2 ). Minimize: S(  0,  1 ) =   2 w.r.t.  0,  1

Simple Linear Regression

Obtain data pairs (x i,y i ). Plot your data: should look linear. X i measured without error Y i measured with common error  ~ N(0,  2 ). Minimize: S(  0,  1 ) =   2 w.r.t.  0,  1

Simple Linear Regression Find minimum by taking derivitives:  S/  0 =0 and  S/  1 =0. Get 2 equations, 2 unknowns. Solve  1 = S xy /S xx where S xy =  (x i y i ) – (  x i )(  y i )/n and S xx =  (x i 2 ) – (  x i ) 2 /n Then  0 = ybar -  1 (xbar)

No relationship !!

Features of well-performed regression Test  1 against 0 (no relationship) Can do this because we know its variance Test assumptions of: –Linearity –Homoschedasticity: Var(  i )=  2 for all i –  i ~ N(0,  2 ) “Plot residuals” (y i – yhat i )

How to Examine Regression Data Check r 2 value –if >0.70, then fit is good –if <0.60, very suspicious Look for “influential” points –Usually at extremes of dependent range

Example of an influential point Slope from –9.9 to –9.0Omit Point

Example of an influential point Slope from –9.9 to –5.2Move Point

Multiple Regression Lots of explanatory variables: –Y = X 1 + X 2 + X 3 + … + X k +  Art as well as science: –All possible regressions (2 k possibilities) –Forward selection –Backward elimination –Stepwise

Multiple Regression Fewer explanatory variables are better Stepwise > Backward > Forward Check final model for common error  2 Best model has smallest error  2 Beware multi-collinearity –Age as surrogate for decr renal function –Weight as surrogate for diabetes mellitus

Logistic Regression Results Outcome variable is an event (yes/no) –Measured as “incidence” Can be simple or multiple Results as p-value and as odds-ratio –O.R.: point estimate and confidence interval –C.I. Includes 1.0  not significant (p=NS)

Odds Ratios v. Hazard Ratios Odds Ratios –Relate to event incidences (%) –Measured variable is occurrence of event (y/n) Hazard Ratios –Relate to event rates (% per time) –Measured variable is time to event: “survival analysis”

Session Review: Regression Regression v. Correlation The regression model Types of regression How to do linear regression Features of well-performed regression How to examine regression data