The sums of the deviations of a set of n values x1,x2,....,xnmeasured from 15 and -3 are -90 and 54 respectively.Find the value of n and mean.
In first case, (x1−15)+(x2−15)+(x3−15)+...+(xn−15)=−90⇒x1+x2+x3+...+xn−15×n=−90⇒n¯x−15n=−90 ...(i)
Similarly, n¯x+3n=54 ...(ii)
Subtracting, −18n=−144⇒n=−144−18=8
Now, n¯x−15n=−90⇒8¯x−15×8=−90⇒8¯x=−90+120⇒8¯x=30⇒¯x=308=154⇒¯x=154Hence, n=8 and ¯x=154