Statistics are doubly useless in that context because a given loan officer might process something like 20 loans a year, which is too small a sample size for statistics to show anything with high confidence anyway.
The way people like that get caught is when they incriminate themselves. And the real way you solve that problem is by ensuring a competitive market for loans, so that the economic inefficiency of not giving loans to people who would pay them back actually negatively impacts the institutions that do it, and the borrowers can find numerous other institutions willing to do business with them, instead of the racist loan officer both being the borrower's only option and their bank not suffering consequences from it because the lack of competition allows them to stay in business by also overcharging the customers they accept.