What Is Error Analysis? Definition and Key Uses

Error analysis is the habit of looking closely at mistakes instead of just counting them, so you can learn what kind they are and why they happen. The term means different things in different places, from a physics lab report to a language classroom to the testing of an AI chatbot. Underneath, the goal is the same everywhere: turn a pile of errors into patterns you can act on, or into a number you can trust.

The Basic Steps Every Error Analysis Shares

The work starts with a representative sample of real examples: student writing, measurements, or an app’s conversations.1Langfuse. Error analysis You read each one and write a free-text note about the first thing that went wrong, without fixed categories yet.1Langfuse. Error analysis Focusing on the first failure helps because an early mistake can cause the ones after it.2Hamel’s Blog. Q: Why is “error analysis” so important in AI evals, and how is it performed? Language teaching describes the same step as identifying all the errors in a sample of a learner’s language.3Center for Advanced Research on Language Acquisition. Overview of Error Analysis

The sample only helps if it looks like the work you care about. A pile of the easiest or most recent examples can mislead you about which errors are common. If the work comes in different kinds, such as different quiz topics or different customer questions, pull examples from each kind. And avoid hand-picking the ones that already seem interesting, since that builds your own expectations into the results before you start.

Next, similar notes are grouped into named categories. Some practitioners call this the most important step.2Hamel’s Blog. Q: Why is “error analysis” so important in AI evals, and how is it performed? Counting how many errors fall into each category shows which problems are most common.4HoneyHive. How to do error analysis for LLM apps

Say twenty students got a quiz question wrong. You jot down what happened in each case: “forgot units,” “misread the question,” “forgot units again,” “arithmetic slip.” Those notes cluster into a few groups, and if “forgot units” holds eleven of the twenty, you know where to spend your effort.

The categories should come from the errors themselves, not from a list made beforehand. Predefined boxes can hide problems nobody anticipated, while categories that emerge from the notes catch them. If one category mixes two different causes, split it.

For each category you then decide on a fix, a check that catches the problem in future, or simply watching it for now.1Langfuse. Error analysis Reviewing continues until new examples stop revealing new kinds of error.2Hamel’s Blog. Q: Why is “error analysis” so important in AI evals, and how is it performed?

Systematic and Random Errors in Measurement

A systematic error shifts every measurement from the true value by the same amount or fraction, in the same direction.5Matrix Education. Physics Practical Skills Part 3: Systematic VS Random Errors Repeat readings still agree with each other, but all of them are off target.5Matrix Education. Physics Practical Skills Part 3: Systematic VS Random Errors These errors usually come from faulty or misused equipment, such as a poorly calibrated scale.5Matrix Education. Physics Practical Skills Part 3: Systematic VS Random Errors

A random error shifts each reading by a different amount in an unpredictable direction.5Matrix Education. Physics Practical Skills Part 3: Systematic VS Random Errors Results become less consistent, though their average may still land near the true value.5Matrix Education. Physics Practical Skills Part 3: Systematic VS Random Errors How closely repeated measurements agree is called precision, and random errors set its limit.6University of Maryland Physics. What Is Error Analysis? Definition and Key Uses Repeating a measurement several times is the usual way to see how precise it is.6University of Maryland Physics. What Is Error Analysis? Definition and Key Uses

A dartboard shows the difference. Darts clustered tightly but away from the center reflect a steady, one-direction error. Darts spread widely around the bullseye reflect scatter between repeated measurements. Averaging smooths out scatter but never fixes a steady offset.

That is also why repeating a measurement cannot reveal a steady, one-direction error: every repeat is shifted the same way. The usual way to find one is to measure something whose true value is known, or to measure the same thing with a different instrument or method and compare. Zeroing a balance before you weigh anything is the everyday example of checking an instrument against a standard.

How Uncertainty Adds Up in Calculations

Every measurement has an uncertainty, a plus-or-minus range set by limits like the instrument’s precision.7Wikipedia. Propagation of uncertainty Any number calculated from several measurements inherits their combined uncertainty.7Wikipedia. Propagation of uncertainty When you add or subtract measurements, their uncertainties add.8web.mit.edu. Propagation of Uncertainty through Mathematical Operations When you multiply or divide, their percentage uncertainties add.8web.mit.edu. Propagation of Uncertainty through Mathematical Operations

Take two lengths, 10 ± 0.1 cm and 5 ± 0.1 cm. Joined end to end they give 15 ± 0.2 cm. For an area, you add each side’s percentage uncertainty to get the area’s percentage uncertainty.

If the errors are random and independent, though, a smaller combined value is used, found by squaring, adding, and taking the square root.8web.mit.edu. Propagation of Uncertainty through Mathematical Operations For the two lengths, that gives about ± 0.14 cm instead of ± 0.2, because it is unlikely that both errors hit their extremes in the same direction at once.

The plus-or-minus number itself has to come from somewhere. For a simple instrument, it is often taken as about half the smallest division on the scale, though labs and instructors may use slightly different conventions. For repeated readings, the spread of the results can be used to estimate it instead. Reporting it next to the value tells a reader how many of the digits are actually meaningful.

Computers add their own small errors. They store real numbers in limited form, so each calculation introduces tiny rounding errors.9Proceedings of the ACM on Programming Languages. Numerical Fuzz: A Type System for Rounding Error Analysis Over many steps these can reduce the accuracy of a result.9Proceedings of the ACM on Programming Languages. Numerical Fuzz: A Type System for Rounding Error Analysis

Error Analysis in Language Learning

Language error analysis grew from the work of Stephen Pit Corder around the late 1960s and 1970.10Wikipedia. Error analysis (linguistics) The earlier approach tried to predict learner mistakes just by comparing their first and second languages.10Wikipedia. Error analysis (linguistics) Error analysis looked at the errors learners actually made instead.11EBSCOhost. Error Analysis (education) Real learner writing and speech showed that many errors had no link to the first language at all, so the learner’s own developing grasp of the language became the thing worth studying.

Within this field, an error happens when a learner hasn’t learned a rule yet, showing a gap in their knowledge.12Multilingual Pedagogy and World Englishes. Errors and Mistakes A mistake is a slip made despite knowing the rule, a temporary lapse.12Multilingual Pedagogy and World Englishes. Errors and Mistakes Teachers also separate global errors, which disrupt a whole sentence and block understanding, from local errors in a single word that usually don’t.13Humano: Jurnal Penelitian. THE GLOBAL AND LOCAL ERRORS IN ENGLISH-INDONESIAN TRANSLATION Studies sort learner errors by cause, such as overusing a rule or carrying a habit over from the first language.14Language Learning. THE USE OF OVERGENERALIZATION AND TRANSFER LEARNING STRATEGIES BY ELEMENTARY AND INTERMEDIATE STUDENTS OF ESL

English offers an example of each. “He goed” shows a learner overusing the regular past tense rule. Dropping articles (“I bought car”) can reflect a first language without them, like Japanese or Chinese. A word-order mix-up that makes a sentence unreadable is a global error, while a wrong plural ending is a local one the listener still understands.

These distinctions guide correction. True errors call for teaching the missing rule, while a quick reminder is enough for slips. Global errors come first, since they block communication.

Why Skill Does Not Eliminate Human Error

A widely used scheme splits human errors into slips, lapses, and mistakes.15Information and Software Technology. Development of a Human Error Taxonomy for Software Requirements: A Systematic Literature Review Slips and lapses happen in well-practiced automatic actions, while mistakes happen when applying rules or reasoning.16Safety Science. Human error taxonomies applied to driving: A generic driver error taxonomy and its implications for intelligent transport systems So gaining skill doesn’t make you error-free; it changes which errors you make.16Safety Science. Human error taxonomies applied to driving: A generic driver error taxonomy and its implications for intelligent transport systems The scheme has been extended to fields such as software requirements work.15Information and Software Technology. Development of a Human Error Taxonomy for Software Requirements: A Systematic Literature Review

Pouring orange juice into your coffee is a slip. Forgetting to attach a file to an email is a lapse. Choosing the wrong route because you misread a map is a mistake. Each tends to call for a different fix: slips and lapses are often caught by checklists, reminders, or design changes, while mistakes call for better training or information.

Finding Patterns in Statistics and Machine Learning

In statistics, residuals are the leftovers between what a model predicts and the real values.17Statistics Fundamentals. What Is Error Analysis? Definition and Key Uses A curved pattern in them suggests the real relationship isn’t a straight line.17Statistics Fundamentals. What Is Error Analysis? Definition and Key Uses A funnel shape, spreading wider as predictions grow, suggests errors get bigger for larger values.17Statistics Fundamentals. What Is Error Analysis? Definition and Key Uses A few very large residuals often point to unusual cases or data entry mistakes.17Statistics Fundamentals. What Is Error Analysis? Definition and Key Uses Any steady pattern may mean a missing factor or the wrong model shape.18Explanatory Model Analysis. Residual-diagnostics Plots

To read a residual plot, you plot the leftovers against the predictions, or against an input variable. A healthy plot looks like a shapeless cloud scattered evenly around zero, with no visible trend. Any visible shape, such as a curve or funnel, is a sign to revisit the model before trusting its results.

Machine learning applies the same instinct to categories. You compare the model’s predictions with the right answers, then look for patterns in where errors cluster.19mindfulmodeler.substack.com. A simple recipe for model error analysis The aim is to find groups of data with higher error rates than the overall average.20Microsoft Foundry Blog. Responsible Machine Learning with Error Analysis

A confusion matrix is a grid showing which categories a model mixes up, such as rabbits and dogs.21Lightly AI. Demystifying the Confusion Matrix: A Short Guide Frequent mix-ups between two classes can mean the categories themselves overlap, like a person walking a bike being counted as either pedestrian or cyclist.22Medium. Multiclass Confusion Matrix for Object Detection Other causes include missing data, small samples, or problems collecting data.19mindfulmodeler.substack.com. A simple recipe for model error analysis

A model that is accurate overall may fail badly for one region or age group. Once you find the weak group, fixes include collecting more examples of it.

Checking AI Chatbots for Errors

AI teams apply the gather, note, group, and count steps from earlier to records of chatbot conversations.4HoneyHive. How to do error analysis for LLM apps A domain expert should do the reading, starting with at least 30 conversations.2Hamel’s Blog. Q: Why is “error analysis” so important in AI evals, and how is it performed? A wrong answer about a medical, legal, or product question can look fluent and sound correct to someone who doesn’t know the field. An expert spots subtle problems, such as an outdated rule or a missing exception, that a general reader would pass over.

One major failure is hallucination, an AI making up false content.23Preprints. A Survey on Hallucination in Large Language and Foundation Models Hallucinations come in different forms, such as contradicting the given text or adding unsupported facts.23Preprints. A Survey on Hallucination in Large Language and Foundation Models Some come mostly from how a question is worded and others from the model itself.24PubMed Central. Survey and analysis of hallucinations in large language models: attribution to prompting strategies or model behavior

Consider a support bot that gives the wrong return policy. That is one failure type. As the notes pile up, many such failures trace back to outdated documents. The fix is to update the sources, then add a check that catches stale answers. Reading the conversations is what reveals this cause; a score alone would only say the bot was wrong some of the time.

Preventing Failures in Engineering and Healthcare

Failure mode and effects analysis, or FMEA, examines each part of a system to list how it could fail and what that would affect.25PubMed Central. Overview of Failure Mode and Effects Analysis (FMEA): A Patient Safety Tool Each failure gets a risk score from three ratings, each scored 1 to 10.25PubMed Central. Overview of Failure Mode and Effects Analysis (FMEA): A Patient Safety Tool The ratings typically cover how severe the effect would be, how likely it is to occur, and how hard it would be to detect before it causes harm. Combining them gives a single score, so teams can rank failures from most to least worrying. A rare but severe, hard-to-detect failure can then outrank a common one that is trivial and easy to catch.

Teams can then fix the highest risks before products reach customers.26Decision Support Systems. Failure mode and effects analysis by data envelopment analysis Hospitals have adopted FMEA as a patient safety tool.25PubMed Central. Overview of Failure Mode and Effects Analysis (FMEA): A Patient Safety Tool

Root cause analysis looks back instead. It studies a harmful event to find hidden system problems rather than blame one person.27Root Cause Analysis. Root Cause Analysis It separates active errors at the moment of care from latent errors built into the system.27Root Cause Analysis. Root Cause Analysis In one hospital review of 19 falls and medication incidents, most of 118 causes were system failures.28Acta Paulista de Enfermagem. Open-access Root cause analysis of falling accidents and medication errors in hospital

A wrong-dose event shows how this works. The active error is the nurse giving the wrong dose. The latent errors are look-alike labels on the vials and understaffing on the shift. Fixing the labels prevents repeats far better than blaming the nurse.

Known Error Rates in Forensic Evidence

Every scientific technique has some error.29PubMed. Perceptions and estimates of error rates in forensic science: A survey of forensic analysts So US legal standards guide judges to consider a method’s known error rate.29PubMed. Perceptions and estimates of error rates in forensic science: A survey of forensic analysts Proficiency tests, where examiners solve cases with known answers, give first estimates of these rates.30SSRN. Proficiency Tests to Estimate Error Rates in the Forensic Sciences Without them, juries can’t judge the risk of a false match.30SSRN. Proficiency Tests to Estimate Error Rates in the Forensic Sciences When you hear about forensic evidence, a useful question is whether the method’s error rate was ever tested.

The Limits of Error Analysis

Studying errors alone can miss what people avoid. Chinese and Japanese learners make fewer relative clause errors partly because they avoid those clauses.31Language Learning. AN ERROR IN ERROR ANALYSIS So a low error count doesn’t always mean mastery. Critics also flag weak points in classifying errors, counting them, assigning causes, and biased samples.32TESOL Quarterly. Some Reservations concerning Error Analysis In AI traces, upstream errors can hide later ones, which is why reviewers start with the first failure.2Hamel’s Blog. Q: Why is “error analysis” so important in AI evals, and how is it performed? To guard against these blind spots, look at what’s missing as well as what’s wrong, and have more than one person sort the errors so one person’s habits don’t shape the categories.