Displaying 1 result from an estimated 1 matches for "targlevel".
Did you mean:
aglevel
2012 May 24
1
Issues while using “lift.chart” and “adjProbScore” function from ”BCA” library
...Sample == "Estimation",]
#Fit glm model with formula written as text
CCS.glm <- glm(MonthGive ~ DonPerYear + LastDonAmt + Region + YearsGive,
family=binomial(logit), data=CCSEst)
CCSVal <- CCS[CCS$Sample == "Validation",]
lift.chart(c("CCS.glm"), data=CCSVal, targLevel="Yes",
trueResp=0.01, type="incremental", sub="Validation")
#Fit glm model with formula passed as formula object
fm <- as.formula("MonthGive ~ DonPerYear + LastDonAmt + Region + YearsGive")
CCS.glm12 <- glm(fm,family=binomial(logit), data=CCSEst)
l...