View source: R/cram_variance_estimator.R
cram_variance_estimator | R Documentation |
This function estimates the asymptotic variance of the cram estimator for the policy value difference (delta).
cram_variance_estimator(X, Y, D, pi, batch_indices, propensity = NULL)
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 |
The propensity score function |
The estimated variance of the policy value difference (Delta)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.