ajout calcProbs calvAvg