Basic statistical operations