Urgent.News

What's breaking now, across hundreds of outlets.

Tech

How to adjust the significance threshold with the Bonferroni method in multiple comparisons

How to adjust the significance threshold with the Bonferroni method in multiple comparisons Setting a test's significance level at 0.05 means that when the null hypothesis is true, there is a 5% chance of wrongly calling the result significant. Run many tests at once, and a single wrong call adds a spurious "discovery". That is the multiple comparisons problem: the more tests, the greater the…

The Bonferroni method adjusts the significance threshold in multiple comparisons to control the family-wise error rate. Setting a test's significance level at 0.05 assumes a 5% chance of a type I error when the null hypothesis is true. However, conducting many tests increases the probability of at least one false positive. The Bonferroni correction mitigates this by dividing the overall alpha (α) evenly across the number of tests (m) being performed.

Each individual test is then considered significant only if its p-value is less than or equal to α/m. This ensures the overall probability of a type I error across all tests does not exceed the original α level.

This method controls the family-wise error rate through Boole's inequality, which states that for m₀ true null hypotheses, the probability of at least one p-value falling below α/m is no greater than α. The Bonferroni correction works without needing to know the number of true null hypotheses or if the tests are independent. Regardless of how many tests are run, the probability of at least one false positive remains around 4.9% or less, never exceeding the 5% threshold.

To apply the Bonferroni method, you can either adjust the significance threshold by dividing α by the number of tests or multiply each p-value by the number of tests and compare it to the original α. Notably, the threshold does not have to be evenly split; any levels that sum up to α are acceptable as long as they are determined before examining the data.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Microservices Won't Fix Your Architecture. They Might Expose It.

The hidden costs of distributed systems. A monolith becomes difficult to maintain. Deployments take longer. Teams start stepping on each other's code. A small change requires running thousands of tests. Someone suggests microservices. Break the application into smaller services. Give each team ownership. Deploy independently.

  • Microservices may expose complexities rather than solve them.
  • Companies often end up with more services and deployment points after implementation.
  • Shared databases can create coordination issues in microservices architecture.

How a TCM culture-learning site keeps itself from looking like a medical product

HealGardens is a browser-based pixel town for learning Chinese herbal-food culture, materia medica, seasonal food traditions, and classic formula culture. Visitors walk the town. The project is explicit that this is cultural learning, not a clinical tool.

  • HealGardens is a virtual town for learning about Chinese herbal-food culture.
  • Site publishes safety rules, committing not to diagnose, prescribe, or collect health info.
  • Project aims to provide cultural knowledge, not medical treatment or prescriptions.

More from Sunday, 29 November 2026 →