View source: R/functions_auxiliary.R
out_Z | R Documentation |
Returns sparse matrix Z
of dimension (number of units x number of randomizations, i.e. assignments).
Each column represents a randomization, with equal probability. Within each
randomization, individuals have a probability of pi
of being treated (equals 1).
out_Z(pi, num_randomizations)
pi |
A |
num_randomizations |
A |
Z
(sparse binary matrix). The first column is the observed assignment.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.