BookmarkSubscribeRSS Feed
4 REPLIES 4
PaigeMiller
Diamond | Level 26

Confounding usually refers to the X variables only. You can assess it using PROC REG (and many other procedures) with a fake continuous Y variable. VIF and similar measures are what you want.

--
Paige Miller
KKIND
Obsidian | Level 7

@PaigeMiller, thank you very much! What I am trying is running a code with the DV and the primary IV and then running it again adding the variable I am assessing for confounding and checking for the difference in estimates output table. Is difference more than 10% then the variable is a confounder. Does that make sense or do I just look at the p value by running the code  DV= IV and the variable, and if significant, consider it a confounder? Thanks!

PaigeMiller
Diamond | Level 26

@KKIND wrote:

@PaigeMiller, thank you very much! What I am trying is running a code with the DV and the primary IV and then running it again adding the variable I am assessing for confounding and checking for the difference in estimates output table. Is difference more than 10% then the variable is a confounder. Does that make sense or do I just look at the p value by running the code  DV= IV and the variable, and if significant, consider it a confounder? Thanks!


This should have been explained in your original message. Instead you make me guess at what you want, and waste my time.

 

I will stick with my original answer, I feel that is a better way to address confounding than your 10% method.

--
Paige Miller
KKIND
Obsidian | Level 7

@PaigeMiller, apologies for having wasted your time. Thanks again.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1020 views
  • 0 likes
  • 2 in conversation