The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Calculating interaction patterns from logit coefficients: Interaction between two.

Slides:



Advertisements
Similar presentations
Week 3. Logistic Regression Overview and applications Additional issues Select Inputs Optimize complexity Transforming Inputs.
Advertisements

Simple Logistic Regression
The Chicago Guide to Writing about Multivariate Analysis, 2nd Edition. Planning a speech and designing effective slides Jane E. Miller, PhD.
Ch 3.4: Repeated Roots; Reduction of Order
Ch 3.5: Repeated Roots; Reduction of Order
Solving Systems of three equations with three variables Using substitution or elimination.
Boyce/DiPrima 9th ed, Ch 3.4: Repeated Roots; Reduction of Order Elementary Differential Equations and Boundary Value Problems, 9th edition, by William.
The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Organizing data in tables and charts: Different criteria for different tasks Jane.
Logarithmic specifications Jane E. Miller, PhD The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition.
The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Paper versus speech versus poster: Different formats for communicating research.
The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Creating effective tables and charts Jane E. Miller, PhD.
 2012 Pearson Education, Inc. Slide Chapter 1 The Art of Problem Solving.
Comparing overall goodness of fit across models
The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Calculating the shape of a polynomial from regression coefficients Jane E. Miller,
The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Differentiating between statistical significance and substantive importance Jane.
The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Presenting statistical results to nonstatistical audiences Jane E. Miller, PhD.
The Chicago Guide to Writing about Numbers, 2 nd edition. Summarizing a pattern involving many numbers: Generalization, example, exception (“GEE”) Jane.
The Chicago Guide to Writing about Numbers, 2nd Edition. Explaining an exhibit live: The “Vanna White technique” for describing tables, charts or other.
The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Preparing speaker’s notes and practicing your talk Jane E. Miller, PhD.
The Chicago Guide to Writing about Multivariate Analysis, 2nd Edition. Implementing “generalization, example, exception”: Behind-the-scenes work for summarizing.
Writing about ratios Jane E. Miller, PhD The Chicago Guide to Writing about Numbers, 2nd Edition.
Non-Homogeneous Equations
The Chicago Guide to Writing about Numbers, 2 nd edition. Basics of writing about numbers: Reporting one number Jane E. Miller, PhD.
Goal: Solve a system of linear equations in two variables by the linear combination method.
The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Writing prose to present results of interactions Jane E. Miller, PhD.
The Chicago Guide to Writing about Numbers, 2 nd edition. Preparing speaker’s notes and practicing your talk Jane E. Miller, PhD.
The Chicago Guide to Writing about Multivariate Analysis, 2nd Edition. Data structure for a discrete-time event history analysis Jane E. Miller, PhD.
Planning how to create the variables you need from the variables you have Jane E. Miller, PhD The Chicago Guide to Writing about Numbers, 2 nd edition.
The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Criteria for choosing a reference category Jane E. Miller, PhD.
Solving Linear Systems of Equations - Substitution Method Recall that to solve the linear system of equations in two variables... we need to find the value.
Choosing tools to present numbers: Tables, charts, and prose Jane E. Miller, PhD The Chicago Guide to Writing about Numbers, 2nd Edition.
The Chicago Guide to Writing about Numbers, 2nd Edition. Planning a speech and designing effective slides Jane E. Miller, PhD.
The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Defining the Goldilocks problem Jane E. Miller, PhD.
The Chicago Guide to Writing about Multivariate Analysis, 2nd Edition. Conducting post-hoc tests of compound coefficients using simple slopes for a categorical.
The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Interpreting multivariate OLS and logit coefficients Jane E. Miller, PhD.
Standardized coefficients Jane E. Miller, PhD The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition.
The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Choosing tools to present numbers: Tables, charts, and prose Jane E. Miller, PhD.
The Chicago Guide to Writing about Numbers, 2 nd edition. Choosing a comparison group Jane E. Miller, PhD.
The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Resolving the Goldilocks problem: Variables and measurement Jane E. Miller, PhD.
The Chicago Guide to Writing about Numbers, 2 nd edition. Presenting statistical results to nonstatistical audiences Jane E. Miller, PhD.
By looking at a graph, name the three types of solutions that you can have in a system of equations. Groupwork graded Groupwork worksheet 1-14 Work on.
Introduction to testing statistical significance of interactions Jane E. Miller, PhD The Chicago Guide to Writing about Multivariate Analysis, 2nd Edition.
Testing statistical significance of differences between coefficients Jane E. Miller, PhD The Chicago Guide to Writing about Multivariate Analysis, 2nd.
The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Visualizing shapes of interaction patterns between two categorical independent.
The Chicago Guide to Writing about Multivariate Analysis, 2nd Edition. Conducting post-hoc tests of compound coefficients using simple slopes for a categorical.
The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Visualizing shapes of interaction patterns with continuous independent variables.
Math 3120 Differential Equations with Boundary Value Problems
The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Resolving the Goldilocks problem: Presenting results Jane E. Miller, PhD.
The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Creating charts to present interactions Jane E. Miller, PhD.
Approaches to testing statistical significance of interactions Jane E. Miller, PhD The Chicago Guide to Writing about Multivariate Analysis, 2nd Edition.
Solving a System of Equations in Two Variables By Substitution Chapter 8.2.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 3 – Slide 1 of 27 Chapter 11 Section 3 Inference about Two Population Proportions.
The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Resolving the Goldilocks problem: Model specification Jane E. Miller, PhD.
The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Calculating interaction effects from OLS coefficients: Interaction between 1 categorical.
Overview of categorical by categorical interactions: Part I: Concepts, definitions, and shapes Interactions in regression models occur when the association.
Calculating interaction effects from OLS coefficients: Interaction between two categorical independent variables Jane E. Miller, PhD As discussed in the.
Solve Systems of Equations by Elimination
Using alternative reference categories to test statistical significance of an interaction This podcast is the last in the series on testing statistical.
Solving Systems Using Substitution
Solve an equation by multiplying by a reciprocal
Creating variables and specifying models to test for interactions between two categorical independent variables This lecture is the third in the series.
Solving Systems of Equations by Substitution
Systems of Equations Solve by Graphing.
Introduction to interactions in regression models: Concepts and equations Jane E. Miller, PhD Interactions in regression models occur when the association.
Overview of categorical by continuous interactions: Part II: Variables, specifications, and calculations Interactions in regression models occur when.
Testing whether a multivariate specification can be simplified
Solving Systems of Linear Equations by Elimination
Presentation transcript:

The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Calculating interaction patterns from logit coefficients: Interaction between two categorical independent variables Jane E. Miller, PhD

The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Overview Logic for calculating overall interaction patterns from coefficients Review: Metric of logit coefficients Two approaches to calculating odds ratio for an interaction Before watching this podcast, watch the podcast on calculating categorical by categorical interaction from OLS coefficients for diagrams and detailed explanation.

The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Model specification with interactions: race and education Logit(LBW) = f (race, education, race_education) – LBW = low birth weight: <2,500 grams – The log-odds of low birth weight are specified as a function of race, education, and the race-by-education interaction. To specify the model, need ALL of the main effects and interaction term variables related to race and mother’s education Logit(LBW) = f (NHB, <HS, =HS, NHB_<HS, NHB_=HS)

The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Interaction patterns from logit βs The logic for calculating overall interaction patterns based on logit coefficients is the same as for OLS: – For cases in the reference category for one but not both of the IVs involved in the interaction: One β (the coefficient on a main effect term) – For cases NOT in the reference category for either variable: Three β s (those on two main effects terms and the interaction term)

The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Example calculation for an interaction from a logit model Suppose we have the following estimated coefficients from a logit model of low birth weight: β NHB = 0.68; β <HS = 0.60; β <HS_NHB = –0.45 Recall that coefficients from logit models are in the metric of ln(relative odds)

The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Calculating the net effect of the interaction from logit coefficients From the βs, we can calculate the odds ratio for a given group compared to the reference category either by 1. Summing the coefficients on the pertinent main effects and interaction terms, which are in the metric of log-relative odds. Then exponentiating that sum to calculate the odds ratio. or 2. Exponentiating each of the main effects and interaction term coefficients separately. Then calculating the product of the resulting odds ratios.

The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Exponentiating the sum of the logit βs on main effects and interaction General equation for the odds ratio involving main effects and interaction terms: e (βNHB + β<HS + β[<HS_NHB]) Substituting the estimated βs from the logit model and solving: = e ( [–0.45]) = e (–0.84) = 2.29 Thus, non-Hispanic black infants born to mothers with HS (the reference category).

The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Calculating the product of the odds ratios on main effects and interaction terms General equation for the odds ratio involving main effects and interaction terms: e βNHB × e β<HS × e β[<HS_NHB] Substituting the βs from the logit model and solving: e 0.68 × e 0.60 × e (–0.45) = 1.98  1.81  0.64 = 2.29

The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Both approaches yield same solution Note that the solution is the same regardless of which approach we use to calculate the OR based on the combination of pertinent main effects and interaction coefficients. – Exponentiating the sum of the main effect and interaction βs: e ( [–0.45]) = e (–0.84) = 2.29 – Multiplying the odds ratios for the main effects and interaction terms: e 0.68 × e 0.60 × e (–0.45) = 1.98  1.81  0.64 = 2.29

The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Use a spreadsheet to calculate the interaction pattern Spreadsheets can – Store The estimated logit coefficients The input values of the independent variables The correct generalized formula to calculate odds ratios of the outcome for combinations of the IVs involved in the interaction – Graph the overall pattern See spreadsheet template and voice-over explanation

The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Summary The logic for calculating overall interaction patterns based on logit coefficients is the same as for OLS in terms of number and type of terms involved in the specification. Odds ratios can be computed from the logit coefficients either by – Exponentiating the sum of pertinent βs, – Or calculating the product of the pertinent odds ratios for each of the three terms.

The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Suggested resources Chapters 9 and 16 of Miller, J.E The Chicago Guide to Writing about Multivariate Analysis, 2nd Edition. Podcasts on – Interpreting multivariate coefficients – Calculating interaction patterns from OLS coefficients for 2 categorical independent variables Spreadsheet for calculating the pattern for a categorical by categorical interaction.

The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Suggested practice exercises Study guide to The Chicago Guide to Writing about Multivariate Analysis, 2nd Edition. – Problem set for Chapter 16 – Suggested course extensions for Chapter 16 “Reviewing” exercises.

The Chicago Guide to Writing about Multivariate Analysis, 2 nd edition. Contact information Jane E. Miller, PhD Online materials available at