2.3Summarizing Data Sets 19
then the sample mean of the data sety 1 ,...,ynis
y ̄=∑ni= 1(axi+b)/n=∑ni= 1axi/n+∑ni= 1b/n=ax ̄+bEXAMPLE 2.3a The winning scores in the U.S. Masters golf tournament in the years from
1982 to 1991 were as follows:
284, 280, 277, 282, 279, 285, 281, 283, 278, 277Find the sample mean of these scores.
SOLUTION Rather than directly adding these values, it is easier to first subtract 280 from
each one to obtain the new valuesyi=xi−280:
4, 0,−3, 2,−1, 5, 1, 3,−2,− 3Because the arithmetic average of the transformed data set is
̄y=6/10it follows that
x ̄= ̄y+ 280 =280.6 ■Sometimes we want to determine the sample mean of a data set that is presented in
a frequency table listing thekdistinct valuesv 1 ,...,vkhaving corresponding frequencies
f 1 ,...,fk. Since such a data set consists ofn=
∑k
i= 1 fiobservations, with the valuevi
appearingfitimes, for eachi=1,...,k, it follows that the sample mean of thesendata
values is
x ̄=∑ki= 1vifi/nBy writing the preceding as
x ̄=f 1
nv 1 +f 2
nv 2 + ··· +fk
nvkwe see that the sample mean is aweighted averageof the distinct values, where the weight
given to the valueviis equal to the proportion of thendata values that are equal to
vi,i=1,...,k.