Estimate_Models {pomodoro} | R Documentation |
Results of the Each Data and Data Splits
Description
Results of the Each Data and Data Splits
Usage
Estimate_Models(DataSet, yvar, exog = NULL, xvec, xadd, type, dnames)
Arguments
DataSet |
The name of the Dataset. |
yvar |
Y variable. |
exog |
is a vector to be subtract from the calculation. |
xvec |
is a vector of the variables to be used. |
xadd |
is an additional vector to be used. |
type |
can be RF, GLM, MLM, BAG, and GBM. |
dnames |
is the unique values of exog. |
Value
The output from Estimate_Models
.
Examples
sample_data <- sample_data[c(1:750),]
m2.xvar0 <- c("sex","married","age","havejob","educ","rural","region","income")
CCP.RF <- Estimate_Models(sample_data, yvar = c("Loan.Type"),
exog = "political.afl", xvec = m2.xvar0,
xadd = "networth", type = "RF", dnames = c("0","1"))
[Package pomodoro version 3.8.0 Index]