public SDVariable [ ] normalizeMoments ( String [ ] name , SDVariable counts , SDVariable means , SDVariable variances , double shift ) { SDVariable [ ] res = f ( ) . normalizeMoments ( counts , means , variances , shift ) ; return sd . updateVariableNamesAndReferences ( res , name ) ; }
Calculate the mean and variance from the sufficient statistics