1 / 4

Day 9

Day 9. Logistic Regression. logit versus logistic. logit true test logistic true test logistic true test age. Logistic functions. lstat lroc lsens. Fitted Probabilities. predict p0 if test==0 predict p1 if test==1 sort age graph p0 p1 true age, c(ll.) s(ii.) ylab xlab l1(“P”)

patrickk
Download Presentation

Day 9

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Day 9 Logistic Regression

  2. logit versus logistic • logit true test • logistic true test • logistic true test age

  3. Logistic functions • lstat • lroc • lsens

  4. Fitted Probabilities • predict p0 if test==0 • predict p1 if test==1 • sort age • graph p0 p1 true age, c(ll.) s(ii.) ylab xlab l1(“P”) • predict xb0 if test==0, xb • predict xb1 if test==1, xb • graph xb0 xb1 age, c(ll) s(ii) ylab xlab l1(“Logit(p)=B0 + B1age”)

More Related