Compute basis projection matrices
Usage
compute_basis_matrix(Z, A, Omega1, Omega0)
Arguments
- Z
Basis matrix (n x k)
- A
Treatment vector (n x 1)
- Omega1
Inverse Gram matrix for treatment group
- Omega0
Inverse Gram matrix for control group
Value
List with B1 and B0 (projection matrices)