search for: monthgive

Displaying 1 result from an estimated 1 matches for "monthgive".

2012 May 24
1
Issues while using “lift.chart” and “adjProbScore” function from ”BCA” library
...ject as derived. Below is the sample code, taken from the package document to illustrate the issues library(BCA) data(CCS) CCS$Sample <- create.samples(CCS, est=0.4, val=0.4) CCSEst <- CCS[CCS$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 g...