BookmarkSubscribeRSS Feed
PICKME
Calcite | Level 5

4.PNG

data set.

JID=ID(Interval)  , x7_1= age group(1=old,0=young) , AY~AB is disease (1=infection,0=uninfection) (x7_1,AY~AB is BINARY) 

i want to know the association of variables which is disease name using the hpbnet of EM.

can I know a network in diseases using bayesian network node?

But I know nothing from seting data(ex. what is the TARGET variable?) and what should I choose which bayesian network.

 2.PNG

 

SO, what I want is first, which bayesian network (NAIVE, BAN, TAN) shoud I use?

secend, if I wanna know network in disease, how can I set the data?(significance level, network model, maximum parents, number of bins)

 

2 REPLIES 2
JasonXin
SAS Employee

Hi, 

 

EM treats variable you specified as TARGET as nominal. It does not care whether the variable is numeric or character type. So you may need to pick a variable that does not have too many categories. Normally you get the idea which variable should be the target from your 'business'. Since your goal, as indicated in your question, appears to find association, not to predict, I would say just use EM to test several different non-interval variables, to see which association finding makes more sense to you. 

 

if you set Automatic Model Selection =YES, EM will select the 'best' network for you. As a starter, it often is sufficient for network selection. Since you are running HPDM GUI, you are entitled to have access to HPDM procedure documentation, in addition to accessing from within the EM product (Help Menu --> Contents). The within-product access is not bad, but it mixes with EM operation instructions.

 

Once you get access to HPDM procedure document, Examples 5.1 to 5.6 under HPBNET should pretty much answer all you questions, except which one should be your target variable (that really is a business question, not technical question). Hope this helps? Thank you for using SAS. 

 

Best Regards

Jason Xin

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1232 views
  • 0 likes
  • 3 in conversation