Logistic Regression, Prediction and ROC

Roc curv e to get the roc curve you need to install

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Y! peitdgm.usml,1 enies(rdtts$ = rdce.l1otape , 0) ) # 006 #1 .8 It is the same as: https://blackboar d.uc.edu/bbcswebdav/pid- 9566224- dt- content- r id- 55868231_2/cour ses/14SS_BANA7046002/notes%284%29.html 6/15 2/17/2014 Log istic Reg r ession, Pr ediction and ROC gm.usml.ood < peitcei.l1 cei.et l1otapelgds - rdc(rdtgm, rdtts) peitdgm.usml < epgm.usml.ood)( rdce.l1otape - x(l1otapelgds/1 +epgm.usml.ood) > x(l1otapelgds) 02 . peitdgm.usml < rdce.l1otape a.uei(rdce.l1otape snmrcpeitdgm.usml) tbecei.etY peitdgm.usml,dn= al(rdtts$, rdce.l1otape n c"rt" "rdce") (Tuh, Peitd) ma(flecei.etY! peitdgm.usml,1 enies(rdtts$ = rdce.l1otape , 0) ) It is usually the case that your out-of-sample prediction error rate is higher than in-sample error rate. ROC Curv e To get the ROC curve you need to install the verification library. isalpcae(vrfcto" ntl.akgs"eiiain) To plot the ROC curve, the first argument of roc.plot is the vector with actual values “A binary observation (c...
View Full Document

This document was uploaded on 03/18/2014.

Ask a homework question - tutors are online