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.

Choosing reference groups

Choosing reference groups - SAS Tutorial

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

Start my 1-month free trial

Choosing reference groups

- I realize that choosing reference groups for your independent variables in your regression model is something you have to do in both linear and logistic regression. But before we continue, I just wanted to let you know how you can change the reference groups for the estimates from your models. In linear regression, if you have a binary independent variable like DIABFLAG then the slope that comes out on the output is for the movement of the x variable from x equals zero to x equals one. For DIABFLAG that means going from no diabetes to having diabetes. If we had the output for linear regression, and we saw that slope, if we wanted to know the slope for the opposite direction going from having diabetes to no diabetes we could just flip the sign on the slope. You can also do this with logistic regression output. You can recalculate odds ratios with different reference groups after running the regression. I'll show you how in this movie. But of course you are limited to the levels you…

Contents