averages for lda