Title1 "Empirical Logit against Binned &var" Output out=work.bins sum(par)=par mean(&var)=&var Proc rank data = want groups=100 out=work.ranks This is the code I have so far: data want Then, I would run a PROC MEANS procedure to produce the number of target event cases (where par=1), and the number of total cases in each bin. To compute the empirical logit, my understanding is that you have to bin your continuous variable. First off, I'm having trouble trying to find the exact syntax of how to produce these plots (I'm using SAS University edition so I think I can't use macros?). I understand that one way to visualize this is through an empirical logit plot. I'm trying to asses non-linearity between a continuous predictor (fer) and the logit of a binary outcome variable (par).
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |