Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Become a Python Data Analyst

You're reading from   Become a Python Data Analyst Perform exploratory data analysis and gain insight into scientific computing using Python

Arrow left icon
Product type Paperback
Published in Aug 2018
Publisher Packt
ISBN-13 9781789531701
Length 178 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Alvaro Fuentes Alvaro Fuentes
Author Profile Icon Alvaro Fuentes
Alvaro Fuentes
Arrow right icon
View More author details
Toc

Hypothesis testing

In this section, we will perform hypothesis testing to answer this question: "does alcohol consumption affect academic performance?".

We will cover the following topics:

  • A null hypothesis testing framework
  • Performing a test for the equality of population variances
  • Performing a t-test for the equality of population means

We will be using these results to answer the question that we proposed. We will use the Jupyter Notebook and conduct a brief review of the following steps, which we usually follow when we use hypothesis testing to answer a question:

  1. We will set up two competing hypotheses; one is called the null hypothesis and the other is called the alternative hypothesis. What determines these hypotheses is the type of question that we would like to answer.
  2. We will set in advance a significance level, called alpha. The most common alpha value...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime