calculate and use the mean and standard deviation of a set of data, given coded totals Σ(x−a) and Σ(x−a)2 and use such totals in solving problems which may involve up to two data sets
When we substract a certain number from each value of x, in the data set, we get coded totals. This is usually done to simplify the numbers in the data set. Coding does not change the standard deviation or variation of the original data set. It just helps to simplify the calculations.
Here are some general rules to help in solving questions involving coding. Where the coded data set is x−a, x−a=x−aThis means that the mean of the coded data is equal to the mean of the original data minus the constant a. σx=σx−aThis means that the standard deviation of the original data is the same as the standard deviation of the coded data. σx2=σx−a2This means that the variance of the original data is the same as the variance of the coded data.
Note: a represents a constant in the above equations.
Let’s walk through some past paper questions on coding.
1. For n values of the variable x, it is given that
Σ(x−200)=446Σx=6846
Find the value of n. (9709/52/M/J/22 number 1)
Let’s write out the formula for mean for x values, and the formula for mean for x−200 values, x=nΣxx−200=nΣ(x−200)Use the following rule in the second equation, x−a=x−ax−200=x−200x−200=nΣ(x−200)x−200=nΣ(x−200)Make x the subject of the formula, x=nΣ(x−200)+200Now you’ll notice that we have two equations that we can equate together, x=nΣxx=nΣ(x−200)+200First let’s substitute in the values of Σx and Σ(x−200) to make things clearer, x=n6846x=n446+200Equate the two equations together, n6846=n446+200Multiply through by n to get rid of the denominator, 6846=446+200nMake n the subject of the formula, 200n=6846−446200n=6400n=32Therefore, the final answer is, n=322. For 40 values of the variable x, it is given that Σ(x−c)2=3099.2, where c is a constant. The standard deviation of these values is 3.2. (9709/62/F/M/19 number 2)
(a) Find the value of Σ(x−c).
Let’s write out all the information we have been given, n=40Σ(x−c)2=3099.2σx=3.2To find Σ(x−c) we have to first find x−c. To do that we will use the idea that, σx=σx−cTherefore, σx−c=3.2Let’s use the formula for standard deviation of x−c, σx−c=nΣ(x−c)2−(x−c)2Square both sides, to get rid of the square root sign, σx−c2=nΣ(x−c)2−(x−c)2Make x−c the subject of the formula, (x−c)2=nΣ(x−c)2−σx−c2x−c=nΣ(x−c)2−σx−c2Substitute into the formula, x−c=403099.2−(3.2)2x−c=8.2Now that we have x−c, let’s find Σ(x−c), x−c=nΣ(x−c)Make Σ(x−c) the subject of the formula, Σ(x−c)=n(x−c)Substitute into the formula, Σ(x−c)=40(8.2)Σ(x−c)=328Therefore, the final answer is, Σ(x−c)=328(b) Given that c=50, find the mean of these values of x.
To find the mean, we will use the idea that, (x−c)=x−cMake x the subject of the formula, x=(x−c)+cSubstitute into the formula, x=8.2+50x=58.2Therefore, the final answer is, x=58.23. A summary of 40 values of x gives the following information:
Σ(x−k)=520,Σ(x−k)2=960
where k is constant. (9709/51/O/N/21 number 2)
(a) Given that the mean of these 40 values of x is 34, find the value of k.
Let’s write out all the information we have been given, n=40Σ(x−k)=520Σ(x−k)2=960x=34Let’s use the formula for x−k to evaluate k, x−k=nΣ(x−k)Use the idea that, x−k=x−kx−k=nΣ(x−k)x−k=nΣ(x−k)Make k the subject of the formula, k=x−nΣ(x−k)Substitute into the formula, k=34−40520k=21Therefore, the final answer is, k=21(b) Find the variance of these 40 values of x.
Let’s start by finding the variance of x−k, σx−k2=nΣ(x−k)2−(x−k)2We have all the values apart from x−k, so let’s evaluate x−k, x−k=x−kx−k=34−21x−k=13Now let’s substitute into the formula, σx−k2=nΣ(x−k)2−(x−k)2σx−k2=409640−(13)2σx−k2=72To get the variance of the 40 values of x we will use the idea that, σx2=σx−k2Therefore, the final answer is, σx2=72
Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.