Hello!
Let us assume that we have an ordinal predictor and we want to run a linear or a logistc regression in VDMML. How does SAS VDMML handles the ordinal predictor e.g. as interval or using a dummy coding e.g. stairwise coding?
Thanks in advance,
Andreas
From the SAS 9.4 M7 help :
For bathtub coding, see here :
SAS® Enterprise Miner™ 15.2: Reference Help
Neural Network Node: Reference
https://go.documentation.sas.com/doc/en/emref/15.2/p0zbgj1tu3h1uhn1x6regixbdg7v.htm
CTRL-F : bathtub coding
Cheers,
Koen
Hello @andreas_zaras ,
Any idea which procedures you are talking about?
An ordinal predictor should be put in the CLASS statement, such that it is considered as a discrete | categorical input. It should NOT be entered into the model as an interval-scaled input!
For ordinal inputs, SAS supports bathtub coding and THERMOMETER (cumulative parameterization) coding. I think bathtub coding is only supported when constructing the input layer in a neural network.
I do not know about "stairwise coding" but you can make a little macro for it.
Cheers,
Koen
From the SAS 9.4 M7 help :
For bathtub coding, see here :
SAS® Enterprise Miner™ 15.2: Reference Help
Neural Network Node: Reference
https://go.documentation.sas.com/doc/en/emref/15.2/p0zbgj1tu3h1uhn1x6regixbdg7v.htm
CTRL-F : bathtub coding
Cheers,
Koen
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
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.