This paper selects listed futures commodity index data, standardized processing, using SPSS software for longitudinal clustering. Research results show that, using this rational investment analysis method can help investors to accurately understand and grasp the future overall characteristics, reduce the investment risk.