Practice
Resources
Contests
Online IDE
New
Free Mock
Events New Scaler
Practice
Improve your coding skills with our resources
Contests
Compete in popular contests with top coders
logo
Events
Attend free live masterclass hosted by top tech professionals
New
Scaler
Explore Offerings by SCALER

Inferential Statistics

Go to Problems

Hypothesis Testing

Hypothesis Testing

Hypothesis testing or significance testing is a method for testing a claim or hypothesis about a parameter in a population, using data measured in a sample. In this method, we test some hypotheses by determining the likelihood that a sample statistic could have been selected, if the hypothesis regarding the population parameter were true.

 

The method of hypothesis testing can be summarized in four steps:

  1. State the hypothesis. This means identifying the hypothesis or claim to be tested or validated. 
  2. Set the criteria for decision. Selecting the criterion upon which it will be tested or deciding that the claim is true or not.
  3. Compute the test statistics. Take a random sample from the population and measure the test statistics for example mean of the sample.
  4. Compare the observations and decide whether the hypothesis is true or not.

 

Putting in simpler terms, the goal of hypothesis testing is to determine the likelihood that a population parameter is likely to be true. We simply start by stating a claim on a population parameter, say mean of the population to carry some value and we conduct a series of tests to validate that the claim is true, or not. What is stated as a claim in the first step is called a Null Hypothesis. And the tests are carried out to decide whether the Null hypothesis is true or it needs to be rejected.

Now, why do we need to test the Null hypothesis in the first place? Because it’s an assumption or claim we make, and we think it’s wrong. To counter, we state an alternative hypothesis that says what’s wrong with the Null hypothesis. An alternative hypothesis is a statement that directly contradicts a null hypothesis by stating that the actual value of a population parameter is less than, greater than, or not equal to the value stated in the null hypothesis.

Serious about Learning Data Science and Machine Learning ?

Learn this and a lot more with Scaler's Data Science industry vetted curriculum.
Hypothesis testing
Central limit theorem
Distribution analysis: multivariate
Problem Score Companies Time Status
Correlation-analysis 30
2:00
Normal random variable 30
1:24
When multivariate analysis 30
3:07
Multivariate 30
1:34
Dependent variables 30
2:21
Estimation and sampling
Problem Score Companies Time Status
Number of random samples 30
2:29
Team Selection 30
0:58
Free Mock Assessment
Fill up the details for personalised experience.
All fields are mandatory
Current Employer *
Enter company name *
Graduation Year *
Select an option *
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
Phone Number *
OTP will be sent to this number for verification
+1 *
+1
Change Number
Phone Number *
OTP will be sent to this number for verification
+1 *
+1
Change Number
Graduation Year *
Graduation Year *
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
*Enter the expected year of graduation if you're student
Current Employer *
Company Name *
Please verify your phone number
Edit
Resend OTP
By clicking on Start Test, I agree to be contacted by Scaler in the future.
Already have an account? Log in
Free Mock Assessment
Instructions from Interviewbit
Start Test