Hi all,
I am trying to build a Logistic Regression model using the typical Train-Validate-Test approach for effect selection. In the documentation, proc HpLogistic is supposed to have a Partition statement allowing you to separate your data into three sets, and you can then use Choose=Validate in the Selection statement to choose effects based on the validation error. However, in my version of SAS, I cannot implement the Partition statement--it isn't recognized at all.
I am using SAS 9.4, Enterprise Guide 7.1. It has HpLogistic, but without the Partition option.
Any help on why I cannot use this, and/or how to achieve the same result perhaps using a different SAS procedure, would be greatly appreciated.
SAS doesn't recognize the command "Partition"--instead of turning blue, the text "Partition" remains red. If I try to run the code, I get the error: "Error 180-322: Statement is not valid or it is used out of proper order."
The version of SAS I am using is 9.4_M1.
The editor doesn't always highlight correctly.
Post your code and log. If you made a mistake in your code that would also happen.
We can't help with the information you've provided.
Alright, please find attached my SAS code and the corresponding log.
Thanks!
I got in similar situation is it been solved?
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 25. Read more here about why you should contribute and what is in it for you!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.