03-31-2016 04:18 PM - edited 03-31-2016 05:02 PM
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.
04-01-2016 11:51 AM
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.
04-01-2016 12:14 PM
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.