• Home
  • About
  • Join Us
  • Contact
Bharat Ideology
  • Insight
  • Culture
  • Economics
  • Parenting
  • Science & Tech
Subscribe
No Result
View All Result
  • Insight
  • Culture
  • Economics
  • Parenting
  • Science & Tech
Subscribe
No Result
View All Result
Bharat Ideology
No Result
View All Result
Home Science & Tech

Hypothesis Testing

by bharatideology
January 10, 2025
in Science & Tech
0
Hypothesis Testing
Share on FacebookShare on Twitter

Hypothesis testing is a form of statistical inference that uses data from a sample to draw conclusions. There are 5 steps of Hypothesis Testing that has been illustrated below:

Step 1 – Setup hypothesis and determine level of significance

  • Setup Null hypothesis (H0) from population parameters
  • Setup Alternative hypothesis (H1)
  • Setup appropriate significance level,α

Step 2 – Compute test statistic

  • From H1, determine whether this is an upper, lower, or two-tailed test
  • Depending on sample size select appropriate sample distribution (t-statistic or Z-statistic
  • Compute the test statistic 

Step 3 – Determine critical value(Zα) of the test based on a ( level of significance)

Step 4 – Compare Z with Zα, and conclude the test

Step 5 – Decision Rule

  • if I Z l< Zα, Z is not significant and the null hypothesis may, therefore, be accepted
  • If I Z I≥ Zα, Z is significant and the null hypothesis is rejected.

Let’s understand Hypothesis Testing with an example.

Related articles

India’s Digital Revolution: A Quantum Leap Towards a $5 Trillion Dream

Top 10 Generative AI Tools and Platforms Reshaping the Future

Example : Hypothesis Test – Population Mean – Upper Tailed Test

Chips company claims that maximum saturated fat content in chip packet is 2 grams with std dev = 0.25

A test on a sample of 35 packets reveal that mean saturated fat is 2.1 grams

Should the claim of Chips company be rejected?

Let’s test the null hypothesis at the significance level of 5%.

Step 1: Set up null hypothesis and alternative hypothesis

H0 : mu <= 2

Null Hypothesis

H1 : mu > 2

Alternative Hypothesis – Upper tailed test

level of significance = 0.05

Step 2: Compute Test Statistics

Sample size id more than 30. So, need to calculate Z statistics mu = 2

Population mean Xbar = 2.1

Sample mean sigma = 0.25

Population Std Dev n = 35

Sample Size SE = sigma/sqrt(n)

Sample std deviation: 0.0422 Z = (Xbar – mu)/SE

Z score – Z   – 2.36 std dev away from the mean

Step 3: Compute critical value for significance level = 0.05 or Confidence Interval = 95%
Zα = qnorm(1-α)
Zα – Critical value for 95% confidence

Step 4: Compare Test statistic with critical value and conclude the test

Decision

if Z < Zα, Z is not significant and the null hypothesis may, therefore, be accepted.

if Z ≥ Zα, Z is significant and the null hypothesis is rejected Z > Zα

Conclusion

With 95% confidence the claim of at most 2 grams of saturated fat in a chips packet should be rejected

Chances of Error in Sampling

TYPE I Error

When we reject the null Hypothesis, although that Hypothesis was true, it is called as TYPE I Error. This type of error is denoted by alpha(α). In Hypothesis Testing, the normal curve that shows the critical region is called the alpha region

TYPE II error

When we accept the null Hypothesis but it is false then it is called as TYPE II error. This type of error is denoted by (β). In Hypothesis Testing, the normal curve that shows the acceptance region is called the beta region

Tags: Data ScienceHypothesis Testing

bharatideology

Related Posts

India’s Digital Revolution: A Quantum Leap Towards a $5 Trillion Dream

India’s Digital Revolution: A Quantum Leap Towards a $5 Trillion Dream

by bharatideology
February 17, 2024
0

The year is 2024, and India stands at a crossroads. The ghosts of the "fragile five" label still linger in the collective memory, but a new...

Top 10 Generative AI Tools and Platforms Reshaping the Future

Top 10 Generative AI Tools and Platforms Reshaping the Future

by bharatideology
January 9, 2025
3

Generative AI, the technology that conjures new ideas and content from thin air, is taking the world by storm. From crafting captivating images to writing eloquent...

Decoding the Future: Gen AI’s Evolution in 2024 – Trends, Strategies, and Business Impact

Decoding the Future: Gen AI’s Evolution in 2024 – Trends, Strategies, and Business Impact

by bharatideology
January 9, 2025
1

Introduction The past year has witnessed an explosive eruption in the realm of Generative AI (Gen AI), propelling it from a nascent technology to a pivotal...

Will Gemini be the AI to Rule Them All? Exploring the Rise of Google’s Multimodal Colossus

Will Gemini be the AI to Rule Them All? Exploring the Rise of Google’s Multimodal Colossus

by bharatideology
January 9, 2025
2

The landscape of Large Language Models (LLMs) has witnessed a rapid evolution, with Google playing a pivotal role in pushing boundaries. Enter Gemini, Google's latest LLM,...

GenAI, LLMs, and Vector Databases: Revolutionizing Recommendation Systems in 2024

GenAI, LLMs, and Vector Databases: Revolutionizing Recommendation Systems in 2024

by bharatideology
January 9, 2025
1

Overview The world of recommendation systems is undergoing a paradigm shift, propelled by the convergence of Generative AI (GenAI) and Large Language Models (LLMs). These powerful...

CATEGORIES

  • Culture
  • Economics
  • Insight
  • Parenting
  • Science & Tech

RECOMMENDED

Introduction to Tensor
Science & Tech

Introduction to Tensor

January 10, 2025
Canny Edge Detection for Image Processing
Science & Tech

Canny Edge Detection for Image Processing

January 10, 2025

Twitter Handle

TAGS

Agnipath Ambedkar Panchteerth Artificial Intelligence Ayodhya Ayushman Bharat Backpropogation Bhagwan Birsa Munda Museum CNN CNN Architecture Co-win Computer Vision Consecration Deep Learning Digital India Digital Revolution FutureSkills PRIME GenAI Hornbill Festival Image Segmentation International Space Station LLM Make in India Namami Gange Narendra Modi Neural Network Object Detection OCR OpenCV PLI PM Modi PRASHAD Python Ramayana Ram Mandir Recurrent Neural Network RNN Sangai Festival Semiconductor Shri Ram Janambhoomi Temple Skill India Statue of Unity Swadesh Darshan Tensorflow Vaccine Maitri Women empowerement
Bharat Ideology

Do not be led by others,
awaken your own mind,
amass your own experience,
and decide for yourself your own path - Atharv Ved

© Copyright Bharat Ideology 2023

  • About
  • Disclaimer
  • Terms & Conditions
  • Contact
No Result
View All Result
  • About
  • Contact
  • Disclaimer
  • Home
  • Terms and Conditions of use

© Copyright Bharat Ideology 2023