sample_std_rerand: Draw from Rerandomization Distribution

Description Usage Arguments Value Author(s) References

View source: R/sample_std_rerand.R

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

1
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.


rerandPower documentation built on Jan. 4, 2022, 5:11 p.m.