Skip to contents

Combined Performance of the Data Splits

Usage

Combined_Performance(Sub.Est.Mdls)

Arguments

Sub.Est.Mdls

is the total perfomance of exog.

Value

The output from Combined_Performance.

Examples

# \donttest{
sample_data <- sample_data[c(1:750),]
yvar <- c("Loan.Type")
xvar <- c("sex", "married", "age", "havejob", "educ", "political.afl",
"rural", "region", "fin.intermdiaries", "fin.knowldge", "income")
CCP.RF <- Estimate_Models(sample_data, yvar, xvec = xvar, exog = "political.afl",
xadd = c("networth", "networth_homequity", "liquid.assets"),
type = "RF", dnames = c("0","1"))
#> + Fold01: mtry= 2 
#> - Fold01: mtry= 2 
#> + Fold01: mtry= 6 
#> - Fold01: mtry= 6 
#> + Fold01: mtry=11 
#> - Fold01: mtry=11 
#> + Fold02: mtry= 2 
#> - Fold02: mtry= 2 
#> + Fold02: mtry= 6 
#> - Fold02: mtry= 6 
#> + Fold02: mtry=11 
#> - Fold02: mtry=11 
#> + Fold03: mtry= 2 
#> - Fold03: mtry= 2 
#> + Fold03: mtry= 6 
#> - Fold03: mtry= 6 
#> + Fold03: mtry=11 
#> - Fold03: mtry=11 
#> + Fold04: mtry= 2 
#> - Fold04: mtry= 2 
#> + Fold04: mtry= 6 
#> - Fold04: mtry= 6 
#> + Fold04: mtry=11 
#> - Fold04: mtry=11 
#> + Fold05: mtry= 2 
#> - Fold05: mtry= 2 
#> + Fold05: mtry= 6 
#> - Fold05: mtry= 6 
#> + Fold05: mtry=11 
#> - Fold05: mtry=11 
#> + Fold06: mtry= 2 
#> - Fold06: mtry= 2 
#> + Fold06: mtry= 6 
#> - Fold06: mtry= 6 
#> + Fold06: mtry=11 
#> - Fold06: mtry=11 
#> + Fold07: mtry= 2 
#> - Fold07: mtry= 2 
#> + Fold07: mtry= 6 
#> - Fold07: mtry= 6 
#> + Fold07: mtry=11 
#> - Fold07: mtry=11 
#> + Fold08: mtry= 2 
#> - Fold08: mtry= 2 
#> + Fold08: mtry= 6 
#> - Fold08: mtry= 6 
#> + Fold08: mtry=11 
#> - Fold08: mtry=11 
#> + Fold09: mtry= 2 
#> - Fold09: mtry= 2 
#> + Fold09: mtry= 6 
#> - Fold09: mtry= 6 
#> + Fold09: mtry=11 
#> - Fold09: mtry=11 
#> + Fold10: mtry= 2 
#> - Fold10: mtry= 2 
#> + Fold10: mtry= 6 
#> - Fold10: mtry= 6 
#> + Fold10: mtry=11 
#> - Fold10: mtry=11 
#> Aggregating results
#> Selecting tuning parameters
#> Fitting mtry = 2 on full training set
#> + Fold01: mtry= 2 
#> - Fold01: mtry= 2 
#> + Fold01: mtry= 6 
#> - Fold01: mtry= 6 
#> + Fold01: mtry=11 
#> - Fold01: mtry=11 
#> + Fold02: mtry= 2 
#> - Fold02: mtry= 2 
#> + Fold02: mtry= 6 
#> - Fold02: mtry= 6 
#> + Fold02: mtry=11 
#> - Fold02: mtry=11 
#> + Fold03: mtry= 2 
#> - Fold03: mtry= 2 
#> + Fold03: mtry= 6 
#> - Fold03: mtry= 6 
#> + Fold03: mtry=11 
#> - Fold03: mtry=11 
#> + Fold04: mtry= 2 
#> - Fold04: mtry= 2 
#> + Fold04: mtry= 6 
#> - Fold04: mtry= 6 
#> + Fold04: mtry=11 
#> - Fold04: mtry=11 
#> + Fold05: mtry= 2 
#> - Fold05: mtry= 2 
#> + Fold05: mtry= 6 
#> - Fold05: mtry= 6 
#> + Fold05: mtry=11 
#> - Fold05: mtry=11 
#> + Fold06: mtry= 2 
#> - Fold06: mtry= 2 
#> + Fold06: mtry= 6 
#> - Fold06: mtry= 6 
#> + Fold06: mtry=11 
#> - Fold06: mtry=11 
#> + Fold07: mtry= 2 
#> - Fold07: mtry= 2 
#> + Fold07: mtry= 6 
#> - Fold07: mtry= 6 
#> + Fold07: mtry=11 
#> - Fold07: mtry=11 
#> + Fold08: mtry= 2 
#> - Fold08: mtry= 2 
#> + Fold08: mtry= 6 
#> - Fold08: mtry= 6 
#> + Fold08: mtry=11 
#> - Fold08: mtry=11 
#> + Fold09: mtry= 2 
#> - Fold09: mtry= 2 
#> + Fold09: mtry= 6 
#> - Fold09: mtry= 6 
#> + Fold09: mtry=11 
#> - Fold09: mtry=11 
#> + Fold10: mtry= 2 
#> - Fold10: mtry= 2 
#> + Fold10: mtry= 6 
#> - Fold10: mtry= 6 
#> + Fold10: mtry=11 
#> - Fold10: mtry=11 
#> Aggregating results
#> Selecting tuning parameters
#> Fitting mtry = 2 on full training set
#> + Fold01: mtry= 2 
#> - Fold01: mtry= 2 
#> + Fold01: mtry= 6 
#> - Fold01: mtry= 6 
#> + Fold01: mtry=11 
#> - Fold01: mtry=11 
#> + Fold02: mtry= 2 
#> - Fold02: mtry= 2 
#> + Fold02: mtry= 6 
#> - Fold02: mtry= 6 
#> + Fold02: mtry=11 
#> - Fold02: mtry=11 
#> + Fold03: mtry= 2 
#> - Fold03: mtry= 2 
#> + Fold03: mtry= 6 
#> - Fold03: mtry= 6 
#> + Fold03: mtry=11 
#> - Fold03: mtry=11 
#> + Fold04: mtry= 2 
#> - Fold04: mtry= 2 
#> + Fold04: mtry= 6 
#> - Fold04: mtry= 6 
#> + Fold04: mtry=11 
#> - Fold04: mtry=11 
#> + Fold05: mtry= 2 
#> - Fold05: mtry= 2 
#> + Fold05: mtry= 6 
#> - Fold05: mtry= 6 
#> + Fold05: mtry=11 
#> - Fold05: mtry=11 
#> + Fold06: mtry= 2 
#> - Fold06: mtry= 2 
#> + Fold06: mtry= 6 
#> - Fold06: mtry= 6 
#> + Fold06: mtry=11 
#> - Fold06: mtry=11 
#> + Fold07: mtry= 2 
#> - Fold07: mtry= 2 
#> + Fold07: mtry= 6 
#> - Fold07: mtry= 6 
#> + Fold07: mtry=11 
#> - Fold07: mtry=11 
#> + Fold08: mtry= 2 
#> - Fold08: mtry= 2 
#> + Fold08: mtry= 6 
#> - Fold08: mtry= 6 
#> + Fold08: mtry=11 
#> - Fold08: mtry=11 
#> + Fold09: mtry= 2 
#> - Fold09: mtry= 2 
#> + Fold09: mtry= 6 
#> - Fold09: mtry= 6 
#> + Fold09: mtry=11 
#> - Fold09: mtry=11 
#> + Fold10: mtry= 2 
#> - Fold10: mtry= 2 
#> + Fold10: mtry= 6 
#> - Fold10: mtry= 6 
#> + Fold10: mtry=11 
#> - Fold10: mtry=11 
#> Aggregating results
#> Selecting tuning parameters
#> Fitting mtry = 6 on full training set
#> + Fold01: mtry= 2 
#> - Fold01: mtry= 2 
#> + Fold01: mtry= 6 
#> - Fold01: mtry= 6 
#> + Fold01: mtry=11 
#> - Fold01: mtry=11 
#> + Fold02: mtry= 2 
#> - Fold02: mtry= 2 
#> + Fold02: mtry= 6 
#> - Fold02: mtry= 6 
#> + Fold02: mtry=11 
#> - Fold02: mtry=11 
#> + Fold03: mtry= 2 
#> - Fold03: mtry= 2 
#> + Fold03: mtry= 6 
#> - Fold03: mtry= 6 
#> + Fold03: mtry=11 
#> - Fold03: mtry=11 
#> + Fold04: mtry= 2 
#> - Fold04: mtry= 2 
#> + Fold04: mtry= 6 
#> - Fold04: mtry= 6 
#> + Fold04: mtry=11 
#> - Fold04: mtry=11 
#> + Fold05: mtry= 2 
#> - Fold05: mtry= 2 
#> + Fold05: mtry= 6 
#> - Fold05: mtry= 6 
#> + Fold05: mtry=11 
#> - Fold05: mtry=11 
#> + Fold06: mtry= 2 
#> - Fold06: mtry= 2 
#> + Fold06: mtry= 6 
#> - Fold06: mtry= 6 
#> + Fold06: mtry=11 
#> - Fold06: mtry=11 
#> + Fold07: mtry= 2 
#> - Fold07: mtry= 2 
#> + Fold07: mtry= 6 
#> - Fold07: mtry= 6 
#> + Fold07: mtry=11 
#> - Fold07: mtry=11 
#> + Fold08: mtry= 2 
#> - Fold08: mtry= 2 
#> + Fold08: mtry= 6 
#> - Fold08: mtry= 6 
#> + Fold08: mtry=11 
#> - Fold08: mtry=11 
#> + Fold09: mtry= 2 
#> - Fold09: mtry= 2 
#> + Fold09: mtry= 6 
#> - Fold09: mtry= 6 
#> + Fold09: mtry=11 
#> - Fold09: mtry=11 
#> + Fold10: mtry= 2 
#> - Fold10: mtry= 2 
#> + Fold10: mtry= 6 
#> - Fold10: mtry= 6 
#> + Fold10: mtry=11 
#> - Fold10: mtry=11 
#> Aggregating results
#> Selecting tuning parameters
#> Fitting mtry = 2 on full training set
#> + Fold01: mtry= 2 
#> - Fold01: mtry= 2 
#> + Fold01: mtry= 6 
#> - Fold01: mtry= 6 
#> + Fold01: mtry=11 
#> - Fold01: mtry=11 
#> + Fold02: mtry= 2 
#> - Fold02: mtry= 2 
#> + Fold02: mtry= 6 
#> - Fold02: mtry= 6 
#> + Fold02: mtry=11 
#> - Fold02: mtry=11 
#> + Fold03: mtry= 2 
#> - Fold03: mtry= 2 
#> + Fold03: mtry= 6 
#> - Fold03: mtry= 6 
#> + Fold03: mtry=11 
#> - Fold03: mtry=11 
#> + Fold04: mtry= 2 
#> - Fold04: mtry= 2 
#> + Fold04: mtry= 6 
#> - Fold04: mtry= 6 
#> + Fold04: mtry=11 
#> - Fold04: mtry=11 
#> + Fold05: mtry= 2 
#> - Fold05: mtry= 2 
#> + Fold05: mtry= 6 
#> - Fold05: mtry= 6 
#> + Fold05: mtry=11 
#> - Fold05: mtry=11 
#> + Fold06: mtry= 2 
#> - Fold06: mtry= 2 
#> + Fold06: mtry= 6 
#> - Fold06: mtry= 6 
#> + Fold06: mtry=11 
#> - Fold06: mtry=11 
#> + Fold07: mtry= 2 
#> - Fold07: mtry= 2 
#> + Fold07: mtry= 6 
#> - Fold07: mtry= 6 
#> + Fold07: mtry=11 
#> - Fold07: mtry=11 
#> + Fold08: mtry= 2 
#> - Fold08: mtry= 2 
#> + Fold08: mtry= 6 
#> - Fold08: mtry= 6 
#> + Fold08: mtry=11 
#> - Fold08: mtry=11 
#> + Fold09: mtry= 2 
#> - Fold09: mtry= 2 
#> + Fold09: mtry= 6 
#> - Fold09: mtry= 6 
#> + Fold09: mtry=11 
#> - Fold09: mtry=11 
#> + Fold10: mtry= 2 
#> - Fold10: mtry= 2 
#> + Fold10: mtry= 6 
#> - Fold10: mtry= 6 
#> + Fold10: mtry=11 
#> - Fold10: mtry=11 
#> Aggregating results
#> Selecting tuning parameters
#> Fitting mtry = 2 on full training set
#> + Fold01: mtry= 2 
#> - Fold01: mtry= 2 
#> + Fold01: mtry= 6 
#> - Fold01: mtry= 6 
#> + Fold01: mtry=11 
#> - Fold01: mtry=11 
#> + Fold02: mtry= 2 
#> - Fold02: mtry= 2 
#> + Fold02: mtry= 6 
#> - Fold02: mtry= 6 
#> + Fold02: mtry=11 
#> - Fold02: mtry=11 
#> + Fold03: mtry= 2 
#> - Fold03: mtry= 2 
#> + Fold03: mtry= 6 
#> - Fold03: mtry= 6 
#> + Fold03: mtry=11 
#> - Fold03: mtry=11 
#> + Fold04: mtry= 2 
#> - Fold04: mtry= 2 
#> + Fold04: mtry= 6 
#> - Fold04: mtry= 6 
#> + Fold04: mtry=11 
#> - Fold04: mtry=11 
#> + Fold05: mtry= 2 
#> - Fold05: mtry= 2 
#> + Fold05: mtry= 6 
#> - Fold05: mtry= 6 
#> + Fold05: mtry=11 
#> - Fold05: mtry=11 
#> + Fold06: mtry= 2 
#> - Fold06: mtry= 2 
#> + Fold06: mtry= 6 
#> - Fold06: mtry= 6 
#> + Fold06: mtry=11 
#> - Fold06: mtry=11 
#> + Fold07: mtry= 2 
#> - Fold07: mtry= 2 
#> + Fold07: mtry= 6 
#> - Fold07: mtry= 6 
#> + Fold07: mtry=11 
#> - Fold07: mtry=11 
#> + Fold08: mtry= 2 
#> - Fold08: mtry= 2 
#> + Fold08: mtry= 6 
#> - Fold08: mtry= 6 
#> + Fold08: mtry=11 
#> - Fold08: mtry=11 
#> + Fold09: mtry= 2 
#> - Fold09: mtry= 2 
#> + Fold09: mtry= 6 
#> - Fold09: mtry= 6 
#> + Fold09: mtry=11 
#> - Fold09: mtry=11 
#> + Fold10: mtry= 2 
#> - Fold10: mtry= 2 
#> + Fold10: mtry= 6 
#> - Fold10: mtry= 6 
#> + Fold10: mtry=11 
#> - Fold10: mtry=11 
#> Aggregating results
#> Selecting tuning parameters
#> Fitting mtry = 2 on full training set
#> + Fold01: mtry= 2 
#> - Fold01: mtry= 2 
#> + Fold01: mtry= 6 
#> - Fold01: mtry= 6 
#> + Fold01: mtry=11 
#> - Fold01: mtry=11 
#> + Fold02: mtry= 2 
#> - Fold02: mtry= 2 
#> + Fold02: mtry= 6 
#> - Fold02: mtry= 6 
#> + Fold02: mtry=11 
#> - Fold02: mtry=11 
#> + Fold03: mtry= 2 
#> - Fold03: mtry= 2 
#> + Fold03: mtry= 6 
#> - Fold03: mtry= 6 
#> + Fold03: mtry=11 
#> - Fold03: mtry=11 
#> + Fold04: mtry= 2 
#> - Fold04: mtry= 2 
#> + Fold04: mtry= 6 
#> - Fold04: mtry= 6 
#> + Fold04: mtry=11 
#> - Fold04: mtry=11 
#> + Fold05: mtry= 2 
#> - Fold05: mtry= 2 
#> + Fold05: mtry= 6 
#> - Fold05: mtry= 6 
#> + Fold05: mtry=11 
#> - Fold05: mtry=11 
#> + Fold06: mtry= 2 
#> - Fold06: mtry= 2 
#> + Fold06: mtry= 6 
#> - Fold06: mtry= 6 
#> + Fold06: mtry=11 
#> - Fold06: mtry=11 
#> + Fold07: mtry= 2 
#> - Fold07: mtry= 2 
#> + Fold07: mtry= 6 
#> - Fold07: mtry= 6 
#> + Fold07: mtry=11 
#> - Fold07: mtry=11 
#> + Fold08: mtry= 2 
#> - Fold08: mtry= 2 
#> + Fold08: mtry= 6 
#> - Fold08: mtry= 6 
#> + Fold08: mtry=11 
#> - Fold08: mtry=11 
#> + Fold09: mtry= 2 
#> - Fold09: mtry= 2 
#> + Fold09: mtry= 6 
#> - Fold09: mtry= 6 
#> + Fold09: mtry=11 
#> - Fold09: mtry=11 
#> + Fold10: mtry= 2 
#> - Fold10: mtry= 2 
#> + Fold10: mtry= 6 
#> - Fold10: mtry= 6 
#> + Fold10: mtry=11 
#> - Fold10: mtry=11 
#> Aggregating results
#> Selecting tuning parameters
#> Fitting mtry = 2 on full training set
#> + Fold01: mtry= 2 
#> - Fold01: mtry= 2 
#> + Fold01: mtry= 6 
#> - Fold01: mtry= 6 
#> + Fold01: mtry=11 
#> - Fold01: mtry=11 
#> + Fold02: mtry= 2 
#> - Fold02: mtry= 2 
#> + Fold02: mtry= 6 
#> - Fold02: mtry= 6 
#> + Fold02: mtry=11 
#> - Fold02: mtry=11 
#> + Fold03: mtry= 2 
#> - Fold03: mtry= 2 
#> + Fold03: mtry= 6 
#> - Fold03: mtry= 6 
#> + Fold03: mtry=11 
#> - Fold03: mtry=11 
#> + Fold04: mtry= 2 
#> - Fold04: mtry= 2 
#> + Fold04: mtry= 6 
#> - Fold04: mtry= 6 
#> + Fold04: mtry=11 
#> - Fold04: mtry=11 
#> + Fold05: mtry= 2 
#> - Fold05: mtry= 2 
#> + Fold05: mtry= 6 
#> - Fold05: mtry= 6 
#> + Fold05: mtry=11 
#> - Fold05: mtry=11 
#> + Fold06: mtry= 2 
#> - Fold06: mtry= 2 
#> + Fold06: mtry= 6 
#> - Fold06: mtry= 6 
#> + Fold06: mtry=11 
#> - Fold06: mtry=11 
#> + Fold07: mtry= 2 
#> - Fold07: mtry= 2 
#> + Fold07: mtry= 6 
#> - Fold07: mtry= 6 
#> + Fold07: mtry=11 
#> - Fold07: mtry=11 
#> + Fold08: mtry= 2 
#> - Fold08: mtry= 2 
#> + Fold08: mtry= 6 
#> - Fold08: mtry= 6 
#> + Fold08: mtry=11 
#> - Fold08: mtry=11 
#> + Fold09: mtry= 2 
#> - Fold09: mtry= 2 
#> + Fold09: mtry= 6 
#> - Fold09: mtry= 6 
#> + Fold09: mtry=11 
#> - Fold09: mtry=11 
#> + Fold10: mtry= 2 
#> - Fold10: mtry= 2 
#> + Fold10: mtry= 6 
#> - Fold10: mtry= 6 
#> + Fold10: mtry=11 
#> - Fold10: mtry=11 
#> Aggregating results
#> Selecting tuning parameters
#> Fitting mtry = 2 on full training set
#> + Fold01: mtry= 2 
#> - Fold01: mtry= 2 
#> + Fold01: mtry= 6 
#> - Fold01: mtry= 6 
#> + Fold01: mtry=11 
#> - Fold01: mtry=11 
#> + Fold02: mtry= 2 
#> - Fold02: mtry= 2 
#> + Fold02: mtry= 6 
#> - Fold02: mtry= 6 
#> + Fold02: mtry=11 
#> - Fold02: mtry=11 
#> + Fold03: mtry= 2 
#> - Fold03: mtry= 2 
#> + Fold03: mtry= 6 
#> - Fold03: mtry= 6 
#> + Fold03: mtry=11 
#> - Fold03: mtry=11 
#> + Fold04: mtry= 2 
#> - Fold04: mtry= 2 
#> + Fold04: mtry= 6 
#> - Fold04: mtry= 6 
#> + Fold04: mtry=11 
#> - Fold04: mtry=11 
#> + Fold05: mtry= 2 
#> - Fold05: mtry= 2 
#> + Fold05: mtry= 6 
#> - Fold05: mtry= 6 
#> + Fold05: mtry=11 
#> - Fold05: mtry=11 
#> + Fold06: mtry= 2 
#> - Fold06: mtry= 2 
#> + Fold06: mtry= 6 
#> - Fold06: mtry= 6 
#> + Fold06: mtry=11 
#> - Fold06: mtry=11 
#> + Fold07: mtry= 2 
#> - Fold07: mtry= 2 
#> + Fold07: mtry= 6 
#> - Fold07: mtry= 6 
#> + Fold07: mtry=11 
#> - Fold07: mtry=11 
#> + Fold08: mtry= 2 
#> - Fold08: mtry= 2 
#> + Fold08: mtry= 6 
#> - Fold08: mtry= 6 
#> + Fold08: mtry=11 
#> - Fold08: mtry=11 
#> + Fold09: mtry= 2 
#> - Fold09: mtry= 2 
#> + Fold09: mtry= 6 
#> - Fold09: mtry= 6 
#> + Fold09: mtry=11 
#> - Fold09: mtry=11 
#> + Fold10: mtry= 2 
#> - Fold10: mtry= 2 
#> + Fold10: mtry= 6 
#> - Fold10: mtry= 6 
#> + Fold10: mtry=11 
#> - Fold10: mtry=11 
#> Aggregating results
#> Selecting tuning parameters
#> Fitting mtry = 2 on full training set
Sub.CCP.RF <- list (Mdl.1 = CCP.RF$EstMdl$`D.1+networth`,
Mdl.0 = CCP.RF$EstMdl$`D.0+networth`)
CCP.NoCCP.RF <- Combined_Performance (Sub.CCP.RF)
# }