From the course: SAS Essential Training: 2 Regression Analysis for Healthcare Research

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Interactions in logistic regression

Interactions in logistic regression - SAS Tutorial

From the course: SAS Essential Training: 2 Regression Analysis for Healthcare Research

Start my 1-month free trial

Interactions in logistic regression

- [Instructor] Now, we will see what an interaction looks like in logistic regression. Please notice that I have opened the exercise file for this movie named seven zero five underscore add interaction to logistic regression model. For now, please overlook all these comments. I'll review them in the last movie in this chapter, where I talk about using the negative two log likelihood for model fit. Instead, please look at this model statement. It looks familiar to you, right? Sure, it does. It's our final logistic regression model. Actually, you might be kind of sick of it by now, but as you probably guessed, I'm going to show you how to spice it up with an interaction term. And again, since smoker ended up in our final logistic regression model, I thought I'd do the same interaction between DIABFLAG and smoker, only for this model, which is predicting the odds of asthma. Let's do like we did last time and start by running the final model without the interaction. Let's highlight this…

Contents