View source: R/other-functions.R
| fn.Estimate_mgPS | R Documentation |
Wrapper that calls fn.RF_ZFirst and prepares propensity scores
for use in weight calculations.
fn.Estimate_mgPS(data, nodesize = NULL, fold_ids = NULL)
data |
Structured data list |
nodesize |
Integer min.node.size for ranger, or NULL to tune |
fold_ids |
Integer vector of fold assignments (length N), or NULL.
Passed through to |
Parameter list with propensity scores:
tmp.ar - Truncated propensity scores, dim (N, K, J)
tmp1.ar - Negative log propensities (for weight calculation)
e$sz - Joint propensity scores after truncation
selected_nodesize - min.node.size used
diagnostics - List with frac_truncated and prob_quantiles
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.