Question
Question: Find the mean and variance of the first 10 multiples of 3....
Find the mean and variance of the first 10 multiples of 3.
Solution
We find the mean of the given data sample by first finding the sum of data values then dividing by the number of data values which in symbols is xˉ=n∑xi and then the mean of squares of given data values x2=n∑xi2. After that, we find the variance as σ2=x2−(xˉ)2.
Complete step-by-step solution:
We know that the mean is the expectation or average of the given data value. If there are n data values say x1,x2,…,xn then the mean of the data sample is given by,
xˉ=n∑xi
Variance is the mean of squared deviations of the sample mean. It is given by the formula,
σ2=x2−(xˉ)2
Here x2 is the mean of squares of data values and given by,
x2=n∑xi2
We know that the sum S of first n natural numbers is given by,
S=2n(n+1)
We know that the sum S2 of first squared n natural numbers is given by,
S2=6n(n+1)(2n+1)
From the question, we are given the data sample of the first 10 multiples of 3 which means the data sample is,
⇒3,6,9,12,15,18,21,24,27,30
Here the number of data values is n=10.
Let us first find the mean of the data sample. So we need to find the sum of data values. We have to first the sum of data values which is,
⇒∑xi=3+6+9+…+30
We take 3 commons on the right side of the equation and have
⇒∑xi=3(1+2+3+…+10)
We use the formula for the sum of first n natural numbers for n=10 on the right side of the equation,
⇒∑xi=3×210×11
Simplify the terms,
⇒∑xi=165
Substitute the value in the mean formula,
⇒xˉ=10165
Divide numerator by the denominator,
⇒xˉ=16.5...............….. (1)
Let us find the mean of squared difference of each data value from the mean
⇒∑xi2=32+62+92+…+302
We take 32 common on the right side of the equation and have
⇒∑xi2=32(12+22+32+…+102)
We use the formula for the sum of first squared n natural numbers for n=10 on the right side of the equation,
⇒∑xi2=32×610×11×21
Simplify the terms,
⇒∑xi2=3465
Substitute the value in the mean formula,
⇒x2=103465
Divide numerator by the denominator,
⇒x2=346.5...................….. (2)
Substitute the values from equation (1) and (2) in the variance formula,
⇒σ2=346.5−(16.5)2
Square the term on the right side,
⇒σ2=346.5−272.25
Simplify the term,
∴σ2=74.25
Hence, the mean is 16.5 and the variance is 74.25.
Note: We note that the variance is always a positive quantity while the mean may not be. The square root of the variance is called the standard deviation σ and the ratio of the standard deviation to mean xˉ is called coefficient variation, a useful quantity in risk analysis. We can alternatively find a variance with the formula n(xi−xˉ)2.