Commerce Exam  >  Commerce Notes  >  Applied Mathematics for Class 12  >  Hypothesis Testing

Hypothesis Testing | Applied Mathematics for Class 12 - Commerce PDF Download

Introduction

  • Hypothesis testing is a tool for making statistical inferences about the population data. It is an analysis tool that tests assumptions and determines how likely something is within a given standard of accuracy. Hypothesis testing provides a way to verify whether the results of an experiment are valid. 
  • A null hypothesis and an alternative hypothesis are set up before performing the hypothesis testing. This helps to arrive at a conclusion regarding the sample obtained from the population. In this article, we will learn more about hypothesis testing, its types, steps to perform the testing, and associated examples. 

What is Hypothesis Testing in Statistics? 

Hypothesis testing uses sample data from the population to draw useful conclusions regarding the population probability distribution. It tests an assumption made about the data using different types of hypothesis testing methodologies. The hypothesis testing results in either rejecting or not rejecting the null hypothesis. 

Hypothesis Testing Definition 

Hypothesis testing can be defined as a statistical tool that is used to identify if the results of an experiment are meaningful or not. It involves setting up a null hypothesis and an alternative hypothesis. These two hypotheses will always be mutually exclusive. This means that if the null hypothesis is true then the alternative hypothesis is false and vice versa. An example of hypothesis testing is setting up a test to check if a new medicine works on a disease in a more efficient manner. 

Null Hypothesis


The null hypothesis is a concise mathematical statement that is used to indicate that there is no difference between two possibilities. In other words, there is no difference between certain characteristics of data. This hypothesis assumes that the outcomes of an experiment are based on chance alone. It is denoted as H 0 . Hypothesis testing is used to conclude if the null hypothesis can be rejected or not. Suppose an experiment is conducted to check if girls are shorter than boys at the age of 5. The null hypothesis will say that they are the same height. 

Alternative Hypothesis


The alternative hypothesis is an alternative to the null hypothesis. It is used to show that the observations of an experiment are due to some real effect. It indicates that there is a statistical significance between two possible outcomes and can be denoted as H 1 or H a . For the above-mentioned example, the alternative hypothesis would be that girls are shorter than boys at the age of 5. 

Hypothesis Testing P Value 

In hypothesis testing, the p value is used to indicate whether the results obtained after conducting a test are statistically significant or not. It also indicates the probability of making an error in rejecting or not rejecting the null hypothesis.This value is always a number between 0 and 1. The p value is compared to an alpha level, α or significance level. The alpha level can be defined as the acceptable risk of incorrectly rejecting the null hypothesis. The alpha level is usually chosen between 1% to 5%.

Hypothesis Testing Critical Region 


All sets of values that lead to rejecting the null hypothesis lie in the critical region. Furthermore, the value that separates the critical region from the non-critical region is known as the critical value.

Hypothesis Testing Formula 

Depending upon the type of data available and the size, different types of hypothesis testing are used to determine whether the null hypothesis can be rejected or not. The hypothesis testing formula for some important test statistics are given below:

  • Hypothesis Testing | Applied Mathematics for Class 12 - Commerce is the sample mean, μ is the population mean, σ is the population standard deviation and n is the size of the sample. 
  • Hypothesis Testing | Applied Mathematics for Class 12 - Commerce is the sample standard deviation. 
  • Hypothesis Testing | Applied Mathematics for Class 12 - Commerce is the observed value and Ei is the expected value.

We will learn more about these test statistics in the upcoming section.

Types of Hypothesis Testing


Selecting the correct test for performing hypothesis testing can be confusing. These tests are used to determine a test statistic on the basis of which the null hypothesis can either be rejected or not rejected. Some of the important tests used for hypothesis testing are given below.

Hypothesis Testing Z Test


A z test is a way of hypothesis testing that is used for a large sample size (n ≥ 30). It is used to determine whether there is a difference between the population mean and the sample mean when the population standard deviation is known. It can also be used to compare the mean of two samples. It is used to compute the z test statistic. The formulas are given as follows:

  • Hypothesis Testing | Applied Mathematics for Class 12 - Commerce
  • Hypothesis Testing | Applied Mathematics for Class 12 - Commerce

Hypothesis Testing t Test


The t test is another method of hypothesis testing that is used for a small sample size (n < 30). It is also used to compare the sample mean and population mean. However, the population standard deviation is not known. Instead, the sample standard deviation is known. The mean of two samples can also be compared using the t test.

  • Hypothesis Testing | Applied Mathematics for Class 12 - Commerce
  • Hypothesis Testing | Applied Mathematics for Class 12 - Commerce

Hypothesis Testing Chi Square


The Chi square test is a hypothesis testing method that is used to check whether the variables in a population are independent or not. It is used when the test statistic is chi-squared distributed.

One Tailed Hypothesis Testing


One tailed hypothesis testing is done when the rejection region is only in one direction. It can also be known as directional hypothesis testing because the effects can be tested in one direction only. This type of testing is further classified into the right tailed test and left tailed test.

Right Tailed Hypothesis Testing


The right tail test is also known as the upper tail test. This test is used to check whether the population parameter is greater than some value. The null and alternative hypotheses for this test are given as follows:

  • H0: The population parameter is ≤ some value
  • H1: The population parameter is > some value.

If the test statistic has a greater value than the critical value then the null hypothesis is rejected
Hypothesis Testing | Applied Mathematics for Class 12 - Commerce

Left Tailed Hypothesis Testing


The left tail test is also known as the lower tail test. It is used to check whether the population parameter is less than some value. The hypotheses for this hypothesis testing can be written as follows:

  • H0: The population parameter is ≥ some value
  • H1: The population parameter is < some value.

The null hypothesis is rejected if the test statistic has a value lesser than the critical value.
Hypothesis Testing | Applied Mathematics for Class 12 - Commerce

Two Tailed Hypothesis Testing


In this hypothesis testing method, the critical region lies on both sides of the sampling distribution. It is also known as a non - directional hypothesis testing method. The two-tailed test is used when it needs to be determined if the population parameter is assumed to be different than some value. The hypotheses can be set up as follows:

  • H0: the population parameter = some value
  • H1: the population parameter ≠ some value

The null hypothesis is rejected if the test statistic has a value that is not equal to the critical value.
Hypothesis Testing | Applied Mathematics for Class 12 - Commerce

Hypothesis Testing Steps


Hypothesis testing can be easily performed in five simple steps. The most important step is to correctly set up the hypotheses and identify the right method for hypothesis testing. The basic steps to perform hypothesis testing are as follows:

  • Step 1: Set up the null hypothesis by correctly identifying whether it is the left-tailed, right-tailed, or two-tailed hypothesis testing.
  • Step 2: Set up the alternative hypothesis.
  • Step 3: Choose the correct significance level, α, and find the critical value.
  • Step 4: Calculate the correct test statistic (z, t or χ) and p-value.
  • Step 5: Compare the test statistic with the critical value or compare the p-value with α to arrive at a conclusion. In other words, decide if the null hypothesis is to be rejected or not.

Hypothesis Testing Example


The best way to solve a problem on hypothesis testing is by applying the 5 steps mentioned in the previous section. Suppose a researcher claims that the mean average weight of men is greater than 100kgs with a standard deviation of 15kgs. 30 men are chosen with an average weight of 112.5 Kgs. Using hypothesis testing, check if there is enough evidence to support the researcher's claim. The confidence interval is given as 95%.

  • Step 1: This is an example of a right-tailed test. Set up the null hypothesis as
    H0: μ = 100.
  • Step 2: The alternative hypothesis is given by H: μ > 100.
  • Step 3: As this is a one-tailed test, α = 100% - 95% = 5%. This can be used to determine the critical value.
    1 - α = 1 - 0.05 = 0.95
    0.95 gives the required area under the curve. Now using a normal distribution table, the area 0.95 is at z = 1.645. A similar process can be followed for a t-test. The only additional requirement is to calculate the degrees of freedom given by n - 1.
  • Step 4: Calculate the z test statistic. This is because the sample size is 30. Furthermore, the sample and population means are known along with the standard deviation.
    Hypothesis Testing | Applied Mathematics for Class 12 - Commerce
  • Step 5: Conclusion. As 4.56 > 1.645 thus, the null hypothesis can be rejected.

Hypothesis Testing and Confidence Intervals


Confidence intervals form an important part of hypothesis testing. This is because the alpha level can be determined from a given confidence interval. Suppose a confidence interval is given as 95%. Subtract the confidence interval from 100%. This gives 100 - 95 = 5% or 0.05. This is the alpha value of a one-tailed hypothesis testing. To obtain the alpha value for a two-tailed hypothesis testing, divide this value by 2. This gives 0.05 / 2 = 0.025.

Solved Example

Example 1: The average weight of a dumbbell in a gym is 90lbs. However, a physical trainer believes that the average weight might be higher. A random sample of 5 dumbbells with an average weight of 110lbs and a standard deviation of 18lbs. Using hypothesis testing check if the physical trainer's claim can be supported for a 95% confidence level.

As the sample size is lesser than 30, the t-test is used.

H0: μ = 90, H1: μ > 90
Hypothesis Testing | Applied Mathematics for Class 12 - Commerce
α = 0.05
Using the t-distribution table, the critical value is 2.132
Hypothesis Testing | Applied Mathematics for Class 12 - Commerce
t = 2.484
As 2.484 > 2.132, the null hypothesis is rejected.
The average weight of the dumbbells may be greater than 90lbs


Example 2: The average score on a test is 80 with a standard deviation of 10. With a new teaching curriculum introduced it is believed that this score will change. On random testing, the score of 38 students, the mean was found to be 88. With a 0.05 significance level, is there any evidence to support this claim?

This is an example of two-tail hypothesis testing. The z test will be used.
H0: μ = 80, H1: μ ≠ 80

Hypothesis Testing | Applied Mathematics for Class 12 - Commerce 
α = 0.05 / 2 = 0.025
The critical value using the normal distribution table is 1.96
Hypothesis Testing | Applied Mathematics for Class 12 - Commerce
As 4.8 > 1.96, the null hypothesis is rejected.
There is a difference in the scores after the new curriculum was introduced.


Example 3: The average score of a class is 90. However, a teacher believes that the average score might be lower. The scores of 6 students were randomly measured. The mean was 82 with a standard deviation of 18. With a 0.05 significance level use hypothesis testing to check if this claim is true.

The t test will be used.
H0: μ = 90, H1: μ< 90
Hypothesis Testing | Applied Mathematics for Class 12 - Commerce
The critical value from the t table is -2.015
Hypothesis Testing | Applied Mathematics for Class 12 - Commerce
t = -1.088
As -1.088 > -2.015, we fail to reject the null hypothesis.
There is not enough evidence to support the claim.

The document Hypothesis Testing | Applied Mathematics for Class 12 - Commerce is a part of the Commerce Course Applied Mathematics for Class 12.
All you need of Commerce at this link: Commerce
58 videos|101 docs|63 tests

Top Courses for Commerce

58 videos|101 docs|63 tests
Download as PDF
Explore Courses for Commerce exam

Top Courses for Commerce

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

pdf

,

mock tests for examination

,

Important questions

,

Free

,

MCQs

,

Hypothesis Testing | Applied Mathematics for Class 12 - Commerce

,

Summary

,

Hypothesis Testing | Applied Mathematics for Class 12 - Commerce

,

Semester Notes

,

Hypothesis Testing | Applied Mathematics for Class 12 - Commerce

,

past year papers

,

Sample Paper

,

Previous Year Questions with Solutions

,

study material

,

video lectures

,

shortcuts and tricks

,

Objective type Questions

,

Exam

,

Viva Questions

,

ppt

,

Extra Questions

,

practice quizzes

;