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.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 1201 views
  • 0 likes
  • 2 in conversation