Building models with SAS Enterprise Miner, SAS Factory Miner, SAS Visual Data Mining and Machine Learning or just with programming

Changing the event of the target variable in logistic regression in SAS Miner

Reply
Contributor RVA
Contributor
Posts: 21

Changing the event of the target variable in logistic regression in SAS Miner

I was running logistic regression using SAS Miner.  My target variable had two values--"FAIL" and "PASS".  "PASS" was automatically chosen as the event.  However, I wanted to use "FAIL" as the event instead.  I was looking around, but could not find a way to select "FAIL" as the event.  Does anyone know how to?  Thank you in advance.

SAS Super FREQ
Posts: 272

Re: Changing the event of the target variable in logistic regression in SAS Miner

You can change the Order for your target variable to Ascending (by default, it is Descending, and picks the first level after sorting according to the Order) either back in the Variables editor of the Input Data node, or you can add a Metadata node to your flow to make the change.

Contributor RVA
Contributor
Posts: 21

Re: Changing the event of the target variable in logistic regression in SAS Miner

Thank you, Wendy.  I have an unrelated question.  Do you happen to know how I an add a "sticky note" to a SAS Miner diagram?  I wanted to save a note of a few things related to the diagram, but did not know how to.  Thank you.

SAS Super FREQ
Posts: 272

Re: Changing the event of the target variable in logistic regression in SAS Miner

No sticky notes unfortunately, but you can add notes to either a diagram or an individual node... there is a Notes property in the property panel when either a node or the diagram is selected that opens a window where you can enter and save notes.

Ask a Question
Discussion stats
  • 3 replies
  • 292 views
  • 0 likes
  • 2 in conversation