Chemistry‹›⌂ 0:00 studied

Module 24 · 5 min read · Free chapter

Data analysis in chemistry: errors, significant figures, mean and standard deviation, rejection tests, significance tests and linear regression

What are you preparing for? We show the practice and previous year questions of your exam.

Start from zero: no measurement is exact

Weigh the same coin five times on a lab balance and you may get 3.1102, 3.1105, 3.1101, 3.1104 and 3.1103 g. None of these is "the" mass. Every result carries some error, and science needs a way to say how large that error is and whether two results really differ.

That is what data analysis does. It sorts errors into types, reports results with the right number of digits, measures spread with the standard deviation, decides when a result can be thrown out, and fits straight lines to calibration data.

Types of error, accuracy and precision, significant figures

Determinate (systematic) errors have a cause that can be found, and they push results in one direction.

  • Instrumental: an uncalibrated burette or weights.
  • Method: an indicator that changes colour after the true end point, a slightly soluble precipitate.
  • Personal: misjudging a colour change, parallax in reading.

They are detected and reduced by calibrating equipment, running a blank, adding a known standard, and checking with an independent method.

Indeterminate (random) errors have no single assignable cause. They scatter results on both sides of the mean, follow the laws of probability, and cannot be corrected. Repeating the measurement many times reduces their effect on the mean.

Accuracy is how close a result is to the true value; it is spoiled by systematic error. Precision is how close replicate results are to each other; it is limited by random error. Results can be precise but inaccurate, if every reading carries the same systematic error.

Significant figures are all the certain digits plus the first uncertain one. Zeros between digits count (2.005 has four); leading zeros do not (0.0025 has two).

  • Addition and subtraction: keep as many decimal places as the least precise term. 12.11 + 18.0 + 1.013 = 31.1.
  • Multiplication and division: keep as many significant figures as the factor with fewest. 0.0121 × 25.64 ÷ 2.1 ≈ 0.15 (two figures, from 2.1).
  • Rounding: 46.2368 to four figures is 46.24.

Mean, standard deviation and confidence interval

For n results x₁ to xₙ:

xˉ=∑xins=∑(xi−xˉ)2n−1\bar{x} = \frac{\sum x_i}{n} \qquad s = \sqrt{\frac{\sum (x_i - \bar{x})^2}{n-1}}

The divisor n − 1 is the number of degrees of freedom: once the mean is fixed, only n − 1 deviations are independent. For a very large data set, s approaches the population standard deviation σ.

Related measures.

  • Variance: s².
  • Relative standard deviation (coefficient of variation): sxˉ×100\dfrac{s}{\bar{x}} \times 100.
  • Standard deviation of the mean: sn\dfrac{s}{\sqrt{n}}, which is why averaging more results narrows the uncertainty.

Gaussian distribution. Random errors give a bell-shaped curve. About 68% of values lie within ±1σ of the mean, about 95% within ±2σ, and about 99.7% within ±3σ.

Confidence interval. The range within which the true mean μ lies with a stated probability:

μ=xˉ±t sn\mu = \bar{x} \pm \frac{t\,s}{\sqrt{n}}

Here t is Student's t for n − 1 degrees of freedom at the chosen confidence level (for 4 degrees of freedom at 95%, t = 2.78).

Worked example. Iron results (%): 52.40, 52.47, 52.50, 52.51, 52.46.

  • Mean = 52.47%.
  • s = 0.043%; relative standard deviation = 0.082%.
  • 95% confidence interval: 52.47 ± (2.78 × 0.043 ÷ √5) = 52.47 ± 0.05%.

Rejecting outliers, testing significance and fitting lines

Q test. Arrange results in order. For the suspect value,

Q=∣xsuspect−xnearest∣xmax−xminQ = \frac{\lvert x_{\text{suspect}} - x_{\text{nearest}} \rvert}{x_{\text{max}} - x_{\text{min}}}

Reject it if Q is larger than the tabulated value.

n 3 4 5 6 7 8 10
Q at 90% 0.94 0.76 0.64 0.56 0.51 0.47 0.41

In the iron data, test 52.40: gap = 52.46 − 52.40 = 0.06, range = 0.11, so Q = 0.55. This is below 0.64, so 52.40 is kept.

4d rule. Find the mean and the average deviation d of the other results; reject the suspect value if it differs from that mean by more than 4d. It needs at least four other results.

t test. To compare a mean with an accepted value μ:

t=(xˉ−μ)nst = \frac{(\bar{x} - \mu)\sqrt{n}}{s}

If the calculated t exceeds the table value, the difference is significant and points to a systematic error. A two-mean version compares results from two methods or analysts.

F test. To compare the precision of two methods, F=V1V2F = \dfrac{V_1}{V_2} with the larger variance on top. If F exceeds the table value, one method is significantly less precise.

Linear regression. Calibration data (for example absorbance against concentration in Beer's law) are fitted by least squares to y = mx + c:

m=∑(xi−xˉ)(yi−yˉ)∑(xi−xˉ)2c=yˉ−mxˉm = \frac{\sum (x_i - \bar{x})(y_i - \bar{y})}{\sum (x_i - \bar{x})^2} \qquad c = \bar{y} - m\bar{x}

The correlation coefficient r measures how well the points fit a line; r = 0.999 or better is expected for a good calibration. Example: standards of 0, 1, 2, 3 and 4 mM give absorbances 0.002, 0.205, 0.398, 0.602 and 0.801. Least squares gives m = 0.1995 per mM and c = 0.0026, so a sample with absorbance 0.500 has concentration (0.500 − 0.0026) ÷ 0.1995 = 2.49 mM.

Exam lens: how NET and JAM ask this

Typical questions: classify an error as systematic or random; result of a calculation to the right significant figures; standard deviation and relative standard deviation of a small data set; whether a suspect value survives the Q test; which test compares means (t) and which compares precisions (F); slope and intercept of a calibration line.

Quick revision

  • Systematic: assignable cause, one direction, correctable; random: chance, both sides, reduce by repetition.
  • Accuracy, nearness to truth; precision, agreement among replicates.
  • Add or subtract: decimal places; multiply or divide: significant figures.
  • s with n − 1; RSD = s⁄x̄ × 100; ±1σ about 68%; μ = x̄ ± ts⁄√n.
  • Q = gap ⁄ range; Q at 90%: 0.94 (3), 0.76 (4), 0.64 (5).
  • t test: means; F test: variances; least squares slope and intercept, r near 1.

Mains answer practice

Write your answer first, then open the points a good answer should cover.

  1. Distinguish determinate and indeterminate errors with examples. How are determinate errors detected and minimised? Distinguish accuracy and precision.

    Show answer points
    • Determinate: assignable cause, definite sign; instrumental, method, personal
    • Examples: uncalibrated burette, indicator error, parallax
    • Detect and reduce: calibration, blank, standard addition, independent method
    • Indeterminate: no assignable cause, random, both directions, Gaussian; reduce by replicates
    • Accuracy: nearness to true value (systematic error)
    • Precision: agreement among replicates (random error); precise but inaccurate possible
  2. State the rules for significant figures in calculations. Report 12.11 + 18.0 + 1.013 and 0.0121 × 25.64 ÷ 2.1 correctly.

    Show answer points
    • Add or subtract: decimal places of least precise term
    • Multiply or divide: significant figures of factor with fewest
    • 12.11 + 18.0 + 1.013 = 31.123, reported 31.1
    • 0.0121 × 25.64 ÷ 2.1 = 0.1477, reported 0.15 (two figures)
  3. Iron in an ore gave 52.40, 52.47, 52.50, 52.51 and 52.46%. Calculate the mean, standard deviation, relative standard deviation and 95% confidence interval (t = 2.78 for 4 degrees of freedom).

    Show answer points
    • Mean = 52.47%
    • s = √[Σ(xᵢ − x̄)²/(n − 1)] = 0.043%
    • RSD = 0.043 ÷ 52.47 × 100 = 0.082%
    • μ = x̄ ± ts/√n = 52.47 ± 2.78 × 0.043/√5
    • = 52.47 ± 0.05%
    • n − 1 used because only n − 1 deviations are independent
  4. Apply the Q test (90% confidence) to decide whether 52.40 should be rejected from the data 52.40, 52.47, 52.50, 52.51, 52.46. What are the t test and F test used for?

    Show answer points
    • Order: 52.40, 52.46, 52.47, 52.50, 52.51
    • Q = (52.46 − 52.40) ÷ (52.51 − 52.40) = 0.06 ÷ 0.11 = 0.55
    • Q table (n = 5, 90%) = 0.64
    • 0.55 < 0.64: retain 52.40
    • t test: mean against accepted value, t = (x̄ − μ)√n/s; or two means
    • F test: two variances, F = V₁/V₂ with V₁ > V₂; compares precision
  5. Standards of 0, 1, 2, 3 and 4 mM gave absorbances 0.002, 0.205, 0.398, 0.602 and 0.801. Find the least-squares line and the concentration of a sample with absorbance 0.500.

    Show answer points
    • x̄ = 2, ȳ = 0.4016
    • m = Σ(xᵢ − x̄)(yᵢ − ȳ)/Σ(xᵢ − x̄)² = 1.995 ÷ 10 = 0.1995 per mM
    • c = ȳ − mx̄ = 0.0026
    • r ≈ 0.99997, excellent linearity
    • Sample: (0.500 − 0.0026) ÷ 0.1995 = 2.49 mM

Previous year questions

Previous year questions for UPSC CSE will appear here once each one is checked word for word against the official question paper.

Learn with AI

A tutor that asks instead of telling, a partner that argues the other side, and this chapter told through your own district.

Tell the tutor what you are stuck on. It will guide you with questions and give the answer after a few tries.

🙋 Raise a doubt or feedback

Stuck somewhere, or spotted a mistake? Write to the ExamHike team. We usually reply within a day, and you will see the reply on My progress.

Log in to ask a doubt or send feedback →

More in this module: Advanced physical chemistry

Official sources

Facts in this chapter were checked against these official sources.

  1. IGNOU MSc Chemistry, Introduction to Research, Unit 5: Evaluation of analytical data
  2. LibreTexts Chemistry, Analytical Chemistry: linear regression and calibration