In this paper, we propose a method to analyze the structure of the credit market. Using historical data from Japan, we explore banks' lending patterns to the real economy. We find that generalist banks (with diversified lending) and specialist banks (with focused lending) coexist, and tend to...