Miscellaneous functions for descriptive statistics
