Cookies

We use cookies to improve your experience on our website By continuing to browse the site you are agreeing to our use of cookies.
Our privacy policy

Save My Exams Logo
  • GCSE
  • IGCSE
  • AS
  • A Level
  • O Level
  • Pre U
  • IB
  • Login
  •  
MathsBiologyChemistryPhysicsCombined ScienceEnglish LanguageOther Subjects
GCSE > Maths
Edexcel Topic QuestionsRevision NotesPast PapersPast Papers (old spec)
AQA Topic QuestionsRevision NotesPast Papers
OCR Topic QuestionsRevision NotesPast Papers
GCSE > Biology
Edexcel Topic QuestionsRevision NotesPast Papers
AQA Topic QuestionsRevision NotesPast Papers
OCR Gateway Topic QuestionsRevision NotesPast Papers
GCSE > Chemistry
Edexcel Topic QuestionsRevision NotesPast Papers
AQA Topic QuestionsRevision NotesPast Papers
OCR Gateway Topic QuestionsRevision NotesPast Papers
GCSE > Physics
Edexcel Topic QuestionsRevision NotesPast Papers
AQA Topic QuestionsRevision NotesPast Papers
OCR Gateway Topic QuestionsRevision NotesPast Papers
GCSE > Combined Science
Edexcel Combined: Biology Revision NotesPast Papers
Edexcel Combined: Chemistry Revision NotesPast Papers
Edexcel Combined: Physics Revision NotesPast Papers
AQA Combined: Biology Topic QuestionsRevision NotesPast Papers
AQA Combined: Chemistry Topic QuestionsRevision NotesPast Papers
AQA Combined: Physics Topic QuestionsRevision NotesPast Papers
OCR Gateway Combined: Biology Topic QuestionsRevision Notes
OCR Gateway Combined: Physics Revision Notes
GCSE > English Language
AQA Revision NotesPractice PapersPast Papers
Edexcel Past Papers
OCR Past Papers
GCSE > Other Subjects
AQA English LiteratureBusiness StudiesComputer ScienceEconomicsFurther MathsGeographyHistoryPsychologySociologyStatistics
Edexcel English LiteratureBusiness StudiesComputer ScienceGeographyHistoryPsychologyStatistics
OCR English LiteratureBusiness StudiesComputer ScienceEconomicsPsychology
OCR Gateway GeographyHistory
MathsBiologyChemistryPhysicsDouble ScienceEnglish LanguageGeographyOther Subjects
IGCSE > Maths
Edexcel Topic QuestionsRevision NotesPast PapersBronze-Silver-Gold Questions
CIE (Extended) Topic QuestionsRevision NotesPast Papers
CIE (Core) Topic QuestionsPast Papers
IGCSE > Biology
Edexcel Topic QuestionsRevision NotesPast Papers
CIE Topic QuestionsRevision NotesPast Papers
IGCSE > Chemistry
Edexcel Topic QuestionsRevision NotesPast Papers
CIE Topic QuestionsRevision NotesPast Papers
IGCSE > Physics
Edexcel Topic QuestionsRevision NotesPast Papers
CIE Topic QuestionsRevision NotesPast Papers
IGCSE > Double Science
Edexcel Double: Biology Topic QuestionsRevision NotesPast Papers
Edexcel Double: Chemistry Topic QuestionsRevision NotesPast Papers
Edexcel Double: Physics Topic QuestionsRevision NotesPast Papers
IGCSE > English Language
CIE Revision NotesPractice PapersPast Papers
Edexcel Past Papers
IGCSE > Geography
CIE Past Papers
Edexcel Past Papers Topic QuestionsPast Papers
IGCSE > Other Subjects
CIE Additional MathsEnglish LiteratureBusinessComputer ScienceEconomicsHistorySociology
Edexcel English LiteratureBusinessComputer ScienceHistoryFurther Maths
MathsBiologyChemistryPhysicsEnglish LanguageOther Subjects
AS > Maths
Edexcel Pure MathsMechanicsStatistics
AQA Pure MathsMechanicsStatistics
OCR Pure MathsMechanicsStatistics
CIE Pure 1Pure 2MechanicsProbability & Statistics 1
Edexcel IAS Pure 1Pure 2MechanicsStatistics
AS > Biology
AQA Topic QuestionsRevision NotesPast Papers
OCR Revision NotesPast Papers
CIE 2019-2021 Topic QuestionsRevision NotesPast Papers
CIE 2022-2024 Topic QuestionsRevision NotesPast Papers
Edexcel IAL Revision Notes
AS > Chemistry
Edexcel Revision Notes
AQA Topic QuestionsRevision NotesPast Papers
OCR Revision Notes
CIE 2019-2021 Topic QuestionsRevision NotesPast Papers
CIE 2022-2024 Topic QuestionsRevision NotesPast Papers
Edexcel IAL Revision Notes
AS > Physics
Edexcel Revision Notes
AQA Topic QuestionsRevision NotesPast Papers
OCR Revision NotesPast Papers
CIE 2019-2021 Topic QuestionsRevision NotesPast Papers
CIE 2022-2024 Topic QuestionsRevision NotesPast Papers
Edexcel IAL Revision Notes
AS > English Language
AQA Past Papers
Edexcel Past Papers
OCR Past Papers
AS > Other Subjects
AQA Business StudiesComputer ScienceEconomicsEnglish LiteratureFurther MathsGeographyHistoryPsychologySociology
Edexcel Business StudiesEconomicsEnglish LiteratureFurther MathsGeographyHistoryPsychology
OCR Business StudiesComputer ScienceEconomicsEnglish LiteratureFurther Maths AGeographyHistoryPsychologySociology
CIE Further Maths
MathsBiologyChemistryPhysicsEnglish LanguageEconomicsPsychologyOther Subjects
A Level > Maths
Edexcel Pure MathsMechanicsStatistics
AQA Pure MathsMechanicsStatistics
OCR Pure MathsMechanicsStatistics
CIE Pure 1Pure 3MechanicsProbability & Statistics 1Probability & Statistics 2
Edexcel IAL Pure 1Pure 2Pure 3Pure 4Mechanics 1Mechanics 2Statistics 1Statistics 2
A Level > Biology
Edexcel Topic QuestionsPast Papers
Edexcel A (SNAB) Revision Notes
AQA Topic QuestionsRevision NotesPast Papers
OCR Topic QuestionsRevision NotesPast PapersGold Questions
CIE 2019-2021 Topic QuestionsRevision NotesPast Papers
CIE 2022-2024 Topic QuestionsRevision NotesPast Papers
Edexcel IAL Topic QuestionsRevision NotesPast Papers
A Level > Chemistry
Edexcel Topic QuestionsRevision NotesPast Papers
AQA Topic QuestionsRevision NotesPast Papers
OCR Topic QuestionsRevision NotesPast PapersGold Questions
CIE 2019-2021 Topic QuestionsRevision NotesPast Papers
CIE 2022-2024 Topic QuestionsRevision NotesPast Papers
Edexcel IAL Topic QuestionsRevision NotesPast Papers
A Level > Physics
Edexcel Topic QuestionsRevision NotesPast Papers
AQA Topic QuestionsRevision NotesPast Papers
OCR Topic QuestionsRevision NotesPast Papers
CIE 2019-2021 Topic QuestionsRevision NotesPast Papers
CIE 2022-2024 Topic QuestionsRevision NotesPast Papers
Edexcel IAL Topic QuestionsRevision NotesPast Papers
A Level > English Language
AQA Past Papers
CIE Past Papers
Edexcel Past Papers
OCR Past Papers
Edexcel IAL Past Papers
A Level > Economics
Edexcel Past PapersPast Papers Topic Questions
AQA Past PapersPast Papers Topic Questions
OCR Past Papers
CIE Past Papers
A Level > Psychology
AQA Past Papers Topic QuestionsPast Papers
CIE Past Papers
Edexcel Past Papers
OCR Past Papers
Edexcel IAL Past Papers
A Level > Other Subjects
AQA Business StudiesComputer ScienceEconomicsEnglish LiteratureFurther MathsGeographyHistorySociology
CIE BusinessComputer ScienceEconomicsEnglish LiteratureFurther MathsGeographySociology
Edexcel Business StudiesEconomics AEnglish LiteratureFurther MathsGeographyHistory
OCR Business StudiesComputer ScienceEconomicsEnglish LiteratureFurther Maths AGeographyHistorySociology
Edexcel IAL English LiteratureGeography
CIE IAL History
BiologyChemistryPhysicsOther Subjects
O Level > Biology
CIE Topic QuestionsPast Papers
O Level > Chemistry
CIE Topic QuestionsPast Papers
O Level > Physics
CIE Topic QuestionsPast Papers
O Level > Other Subjects
CIE Additional MathsMaths D
MathsBiologyChemistryPhysics
Pre U > Maths
CIE Topic QuestionsPast Papers
Pre U > Biology
CIE Topic QuestionsPast Papers
Pre U > Chemistry
CIE Topic QuestionsPast Papers
Pre U > Physics
CIE Topic QuestionsPast Papers
MathsBiologyChemistryPhysics
IB > Maths
Maths: AA HL Topic QuestionsRevision Notes
Maths: AI HL Topic QuestionsRevision Notes
Maths: AA SL Topic QuestionsRevision NotesPractice Papers
Maths: AI SL Topic QuestionsRevision NotesPractice Papers
IB > Biology
Biology: SL Topic QuestionsRevision Notes
Biology: HL Topic QuestionsRevision Notes
IB > Chemistry
Chemistry: SL Topic QuestionsRevision Notes
Chemistry: HL Topic QuestionsRevision Notes
IB > Physics
Physics: SL Topic QuestionsRevision Notes
Physics: HL Revision Notes

Edexcel International A Level Maths: Statistics 1

Revision Notes

Home / International A Level / Maths: Statistics 1 / Edexcel / Revision Notes / 1. Data Presentation & Interpretation / 1.1 Statistical Measures / 1.1.4 Coding


1.1.4 Coding


Coding

Sometimes data needs to be coded for further use with calculations. This is particularly useful with data that deals with very small or very large numbers, or with data that needs to be classified for research purposes.

What is coding?

  • Coding is a way of simplifying data to make it easier to work with
  • The coding must be carried out on all values within the data set and will normally be done using a given formula
  • Coding can be carried out in a number of ways:
    • Adding or subtracting a constant to each data value
    • Multiplying or dividing each data value by a constant
    • A combination of both of the above

How are statistical calculations carried out with coded data?

  • If you know the mean or standard deviation of the original data it is possible to find the mean or standard deviation of the coded data and vice versa
  • It is important to remember what the mean and standard deviation actually tell us about the data to understand how coding calculations work
    • The mean is a measure of location, changing the data set in any way will cause the mean to change in the same way
    • The standard deviation is a measure of spread, adding or subtracting a constant to every value within the data set will not change the standard deviation of the data set
      • Multiplying or dividing every value within the data set by a constant will change the standard deviation by the modulus of the constant
      • If the data were coded by multiplying or dividing by a negative, the standard deviation will change by the equivalent positive value
  • Anytime calculations are carried out on data that has been coded,
    • The original mean can be found by solving the equation to reverse the coding
    • For example, if the data, begin mathsize 16px style x end style, was coded using the formula

y equals a x plus b

Then the mean of the coded data, begin mathsize 16px style y with bar on top end style would be   

y with bar on top equals a x with bar on top plus b

The original mean, begin mathsize 16px style x with bar on top end style , will be  begin mathsize 16px style x with bar on top space equals fraction numerator y with bar on top space minus b over denominator a end fraction end style

    • The original standard deviation
      • Will be the same as the coded standard deviation if the data was coded by adding or subtracting a constant only
      • Can be found by reversing the coding if the data was coded by multiplying or dividing by a constant only
      • If the data was coded by a combination of both then only the multiplying or dividing will need to be reversed to find the original standard deviation
    • For example, if the data, was coded using the formula

y space equals space a x plus b

Then the standard deviation of the coded data, begin mathsize 16px style sigma subscript y end stylewould be

sigma subscript y equals open vertical bar a close vertical bar sigma subscript x

The original standard deviation, begin mathsize 16px style sigma subscript x end style, will be

sigma subscript x equals fraction numerator sigma subscript y over denominator open vertical bar a close vertical bar end fraction

Worked Example

The shoulder height, h comma of a group of Asian elephants living in a nature reserve are summarised in the table below.

Height, cm

Frequency, bold italic f

 200 space less or equal than space h space less than space 220

2

 220 space less or equal than space h space less than space 240

5

 240 space less or equal than space h space less than space 260

8

 260 space less or equal than space h space less than space 280

8

 280 space less or equal than space h space less than space 300

5

 300 space less or equal than space h space less than space 320

2

(i)
Code the data using the formula x space equals space fraction numerator h minus 250 over denominator 20 end fraction

 

(ii)
Use the coded data to find an estimate for the mean and standard deviation, you may use the summary statistics straight capital sigma x f space equals space 15 comma space straight capital sigma x squared f space equals space 59 comma space straight capital sigma space f equals 30.

2-1-4-coding-we-solution-part-1

2-1-4-coding-we-solution-part-2

Exam Tip

  • Be careful when using the formulae for the mean and standard deviation with coded summary statistics, you must make sure that you use the summary statistics consistently throughout. For example, if you use the sum of the coded data squared in the formula for the standard deviation, you must subtract the square of the coded mean.


  • 1. Data Presentation & Interpretation
    • 1.1 Statistical Measures
      • 1.1.1 Basic Statistical Measures
        • 1.1.2 Frequency Tables
          • 1.1.3 Standard Deviation & Variance
            • 1.1.4 Coding
              • 1.1.5 Statistical Modelling
              • 1.2 Working with Data
                • 1.2.1 Data Presentation
                  • 1.2.2 Stem and Leaf Diagrams
                    • 1.2.3 Box Plots
                      • 1.2.4 Histograms
                        • 1.2.5 Outliers
                          • 1.2.6 Intrepreting Data
                            • 1.2.7 Skewness
                            • 1.3 Correlation & Regression
                              • 1.3.1 Properties of Scatter Diagrams
                                • 1.3.2 Correlation & Regression
                                  • 1.3.3 Coding Bivariate Data
                                • 2. Probability
                                  • 2.1 Basic Probability
                                    • 2.1.1 Calculating Probabilities & Events
                                      • 2.1.2 Venn Diagrams
                                        • 2.1.3 Tree Diagrams
                                        • 2.2 Further Probability
                                          • 2.2.1 Conditional Probability
                                            • 2.2.2 Further Venn Diagrams
                                              • 2.2.3 Further Tree Diagrams
                                                • 2.2.4 Probability Formulae
                                              • 3. Statistical Distributions
                                                • 3.1 Discrete Random Variables
                                                  • 3.1.1 Discete Probability Distributions
                                                    • 3.1.2 E(X) & Var(X) (Discrete)
                                                      • 3.1.3 aX+b
                                                        • 3.1.4 Discrete Uniform Distribution
                                                        • 3.2 Normal Distribution
                                                          • 3.2.1 The Normal Distribution
                                                            • 3.2.2 Standard Normal Distribution
                                                              • 3.2.3 Normal Distribution - Calculations
                                                                • 3.2.4 Finding Sigma and Mu


                                                                DOWNLOAD PDF

                                                              Author: Amber

                                                              Amber gained a first class degree in Mathematics & Meteorology from the University of Reading before training to become a teacher. She is passionate about teaching, having spent 8 years teaching GCSE and A Level Mathematics both in the UK and internationally. Amber loves creating bright and informative resources to help students reach their potential.


                                                              Save My Exams Logo
                                                              Resources
                                                              Home Join Support

                                                              Members
                                                              Members Home Account Login

                                                              Company
                                                              About Us Contact Us Jobs Terms Privacy Facebook Twitter

                                                              Quick Links
                                                              GCSE Revision Notes IGCSE Revision Notes A Level Revision Notes Biology Chemistry Physics Maths 2022 Advance Information

                                                               
                                                              © Copyright 2015-2022 Save My Exams Ltd. All Rights Reserved.
                                                              IBO was not involved in the production of, and does not endorse, the resources created by Save My Exams.