Hypothesis testing. Null vs alternative

Hypothesis testing. Null vs alternative

In this tutorial we’ll introduce hypothesis testing. There are four steps in data-driven decision-making. First, you must formulate a hypothesis. Second, once you have formulated a hypothesis, you will have to find the right test for your hypothesis.Third, you execute the test. And fourth, you make a decision based on the result.

Let’s start from the beginning. What is a hypothesis?
Though there are many ways to define it, the most intuitive I’ve seen is:
“A hypothesis is an idea that can be tested.”
This is not the formal definition, but it explains the point very well.
So, if I tell you that apples in New York are expensive, this is an idea, or a statement, but is not testable, until I have something to compare it with. For instance, if I define expensive as: any price higher than $1.75 dollars per pound, then it immediately becomes a hypothesis.
Alright, what’s something that cannot be a hypothesis? An example may be: would the USA do better or worse under a Clinton administration, compared to a Trump administration? Statistically speaking, this is an idea, but there is no data to test it, therefore it cannot be a hypothesis of a statistical test. Actually, it is more likely to be a topic of another discipline. Conversely, in statistics, we may compare different US presidencies that have already been completed, such as the Obama administration and the Bush administration, as we have data on both.
Generally, the researcher is trying to reject the null hypothesis. Think about the null hypothesis as the status quo and the alternative as the change or innovation that challenges that status quo. In our example, Paul was representing the status quo, which we were challenging.

*Special Offer 20% Off*. Complete Data Science Online Training Program. Earn a data science degree at your own pace. Access your 20% off here: ✅

So, you want to become a data scientist? Great! Our free step by step guide will walk you through how to start a career in data science: ✅

Follow us on YouTube:

Connect with us on our social media platforms:
✅Website:
✅LinkedIn:
✅Medium:
✅Facebook:
✅Pinterest:
✅Reddit:
✅Tumblr:
✅Instagram:
✅Q&A Hub:

Prepare yourself for a career in data science with our comprehensive program:

Get in touch about the training at:
support@365datascience.com

Comment, like, share, and subscribe! We will be happy to hear from you and will get back to you!
#hypothesis #testing #tutorial