eMathZone

Simple Hypothesis and Composite Hypothesis

A simple hypothesis is one in which all parameters of the distribution are specified. For example, the heights of college students are normally distributed with $${\sigma ^2} = 4$$, and the hypothesis that its mean $$\mu $$ is, say, $$62”$$; that is, $${H_o}:\mu = 62$$. So we have stated a simple hypothesis, as the mean and variance together specify a normal distribution completely. A simple hypothesis, in general, states that $$\theta = {\theta _o}$$ where $${\theta _o}$$ is the specified value of a parameter $$\theta $$, ($$\theta $$ may represent $$\mu ,p,{\mu _1} – {\mu _2}$$ etc).

A hypothesis which is not simple (i.e. in which not all of the parameters are specified) is called a composite hypothesis. For instance, if we hypothesize that $${H_o}:\mu > 62$$ (and $${\sigma ^2} = 4$$) or$${H_o}:\mu = 62$$ and $${\sigma ^2} < 4$$, the hypothesis becomes a composite hypothesis because we cannot know the exact distribution of the population in either case. Obviously, the parameters $$\mu > 62”$$ and$${\sigma ^2} < 4$$ have more than one value and no specified values are being assigned. The general form of a composite hypothesis is $$\theta \leqslant {\theta _o}$$ or $$\theta \geqslant {\theta _o}$$; that is, the parameter $$\theta $$ does not exceed or does not fall short of a specified value $${\theta _o}$$. The concept of simple and composite hypotheses applies to both the null hypothesis and alternative hypothesis.

Hypotheses may also be classified as exact and inexact. A hypothesis is said to be an exact hypothesis if it selects a unique value for the parameter, such as $${H_o}:\mu = 62$$ or $$p > 0.5$$. A hypothesis is called an inexact hypothesis when it indicates more than one possible value for the parameter, such as $${H_o}:\mu \ne 62$$ or $${H_o}:p = 62$$. A simple hypothesis must be exact while an exact hypothesis is not necessarily a simple hypothesis. An inexact hypothesis is a composite hypothesis.

One Comment

Etini August 5 @ 7:28 pm

How can i design a sequential test for the shape parameters of the beta distribution

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Definition: Simple and composite hypothesis

Definition: Let $H$ be a statistical hypothesis . Then,

$H$ is called a simple hypothesis, if it completely specifies the population distribution; in this case, the sampling distribution of the test statistic is a function of sample size alone.

$H$ is called a composite hypothesis, if it does not completely specify the population distribution; for example, the hypothesis may only specify one parameter of the distribution and leave others unspecified.

  • Wikipedia (2021): "Exclusion of the null hypothesis" ; in: Wikipedia, the free encyclopedia , retrieved on 2021-03-19 ; URL: https://en.wikipedia.org/wiki/Exclusion_of_the_null_hypothesis#Terminology .

Tutorial Playlist

Statistics tutorial, everything you need to know about the probability density function in statistics, the best guide to understand central limit theorem, an in-depth guide to measures of central tendency : mean, median and mode, the ultimate guide to understand conditional probability.

A Comprehensive Look at Percentile in Statistics

The Best Guide to Understand Bayes Theorem

Everything you need to know about the normal distribution, an in-depth explanation of cumulative distribution function, a complete guide to chi-square test, what is hypothesis testing in statistics types and examples, understanding the fundamentals of arithmetic and geometric progression, the definitive guide to understand spearman’s rank correlation, mean squared error: overview, examples, concepts and more, all you need to know about the empirical rule in statistics, the complete guide to skewness and kurtosis, a holistic look at bernoulli distribution.

All You Need to Know About Bias in Statistics

A Complete Guide to Get a Grasp of Time Series Analysis

The Key Differences Between Z-Test Vs. T-Test

The Complete Guide to Understand Pearson's Correlation

A complete guide on the types of statistical studies, everything you need to know about poisson distribution, your best guide to understand correlation vs. regression, the most comprehensive guide for beginners on what is correlation, hypothesis testing in statistics - types | examples.

Lesson 10 of 24 By Avijeet Biswal

What Is Hypothesis Testing in Statistics? Types and Examples

Table of Contents

In today’s data-driven world, decisions are based on data all the time. Hypothesis plays a crucial role in that process, whether it may be making business decisions, in the health sector, academia, or in quality improvement. Without hypothesis & hypothesis tests, you risk drawing the wrong conclusions and making bad decisions. In this tutorial, you will look at Hypothesis Testing in Statistics.

The Ultimate Ticket to Top Data Science Job Roles

The Ultimate Ticket to Top Data Science Job Roles

What Is Hypothesis Testing in Statistics?

Hypothesis Testing is a type of statistical analysis in which you put your assumptions about a population parameter to the test. It is used to estimate the relationship between 2 statistical variables.

Let's discuss few examples of statistical hypothesis from real-life - 

  • A teacher assumes that 60% of his college's students come from lower-middle-class families.
  • A doctor believes that 3D (Diet, Dose, and Discipline) is 90% effective for diabetic patients.

Now that you know about hypothesis testing, look at the two types of hypothesis testing in statistics.

Hypothesis Testing Formula

Z = ( x̅ – μ0 ) / (σ /√n)

  • Here, x̅ is the sample mean,
  • μ0 is the population mean,
  • σ is the standard deviation,
  • n is the sample size.

How Hypothesis Testing Works?

An analyst performs hypothesis testing on a statistical sample to present evidence of the plausibility of the null hypothesis. Measurements and analyses are conducted on a random sample of the population to test a theory. Analysts use a random population sample to test two hypotheses: the null and alternative hypotheses.

The null hypothesis is typically an equality hypothesis between population parameters; for example, a null hypothesis may claim that the population means return equals zero. The alternate hypothesis is essentially the inverse of the null hypothesis (e.g., the population means the return is not equal to zero). As a result, they are mutually exclusive, and only one can be correct. One of the two possibilities, however, will always be correct.

Your Dream Career is Just Around The Corner!

Your Dream Career is Just Around The Corner!

Null Hypothesis and Alternative Hypothesis

The Null Hypothesis is the assumption that the event will not occur. A null hypothesis has no bearing on the study's outcome unless it is rejected.

H0 is the symbol for it, and it is pronounced H-naught.

The Alternate Hypothesis is the logical opposite of the null hypothesis. The acceptance of the alternative hypothesis follows the rejection of the null hypothesis. H1 is the symbol for it.

Let's understand this with an example.

A sanitizer manufacturer claims that its product kills 95 percent of germs on average. 

To put this company's claim to the test, create a null and alternate hypothesis.

H0 (Null Hypothesis): Average = 95%.

Alternative Hypothesis (H1): The average is less than 95%.

Another straightforward example to understand this concept is determining whether or not a coin is fair and balanced. The null hypothesis states that the probability of a show of heads is equal to the likelihood of a show of tails. In contrast, the alternate theory states that the probability of a show of heads and tails would be very different.

Become a Data Scientist with Hands-on Training!

Become a Data Scientist with Hands-on Training!

Hypothesis Testing Calculation With Examples

Let's consider a hypothesis test for the average height of women in the United States. Suppose our null hypothesis is that the average height is 5'4". We gather a sample of 100 women and determine that their average height is 5'5". The standard deviation of population is 2.

To calculate the z-score, we would use the following formula:

z = ( x̅ – μ0 ) / (σ /√n)

z = (5'5" - 5'4") / (2" / √100)

z = 0.5 / (0.045)

We will reject the null hypothesis as the z-score of 11.11 is very large and conclude that there is evidence to suggest that the average height of women in the US is greater than 5'4".

Steps in Hypothesis Testing

Hypothesis testing is a statistical method to determine if there is enough evidence in a sample of data to infer that a certain condition is true for the entire population. Here’s a breakdown of the typical steps involved in hypothesis testing:

Formulate Hypotheses

  • Null Hypothesis (H0): This hypothesis states that there is no effect or difference, and it is the hypothesis you attempt to reject with your test.
  • Alternative Hypothesis (H1 or Ha): This hypothesis is what you might believe to be true or hope to prove true. It is usually considered the opposite of the null hypothesis.

Choose the Significance Level (α)

The significance level, often denoted by alpha (α), is the probability of rejecting the null hypothesis when it is true. Common choices for α are 0.05 (5%), 0.01 (1%), and 0.10 (10%).

Select the Appropriate Test

Choose a statistical test based on the type of data and the hypothesis. Common tests include t-tests, chi-square tests, ANOVA, and regression analysis. The selection depends on data type, distribution, sample size, and whether the hypothesis is one-tailed or two-tailed.

Collect Data

Gather the data that will be analyzed in the test. This data should be representative of the population to infer conclusions accurately.

Calculate the Test Statistic

Based on the collected data and the chosen test, calculate a test statistic that reflects how much the observed data deviates from the null hypothesis.

Determine the p-value

The p-value is the probability of observing test results at least as extreme as the results observed, assuming the null hypothesis is correct. It helps determine the strength of the evidence against the null hypothesis.

Make a Decision

Compare the p-value to the chosen significance level:

  • If the p-value ≤ α: Reject the null hypothesis, suggesting sufficient evidence in the data supports the alternative hypothesis.
  • If the p-value > α: Do not reject the null hypothesis, suggesting insufficient evidence to support the alternative hypothesis.

Report the Results

Present the findings from the hypothesis test, including the test statistic, p-value, and the conclusion about the hypotheses.

Perform Post-hoc Analysis (if necessary)

Depending on the results and the study design, further analysis may be needed to explore the data more deeply or to address multiple comparisons if several hypotheses were tested simultaneously.

Types of Hypothesis Testing

To determine whether a discovery or relationship is statistically significant, hypothesis testing uses a z-test. It usually checks to see if two means are the same (the null hypothesis). Only when the population standard deviation is known and the sample size is 30 data points or more, can a z-test be applied.

A statistical test called a t-test is employed to compare the means of two groups. To determine whether two groups differ or if a procedure or treatment affects the population of interest, it is frequently used in hypothesis testing.

Chi-Square 

You utilize a Chi-square test for hypothesis testing concerning whether your data is as predicted. To determine if the expected and observed results are well-fitted, the Chi-square test analyzes the differences between categorical variables from a random sample. The test's fundamental premise is that the observed values in your data should be compared to the predicted values that would be present if the null hypothesis were true.

Hypothesis Testing and Confidence Intervals

Both confidence intervals and hypothesis tests are inferential techniques that depend on approximating the sample distribution. Data from a sample is used to estimate a population parameter using confidence intervals. Data from a sample is used in hypothesis testing to examine a given hypothesis. We must have a postulated parameter to conduct hypothesis testing.

Bootstrap distributions and randomization distributions are created using comparable simulation techniques. The observed sample statistic is the focal point of a bootstrap distribution, whereas the null hypothesis value is the focal point of a randomization distribution.

A variety of feasible population parameter estimates are included in confidence ranges. In this lesson, we created just two-tailed confidence intervals. There is a direct connection between these two-tail confidence intervals and these two-tail hypothesis tests. The results of a two-tailed hypothesis test and two-tailed confidence intervals typically provide the same results. In other words, a hypothesis test at the 0.05 level will virtually always fail to reject the null hypothesis if the 95% confidence interval contains the predicted value. A hypothesis test at the 0.05 level will nearly certainly reject the null hypothesis if the 95% confidence interval does not include the hypothesized parameter.

Become a Data Scientist through hands-on learning with hackathons, masterclasses, webinars, and Ask-Me-Anything! Start learning now!

Simple and Composite Hypothesis Testing

Depending on the population distribution, you can classify the statistical hypothesis into two types.

Simple Hypothesis: A simple hypothesis specifies an exact value for the parameter.

Composite Hypothesis: A composite hypothesis specifies a range of values.

A company is claiming that their average sales for this quarter are 1000 units. This is an example of a simple hypothesis.

Suppose the company claims that the sales are in the range of 900 to 1000 units. Then this is a case of a composite hypothesis.

One-Tailed and Two-Tailed Hypothesis Testing

The One-Tailed test, also called a directional test, considers a critical region of data that would result in the null hypothesis being rejected if the test sample falls into it, inevitably meaning the acceptance of the alternate hypothesis.

In a one-tailed test, the critical distribution area is one-sided, meaning the test sample is either greater or lesser than a specific value.

In two tails, the test sample is checked to be greater or less than a range of values in a Two-Tailed test, implying that the critical distribution area is two-sided.

If the sample falls within this range, the alternate hypothesis will be accepted, and the null hypothesis will be rejected.

Become a Data Scientist With Real-World Experience

Become a Data Scientist With Real-World Experience

Right Tailed Hypothesis Testing

If the larger than (>) sign appears in your hypothesis statement, you are using a right-tailed test, also known as an upper test. Or, to put it another way, the disparity is to the right. For instance, you can contrast the battery life before and after a change in production. Your hypothesis statements can be the following if you want to know if the battery life is longer than the original (let's say 90 hours):

  • The null hypothesis is (H0 <= 90) or less change.
  • A possibility is that battery life has risen (H1) > 90.

The crucial point in this situation is that the alternate hypothesis (H1), not the null hypothesis, decides whether you get a right-tailed test.

Left Tailed Hypothesis Testing

Alternative hypotheses that assert the true value of a parameter is lower than the null hypothesis are tested with a left-tailed test; they are indicated by the asterisk "<".

Suppose H0: mean = 50 and H1: mean not equal to 50

According to the H1, the mean can be greater than or less than 50. This is an example of a Two-tailed test.

In a similar manner, if H0: mean >=50, then H1: mean <50

Here the mean is less than 50. It is called a One-tailed test.

Type 1 and Type 2 Error

A hypothesis test can result in two types of errors.

Type 1 Error: A Type-I error occurs when sample results reject the null hypothesis despite being true.

Type 2 Error: A Type-II error occurs when the null hypothesis is not rejected when it is false, unlike a Type-I error.

Suppose a teacher evaluates the examination paper to decide whether a student passes or fails.

H0: Student has passed

H1: Student has failed

Type I error will be the teacher failing the student [rejects H0] although the student scored the passing marks [H0 was true]. 

Type II error will be the case where the teacher passes the student [do not reject H0] although the student did not score the passing marks [H1 is true].

Our Data Scientist Master's Program covers core topics such as R, Python, Machine Learning, Tableau, Hadoop, and Spark. Get started on your journey today!

Limitations of Hypothesis Testing

Hypothesis testing has some limitations that researchers should be aware of:

  • It cannot prove or establish the truth: Hypothesis testing provides evidence to support or reject a hypothesis, but it cannot confirm the absolute truth of the research question.
  • Results are sample-specific: Hypothesis testing is based on analyzing a sample from a population, and the conclusions drawn are specific to that particular sample.
  • Possible errors: During hypothesis testing, there is a chance of committing type I error (rejecting a true null hypothesis) or type II error (failing to reject a false null hypothesis).
  • Assumptions and requirements: Different tests have specific assumptions and requirements that must be met to accurately interpret results.

Learn All The Tricks Of The BI Trade

Learn All The Tricks Of The BI Trade

After reading this tutorial, you would have a much better understanding of hypothesis testing, one of the most important concepts in the field of Data Science . The majority of hypotheses are based on speculation about observed behavior, natural phenomena, or established theories.

If you are interested in statistics of data science and skills needed for such a career, you ought to explore the Post Graduate Program in Data Science.

If you have any questions regarding this ‘Hypothesis Testing In Statistics’ tutorial, do share them in the comment section. Our subject matter expert will respond to your queries. Happy learning!

1. What is hypothesis testing in statistics with example?

Hypothesis testing is a statistical method used to determine if there is enough evidence in a sample data to draw conclusions about a population. It involves formulating two competing hypotheses, the null hypothesis (H0) and the alternative hypothesis (Ha), and then collecting data to assess the evidence. An example: testing if a new drug improves patient recovery (Ha) compared to the standard treatment (H0) based on collected patient data.

2. What is H0 and H1 in statistics?

In statistics, H0​ and H1​ represent the null and alternative hypotheses. The null hypothesis, H0​, is the default assumption that no effect or difference exists between groups or conditions. The alternative hypothesis, H1​, is the competing claim suggesting an effect or a difference. Statistical tests determine whether to reject the null hypothesis in favor of the alternative hypothesis based on the data.

3. What is a simple hypothesis with an example?

A simple hypothesis is a specific statement predicting a single relationship between two variables. It posits a direct and uncomplicated outcome. For example, a simple hypothesis might state, "Increased sunlight exposure increases the growth rate of sunflowers." Here, the hypothesis suggests a direct relationship between the amount of sunlight (independent variable) and the growth rate of sunflowers (dependent variable), with no additional variables considered.

4. What are the 3 major types of hypothesis?

The three major types of hypotheses are:

  • Null Hypothesis (H0): Represents the default assumption, stating that there is no significant effect or relationship in the data.
  • Alternative Hypothesis (Ha): Contradicts the null hypothesis and proposes a specific effect or relationship that researchers want to investigate.
  • Nondirectional Hypothesis: An alternative hypothesis that doesn't specify the direction of the effect, leaving it open for both positive and negative possibilities.

Find our PL-300 Microsoft Power BI Certification Training Online Classroom training classes in top cities:

NameDatePlace
7 Sep -22 Sep 2024,
Weekend batch
Your City
21 Sep -6 Oct 2024,
Weekend batch
Your City
12 Oct -27 Oct 2024,
Weekend batch
Your City

About the Author

Avijeet Biswal

Avijeet is a Senior Research Analyst at Simplilearn. Passionate about Data Analytics, Machine Learning, and Deep Learning, Avijeet is also interested in politics, cricket, and football.

Recommended Resources

The Key Differences Between Z-Test Vs. T-Test

Free eBook: Top Programming Languages For A Data Scientist

Normality Test in Minitab: Minitab with Statistics

Normality Test in Minitab: Minitab with Statistics

A Comprehensive Look at Percentile in Statistics

Machine Learning Career Guide: A Playbook to Becoming a Machine Learning Engineer

  • PMP, PMI, PMBOK, CAPM, PgMP, PfMP, ACP, PBA, RMP, SP, and OPM3 are registered marks of the Project Management Institute, Inc.

Biostatistics

  • Data Science
  • Programming
  • Social Science
  • Certificates
  • Undergraduate
  • For Businesses
  • FAQs and Knowledge Base

Test Yourself

  • Instructors

Composite Hypothesis

Composite Hypothesis:

A statistical hypothesis which does not completely specify the distribution of a random variable is referred to as a composite hypothesis.

Browse Other Glossary Entries

Planning on taking an introductory statistics course, but not sure if you need to start at the beginning? Review the course description for each of our introductory statistics courses and estimate which best matches your level, then take the self test for that course. If you get all or almost all the questions correct, move on and take the next test.

Data Analytics

Considering becoming adata scientist, customer analyst or our data science certificate program?

Advanced Statistics Quiz

Looking at statistics for graduate programs or to enhance your foundational knowledge?

Regression Quiz

Entering the biostatistics field? Test your skill here.

Stay Informed

Read up on our latest blogs

Learn about our certificate programs

Find the right course for you

We'd love to answer your questions

Our mentors and academic advisors are standing by to help guide you towards the courses or program that makes the most sense for you and your goals.

300 W Main St STE 301, Charlottesville, VA 22903

(434) 973-7673

[email protected]

By submitting your information, you agree to receive email communications from Statistics.com. All information submitted is subject to our privacy policy . You may opt out of receiving communications at any time.

What does "Composite Hypothesis" mean?

Definition of Composite Hypothesis in the context of A/B testing (online controlled experiments).

What is a Composite Hypothesis?

In hypothesis testing a composite hypothesis is a hypothesis which covers a set of values from the parameter space. For example, if the entire parameter space covers -∞ to +∞ a composite hypothesis could be μ ≤ 0. It could be any other number as well, such 1, 2 or 3,1245. The alternative hypothesis is always a composite hypothesis : either one-sided hypothesis if the null is composite or a two-sided one if the null is a point null. The "composite" part means that such a hypothesis is the union of many simple point hypotheses.

In a Null Hypothesis Statistical Test only the null hypothesis can be a point hypothesis. Also, a composite hypothesis usually spans from -∞ to zero or some value of practical significance or from such a value to +∞.

Testing a composite null is what is most often of interest in an A/B testing scenario as we are usually interested in detecting and estimating effects in only one direction: either an increase in conversion rate or average revenue per user, or a decrease in unsubscribe events would be of interest and not its opposite. In fact, running a test so long as to detect a statistically significant negative outcome can result in significant business harm.

Like this glossary entry? For an in-depth and comprehensive reading on A/B testing stats, check out the book "Statistical Methods in Online A/B Testing" by the author of this glossary, Georgi Georgiev.

Articles on Composite Hypothesis

One-tailed vs Two-tailed Tests of Significance in A/B Testing blog.analytics-toolkit.com

Related A/B Testing terms

Purchase Statistical Methods in Online A/B Testing

Statistical Methods in Online A/B Testing

Take your A/B testing program to the next level with the most comprehensive book on user testing statistics in e-commerce.

Glossary index by letter

Select a letter to see all A/B testing terms starting with that letter or visit the Glossary homepage to see all.

Statistics/Hypothesis Testing


  • 1 Introduction
  • 2 Basic concepts and terminologies
  • 3 Evaluating a hypothesis test
  • 4.1 Neyman-Pearson lemma
  • 4.2 Likelihood-ratio test
  • 5 Relationship between hypothesis testing and confidence intervals

Introduction

In previous chapters, we have discussed two methods for estimating unknown parameters , namely point estimation and interval estimation . Estimating unknown parameters is an important area in statistical inference, and in this chapter we will discuss another important area, namely hypothesis testing , which is related to decision making . Indeed, the concepts of confidence intervals and hypothesis testing are closely related, as we will demonstrate.

Basic concepts and terminologies

Before discussing how to conduct hypothesis testing, and evaluate the "goodness" of a hypothesis test, let us introduce some basic concepts and terminologies related to hypothesis testing first.

Definition. (Hypothesis) A (statistical) hypothesis is a statement about population parameter(s).

There are two terms that classify hypotheses:

Definition. (Simple and composite hypothesis) A hypothesis is a simple hypothesis if it completely specifies the distribution of the population (that is, the distribution is completely known, without any unknown parameters involved), and is a composite hypothesis otherwise.

Sometimes, it is not immediately clear that whether a hypothesis is simple or composite. To understand the classification of hypotheses more clearly, let us consider the following example.

{\displaystyle \theta }

  • (a) and (b) are simple hypotheses, since they all completely specifies the distribution.

In hypothesis tests, we consider two hypotheses:

{\displaystyle H_{0}}

Example. Suppose your friend gives you a coin for tossing, and we do not know whether it is fair or not. However, since the coin is given by your friend, you believe that the coin is fair unless there are sufficient evidences suggesting otherwise. What is the null hypothesis and alternative hypothesis in this context (suppose the coin never land on edge)?

{\displaystyle p}

  • Of course, in some other places, the saying of "accepting null hypothesis" is avoided because of these philosophical issues.

Now, we are facing with two questions. First, what evidences should we consider? Second, what is meant by "sufficient"? For the first question, a natural answer is that we should consider the observed samples , right? This is because we are making hypothesis about the population, and the samples are taken from, and thus closely related to the population, which should help us make the decision.

Let us formally define the terms related to hypothesis testing in the following.

{\displaystyle \varphi }

  • Graphically, it looks like

{\displaystyle {\overline {X}}}

  • We use the terminology "tail" since the rejection region includes the values that are located at the "extreme portions" (i.e., very left (with small values) or very right (with large values) portions) (called tails) of distributions.

{\displaystyle k_{3}=-k_{4}}

  • We sometimes also call upper-tailed and lower-tailed tests as one-sided tests , and two-tailed tests as two-sided tests .

{\displaystyle R=\{(x_{1},x_{2},x_{3}):x_{1}+x_{2}+x_{3}>6\}}

Exercise. What is the type of this hypothesis test?

Right-tailed test.

As we have mentioned, the decisions made by hypothesis test should not be perfect, and errors occur. Indeed, when we think carefully, there are actually two types of errors, as follows:

We can illustrate these two types of errors more clearly using the following table.

Type I and II errors
Accept Reject
is true Correct decision Type I error
is false Type II error Correct decision

{\displaystyle H_{1}:\theta \in \Theta _{0}^{c}}

  • The power function will be our basis in evaluating the goodness of a test or comparing two different tests.

{\displaystyle H_{0}:p\leq {\frac {1}{2}}\quad {\text{vs.}}\quad H_{1}:p>{\frac {1}{2}}}

You notice that the type II error of this hypothesis test can be quite large, so you want to revise the test to lower the type II error.

{\displaystyle \beta (p)}

To describe "control the type I error probability at this level" in a more precise way, let us define the following term.

{\displaystyle \pi (\theta )}

  • Intuitively, we choose the maximum probability of type I error to be the size so that the size can tell us how probable type I error occurs in the worst situation , to show that how "well" can the test control the type I error [ 4 ] .

{\displaystyle \theta _{0}}

Exercise. Calculate the type I error probability and type II error probability when the sample size is 12 (the rejection region remains unchanged).

{\displaystyle \mathbb {P} (Z<{\sqrt {12}}(20.51861-21))\approx \mathbb {P} (Z<-1.668)\approx 0.04746.}

  • Case 3 : The test is two-tailed.

{\displaystyle T}

  • For case 3 subcase 1 , consider the following diagram:
  • For case 3 subcase 2 , consider the following diagram:

{\displaystyle t}

0.01
0.04
0.06
0.08
0.1

Evaluating a hypothesis test

After discussing some basic concepts and terminologies, let us now study some ways to evaluate goodness of a hypothesis test. As we have previously mentioned, we want the probability of making type I errors and type II errors to be small, but we have mentioned that it is generally impossible to make both probabilities to be arbitrarily small. Hence, we have suggested to control the type I error, using the size of a test, and the "best" test should the one with the smallest probability of making type II error, after controlling the type I error.

These ideas lead us to the following definitions.

{\displaystyle 1-\beta }

Using this definition, instead of saying "best" test (test with the smallest type II error probability), we can say "a test with the most power", or in other words, the "most powerful test".

{\displaystyle H_{0}:\theta \in \Theta _{0}\quad {\text{vs.}}\quad H_{1}:\theta \in \Theta _{1}}

Constructing a hypothesis test

Neyman-pearson lemma.

{\displaystyle f(x;\theta )}

For the case where the underlying distribution is discrete, the proof is very similar (just replace the integrals with sums), and hence omitted.

{\displaystyle {\frac {{\mathcal {L}}(\theta _{0};\mathbf {x} )}{{\mathcal {L}}(\theta _{1};\mathbf {x} )}}}

  • In fact, the MP test constructed by Neyman-Pearson lemma is a variant from the likelihood-ratio test , which is more general in the sense that the likelihood-ratio test can also be constructed for composite null and alternative hypotheses, apart from simple null and alternative hypotheses directly. But, the likelihood-ratio test may not be (U)MP. We will discuss likelihood-ratio test later.

{\displaystyle {\mathcal {L}}(\theta _{0};\mathbf {x} )}

  • This rejection region has appeared in a previous example.

Now, let us consider another example where the underlying distribution is discrete.

{\displaystyle {\begin{array}{c|ccccccccc}\theta &x&1&2&3&4&5&6&7&8\\\hline 0&f(x;\theta )&0&0.02&0.02&0.02&0.02&0.02&0.02&0.88\\1&f(x;\theta )&0.01&0.02&0.03&0.04&0.05&0&0.06&0.79\\\end{array}}}

Exercise. Calculate the probability of making type II error for the above test.

{\displaystyle \beta (1)=\mathbb {P} _{\theta =1}(X\in R^{c})=\mathbb {P} _{\theta =1}(X=8)+\mathbb {P} _{\theta =1}(X=6)=0.79.}

Likelihood-ratio test

Previously, we have suggested using the Neyman-Pearson lemma to construct MPT for testing simple null hypothesis against simple alternative hypothesis. However, when the hypotheses are composite, we may not be able to use the Neyman-Pearson lemma. So, in the following, we will give a general method for constructing tests for any hypotheses, not limited to simple hypotheses. But we should notice that the tests constructed are not necessarily UMPT.

{\displaystyle \lambda (\mathbf {x} )={\frac {\sup _{\theta \in \Theta _{0}}{\mathcal {L}}(\theta ;\mathbf {x} )}{\sup _{\theta \in \Theta }{\mathcal {L}}(\theta ;\mathbf {x} )}}}

  • When the simple and alternative hypotheses are simple, the likelihood ratio test will be the same as the test suggested in the Neyman-Pearson lemma.

Relationship between hypothesis testing and confidence intervals

We have mentioned that there are similarities between hypothesis testing and confidence intervals. In this section, we will introduce a theorem suggesting how to construct a hypothesis test from a confidence interval (or in general, confidence set ), and vice versa.

{\displaystyle R(\theta _{0})}

  • ↑ Thus, a natural measure of "goodness" of a hypothesis test is its "size of errors". We will discuss these later in this chapter.

composite hypothesis statistics definition

  • Book:Statistics

Navigation menu

User Preferences

Content preview.

Arcu felis bibendum ut tristique et egestas quis:

  • Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
  • Duis aute irure dolor in reprehenderit in voluptate
  • Excepteur sint occaecat cupidatat non proident

Keyboard Shortcuts

Lesson 27: likelihood ratio tests.

In this lesson, we'll learn how to apply a method for developing a hypothesis test for situations in which both the null and alternative hypotheses are composite. That's not completely accurate. The method, called the likelihood ratio test , can be used even when the hypotheses are simple, but it is most commonly used when the alternative hypothesis is composite. Throughout the lesson, we'll continue to assume that we know the the functional form of the probability density (or mass) function, but we don't know the value of one (or more) of its parameters. That is, we might know that the data come from a normal distrbution, but we don't know the mean or variance of the distribution, and hence the interest in performing a hypothesis test about the unknown parameter(s).

Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities including Stack Overflow , the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

simple vs composite hypothesis doubt

So if we have

$H_0 :\theta=\theta_0$ vs $H_1 :\theta=\theta_1$

It is easy to see that this is a case of simple vs simple hypothesis (assuming that $\theta$ is the only unknown parameter of our distribution)

$H_0 :\theta\leq\theta_0$ vs $H_1 :\theta>\theta_0$

Is this composite vs composite or simple vs composite?

Since it is somewhat equivalent to

$H_0 :\theta=\theta_0$ vs $H_1 :\theta>\theta_0$

Which I guess it's a simple vs composite hypothesis

And last, if we have two unkown parameters, is $H_0 :\alpha=\alpha_0 , \beta\geq\beta_0$

Simple or composite?

  • hypothesis-testing

Community's user avatar

$H_0 :\theta=\theta_0$ vs $H_1 :\theta>\theta_0$ is a composite hypothesis since for $H_1$ you can have many different $\theta$s.

You can check these links the explanations are pretty clear.

http://www.emathzone.com/tutorials/basic-statistics/simple-hypothesis-and-composite-hypothesis.html

http://isites.harvard.edu/fs/docs/icb.topic1383356.files/Lecture%2014%20-%20Intro%20to%20Hypothesis%20Testing%20-%204%20per%20page.pdf

Deep North's user avatar

  • 4 $\begingroup$ What matters most are the properties of the null hypothesis, because it determines the sampling distribution of the test statistic used to evaluate the null. When the null is composite, the situation is tricky because the test statistic does not have a definite distribution. $H_0:\theta=\theta_0$ might or might not be composite, depending on what other parameters might be in play and how they affect the test statistic's distribution, but at face value most would consider this to be a simple hypothesis. The nature of $H_1$ plays no role in classifying hypotheses into simple or composite. $\endgroup$ –  whuber ♦ Commented Aug 20, 2015 at 1:30

Your Answer

Sign up or log in, post as a guest.

Required, but never shown

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy .

Not the answer you're looking for? Browse other questions tagged hypothesis-testing or ask your own question .

  • Featured on Meta
  • We've made changes to our Terms of Service & Privacy Policy - July 2024
  • Bringing clarity to status tag usage on meta sites

Hot Network Questions

  • What is the difference between ‘coming to Jesus’ and ‘believing in Jesus’ in John 6:35
  • If physics can be reduced to mathematics (and thus to logic), does this mean that (physical) causation is ultimately reducible to implication?
  • In theory, could an object like 'Oumuamua have been captured by a three-body interaction with the sun and planets?
  • Melee Opportunist--making opportunity attacks have some bite for melee characters
  • Is the error in translation of Genesis 19:5 deliberate?
  • Clarification on proof of the algebraic completeness of nimbers
  • How to justify a ban on exclusivist religions?
  • What sort of impact did the discovery that water could be broken down (via electrolysis) into gas have?
  • Do cities usually form at the mouth of rivers or closer to the headwaters?
  • What's the Matter?
  • Winner of block reward command
  • How do I input box-drawing characters?
  • How can I draw water level in a cylinder like this?
  • Is there a rule-of-thumb for when a first-person singular verb will get a "-у" vs the more common "-ю" suffix?
  • Op Amp Feedback Resistors
  • Sci-fi scenario: Is it possible to detect and either broadcast over or otherwise block satellite comms to and from a geographic area that you control?
  • On page 31 of ISL, why is the minimum possible test MSE over all methods (dashed line) 1 instead of another number?
  • Group automorphism fixing finite-index subgroup
  • Why are volumes of revolution typically taught in Calculus 2 and not Calculus 3?
  • What does "close" mean in the phrase: "close a tooth pick between the jamb and the door"?
  • NSum result quite different from Sum. Euler Maclaurin won‘t work!
  • Did US troops insist on segregation in British pubs?
  • Reduce String Length With Thread Safety & Concurrency
  • How do you show Dominating Set is NP Complete

composite hypothesis statistics definition

Uniformly Most Powerful (UMP) Test: Definition

Hypothesis Testing > Uniformly Most Powerful (UMP) Test

What is a Uniformly Most Powerful Test?

A Uniformly Most Powerful (UMP) test has the most statistical power from the set of all possible alternate hypotheses of the same size α . The UMP doesn’t always exist, especially when the test has nuisance variables (variables that are irrelevant to your study but that have to be be accounted for). However, if the UMP does exist, you can use the Neyman-Pearson lemma (NPL) to find it.

A UMP test is usually defined in terms of a uniformly most powerful rejection region (UMPCR) (also called a “critical region”); A region C of size α is the UMPCR for testing a simple null hypothesis against a set of alternate hypotheses if it is the “best” critical region. The “best” critical region is one that minimizes the probability of making a Type I or a Type II error . In other words, the UMPCR is the region that gives the smallest chance of making a Type I or II error . It is also the region that gives a UMP test the largest (or equally largest) power function .

UMP and the Neyman-Pearson Lemma

The Neyman-Pearson lemma can tell you the best hypothesis test if you have a simple null hypothesis and a simple alternative hypothesis. If you have multiple hypotheses (also called a composite hypothesis ), the NPL can be extended to all individual alternate hypotheses. Composite hypotheses have multiple options for solutions. For example, H 0 :σ 2 > 8 is a composite hypothesis because it doesn’t specify a value for σ 2 ; The solution could be anything over 8. This contrasts to H 0 : μ = 0, which specifies the single value of zero.

The basic idea is that you test each simple hypothesis in turn to see if it is the UMP out of all possibilities.

Definitions using UMP and Likelihood-Ratio

Casella and Berger (2002) define a UMP test as follows:

“Let C be a class of tests for testing H 0 : θ ∈ Θ 0 versus H 1 : θ ∈ Θ c 1 . A test in class C, with power function β(θ), is a uniformly most powerful (UMP) class C test if β(θ) ≥ β′(θ) for every θ ∈ Θ 0 c and every β′(θ) that is a power function of a test in class C.

ump

If you have an entire set of possibilities (which would be the case with composite hypotheses ), each test should be tested individually using the above criteria.

Kotz, S.; et al., eds. (2006), Encyclopedia of Statistical Sciences , Wiley. Everitt, B. S.; Skrondal, A. (2010), The Cambridge Dictionary of Statistics , Cambridge University Press.

IMAGES

  1. 13 Different Types of Hypothesis (2024)

    composite hypothesis statistics definition

  2. Simple and Composite Statistical Hypothesis definitions

    composite hypothesis statistics definition

  3. Simple and Composite Hypothesis, Statistics Lecture

    composite hypothesis statistics definition

  4. PPT

    composite hypothesis statistics definition

  5. Simple and Composite Hypothesis

    composite hypothesis statistics definition

  6. PPT

    composite hypothesis statistics definition

COMMENTS

  1. Composite Hypothesis Test

    A composite hypothesis test contains more than one parameter and more than one model. In a simple hypothesis test, the probability density functions for both the null hypothesis (H 0) and alternate hypothesis (H 1) are known. In academic and hypothetical situations, the simple hypothesis test works for most cases.

  2. Simple Hypothesis and Composite Hypothesis

    The concept of simple and composite hypotheses applies to both the null hypothesis and alternative hypothesis. Hypotheses may also be classified as exact and inexact. A hypothesis is said to be an exact hypothesis if it selects a unique value for the parameter, such as Ho: μ = 62 H o: μ = 62 or p > 0.5 p > 0.5. A hypothesis is called an ...

  3. PDF Composite Hypotheses

    Introduction to the Science of Statistics Composite Hypotheses • For 2 ⇥ 0, ⇡( ) is the probability of making a type I error, i.e., rejecting the null hypothesis when it is indeed true. • For 2 ⇥ 1, 1 ⇡( ) is the probability of making a type II error, i.e., failing to reject the null hypothesis when it is false.

  4. Statistical hypothesis test

    A statistical hypothesis test is a method of statistical inference used to decide whether the data sufficiently supports a particular hypothesis. A statistical hypothesis test typically involves a calculation of a test statistic. Then a decision is made, either by comparing the test statistic to a critical value or equivalently by evaluating a ...

  5. PDF Lecture 10: Composite Hypothesis Testing

    then we have a simple hypothesis, as discussed in past lectures. When a set contains more than one parameter value, then the hypothesis is called a composite hypothesis, because it involves more than one model. The name is even clearer if we consider the following equivalent expression for the hypotheses above. H 0: X ˘p 0; p 0 2fp 0(xj 0)g 02 ...

  6. PDF Lecture 7

    STATS 200: Introduction to Statistical Inference Autumn 2016 Lecture 7 | Composite hypotheses and the t-test 7.1 Composite null and alternative hypotheses This week we will discuss various hypothesis testing problems involving a composite null hypothesis and a compositive alternative hypothesis. To motivate the discussion, consider

  7. Simple and composite hypothesis

    Definition: Simple and composite hypothesis. Definition: Let H H be a statistical hypothesis. Then, H H is called a simple hypothesis, if it completely specifies the population distribution; in this case, the sampling distribution of the test statistic is a function of sample size alone. H H is called a composite hypothesis, if it does not ...

  8. Hypothesis Testing in Statistics

    Composite Hypothesis: A composite hypothesis specifies a range of values. Example: A company is claiming that their average sales for this quarter are 1000 units. This is an example of a simple hypothesis. Suppose the company claims that the sales are in the range of 900 to 1000 units. Then this is a case of a composite hypothesis.

  9. PDF Topic 16: Composite Hypotheses

    Rejection and failure to reject the null hypothesis, critical regions, C, and type I and type II errors have the same meaning for a composite hypotheses as it does with a simple hypothesis. 1 Power Power is now a function ˇ( ) = P fX2Cg: that gives the probability of rejecting the null hypothesis for a given value of the parameter.

  10. PDF Topic 18: Composite Hypotheses

    Introduction to Statistical Methodology Composite Hypotheses In reality, incorrect decisions are made. Thus, for 2 0, ˇ( ) is the probability of making a type I error; i. e., rejecting the null hypothesis when it is indeed true, For 2 1, 1 ˇ( ) is the probability of making a type II error; i.e., failing to reject the null hypothesis when it ...

  11. 26.1

    Any hypothesis that is not a simple hypothesis is called a composite hypothesis. Example 26-1 Section . Suppose \(X_1 , X_2 , \dots , X_n\) is a random sample from an exponential distribution with parameter \(\theta\). ... Lesson 25: Power of a Statistical Test. 25.1 - Definition of Power; 25.2 - Power Functions; 25.3 - Calculating Sample Size ...

  12. Composite Hypothesis

    Composite Hypothesis. In subject area: Mathematics. Classically, composite hypotheses are used to determine if a point null is statistically distinguishable from the best alternative, or to determine if the best supported alternative lies on a specified side of the point null. From: Philosophy of Statistics, 2011.

  13. Composite Hypothesis

    Our mentors and academic advisors are standing by to help guide you towards the courses or program that makes the most sense for you and your goals. 300 W Main St STE 301, Charlottesville, VA 22903. (434) 973-7673. [email protected].

  14. 9.1: Introduction to Hypothesis Testing

    In hypothesis testing, the goal is to see if there is sufficient statistical evidence to reject a presumed null hypothesis in favor of a conjectured alternative hypothesis.The null hypothesis is usually denoted \(H_0\) while the alternative hypothesis is usually denoted \(H_1\). An hypothesis test is a statistical decision; the conclusion will either be to reject the null hypothesis in favor ...

  15. What does "Composite Hypothesis" mean?

    The "composite" part means that such a hypothesis is the union of many simple point hypotheses. In a Null Hypothesis Statistical Test only the null hypothesis can be a point hypothesis. Also, a composite hypothesis usually spans from -∞ to zero or some value of practical significance or from such a value to +∞.

  16. Statistics/Hypothesis Testing

    (Hypothesis) A (statistical) hypothesis is a statement about population parameter(s). There are two terms that classify hypotheses: Definition. (Simple and composite hypothesis) A hypothesis is a simple hypothesis if it completely specifies the distribution of the population ...

  17. APA Dictionary of Psychology

    a statistical hypothesis that is not specific about all relevant features of a population or that does not give a single value for a characteristic of a population but allows for a range of acceptable values. For example, a statement that the average age of employees in academia exceeds 50 is a composite hypothesis, as there are a variety of ...

  18. PDF Practical Statistics part II 'Composite hypothesis, Nuisance ...

    Definition: A interval on μ at X% confidence level is defined such that the true of value of μ is contained X% of the time in the interval. Note that the output is not a probabilistic statement on the true s value. The true μ is fixed but unknown - each observation will result in an estimated interval [μ-,μ+].

  19. Lesson 27: Likelihood Ratio Tests

    Lesson 27: Likelihood Ratio Tests. In this lesson, we'll learn how to apply a method for developing a hypothesis test for situations in which both the null and alternative hypotheses are composite. That's not completely accurate. The method, called the likelihood ratio test, can be used even when the hypotheses are simple, but it is most ...

  20. Statistical Hypothesis

    Statistical hypothesis: A statement about the nature of a population. It is often stated in terms of a population parameter. ... A composite score from 0 to 10 points, representing both recall and persuasion, has been produced for each consumer in the sample. ... Definition 3.1. The null hypothesis is a statement about the values of one or more ...

  21. Neyman-Pearson Lemma: Definition

    The Neyman-Pearson Lemma is a way to find out if the hypothesis test you are using is the one with the greatest statistical power. The power of a hypothesis test is the probability that test correctly rejects the null hypothesis when the alternate hypothesis is true. The goal would be to maximize this power, so that the null hypothesis is ...

  22. simple vs composite hypothesis doubt

    3. So if we have. H0: θ = θ0 H 0: θ = θ 0 vs H1: θ = θ1 H 1: θ = θ 1. It is easy to see that this is a case of simple vs simple hypothesis (assuming that θ θ is the only unknown parameter of our distribution) what about. H0: θ ≤ θ0 H 0: θ ≤ θ 0 vs H1: θ > θ0 H 1: θ > θ 0.

  23. Uniformly Most Powerful (UMP) Test: Definition

    A test in class C, with power function β (θ), is a uniformly most powerful (UMP) class C test if β (θ) ≥ β′ (θ) for every θ ∈ Θ 0c and every β′ (θ) that is a power function of a test in class C. In more simple terms, this is really just telling you that the UMP test is the one with the biggest power function (out of all tests ...