View source: R/functions_auxiliary.R
out_Zprime | R Documentation |
Z
of dimension (number of units x number of randomizations, i.e. assignments.)Returns matrix Z
of dimension (number of units x number of randomizations, i.e. assignments.)
out_Zprime(N, K, equal = T, numrand)
N |
The number of observations (kids). |
K |
The number of houses. |
equal |
A binary parameter that determines the exact house structure. If equal=TRUE, every household has equal number of kids. If equal=FALSE, every household is constructed by sampling the number of kids at random. |
numrand |
The number of randomizations |
A matrix of dimension (number of units x number of randomizations, i.e. assignments.) comprised of 0, denoting a unit is pure control under that particular assignment, 1 denoting a unit is a spillover under that particular assignment, and 2, denoting a unit is treated under that particular assignment.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.