As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


Difference between revisions of "Tips:Predicting events and not non-events in PROC LOGISTIC"

From sasCommunity
Jump to: navigation, search
(gardening)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
The default coding in PROC LOGISTIC often shows the probability of the 'wrong' outcome. This can be avoided by using, e.g.,  
 
The default coding in PROC LOGISTIC often shows the probability of the 'wrong' outcome. This can be avoided by using, e.g.,  
  
(event = '1')
+
(event = '1')
  
after the dependent variable in the MODEL statement.
+
after the dependent variable in the MODEL [[statement]].
  
  
 
{{SubmittedBy|Peter L. Flom}}
 
{{SubmittedBy|Peter L. Flom}}
  
{{ExternalReadMore|http://www.nesug.org/proceedings/nesug08/sa/sa09.pdf}}
+
{{WikiReadMore|PROC LOGISTIC: Traps for the unwary}}
  
 
<noinclude>
 
<noinclude>
 
[[Category:Analytics and Modeling]]
 
[[Category:Analytics and Modeling]]
[[Category:LOGISTIC]]
+
[[Category:LOGISTIC Procedure]]
[[Category:Tip Ready]]
+
[[Category:Tip in Use]]
 
</noinclude>
 
</noinclude>

Latest revision as of 14:11, 22 September 2017

The default coding in PROC LOGISTIC often shows the probability of the 'wrong' outcome. This can be avoided by using, e.g.,

(event = '1')

after the dependent variable in the MODEL statement.


Submitted by Peter L. Flom. Contact me at my Discussion Page.

....read more