Diversification is a way for investors to reduce investment risk. The asset values within a well-diversified portfolio do not move up and down in perfect synchrony. Find members of the Dow Jones Industrial Average whose returns tend to move in sync.
Build a correlation matrix between stocks.
Build a graph with edges between stocks with correlation coefficient greater than .
A largest group of stocks that tend to move in sync.