Learn R Programming

causalOT (version 1.0.2)

causalWeights-class: causalWeights class

Description

causalWeights class

Arguments

Slots

w0

A slot with the weights for the control group with \(n_0\) entries. Weights sum to 1.

w1

The weights for the treated group with \(n_1\) entries. Weights sum to 1.

estimand

A character denoting the estimand targeted by the weights. One of "ATT","ATC", or "ATE".

info

A slot to store a variety of info for inference. Currently under development.

method

A character denoting the method used to estimate the weights.

penalty

A list or the selected penalty parameters, if relevant.

data

The dataHolder object containing the original data.

call

The call used to construct the weights.

Details

This object is returned by the calc_weight function in this package. The slots can be accessed as any S4 object. There is no publicly accessible constructor function.