clique_test_ex: The main randomization test function for the full exclusion...

clique_test_exR Documentation

The main randomization test function for the full exclusion null hypothesis.

Description

The main randomization test function for the full exclusion null hypothesis.

Usage

clique_test_ex(
  Y,
  Zrealized,
  design_fn,
  exposure_fn,
  decom = "greedy",
  alpha = 0.05,
  num_randomizations = 2000,
  ...
)

Arguments

Y

The observed outcome vector.

Zrealized

A vector of length being number of units that gives the realization of treatment assignment.

design_fn

A function whose return is a one time realization of the distribution of the treatment.

exposure_fn

A function that specifies the exposure of each individual under different randomization.

decom

The algorithm used to calculate the biclique decomposition. Currently supported algorithms are "bimax" and "greedy".

num_randomizations

Number of randomizations to perform.

...

Other stuff, such as parameters for clique decomposition algorithms (minass for greedy decomposition, minr and minc for bimax decomposition).

Value

A list of items summarizing the randomization test.


dpuelz/CliqueRT documentation built on Jan. 6, 2023, 11:20 p.m.