BookmarkSubscribeRSS Feed
troopon
Calcite | Level 5

Hi

I am looking at building a model in EM on a large number of variables many of which are categorical . It is using survey response answers

to try and find the most important aspects of the service we provide to predict likelihood to recommend us.

I am looking at two ways to narrow down the choice of variables before running a regression model node.

Firstly I interactively use a decision tree node so that I can see all the variables ranked by logworth.

Secondly I run a separate path into a variable selection node. Both decision tree and variable selection run from the same

data partition and replacement nodes.

The results seem to differ massively though. For the top one or two variables the two methods agree but the variable selection node

shows me variables ranked near the top that the decision tree tells me is irrelevant and vice versa.

I don't really know much about the variable selection but I have selected it to use chi squared as a measurement and used a 95% confidence level.

(minimum chi squared of 3.84)

Is there a reason the two would give me such different answers? Which should I trust?

1 REPLY 1
M_Maldonado
Barite | Level 11

Hey @troopon did you figure this out?

Also, take a look at .

Best,

-Miguel

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
  • 1 reply
  • 822 views
  • 0 likes
  • 2 in conversation