View source: R/Estimate_Models.R
Estimate_Models | R Documentation |
Results of the Each Data and Data Splits
Estimate_Models(DataSet, yvar, exog = NULL, xvec, xadd, type, dnames)
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. |
The output from Estimate_Models
.
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"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.