----------------------------------------------------------------------------- name: log: C:\MyDocs\MPH\LectureNotes\ClassDoLogData\logistic regression\4. > 11.Sepsis.log log type: text opened on: 7 Mar 2010, 11:21:01 . * 4.11.Sepsis.log . * . * Simple logistic regression of mortal status at 30 days (fate) against . * baseline APACHE II score (apache) in a random sample of septic patients . * . use 4.11.Sepsis.dta, clear . summarize fate apache Variable | Obs Mean Std. Dev. Min Max -------------+-------------------------------------------------------- fate | 38 .4473684 .5038966 0 1 apache | 38 19.55263 11.30343 0 41 . glm fate apache, family(binomial) link(logit) Iteration 0: log likelihood = -15.398485 Iteration 1: log likelihood = -14.9578 Iteration 2: log likelihood = -14.956086 Iteration 3: log likelihood = -14.956085 Generalized linear models No. of obs = 3 > 8 Optimization : ML Residual df = 3 > 6 Scale parameter = > 1 Deviance = 29.91217061 (1/df) Deviance = .830893 > 6 --Break-- r(1); end of do-file --Break-- r(1); . exit, clear