PropensityWeights: Compute the Propensity Weight scores for a binary...

View source: R/variables.R

PropensityWeightsR Documentation

Compute the Propensity Weight scores for a binary classification model

Description

Computes the propensity weights from a binary classification model using the inverse predicted probabilities of each observation being in the positive class.

Usage

PropensityWeights(object)

Arguments

object

A Regression or MachineLearning output.

Value

A vector of numeric propensity weights for each case in the model.


Displayr/flipMultivariates documentation built on June 2, 2025, 12:40 p.m.