Skip to content

Commit

Permalink
add logistic regression
Browse files Browse the repository at this point in the history
  • Loading branch information
hzhao16 authored Apr 5, 2017
1 parent 583c393 commit f604e2f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions logistic.sas
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
data Data1;
input disease n age;
datalines;
0 14 25
0 20 35
0 19 45
7 18 55
6 12 65
17 17 75
;

ods graphics on;
proc logistic data=Data1 plots(only)=(roc(id=obs) effect);
model disease/n=age;
run;
ods graphics off;

0 comments on commit f604e2f

Please sign in to comment.