1. A method for analyzing brain functional magnetic resonance imaging (fMRI) data, comprising steps of: collecting the fMRI data including spatial information and temporal information from subjects; preprocessing the fMRI data; computing independent components (ICs) and their corresponding time course for each individual subjects; constructing an initial functional connectivity pattern; constructing a classifier based on the functional connectivity pattern; and applying the classifier to functional connectivity patterns of individual subjects for statistical analysis or diagnosis.