Pairs analysis For GAM Model