ArticleslgStudy

mathematics

Type I and type II errors

Type I and type II errors is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Type I and type II errors rather than just read about it. In short: A type I error is the incorrect rejection of a true null hypothesis in statistical hypothesis testing. A type II error is the incorrect failure to reject a false null hypothesis.

Type I and type II errors — main illustration
Type I and type II errors — illustration

Key takeaways

  • Type I and type II errors belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Type I and type II errors to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Type I and type II errors from memory before moving on to harder problems.

Reference excerpt

A type I error is the incorrect rejection of a true null hypothesis in statistical hypothesis testing. A type II error is the incorrect failure to reject a false null hypothesis. An analysis commits a type I error when some baseline assumption is incorrectly rejected because of new, misleading information. Meanwhile, a type II error is made when such an assumption is maintained, due to flawed or insufficient data, when better measurements would have shown it to be untrue. For example, in the context of medical testing, if we consider the null hypothesis to be "This patient does not have the disease," a diagnosis that the disease is present when it is not is a Type I error, while a diagnosis that the patient does not have the disease when it is present would be a Type II error. The manner in which a null hypothesis frames contextually default expectations influences the specific ways in which type I errors and type II errors manifest, and this varies by context and application. Generally the risk of such errors cannot be entirely eliminated, only traded-off between the two types, by for example changing the significance threshold. Knowledge of type I errors and type II errors is applied widely in fields of medical science, biometrics and computer science. Minimising these errors is an object of study within statistical theory, though complete elimination of either is impossible when relevant outcomes are not determined by known, observable, causal processes.

Definition

Statistical background In statistical test theory, the notion of a statistical error is an integral part of hypothesis testing. The test goes about choosing two competing propositions called null hypothesis, denoted by H0 and alternative hypothesis, denoted by H1. This is conceptually similar to the judgement in a court trial. The null hypothesis corresponds to the position of the defendant: just as he is presumed to be innocent until proven guilty, so is the null hypothesis presumed to be true until the data provide convincing evidence against it. The alternative hypothesis corresponds to the position against the defendant. Specifically, the null hypothesis also involves the absence of a difference or the absence of an association. Thus, the null hypothesis can never be that there is a difference or an association. If the result of the test corresponds with reality, then a correct decision has been made. However, if the result of the test does not correspond with reality, then an error has occurred. There are two situations in which the decision is wrong. The null hypothesis may be true, whereas we reject H0. On the other hand, the alternative hypothesis H1 may be true, whereas we do not reject H0. Two types of error are distinguished: type I error and type II error.

Type I error The first kind of error is the mistaken rejection of a null hypothesis as the result of a test procedure. This kind of error is called a type I error (also error of the first kind). In terms of the courtroom example, a type I error corresponds to convicting an innocent defendant.

Type II error The second kind of error is the failure to reject the null hypothesis as the result of a test procedure. This sort of error is called a type II error (also error of the second kind). In terms of the courtroom example, a type II error corresponds to acquitting a criminal.

Crossover error rate The crossover error rate (CER) is the point at which type I errors and type II errors are equal. A system with a lower CER value provides more accuracy than a system with a higher CER value. With all else being equal, having the rate of type I errors and type II errors being equal (i.e. the CER) will result in the lowest overall error rate.

False positive and false negative

In terms of false positives and false negatives, a positive result corresponds to rejecting the null hypothesis, while a negative result corresponds to failing to reject the null hypothesis; "false" means the conclusion drawn is incorrect. Thus, a type I error is equivalent to a false positive, and a type II error is equivalent to a false negative.

Table of error types Tabulated relations between truth/falseness of the null hypothesis and outcomes of the test:

Error rate

A perfect test would have zero false positives and zero false negatives. However, statistical methods are probabilistic, and it cannot be known for certain whether statistical conclusions are correct. Whenever there is uncertainty, there is the possibility of making an error. Considering this, all statistical hypothesis tests have a probability of making type I and type II errors.

The type I error rate is the probability of rejecting the null hypothesis given that it is true. The test is designed to keep the type I error rate below a prespecified bound called the significance level, usually denoted by the Greek letter α (alpha) and is also called the alpha level. Usually, the significance level is set to 0.05 (5%), implying that it is acceptable to have a 5% probability of incorrectly rejecting the true null hypothesis. The rate of the type II error is denoted by the Greek letter β (beta) and related to the power of a test, which equals 1−β. These two types of error rates are traded off against each other: for any given sample set, the effort to reduce one type of error generally results in increasing the other type of error.

… excerpt ends here. Continue reading the full article.

Illustrations

Type I and type II errors: An illustration in a law review article[11] by the Hon. James A. Shapiro and Prof. Karl T. Muth explains Type I and Type II errors in the criminal law context.
An illustration in a law review article[11] by the Hon. James A. Shapiro and Prof. Karl T. Muth explains Type I and Type II errors in the criminal law context.

Worked examples

Example 1 — a first encounter with Type I and type II errors

Start with the simplest possible case. Write down what Type I and type II errors claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Type I and type II errors before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Type I and type II errors ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Type I and type II errors

In research
Type I and type II errors appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Type I and type II errors in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Type I and type II errors is common in secondary-school and first-year university syllabi. It links to neighbouring topics Design of experiments, Error, Statistical hypothesis testing, so understanding it makes those chapters shorter.
In everyday life
Look for Type I and type II errors outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Type I and type II errors” →

How to study Type I and type II errors in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Type I and type II errors means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Type I and type II errors out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Type I and type II errors in simple terms?

A type I error is the incorrect rejection of a true null hypothesis in statistical hypothesis testing. A type II error is the incorrect failure to reject a false null hypothesis.

Why does Type I and type II errors matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Type I and type II errors?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Type I and type II errors.

Tags

  • Design of experiments
  • Error
  • Statistical hypothesis testing

Keep exploring