Skip to main content

How to conduct Hypothesis Testing step by step - simple and elegant (part 3)

Step by Step procedure in Conducting the Hypothesis Testing: prerequisites:   Part 1:  What is Hypothesis Testing and When it is Used? Part 2:  How to decide Null and Alternate Hypothesis?                    https://www.isixsigma.com/   Before diving into the steps, first let’s understand the Important Terminology we need to understand: Null Hypothesis: It is a well-established fact which is believed by all the people. It can also defined as an Assumption that treats everything equally and similarly. Alternate Hypothesis: It is a new claim made against the Null Hypothesis. If we have enough evidence against the Null Hypothesis we will reject Null Hypothesis. P-value: Probability of Null Hypothesis being true. Significance level: probability of rejecting the Null Hypothesis when it is true. It is a critical point where we decide whether the Null Hypothesis is rejected or not. ...

How to decide Null Hypothesis & Alternate Hypothesis - Examples (part 2)

Lets Understand Null Hypothesis and Alternate Hypothesis.


Prerequisites:

part 1: What is Hypothesis Testing and When it is Used?

 

Null Hypothesis (H0) : It is a well Established Fact or An Assumption which treats everything is similar and equal.

Alternate Hypothesis(Ha) : The claim you want to prove.

Note: H0 and Ha are always opposite to each other.


                                                                                                                             https://keydifferences.com/


Example 1:

Statement: During 18th century, People used to believe that Sun revolves around the earth. Later Copernicus came and told that it is not true.

Since, At the time of 18th century “Sun revolves around the earth” is a well established fact and is widely accepted belief, So It will become our null hypothesis.

Copernicus claimed that “Earth revolves around the sun” which is opposite to null hypothesis. So it will become Alternate Hypothesis.

H0 :   Sun revolves around the Earth.

Ha :    Earth revolves around the sun.


Example 2:

Statement: It is believed that a candy Machine makes chocolate bars that are on average 5g. a worker claims that the Machine after maintenance no longer makes 5g bars.

H0 : avg = 5              ->      Given Fact about candy Machine. 

Ha :   avg != 5                 ->        Given Claim by the worker.


Example 3: 


Statement: Model A is using for Amazon Recommendation system from past 5 years. Now, A Data scientist has built a new Model B and claimed that it works better than Model A.

H0 : Model B is not better than Model A.

Ha : Model B is better than Model A.


Here somehow if we able to reject null hypothesis (well established fact) then Alternate Hypothesis (new claim) will become established Truth.

Note: Since we can’t prove the new claim (Alternate Hypothesis) directly. We try to reject established fact(Null Hypothesis) using some evidence. This is the main idea behind Hypothesis Testing.

In the next blog, I will explain about how to conduct Hypothesis Testing and How to decide in rejection of Null Hypothesis.

part 3: Conducting Hypothesis Testing Step by Step - Easy and Elegant


If you have any queries, please comment below...
For more content please follow the blogpost...

Comments

Popular posts from this blog

Simple Understanding of VGG16 and it's Architecture (part 2)

Vgg16 Architecture:   Prerequisites:  ALEXNet  :  ALEXNet Architecture   * vgg refers to visual geometry group who has developed vgg16 architecture. * 16 refers to number of layers. VGG16 or VGGNet is a convolution neural network and it is a simplified and better version of Alexnet. Remembering Alexnet architecture is very difficult, Later on 2014, vgg16 came as an architecture and it is very simple to remember. VGG16 is very simple where:  ·   It is built on Convolution operations with fixed kernel_size=(3x3), padding=’same’, and stride=1 for all Convolution layers. ·     And also Maxpooling operation with pool_size=(2x2) and stride=2 for all Maxpool layers.       Let's see the architecture of vgg16 source:https://qph.fs.quoracdn.net/main-qimg-e657c195fc2696c7d5fc0b1e3682fde6 If you observe the figure, As said all convolution layers have 3x3 kernels and all maxpool layers have size of 2x2. Note 1: For...

Simple Understanding of ALEXNET and its Architecture (part 1)

Alexnet is a state of art convolution neural network, because it has outperformed all the algorithms in terms of accuracy in ImageNet competition around 2012. ImageNet competition is a challenge where a dataset is provided with 1000 categories with millions of images to be trained for image recognition.   ALEXNET ARCHITECTURE:                                                                     Source: https://i0.wp.com/ramok.tech/wp-content/uploads/2017/12/2017-12-31_01h31_40.jpg   In the whole architecture, There are only convolution and max pooling operations followed by fully connected layers (yellow color) at the end, for classification. For simple and fast understanding of the architecture you need to remember a formula: [ (n-k+2p)/s ]+1 n -> size of image k -> kernel size ...

Linear Regression - SIMPLIFIED

It is the basic algorithm at which everybody would like to start their learning in Data Science.             Now, what exactly the Linear Regression is 1.  Linear Regression is the supervised learning algorithm where it’s main aim is to find the line that best fits the given data. 2. Here ‘Fitting the best line for given data’ means finding the relation between dependent and independent variables present in the data.   Note 1: you need to use Linear regression only when your dependent and independent variables have linear relationship. Note 2: Here Independent variables can be both discreet or continuous data, but dependent variables should be continuous data. Ok, Let me explain with good example,                                                                    ...