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-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

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