Title: Generalized inverse matrices with applications to statistics