added support for LDA goodness of fit statistic