| randomization_test_R {fastrerandomize} | R Documentation |
Base R randomization test: difference in means + optional fiducial interval
Description
Base R randomization test: difference in means + optional fiducial interval
Usage
randomization_test_R(obsW, obsY, allW, findFI = FALSE, alpha = 0.05)
Arguments
obsW |
Observed assignment (0/1). |
obsY |
Observed outcome vector. |
allW |
Matrix of candidate random assignments (rows = assignments). |
findFI |
Logical, whether to compute fiducial interval as well. |
alpha |
Significance level (default 0.05). |
Value
A list with p_value, tau_obs, and (optionally) FI if 'findFI=TRUE'.
[Package fastrerandomize version 0.3 Index]