Coding of Data For Easier Computation
Coding of Data For Easier Computation
Coding can be done by the addition or subtraction of a constant number to the original data,
and/or the multiplication or division of these original data by a constant number.
Coding Procedure
Mean
(i) When a constant has been added to each variate, the coded mean is decoded
by subtracting the constant.
(ii) When variates have been coded by being multiplied by a constant, the mean
can be decoded by being divided by the same constant.
(iii) Similarly, when variates have been coded by division, the mean is decoded by
multiplication by the same constant
(iv) Mean coded by combination coding can be decoded by performing the
inverse operation, in reverse sequence.
1
Class Mark (Y) Frequency (F) Y2 FY FY2
3.40 2 11.56 6.8 23.12
3.70 8 13.69 29.6 109.52
4.00 5 16.00 20.0 80.00
4.30 8 18.49 34.4 147. 92
4.60 2 21.16 9.2 42.32
∑f= 25 100.0 402.88
YC = [ Y – 3.3] x 10
YC = [ Y – 3.3] x 10
From each variate (Y) remove 3.3 and (to remove the decimal place) you
multiply the result 10.
Note: Subtraction and Addition are Additive when you multiply the variate
(Y) is Multiplicative Coding.
Original Variance
MEAN
When the Mean is being decoded, both the Additive and the Multiplicative code will be
considered because both of them affect Mean.
Decoding:
Original Mean (Y) = 7÷ 10; + 3.3 = 4.0