V_Pn: Estimation of policy value

View source: R/utils.R

V_PnR Documentation

Estimation of policy value

Description

Computes the expected outcome under a policy determined by the previously optimized psi(X). The policy assigns treatment probabilistically based on sigma_beta(psi(X)), and the expected outcome is calculated using counterfactual outcomes.

Usage

V_Pn(policy, y1, y0)

Arguments

policy

A numeric vector of treatment probabilities associated with X (length n).

y1

A numeric vector or matrix of length n representing primary outcomes under treatment (in ⁠[0, 1]⁠).

y0

A numeric vector or matrix of length n representing primary outcomes under no treatment (in ⁠[0, 1]⁠).

Value

A numeric scalar representing the expected primary outcome under the policy.


PLUCR documentation built on March 30, 2026, 5:08 p.m.