BookmarkSubscribeRSS Feed
andreas_zaras
Pyrite | Level 9

Hello!

 

I ran a logistic regression model in SAS VDMML in SA Viya for Learners but i could not find any ouput related to the Odds Ratios (like it was in SAS EM). Is this output missing only form SAS Viya for Learners and exists in the professional version of SAS Viya? It will be included in future versions of SAS VDMML - Viya for Learners? Can we produce it easily through the pipeline with maybe a piece of code?

 

Thanks in advance,

 

Andreas

2 REPLIES 2
sbxkoenk
SAS Super FREQ

Hello,

 

As far as I remember, the odds ratios are indeed not part of the Results

returned by the Logistic Regression node in SAS VDMML.


For the odds ratios you can run the (winning | selected) model in a code node using :

  • PROC GENMOD (SAS/STAT)
  • PROC LOGISTIC (SAS/STAT)
  • PROC LOGSELECT (Visual Statistics)
  • PROC CATMOD (SAS/STAT)
  • PROC GLIMMIX (SAS/STAT)
  • PROC GENSELECT (and HPGENSELECT Procedure)

I think VDMML is using PROC CAS statements using the logistic action in the regression action set to fit a logistic model to your data.

proc cas;
   regression.logistic

Good luck,

Koen

andreas_zaras
Pyrite | Level 9
Hi!

Thanks for your answer!

Let us say that i have a pipeline with the following nodes: Data--> Imputation--> logistic regression-->SAS code
What sas code should i write to the SAS code node so as to get the odds ratios from the model fevelopped in the logistic regression node?

Thanks in advance,

Andreas

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
  • 496 views
  • 1 like
  • 2 in conversation