Building models with SAS Enterprise Miner, SAS Factory Miner, SAS Visual Data Mining and Machine Learning or just with programming

Correlations between target and input variables

Reply
Contributor
Posts: 65

Correlations between target and input variables

hello

i am suspicious that some of my inputs are nearly same with my target variable. Because in desicion tree process these inputs receives considerably high logworth stats.

do you know how can i check correlations between my target and inputs?

Super Contributor
Posts: 336

Re: Correlations between target and input variables

Hi Omer,

I think what you need is to calculate VIF to assess multicollinearity. HPReg node this automatically for you. If you are working with an older EM version you can also write some code for proc reg. See https://communities.sas.com/message/188233

Since you are talking about trees, they are useful to detect 2-way interactions. After your first split, what variable is selected for the largest tree of maximum depth 2?

Do you get similar results from both VIF and a tree to detect 2-way interactions?

I hope that helps,

Miguel

Contributor
Posts: 65

Re: Correlations between target and input variables

Hi Miguel

unfortunately i am working with a sas miner screen without a hpreG node. On the other i dont know how to write code in saas miner. By the way i have read the message you metioned

SAS Super FREQ
Posts: 269

Re: Correlations between target and input variables

You can use the StatExplore node (on the Explore tab) to calculate correlations between an interval target and interval inputs.

Contributor
Posts: 65

Re: Correlations between target and input variables

Thanks Wendy

but i have a binary target variable is it also applicable for this kind of errors too

SAS Super FREQ
Posts: 269

Re: Correlations between target and input variables

Yes in that case you can use the Chi-Square Statistic reported in StatExplore.  Usually it is used in the opposite way though - you want to keep the inputs associated with the target Smiley Happy 

Ask a Question
Discussion stats
  • 5 replies
  • 789 views
  • 3 likes
  • 3 in conversation