Added functions for all the sample statistics