Hi,
I have a logit model built in R  which I am trying to validate . Could you please help me with creating lift charts  and area under ROC for the same. I am trying to use package ROCR
The indicative code for this is :
newlogit3<- glm(Attrition_ind ~ Time.in.AXP+ Age
            +as.factor(Increase.in.Rating.in.Current.year)
      +as.factor(Below.Market.Merit.Budget)+as.factor(Drop.in.AIA)
      ,family=binomial(link="logit"),data=Attrition_data_2)
summary(newlogit3)
to predict I have a have used the code
Test_data_1011 <- read.csv(file="TEST DATA_10_11.csv", header = TRUE, sep = ",", row.names = "employee_id", stringsAsFactors = TRUE)
pred3 = predict(newlogit3,Test_data_1011 ,type = "response")

Warm regards,
Dwaipayan




American Express made the following annotations on Tue Jun 12 2012 05:44:05 

****************************************************************************** 

"This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you." 

American Express a ajouté le commentaire suivant le Tue Jun 12 2012 05:44:05 

Ce courrier et toute pièce jointe qu'il contient sont réservés au seul destinataire indiqué et peuvent renfermer des renseignements confidentiels et privilégiés. Si vous n'êtes pas le destinataire prévu, toute divulgation, duplication, utilisation ou distribution du courrier ou de toute pièce jointe est interdite. Si vous avez reçu cette communication par erreur, veuillez nous en aviser par courrier et détruire immédiatement le courrier et les pièces jointes. Merci. 

****************************************************************************** 
-------------------------------------------------------------------------------


	[[alternative HTML version deleted]]

