sample_std_rerand {rerandPower} | R Documentation |
Draw from Rerandomization Distribution
Description
sample_std_rerand
is an internal function that draws from the non-Normal distribution under rerandomization; this is a mixture of a Normal and a truncated Normal.
Usage
sample_std_rerand(n, K, pa, R2)
Arguments
n |
The number of draws. |
K |
The number of covariates. |
pa |
The acceptance probability used for rerandomization. |
R2 |
The R-squared between covariates and potential outcomes. |
Value
Random draws from the non-Normal distribution under rerandomization.
Author(s)
Xinran Li
References
Branson, Z., Li, X., and Ding, P. (2022). Power and Sample Size Calculations for Rerandomized Experiments.
[Package rerandPower version 0.0.1 Index]