If no reduction type specified, use mean.