How to Write a Hypothesis: Null and Alternative, Directional and Worked Examples
A hypothesis turns your research question into a testable prediction about variables. Learn null and alternative notation, directional wording, templates, worked examples in four subjects and how each links to a test.
To write a hypothesis, turn your research question into a testable prediction about how two or more variables are related. Name the independent and dependent variables, state the direction of the effect you expect if theory supports one, and phrase it so that data could show you were wrong. Then write a matching null hypothesis for your statistical test.
A hypothesis is short, but examiners read the rest of a lab report, proposal or dissertation against it. This guide explains what makes a hypothesis testable, the difference between directional and non-directional versions, how to write null and alternative hypotheses with standard notation, and how to choose the variables. It then gives reusable templates, worked examples from psychology, biology, business and nursing, and a table linking each type of hypothesis to a statistical test. The advice reflects the feedback research-methods tutors at FLN Tutors (Freelancer Network) give students on proposals and dissertations.
If you are still deciding whether your project should test a hypothesis at all, read our comparison of qualitative vs quantitative research first. Hypotheses belong to quantitative, deductive designs; exploratory and interview-based studies usually work from open research questions instead.
A hypothesis at a glance
| Element | What it means | Quick example |
|---|---|---|
| Research question | The open question your study answers | Does background music affect word recall? |
| Hypothesis | A testable prediction that answers the question in advance | Recall scores will differ between music and silence conditions |
| Independent variable (IV) | What you change, group by or compare | Listening condition: music or silence |
| Dependent variable (DV) | What you measure as the outcome | Number of words recalled from a list of 20 |
| Control variables | Factors held constant so they cannot explain the result | List length, study time, room, time of day |
| Null hypothesis (H0) | No effect, no difference or no relationship | Mean recall is the same in both conditions |
| Alternative hypothesis (H1 or Ha) | The effect, difference or relationship you expect | Mean recall differs between the conditions |
| Directional or not | Whether you predict which way the effect goes | Non-directional here, because past findings conflict |
What is a hypothesis?
A hypothesis is a precise, testable statement of what you expect to find, written before you collect or analyse data. It is more than a hunch. A good one grows out of theory or earlier studies, which give you a reason to expect a particular pattern, and it is narrow enough that a single study can put it to the test.
It helps to separate three ideas that students often blur. A theory is a broad, well-supported explanation of how something works, such as a model of working memory. A hypothesis is a specific claim derived from that theory for your particular study and sample. A prediction is the concrete result you expect to see in your data if the hypothesis is correct, for example a higher mean score in one group.
Hypotheses are tested, never proven. Data can support a hypothesis or fail to support it, but another sample might give a different answer. That is why careful researchers write that the results "supported" or "did not support" the hypothesis, rather than claiming they proved anything.
What makes a hypothesis testable?
A hypothesis is testable when you can describe, before the study begins, a result that would count against it. If every possible outcome could be read as support, the statement is not doing any scientific work. Check your draft against these criteria:
- It names measurable variables. "Stress" is a concept; "score on a ten-item perceived stress scale" is a measure. You do not need the full instrument details in the hypothesis itself, but the variables must be measurable in principle.
- It predicts a relationship or difference. The statement links at least two variables, or compares at least two groups, rather than describing a single feature.
- It is falsifiable. Some result in your data would contradict it. "Some students may learn better in some situations" cannot fail, so it cannot be tested.
- It is specific about the population. Say who or what is being studied: first-year undergraduates, seedlings of one species, customers of one firm.
- It is feasible. You can collect enough data, ethically, within your time and resources.
- It is grounded in evidence. You can point to theory or earlier findings that make the prediction reasonable.
- It uses plain, definite wording. Avoid "might", "could" and "perhaps"; a hypothesis is a claim, so write it as one.
A quick test: ask a classmate to read your hypothesis and say what result would prove you wrong. If they cannot answer, the wording needs tightening.
Variables: independent, dependent and control
Every quantitative hypothesis is built from variables, so identifying them correctly is the first practical step.
The independent variable is the factor you manipulate in an experiment, or the grouping or predictor variable in a non-experimental study. Examples are a type of teaching method, a dose of fertiliser, a marketing message or a patient education approach. In correlational work it is often called the predictor.
The dependent variable is the outcome you measure to see whether it changes with the independent variable. Examples are a test score, plant height, purchase intention or knowledge of medication. In correlational work it is often called the outcome or criterion variable.
Control variables are factors you keep constant, or measure and adjust for, so they cannot offer an alternative explanation. If you compare two teaching methods but one group is taught in the morning and the other late at night, time of day becomes a rival explanation. Listing controls in your method section shows the examiner you have thought about confounding.
A confounding variable changes alongside the independent variable and distorts the result if you do not control it, so naming likely confounders is essential.
Finally, operationalise each variable: decide exactly how it will be measured. "Sleep quality" might become the total score on a validated questionnaire, or hours of sleep recorded by a wearable device. Operational definitions belong in the method section, but your hypothesis should use the same terms so the two match.
Directional vs non-directional hypotheses
A directional hypothesis predicts which way the effect will go: one group will score higher, or one variable will increase as another increases. Use it when theory or several earlier studies give you a clear reason to expect that direction.
A non-directional hypothesis predicts that a difference or relationship exists but does not say which way. Use it when earlier findings conflict, when the topic is new, or when either direction is plausible.
| Feature | Directional (one-tailed) | Non-directional (two-tailed) |
|---|---|---|
| Wording | "will score higher", "will increase", "positive relationship" | "will differ", "there will be a relationship" |
| When to use | Strong theoretical or empirical basis for the direction | Conflicting, limited or no prior evidence |
| Example | Students who self-test will recall more terms than students who reread | Recall will differ between self-testing and rereading groups |
| Matching test | One-tailed test, if your department accepts it | Two-tailed test |
| Risk | An effect in the opposite direction cannot be claimed | Slightly less statistical power for a predicted direction |
Decide on direction before you see the data. Switching to a one-tailed test after noticing which way the means fall is a form of result-fishing, and markers who spot it will treat the analysis as unreliable. If you are unsure, the non-directional version is the safer default, and many departments expect two-tailed tests in student projects.
Null and alternative hypotheses
Statistical tests do not test your research hypothesis directly. They test a null hypothesis, written H0, which states that there is no effect, no difference or no relationship in the population. The alternative hypothesis, written H1 or Ha, states that there is one. In most student projects the alternative hypothesis is simply your research hypothesis written in statistical terms.
The logic runs like this. You assume the null hypothesis is true, then ask how likely your data, or more extreme data, would be under that assumption. That probability is the p value. If it falls below the significance level you set in advance, conventionally .05, you reject H0 in favour of H1. If it does not, you fail to reject H0. You never "accept" the null, because absence of evidence for an effect is not evidence that the effect is zero.
Hypotheses are statements about populations, so the notation uses population parameters, usually Greek letters. The table shows common forms.
| Design | Null hypothesis (H0) | Non-directional H1 | Directional H1 |
|---|---|---|---|
| Two group means | μ1 = μ2 | μ1 ≠ μ2 | μ1 > μ2 |
| One mean against a known value | μ = 100 | μ ≠ 100 | μ > 100 |
| Correlation between two variables | ρ = 0 | ρ ≠ 0 | ρ > 0 |
| Three or more group means | μ1 = μ2 = μ3 | At least one mean differs | Not usually stated directionally |
| Two categorical variables | The variables are independent | The variables are associated | Not usually stated directionally |
Here μ (mu) stands for a population mean and ρ (rho) for a population correlation. When you report results in APA style, Latin-letter statistical symbols such as M, SD, t, F, r and p are set in italics, while Greek letters stay upright; the Purdue OWL guide to statistics in APA summarises these conventions. For a clear statistical explanation of the null and alternative pair, Newcastle University's null and alternative hypotheses page is a useful reference.
A Type I error means rejecting a null hypothesis that is actually true, and its probability is your significance level, alpha. A Type II error means missing a real effect; larger samples reduce that risk, which is why proposals often include a power calculation.
How to write a hypothesis in six steps
- Start from a focused research question. "Does music help studying?" is too broad. "Does instrumental background music change how many words undergraduates recall from a studied list?" is workable.
- Read what is already known. Look for theory and earlier studies on the same variables. The literature tells you whether a direction is justified and which measures others have used.
- Identify the variables. Write down the independent variable, the dependent variable and the main factors you will control.
- Decide on direction. Choose directional wording only if the evidence clearly points one way.
- Draft the research hypothesis in one sentence. Include the population, the variables and the expected relationship. Read it aloud and remove hedging words.
- Write the null and alternative pair. Restate the hypothesis as H1, then write H0 as its "no difference" or "no relationship" counterpart, so the statistical test is clear.
Once you have the pair, check that your planned analysis tests exactly what the hypothesis says. If the hypothesis compares two groups but your plan is a correlation, one of them needs to change. Our guide on how to write a dissertation methodology shows how hypotheses, design and analysis should line up in the method chapter.
Hypothesis templates you can adapt
Templates are useful for a first draft, but adapt the wording to your discipline and brief. Fill the brackets with your own variables and population.
| Type | Template | Example |
|---|---|---|
| If… then… | If [IV changes in this way], then [DV will change in this way] in [population]. | If seedlings receive twice-weekly liquid feed, then their mean height after four weeks will be greater than that of unfed seedlings. |
| If… then… because… | If [IV], then [DV], because [mechanism from theory]. | If students test themselves, then they will recall more terms, because retrieval strengthens memory traces. |
| Comparative | [Group A] will show [higher, lower or different] [DV] than [Group B]. | Part-time students will report lower module satisfaction than full-time students. |
| Correlational | There will be a [positive, negative or significant] relationship between [variable 1] and [variable 2] in [population]. | There will be a positive relationship between weekly revision hours and end-of-module marks among first-year undergraduates. |
| Null form | There will be no [difference in DV between groups, or relationship between variables] in [population]. | There will be no difference in recall between music and silence conditions. |
The "If… then…" form is common in school science and lab reports because it makes the variables obvious. In journal-style writing, especially psychology, the comparative and correlational forms are more usual, and the "because" clause is often moved into the introduction rather than the hypothesis sentence itself.
Worked examples across four subjects
The examples below are invented to show the reasoning; they are not summaries of real studies and contain no results. Each one follows the same pattern: question, variables, hypothesis, null and alternative pair, and the likely test.
Psychology: background music and recall
Research question: does instrumental background music affect word recall in undergraduates?
- IV: listening condition (instrumental music or silence)
- DV: number of words correctly recalled from a 20-word list
- Controls: list difficulty, study time, recall delay, testing room
- Research hypothesis (non-directional): undergraduates who study a word list with instrumental background music will recall a different number of words from those who study in silence.
- H0: μmusic = μsilence. H1: μmusic ≠ μsilence.
- Likely test: independent-samples t test if different participants take each condition, or paired-samples t test if each participant does both, with the order counterbalanced.
A non-directional version fits here because earlier findings on music and memory point both ways.
Biology: light colour and seedling growth
Research question: does light wavelength affect early stem growth in cress seedlings?
- IV: light colour (blue or red LED of matched intensity)
- DV: stem height in millimetres after ten days
- Controls: seed batch, compost volume, water per day, temperature, light intensity and duration
- Research hypothesis (directional): cress seedlings grown under red light will have a greater mean stem height after ten days than seedlings grown under blue light.
- H0: μred = μblue. H1: μred > μblue.
- Likely test: independent-samples t test, or Mann-Whitney U if the height data are strongly skewed.
The directional wording only works if your background reading explains why red light should promote stem elongation.
Business: loyalty app use and spending
Research question: is loyalty app use related to how much customers spend per visit at a regional coffee chain?
- Predictor: number of loyalty app check-ins per month
- Outcome: average spend per visit in pounds
- Controls or covariates: customer age band, store location
- Research hypothesis (directional, correlational): among the chain's loyalty members, there will be a positive relationship between monthly app check-ins and average spend per visit.
- H0: ρ = 0. H1: ρ > 0.
- Likely test: Pearson correlation, or Spearman's rho if the data are not suitable for Pearson; multiple regression if you add the covariates.
Notice that a correlational hypothesis cannot claim the app causes higher spending. Frequent customers might simply be bigger spenders who also like apps. Say so in your discussion.
Nursing: discharge teaching and medication knowledge
This is an educational illustration of hypothesis wording, not clinical guidance, and any real study would need ethical approval and supervision.
Research question: does the teach-back method improve patients' medication knowledge at discharge compared with written information alone?
- IV: discharge education approach (teach-back plus leaflet, or leaflet only)
- DV: score on a short medication knowledge questionnaire completed before discharge
- Controls: same ward, same medication leaflet, questionnaire given at the same point in the discharge process
- Research hypothesis (directional): adult patients who receive teach-back discharge education will score higher on a medication knowledge questionnaire than patients who receive a leaflet only.
- H0: μteach-back = μleaflet. H1: μteach-back > μleaflet.
- Likely test: independent-samples t test, or Mann-Whitney U for small samples or ordinal scores.
Many nursing dissertations are literature-based rather than empirical. If yours is a review, you will usually frame a focused review question, often using a structure such as PICO, rather than a hypothesis.
Research hypothesis vs research question
A research question asks; a hypothesis answers in advance. "Is revision time related to exam performance?" is a question. "There will be a positive relationship between weekly revision hours and exam marks" is a hypothesis that answers it before the data arrive.
| Feature | Research question | Research hypothesis |
|---|---|---|
| Form | A question | A declarative statement |
| Purpose | Defines what the study sets out to find | Predicts the answer so it can be tested |
| Typical designs | Qualitative, exploratory, descriptive, mixed methods | Experimental, quasi-experimental, correlational |
| Needs prior evidence? | Not necessarily | Yes, to justify the prediction |
| Analysis | Thematic, descriptive or statistical | Inferential statistics with H0 and H1 |
| Outcome language | Findings, themes, descriptions | Supported or not supported |
Qualitative studies use research questions instead of hypotheses because their aim is to understand meanings, experiences or processes in depth, not to measure an effect. A study asking "How do international students describe their first term at a UK university?" is not predicting a result; imposing a hypothesis would close down what the participants might say. Descriptive surveys can also work from questions, for example "What proportion of students use generative AI tools for revision?", because they estimate rather than test.
Many quantitative projects state both: a research question in the introduction and one or more hypotheses that follow from it. Our guide on how to write a research proposal shows where each sits in a proposal and how to keep them consistent.
How hypotheses link to statistical tests
The structure of your hypothesis largely decides the test. Ask three questions: are you comparing groups or looking for a relationship, how many groups or variables are involved, and what kind of data is the dependent variable?
| Hypothesis type | Data | Parametric test | Non-parametric alternative |
|---|---|---|---|
| Two independent groups differ | Continuous DV | Independent-samples t test | Mann-Whitney U |
| Same participants differ across two conditions | Continuous DV | Paired-samples t test | Wilcoxon signed-rank |
| Three or more independent groups differ | Continuous DV | One-way ANOVA | Kruskal-Wallis |
| Two continuous variables are related | Both continuous | Pearson correlation | Spearman's rho |
| Several predictors explain an outcome | Continuous outcome | Multiple regression | Depends on data; ask your supervisor |
| Two categorical variables are associated | Counts in categories | Chi-square test of independence | Fisher's exact test for small expected counts |
Parametric tests assume, among other things, roughly normal distributions within groups or residuals and similar variances; non-parametric tests relax some of these assumptions. Check assumptions before deciding, and note that many dissertations report both the main test and an effect size. Our SPSS data analysis guide walks through running these tests and reading the output, and a statistics tutor can help you work out which one fits your design.
If you state several hypotheses, number them (H1, H2, H3) and report the results in the same order. This makes your results chapter much easier to mark.
Reporting whether your hypothesis was supported
In the results section, report the test for each hypothesis, then state the outcome plainly. A typical APA-style pattern gives the test statistic with its degrees of freedom, the exact p value and an effect size, for example t(df) = value, p = value, d = value. Then say in words what it means: "The results supported H1: students in the self-testing group recalled more terms than those in the rereading group."
When the result is not significant, write that the hypothesis was not supported and that you failed to reject the null hypothesis. Avoid saying the variables are "unrelated" or that there was "no effect", because a small sample may simply have lacked the power to detect one. In the discussion, consider why, from measurement and sample size to the theory itself.
Common mistakes when writing a hypothesis
- Writing a question with a full stop. "Whether music affects recall" is still a question. A hypothesis states an expected relationship.
- Leaving out a variable. "Students who revise more will do better" omits how "do better" is measured and in which assessment.
- Using untestable words. "Better", "affect" and "influence" are fine only if the measure is clear. "Healthier", "happier" or "more successful" need operational definitions.
- Predicting proof. Hypotheses are supported or not supported; they are not proven.
- Choosing direction after seeing the data. Decide before analysis and record your reasons.
- Mismatching hypothesis and test. A comparative hypothesis needs a group-comparison test; a correlational one needs a correlation or regression.
- Claiming cause from correlation. A relationship between variables does not show which one drives the other.
- Forcing a hypothesis onto a qualitative study. Use research questions when your aim is exploration and meaning.
Getting help from a tutor
A tutor can read your research question and draft hypothesis, ask the questions an examiner would ask, and explain whether the wording, variables and planned test fit together. Our statistics tutors cover hypothesis testing, test selection and interpreting output, and psychology tutors are used to helping with experimental and correlational designs.
The project stays yours. Tutors explain concepts and give feedback on drafts so that every decision about your hypothesis and analysis is one you understand and can defend in your own words.
Frequently asked questions
What is a hypothesis in simple words?
A hypothesis is a clear, testable guess about what your study will find, based on what is already known. It names the things you will measure and predicts how they are connected, such as one group scoring higher than another. Your data then either support the prediction or fail to support it.
Can a hypothesis be written as a question?
No. A question asks what is going on, whereas a hypothesis commits to an answer before the data are collected. "Does caffeine improve reaction time?" is a research question. "Participants who drink caffeine will have faster reaction times than those who drink a placebo" is a hypothesis, because it can be tested and could turn out wrong.
How long should a hypothesis be?
One sentence is usually enough, typically somewhere between fifteen and thirty words. It needs to name the population, the independent and dependent variables and the expected relationship. If yours runs to several clauses or predicts several outcomes, split it into separate numbered hypotheses so each one can be tested and reported on its own.
How does a hypothesis differ from a prediction?
A hypothesis is the general claim about how variables relate, often drawn from theory. A prediction is the specific result you expect to see in your own data if that claim is true, such as a higher mean in one condition. In many student reports the two are merged into one sentence, which is acceptable.
Is the alternative hypothesis the same as the research hypothesis?
In most student projects, yes. The research hypothesis is your prediction in everyday language, and the alternative hypothesis expresses the same prediction in statistical terms, usually with population symbols such as μ or ρ. The null hypothesis is the opposing statement of no effect that your statistical test actually evaluates.
What does H0 mean in statistics?
H0 is the symbol for the null hypothesis, read as "H nought" or "H zero". It states that there is no difference, effect or relationship in the population. Statistical tests calculate how likely your data would be if H0 were true, and a small enough p value leads you to reject it.
When should I use a directional hypothesis?
Use a directional hypothesis when theory or several earlier studies give a clear reason to expect a particular direction, such as one group scoring higher. Decide this before collecting data and justify it in your introduction. If the evidence is mixed or thin, a non-directional hypothesis and a two-tailed test are the safer choice.
What happens if my results do not support my hypothesis?
Nothing is wrong with your project. Report that the hypothesis was not supported and that you failed to reject the null hypothesis, then explore possible reasons in your discussion, such as sample size, measurement or the theory itself. Markers reward accurate, thoughtful interpretation, so an unsupported hypothesis can still lead to a strong grade.
Can I have more than one hypothesis in a dissertation?
Yes, and many quantitative dissertations have two to four. Number them H1, H2 and so on, link each one to a research question, and report the results in the same order. Keep the set manageable, because every extra hypothesis needs its own analysis, and running many tests raises the chance of false positives.
Do I need a hypothesis for a literature-based dissertation?
Usually not. Literature reviews and systematic reviews normally work from a focused review question, often framed with a structure such as PICO in health subjects. Some reviews test a hypothesis through meta-analysis, but that is uncommon at undergraduate level. Check your module handbook and ask your supervisor which format your department expects.
Which part of a lab report states the hypothesis?
The hypothesis normally appears at the end of the introduction, after you have reviewed the background that justifies it. Stating it there lets the reader see why you expect the result. Some briefs also ask you to restate the null and alternative hypotheses in the method or results section, so follow your department's template.
How does a hypothesis differ from a theory?
A theory is a broad explanation supported by a large body of evidence, such as a model of how memory works. A hypothesis is a narrow, testable claim derived from a theory for one study. Results from many hypothesis tests can strengthen, refine or challenge a theory, but one study rarely settles it.
How do I write a hypothesis for a correlational study?
Name both variables and the population, then state the expected relationship: positive, negative or simply present. For example, "Among first-year students, weekly revision hours will be positively related to exam marks." Write the null as no relationship, with ρ = 0, and avoid causal words such as "causes" or "leads to".
Does a directional hypothesis need a one-tailed test?
Match the test to your hypothesis. A directional hypothesis stated before data collection can justify a one-tailed test, while a non-directional one needs a two-tailed test. Many departments ask students to use two-tailed tests in all cases, so check your handbook, and never switch after you have seen which way the results fall.
Can I change my hypothesis after collecting data?
You should not rewrite a hypothesis to fit results you have already seen, because that makes the test meaningless. If the data suggest a new idea, report it honestly as an exploratory finding and propose it as a hypothesis for future research. Changes before data collection are fine if your supervisor agrees.
Can a tutor check my hypothesis before I start my study?
Yes. A tutor can read your research question and draft hypotheses, check that the variables are measurable, discuss whether a directional version is justified and explain which statistical test would fit. They give feedback and explanation, while the decisions and the wording remain yours, so you can discuss them confidently with your supervisor.
Want a subject expert to help with this?
Get dissertation help →Money-Back Guarantee
Full refund if we miss the agreed deadline, can't find a suitable expert, or major errors can't be fixed by revision.
How the money-back guarantee works →100% Confidential
Your identity, order details and institution are never shared with any third party.
How we keep your order confidential →Deadline-Backed Delivery
Every order has an agreed deadline. If we don't deliver by it, you can claim a full refund.
Read the refund policy →Get started today
Ready to get expert help?
Tell us what you need and get matched with a tutor who teaches your subject. Delivered on time, every time.
