| compute_diff_at_tau_for_oneW_R {fastrerandomize} | R Documentation |
Compute potential outcome difference in means for a single assignment under a hypothesized tau in base R
Description
Compute potential outcome difference in means for a single assignment under a hypothesized tau in base R
Usage
compute_diff_at_tau_for_oneW_R(Wprime, obsY, obsW, tau)
Arguments
Wprime |
A 0/1 assignment vector for which to compute the diff in means. |
obsY |
Observed outcome vector. |
obsW |
Observed assignment vector. |
tau |
The hypothesized true effect for the shift in outcomes under treatment. |
Value
Scalar difference in means for the assignment Wprime.
[Package fastrerandomize version 0.3 Index]