Calculate hat matrix
hatMatrix(M)
M
Design Matrix representing the randomization sequence
Hat matrix, i.e. M * (M^T M)^{-1} M^T
M * (M^T M)^{-1} M^T
Randomization for Clinical Trials
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.