Liwaiwai Liwaiwai
  • /
  • Artificial Intelligence
  • Machine Learning
  • Robotics
  • Engineering
    • Architecture
    • Design
    • Software
    • Hybrid Cloud
    • Data
  • Learning
  • About
  • /
  • Artificial Intelligence
  • Machine Learning
  • Robotics
  • Engineering
    • Architecture
    • Design
    • Software
    • Hybrid Cloud
    • Data
  • Learning
  • About
Liwaiwai Liwaiwai
  • /
  • Artificial Intelligence
  • Machine Learning
  • Robotics
  • Engineering
    • Architecture
    • Design
    • Software
    • Hybrid Cloud
    • Data
  • Learning
  • About
  • Data

Statistics For Dummies: Type I And Type II Errors

  • October 12, 2019
  • admin

You often hear Type I and Type II errors in statistics classes. There is good reason for that — minimizing either of these two errors is pretty much the core of statistical theory.

Preliminaries

Type I and Type II errors are related to the concept of hypothesis testing. In hypothesis testing, we have two hypotheses:


Partner with liwaiwai.com
for your next big idea.
Let us know here.



From our partners:

CITI.IO :: Business. Institutions. Society. Global Political Economy.
CYBERPOGO.COM :: For the Arts, Sciences, and Technology.
DADAHACKS.COM :: Parenting For The Rest Of Us.
ZEDISTA.COM :: Entertainment. Sports. Culture. Escape.
TAKUMAKU.COM :: For The Hearth And Home.
ASTER.CLOUD :: From The Cloud And Beyond.
LIWAIWAI.COM :: Intelligence, Inside and Outside.
GLOBALCLOUDPLATFORMS.COM :: For The World's Computing Needs.
FIREGULAMAN.COM :: For The Fire In The Belly Of The Coder.
ASTERCASTER.COM :: Supra Astra. Beyond The Stars.
BARTDAY.COM :: Prosperity For Everyone.

01. Null hypothesis – the hypothesis of “no effect,” the status quo. 

example: Income and gender are independent of one another.

This is a conjecture of no effect since it states that income and gender has nothing to do with each other.

02. Alternative hypothesis  – the statement which we (usually) hope to prove.

example: Income and gender are associated.

Typically, the alternative hypothesis is the hypothesis which we intend to prove.

However, statistical tests of hypotheses are a form of a proof by contradiction.

To prove by contradiction is to assume the null hypothesis. Under this assumption, we attempt to show through evidence that the null hypothesis is implausible.

If we have shown this successfully, we are compelled to conclude in favor of the alternative hypothesis. We say that we reject the null hypothesis and that we have sufficient evidence in favor of the alternative.

On the other hand, if under the assumption of the truth of the null hypothesis, our findings are consistent, we cannot reject the hypothesis. This means that we do not have sufficient evidence supporting the alternative and that we fail to reject the null.

In other words, while we are interested in the alternative hypothesis, it is the null hypothesis which we put to the test.

Read More  How To: Perform Tests for Normality in R

What are Type I and Type II Errors?

Now, given this, we have four scenarios:

  1. We reject the null hypothesis when we should reject it.
  2. We do not reject the null hypothesis when we should not reject it
  3. We reject the null hypothesis when we should NOT reject it
  4. We do not reject the null hypothesis when we SHOULD reject it.

The first two are correct decisions. The last two are Type I and Type II errors, respectively. The diagram below simplifies the four scenarios we just laid down:

Why do I need to know about these errors?

A Type I error is a false positive. Meanwhile, a Type II error is a false negative. Ideally we want to minimize both errors.

There’s a catch though. Type I and Type II errors are inversely related. This means that minimizing one inflates the other.

To be able to know these type of errors will allow you to assess what kind of risk you are willing to take and what kind of risk you cannot afford.

An illustration

To put this into perspective, let’s look in the field of medicine, screening tests and diagnostic tests can illustrate the need for minimizing Type I and Type II errors well.

Screening tests are meant to detect true positives. This means that these tests should minimize false negatives — type II errors.  By minimizing Type II errors,  the screening tests can accurately detect most individuals who potentially have a particular disease.

People who tested positive in a screening test will have to undergo a diagnostic test. Diagnostic tests are meant to detect true negatives.

Read More  Statistics For Dummies: The Null Hypothesis

This test will verify whether a patient truly has the disease. In this case, we intend to minimize false positives — type I errors. A falsely diagnosed patient will end up undergoing treatment. This may cost them not only their money but potentially, even their lives.

Inevitable risk

The implications of Type I and Type II errors are widely encompassing. Statistics is applied not only in medicine but also in engineering, computer science, and the social sciences — just to name a few.

Statistics relies on probabilities. There is always a margin of error — a possibility that the wrong decision has been made.

We can never be absolutely certain in statistics. However, Knowing what type of error we can commit and just how probable this error can occur provides us confidence in our results.


For enquiries, product placements, sponsorships, and collaborations, connect with us at [email protected]. We'd love to hear from you!

Our humans need coffee too! Your support is highly appreciated, thank you!

admin

Related Topics
  • Errors
  • Null Hypothesis
  • Statistics
You May Also Like
View Post
  • Artificial Intelligence
  • Data

Applying Generative AI To Product Design With BigQuery DataFrames

  • September 21, 2023
View Post
  • Data
  • Platforms

Microsoft And Oracle Expand Partnership To Deliver Oracle Database Services On Oracle Cloud Infrastructure In Microsoft Azure

  • September 14, 2023
View Post
  • Artificial Intelligence
  • Data
  • Platforms
  • Software Engineering
  • Technology

Combining AI With A Trusted Data Approach On IBM Power To Fuel Business Outcomes

  • September 11, 2023
View Post
  • Data
  • Learning

Resources to Take Your Charts From Bland to Beautiful

  • September 7, 2023
View Post
  • Artificial Intelligence
  • Data
  • Data Science
  • Platforms

Reimagine Data Analytics For The Era Of AI

  • August 30, 2023
View Post
  • Artificial Intelligence
  • Data
  • Machine Learning
  • Platforms

IBM Introduces ‘Watsonx Your Business’

  • August 28, 2023
Google Cloud Next 2023
View Post
  • Artificial Intelligence
  • Data
  • Engineering
  • Platforms

10 Must-Attend Sessions For Data Professionals At Google Cloud Next ‘23

  • August 23, 2023
View Post
  • Data
  • Machine Learning
  • Research
  • Technology

Using Machine Learning To Help ZSL & Network Rail Monitor And Improve Biodiversity Near British Railways

  • August 21, 2023
A Field Guide To A.I.
Navigate the complexities of Artificial Intelligence and unlock new perspectives in this must-have guide.
Now available in print and ebook.

charity-water



Stay Connected!
LATEST
  • 1
    AI-Driven Tool Makes It Easy To Personalize 3D-Printable Models
    • September 22, 2023
  • 2
    Applying Generative AI To Product Design With BigQuery DataFrames
    • September 21, 2023
  • 3
    Combining AI With A Trusted Data Approach On IBM Power To Fuel Business Outcomes
    • September 21, 2023
  • Microsoft and Adobe 4
    Microsoft And Adobe Partner To Deliver Cost Savings And Business Benefits
    • September 21, 2023
  • 5
    Huawei Connect 2023: Accelerating Intelligence For Shared Success
    • September 20, 2023
  • 6
    Document AI Workbench Is Now Powered By Generative AI To Structure Document Data Faster
    • September 15, 2023
  • Data 7
    UK Space Sector Has Sights Set On Artificial Intelligence And Machine Learning Professionals
    • September 15, 2023
  • Intel Innovation 8
    Intel Innovation 2023
    • September 15, 2023
  • 9
    Introducing OpenAI Dublin
    • September 14, 2023
  • 10
    Microsoft And Oracle Expand Partnership To Deliver Oracle Database Services On Oracle Cloud Infrastructure In Microsoft Azure
    • September 14, 2023

about
About
Hello World!

We are liwaiwai.com. Created by programmers for programmers.

Our site aims to provide materials, guides, programming how-tos, and resources relating to artificial intelligence, machine learning and the likes.

We would like to hear from you.

If you have any questions, enquiries or would like to sponsor content, kindly reach out to us at:

[email protected]

Live long & prosper!
Most Popular
  • 1
    Real-Time Ubuntu Is Now Available In AWS Marketplace
    • September 12, 2023
  • 2
    IBM Brings Watsonx To ESPN Fantasy Football With New Waiver Grades And Trade Grades
    • September 13, 2023
  • 3
    IBM Announced As A Sponsor Of 2023 U.N. Climate Change Conference (COP28)
    • September 13, 2023
  • 4
    NASA Shares Unidentified Anomalous Phenomena Independent Study Report
    • September 14, 2023
  • 5
    Bristol Set To Host UK’s Most Powerful Supercomputer To Turbocharge AI Innovation
    • September 13, 2023
  • /
  • Artificial Intelligence
  • Explore
  • About
  • Contact Us

Input your search keywords and press Enter.