cram_policy_value_estimator: Cram Policy: Estimator for Policy Value (Psi)

View source: R/cram_policy_value_estimator.R

cram_policy_value_estimatorR Documentation

Cram Policy: Estimator for Policy Value (Psi)

Description

This function returns the cram estimator for the policy value (psi).

Usage

cram_policy_value_estimator(X, Y, D, pi, batch_indices, propensity = NULL)

Arguments

X

A matrix or data frame of covariates for each sample.

Y

A vector of outcomes for the n individuals.

D

A vector of binary treatments for the n individuals.

pi

A matrix of n rows and (nb_batch + 1) columns, where n is the sample size and nb_batch is the number of batches, containing the policy assignment for each individual for each policy. The first column represents the baseline policy.

batch_indices

A list where each element is a vector of indices corresponding to the individuals in each batch.

propensity

Propensity score function

Value

The estimated policy value.


cramR documentation built on Aug. 25, 2025, 1:12 a.m.