linear regression

19
© 2012 by HealthCare Quality Improvement Solutions, LLC HealthCare Quality Improvement Solutions

Upload: robert-sutter

Post on 26-Jun-2015

483 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Linear Regression

© 2012 by HealthCare Quality Improvement Solutions, LLC

HealthCare Quality Improvement Solutions

Page 2: Linear Regression

© 2012 by HealthCare Quality Improvement Solutions, LLC

• The t-Test and Mann-Whitney Test are univariate methods

Analyze one factor at a time

The effect of all factors simultaneously is not revealed

Limits understanding of the underlying process generating performance

• Multivariate analysis

Analyzes multiple factors simultaneously

Provides a more comprehensive understanding of the underlying process generating performance

2

Page 3: Linear Regression

© 2012 by HealthCare Quality Improvement Solutions, LLC

3

0

0.05

0.1

0.15

0.2

0.25

0.3

0.35

0.4

t-test Multiple Linear Regression

P-Value

Average Time to Primary PCI

RACE C_ARRIVAL_SHIFT m_ecg_lbb a_cardiology_consult

Page 4: Linear Regression

© 2012 by HealthCare Quality Improvement Solutions, LLC

• Answers the question about whether the averages of a multi-category (more than two) factor or multiple factors are significantly different For example, if ethnicity is a factor thought to effect Door-

to-Balloon time in AMI patients The question could be formulated as:

– Is there a significant difference in average Door-to-Balloon time between caucasian, hispanic and asian ethnic groups?

• Multiple Linear Regression is used to answer this question by testing the hypotheses: H0: None of the comparisons are statistically significant

HA: At least one comparison is statistically significant And producing a P-Value for the tests

4

Page 5: Linear Regression

© 2012 by HealthCare Quality Improvement Solutions, LLC

• Questions can also be answered that involve multiple factors For example, a question could be formulated as:

– Is there a significant difference in average AMI fibrinolytic administration time among the following factors:

» Chest Pain,

» Hx Stroke,

» LBB,

» Hx Hypertension,

» Gender,

» Age,

» Day-of-Week,

» Shift?

5

Page 6: Linear Regression

© 2012 by HealthCare Quality Improvement Solutions, LLC

6

• Data type required: Response Variable

Continuous – Data that can assume any numerical value over a range of values – For example:

» Pneumonia Antibiotic Timing can be measured in:

Hours Minutes Seconds

Explanatory Variable Continuous variables can be used, but the focus of this module is on

using categorical variables Categorical

– Data that can be assigned to a group » For example:

Sex – male or female Ethnicity– Caucasian, African American, Asian

Page 7: Linear Regression

© 2012 by HealthCare Quality Improvement Solutions, LLC

• Question:

Is there a significant difference in average Pneumonia Antibiotic Timing among the following factors:

Arrival shift ,

Emergent admission type?

• Null & Alternate Hypotheses:

H0: None of the comparisons are statistically significant

HA: At least one comparison is statistically significant

• Level of Significance:

0.05

7

Page 8: Linear Regression

© 2012 by HealthCare Quality Improvement Solutions, LLC

8

Page 9: Linear Regression

© 2012 by HealthCare Quality Improvement Solutions, LLC

• This portion of the output depicts the P-Value associated with the Null & Alternate Hypotheses:

H0: None of the comparisons are statistically significant

HA: At least one comparison is statistically significant

• Level of Significance:

0.05

9

Page 10: Linear Regression

© 2012 by HealthCare Quality Improvement Solutions, LLC

10

Regression

Coefficients

t-Test

P-Value

Potential Factors (AKA, explanatory

variables)

Page 11: Linear Regression

© 2012 by HealthCare Quality Improvement Solutions, LLC

11

• The regression coefficients represent the effect of the explanatory variable on the average of the response variable; While holding the other explanatory variables constant.

• A negative coefficient indicates a reduction in the response variable

• A positive coefficient indicates an increase in the response variable

Page 12: Linear Regression

© 2012 by HealthCare Quality Improvement Solutions, LLC

12

• Interpretation of the Regression Coefficient depends on the format of the explanatory variable:

Explanatory variables that are binary (recorded as 0 and 1);

The Regression Coefficient represents the effect on the average of the response variable when the explanatory variable is 1 compared to when the explanatory variable is 0.

– For example: Pneumonia patients with an Emergency Admission receive the initial antibiotic on average 14.3 minutes faster than patients who are not an Emergency Admission.

Page 13: Linear Regression

© 2012 by HealthCare Quality Improvement Solutions, LLC

13

Explanatory variables that are recorded as indicator variables:

The Regression Coefficient represents the effect on the average of the response variable when the explanatory variable is 1 compared to the reference category.

For example:

Pneumonia patients that arrive on the evening shift (..Shift_2) receive the initial antibiotic on average 24.5 minutes slower than patients arriving on the day shift.

Pneumonia patients that arrive on the night shift (..Shift_3) receive the initial antibiotic on average 14.5 minutes slower than patients arriving on the day shift.

Page 14: Linear Regression

© 2012 by HealthCare Quality Improvement Solutions, LLC

14

• The P-Values are the result of conducting a t-Test on each explanatory variable

• What are the null and alternate hypotheses?

C_ADMISSION_TYPE_EMERGENCY

H0: emergency average = non-emergency average

HA: emergency average ≠ non-emergency average

C-ARRIVAL_SHIFT_2

H0: evening average = day average

HA: evening average ≠ day average

C-ARRIVAL_SHIFT_3

H0: night average = day average

HA: night average ≠ day average

Note how each indicator explanatory variable is compared to the reference category

Page 15: Linear Regression

© 2012 by HealthCare Quality Improvement Solutions, LLC

15

• What is the answer to the question:

Is there a significant difference in average Pneumonia Antibiotic Timing among the following factors:

Arrival shift ,

Emergent admission type?

• What are the quality improvement implications?

Yes

Page 16: Linear Regression

© 2012 by HealthCare Quality Improvement Solutions, LLC

• Question:

Which of the following factors significantly effect average AMI Time To ECG: Age, Day of Week, ECG Technician, Chest Pain?

• Null & Alternate Hypotheses:

H0: None of the comparisons are statistically significant

HA: At least one comparison is statistically significant

• Level of Significance:

0.05

16

Page 17: Linear Regression

© 2012 by HealthCare Quality Improvement Solutions, LLC

• What is the answer to the question:

Which of the following factors significantly effect average AMI Time To ECG: Age, Day of Week, ECG Technician, Chest Pain?

17

Page 18: Linear Regression

© 2012 by HealthCare Quality Improvement Solutions, LLC

• What are the quality improvement implications?

18

Page 19: Linear Regression

© 2012 by HealthCare Quality Improvement Solutions, LLC

HealthCare Quality Improvement Solutions

Robert Sutter Contact Information

Email: [email protected] Website: https://sites.google.com/site/robertsutterrnmbamha/