powered by
Creates a configuration to fit nuisance parameters using random forests via randomForest::randomForest(). Good for nonlinear patterns.
randomForest::randomForest()
mcee_config_rf(target, formula)
A configuration list for use with mcee_general.
mcee_general
Character. Nuisance parameter name ("p", "q", "eta", "mu", "nu").
RHS-only formula (e.g., ~ X1 + X2 + dp).
~ X1 + X2 + dp
# Random forest for complex propensity model cfg_q <- mcee_config_rf("q", ~ dp + M + X1 + X2)
Run the code above in your browser using DataLab