add Pearson analyze function