fn.Estimate_mgPS: Estimate multiple propensity scores

View source: R/other-functions.R

fn.Estimate_mgPSR Documentation

Estimate multiple propensity scores

Description

Wrapper that calls fn.RF_ZFirst and prepares propensity scores for use in weight calculations.

Usage

fn.Estimate_mgPS(data, nodesize = NULL, fold_ids = NULL)

Arguments

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 fn.RF_ZFirst; see there for details.

Value

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


WMAP documentation built on Oct. 6, 2026, 1:07 a.m.