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 Feb. 26, 2024, 12:39 a.m.