New SAS User

Completely new to SAS or trying something new with SAS? Post here for help getting started.
BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
bbarbour1
Calcite | Level 5

I have been attempting to build a predictive model that will target a binary variable.  When I start the model, I upload the data and select my target variable.  At this point, I must specify the target event level.  When I go to choose the event level I want, the save button is greyed out and unavailable.  The target I am attempting to define represents 4.72% of the data, so I thought maybe SAS didn't like how rare of an event that was.  I adjusted my target variable so that the desired event level was 13%, and the save button is still unavailable.  Is there a setting that I am forgetting to check?

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

Is it greyed out after you have set the target level? In many places "save" only makes sense after something has been done.

 

Since this is a question involving the interface itself you should include a screenshot of the screen in question.

 

We don't have any of your data or even which specific type of model you might be attempting so more information is likely needed.

 

Sometimes behaviors like this may come because the selected variable is not the type expected for the specific action, i.e. the values are character and SAS expects the variable to be numeric.

View solution in original post

3 REPLIES 3
ballardw
Super User

Is it greyed out after you have set the target level? In many places "save" only makes sense after something has been done.

 

Since this is a question involving the interface itself you should include a screenshot of the screen in question.

 

We don't have any of your data or even which specific type of model you might be attempting so more information is likely needed.

 

Sometimes behaviors like this may come because the selected variable is not the type expected for the specific action, i.e. the values are character and SAS expects the variable to be numeric.

bbarbour1
Calcite | Level 5

The data type is labeled Character.  The variable consists of either a condition called SubOrAbove, and the other is BelowSub.  These choices were truncated from 7 different options, all of which were originally characters, or strings I guess.  I had to create a new category called DamageCat in SAS Explore and Visualize, export the new table into excel, and then import the new table for this model because SAS does not allow me to adjust the target variable once it is set.

error2.PNG

error1.PNG

These screenshots were taken immediately after clicking on the "Specify the Target Event Level" button.  Will a screenshot of the entire screen help?

bbarbour1
Calcite | Level 5

I'm starting to think that the software automatically chose the level I wanted, so I can't save anything because I haven't changed the level.  I have always needed to adjust the level on other projects, so I thought that was a required step for building models.  I guess if the selection is already in the box, then its selected.  That's frustrating.

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1067 views
  • 0 likes
  • 2 in conversation