| compute_sigma {geex} | R Documentation | 
Compute empirical sandwich covariate estimator
Description
Computes \Sigma = A^{-1} B (A^{-1})^T  with
provided A and B matrices.
Usage
compute_sigma(A, B, solver = solve)
Arguments
| A | a matrix, generally the  | 
| B | a matrix, generally the  | 
| solver | the function used to compute the inverse of  | 
Value
the matrix Ainv %*% B %*% t(Ainv)
Examples
A <- diag(2, nrow = 2, ncol = 2)
B <- matrix(4, nrow = 2, ncol = 2)
compute_sigma(A = A, B = B)
[Package geex version 1.1.1 Index]