Independent and Dependent Variables

Saul Mcleod, PhD

Editor-in-Chief for Simply Psychology

BSc (Hons) Psychology, MRes, PhD, University of Manchester

Saul Mcleod, PhD., is a qualified psychology teacher with over 18 years of experience in further and higher education. He has been published in peer-reviewed journals, including the Journal of Clinical Psychology.

Learn about our Editorial Process

Olivia Guy-Evans, MSc

Associate Editor for Simply Psychology

BSc (Hons) Psychology, MSc Psychology of Education

Olivia Guy-Evans is a writer and associate editor for Simply Psychology. She has previously worked in healthcare and educational sectors.

On This Page:

In research, a variable is any characteristic, number, or quantity that can be measured or counted in experimental investigations . One is called the dependent variable, and the other is the independent variable.

In research, the independent variable is manipulated to observe its effect, while the dependent variable is the measured outcome. Essentially, the independent variable is the presumed cause, and the dependent variable is the observed effect.

Variables provide the foundation for examining relationships, drawing conclusions, and making predictions in research studies.

variables2

Independent Variable

In psychology, the independent variable is the variable the experimenter manipulates or changes and is assumed to directly affect the dependent variable.

It’s considered the cause or factor that drives change, allowing psychologists to observe how it influences behavior, emotions, or other dependent variables in an experimental setting. Essentially, it’s the presumed cause in cause-and-effect relationships being studied.

For example, allocating participants to drug or placebo conditions (independent variable) to measure any changes in the intensity of their anxiety (dependent variable).

In a well-designed experimental study , the independent variable is the only important difference between the experimental (e.g., treatment) and control (e.g., placebo) groups.

By changing the independent variable and holding other factors constant, psychologists aim to determine if it causes a change in another variable, called the dependent variable.

For example, in a study investigating the effects of sleep on memory, the amount of sleep (e.g., 4 hours, 8 hours, 12 hours) would be the independent variable, as the researcher might manipulate or categorize it to see its impact on memory recall, which would be the dependent variable.

Dependent Variable

In psychology, the dependent variable is the variable being tested and measured in an experiment and is “dependent” on the independent variable.

In psychology, a dependent variable represents the outcome or results and can change based on the manipulations of the independent variable. Essentially, it’s the presumed effect in a cause-and-effect relationship being studied.

An example of a dependent variable is depression symptoms, which depend on the independent variable (type of therapy).

In an experiment, the researcher looks for the possible effect on the dependent variable that might be caused by changing the independent variable.

For instance, in a study examining the effects of a new study technique on exam performance, the technique would be the independent variable (as it is being introduced or manipulated), while the exam scores would be the dependent variable (as they represent the outcome of interest that’s being measured).

Examples in Research Studies

For example, we might change the type of information (e.g., organized or random) given to participants to see how this might affect the amount of information remembered.

In this example, the type of information is the independent variable (because it changes), and the amount of information remembered is the dependent variable (because this is being measured).

Independent and Dependent Variables Examples

For the following hypotheses, name the IV and the DV.

1. Lack of sleep significantly affects learning in 10-year-old boys.

IV……………………………………………………

DV…………………………………………………..

2. Social class has a significant effect on IQ scores.

DV……………………………………………….…

3. Stressful experiences significantly increase the likelihood of headaches.

4. Time of day has a significant effect on alertness.

Operationalizing Variables

To ensure cause and effect are established, it is important that we identify exactly how the independent and dependent variables will be measured; this is known as operationalizing the variables.

Operational variables (or operationalizing definitions) refer to how you will define and measure a specific variable as it is used in your study. This enables another psychologist to replicate your research and is essential in establishing reliability (achieving consistency in the results).

For example, if we are concerned with the effect of media violence on aggression, then we need to be very clear about what we mean by the different terms. In this case, we must state what we mean by the terms “media violence” and “aggression” as we will study them.

Therefore, you could state that “media violence” is operationally defined (in your experiment) as ‘exposure to a 15-minute film showing scenes of physical assault’; “aggression” is operationally defined as ‘levels of electrical shocks administered to a second ‘participant’ in another room.

In another example, the hypothesis “Young participants will have significantly better memories than older participants” is not operationalized. How do we define “young,” “old,” or “memory”? “Participants aged between 16 – 30 will recall significantly more nouns from a list of twenty than participants aged between 55 – 70” is operationalized.

The key point here is that we have clarified what we mean by the terms as they were studied and measured in our experiment.

If we didn’t do this, it would be very difficult (if not impossible) to compare the findings of different studies to the same behavior.

Operationalization has the advantage of generally providing a clear and objective definition of even complex variables. It also makes it easier for other researchers to replicate a study and check for reliability .

For the following hypotheses, name the IV and the DV and operationalize both variables.

1. Women are more attracted to men without earrings than men with earrings.

I.V._____________________________________________________________

D.V. ____________________________________________________________

Operational definitions:

I.V. ____________________________________________________________

2. People learn more when they study in a quiet versus noisy place.

I.V. _________________________________________________________

D.V. ___________________________________________________________

3. People who exercise regularly sleep better at night.

Can there be more than one independent or dependent variable in a study?

Yes, it is possible to have more than one independent or dependent variable in a study.

In some studies, researchers may want to explore how multiple factors affect the outcome, so they include more than one independent variable.

Similarly, they may measure multiple things to see how they are influenced, resulting in multiple dependent variables. This allows for a more comprehensive understanding of the topic being studied.

What are some ethical considerations related to independent and dependent variables?

Ethical considerations related to independent and dependent variables involve treating participants fairly and protecting their rights.

Researchers must ensure that participants provide informed consent and that their privacy and confidentiality are respected. Additionally, it is important to avoid manipulating independent variables in ways that could cause harm or discomfort to participants.

Researchers should also consider the potential impact of their study on vulnerable populations and ensure that their methods are unbiased and free from discrimination.

Ethical guidelines help ensure that research is conducted responsibly and with respect for the well-being of the participants involved.

Can qualitative data have independent and dependent variables?

Yes, both quantitative and qualitative data can have independent and dependent variables.

In quantitative research, independent variables are usually measured numerically and manipulated to understand their impact on the dependent variable. In qualitative research, independent variables can be qualitative in nature, such as individual experiences, cultural factors, or social contexts, influencing the phenomenon of interest.

The dependent variable, in both cases, is what is being observed or studied to see how it changes in response to the independent variable.

So, regardless of the type of data, researchers analyze the relationship between independent and dependent variables to gain insights into their research questions.

Can the same variable be independent in one study and dependent in another?

Yes, the same variable can be independent in one study and dependent in another.

The classification of a variable as independent or dependent depends on how it is used within a specific study. In one study, a variable might be manipulated or controlled to see its effect on another variable, making it independent.

However, in a different study, that same variable might be the one being measured or observed to understand its relationship with another variable, making it dependent.

The role of a variable as independent or dependent can vary depending on the research question and study design.

Print Friendly, PDF & Email

Independent Variables (Definition + 43 Examples)

practical psychology logo

Have you ever wondered how scientists make discoveries and how researchers come to understand the world around us? A crucial tool in their kit is the concept of the independent variable, which helps them delve into the mysteries of science and everyday life.

An independent variable is a condition or factor that researchers manipulate to observe its effect on another variable, known as the dependent variable. In simpler terms, it’s like adjusting the dials and watching what happens! By changing the independent variable, scientists can see if and how it causes changes in what they are measuring or observing, helping them make connections and draw conclusions.

In this article, we’ll explore the fascinating world of independent variables, journey through their history, examine theories, and look at a variety of examples from different fields.

History of the Independent Variable

pill bottles

Once upon a time, in a world thirsty for understanding, people observed the stars, the seas, and everything in between, seeking to unlock the mysteries of the universe.

The story of the independent variable begins with a quest for knowledge, a journey taken by thinkers and tinkerers who wanted to explain the wonders and strangeness of the world.

Origins of the Concept

The seeds of the idea of independent variables were sown by Sir Francis Galton , an English polymath, in the 19th century. Galton wore many hats—he was a psychologist, anthropologist, meteorologist, and a statistician!

It was his diverse interests that led him to explore the relationships between different factors and their effects. Galton was curious—how did one thing lead to another, and what could be learned from these connections?

As Galton delved into the world of statistical theories , the concept of independent variables started taking shape.

He was interested in understanding how characteristics, like height and intelligence, were passed down through generations.

Galton’s work laid the foundation for later thinkers to refine and expand the concept, turning it into an invaluable tool for scientific research.

Evolution over Time

After Galton’s pioneering work, the concept of the independent variable continued to evolve and grow. Scientists and researchers from various fields adopted and adapted it, finding new ways to use it to make sense of the world.

They discovered that by manipulating one factor (the independent variable), they could observe changes in another (the dependent variable), leading to groundbreaking insights and discoveries.

Through the years, the independent variable became a cornerstone in experimental design . Researchers in fields like physics, biology, psychology, and sociology used it to test hypotheses, develop theories, and uncover the laws that govern our universe.

The idea that originated from Galton’s curiosity had bloomed into a universal key, unlocking doors to knowledge across disciplines.

Importance in Scientific Research

Today, the independent variable stands tall as a pillar of scientific research. It helps scientists and researchers ask critical questions, test their ideas, and find answers. Without independent variables, we wouldn’t have many of the advancements and understandings that we take for granted today.

The independent variable plays a starring role in experiments, helping us learn about everything from the smallest particles to the vastness of space. It helps researchers create vaccines, understand social behaviors, explore ecological systems, and even develop new technologies.

In the upcoming sections, we’ll dive deeper into what independent variables are, how they work, and how they’re used in various fields.

Together, we’ll uncover the magic of this scientific concept and see how it continues to shape our understanding of the world around us.

What is an Independent Variable?

Embarking on the captivating journey of scientific exploration requires us to grasp the essential terms and ideas. It's akin to a treasure hunter mastering the use of a map and compass.

In our adventure through the realm of independent variables, we’ll delve deeper into some fundamental concepts and definitions to help us navigate this exciting world.

Variables in Research

In the grand tapestry of research, variables are the gems that researchers seek. They’re elements, characteristics, or behaviors that can shift or vary in different circumstances.

Picture them as the myriad of ingredients in a chef’s kitchen—each variable can be adjusted or modified to create a myriad of dishes, each with a unique flavor!

Understanding variables is essential as they form the core of every scientific experiment and observational study.

Types of Variables

Independent Variable The star of our story, the independent variable, is the one that researchers change or control to study its effects. It’s like a chef experimenting with different spices to see how each one alters the taste of the soup. The independent variable is the catalyst, the initial spark that sets the wheels of research in motion.

Dependent Variable The dependent variable is the outcome we observe and measure . It’s the altered flavor of the soup that results from the chef’s culinary experiments. This variable depends on the changes made to the independent variable, hence the name!

Observing how the dependent variable reacts to changes helps scientists draw conclusions and make discoveries.

Control Variable Control variables are the unsung heroes of scientific research. They’re the constants, the elements that researchers keep the same to ensure the integrity of the experiment.

Imagine if our chef used a different type of broth each time he experimented with spices—the results would be all over the place! Control variables keep the experiment grounded and help researchers be confident in their findings.

Confounding Variables Imagine a hidden rock in a stream, changing the water’s flow in unexpected ways. Confounding variables are similar—they are external factors that can sneak into experiments and influence the outcome , adding twists to our scientific story.

These variables can blur the relationship between the independent and dependent variables, making the results of the study a bit puzzly. Detecting and controlling these hidden elements helps researchers ensure the accuracy of their findings and reach true conclusions.

There are of course other types of variables, and different ways to manipulate them called " schedules of reinforcement ," but we won't get into that too much here.

Role of the Independent Variable

Manipulation When researchers manipulate the independent variable, they are orchestrating a symphony of cause and effect. They’re adjusting the strings, the brass, the percussion, observing how each change influences the melody—the dependent variable.

This manipulation is at the heart of experimental research. It allows scientists to explore relationships, unravel patterns, and unearth the secrets hidden within the fabric of our universe.

Observation With every tweak and adjustment made to the independent variable, researchers are like seasoned detectives, observing the dependent variable for changes, collecting clues, and piecing together the puzzle.

Observing the effects and changes that occur helps them deduce relationships, formulate theories, and expand our understanding of the world. Every observation is a step towards solving the mysteries of nature and human behavior.

Identifying Independent Variables

Characteristics Identifying an independent variable in the vast landscape of research can seem daunting, but fear not! Independent variables have distinctive characteristics that make them stand out.

They’re the elements that are deliberately changed or controlled in an experiment to study their effects on the dependent variable. Recognizing these characteristics is like learning to spot footprints in the sand—it leads us to the heart of the discovery!

In Different Types of Research The world of research is diverse and varied, and the independent variable dons many guises! In the field of medicine, it might manifest as the dosage of a drug administered to patients.

In psychology, it could take the form of different learning methods applied to study memory retention. In each field, identifying the independent variable correctly is the golden key that unlocks the treasure trove of knowledge and insights.

As we forge ahead on our enlightening journey, equipped with a deeper understanding of independent variables and their roles, we’re ready to delve into the intricate theories and diverse examples that underscore their significance.

Independent Variables in Research

researcher doing research

Now that we’re acquainted with the basic concepts and have the tools to identify independent variables, let’s dive into the fascinating ocean of theories and frameworks.

These theories are like ancient scrolls, providing guidelines and blueprints that help scientists use independent variables to uncover the secrets of the universe.

Scientific Method

What is it and How Does it Work? The scientific method is like a super-helpful treasure map that scientists use to make discoveries. It has steps we follow: asking a question, researching, guessing what will happen (that's a hypothesis!), experimenting, checking the results, figuring out what they mean, and telling everyone about it.

Our hero, the independent variable, is the compass that helps this adventure go the right way!

How Independent Variables Lead the Way In the scientific method, the independent variable is like the captain of a ship, leading everyone through unknown waters.

Scientists change this variable to see what happens and to learn new things. It’s like having a compass that points us towards uncharted lands full of knowledge!

Experimental Design

The Basics of Building Constructing an experiment is like building a castle, and the independent variable is the cornerstone. It’s carefully chosen and manipulated to see how it affects the dependent variable. Researchers also identify control and confounding variables, ensuring the castle stands strong, and the results are reliable.

Keeping Everything in Check In every experiment, maintaining control is key to finding the treasure. Scientists use control variables to keep the conditions consistent, ensuring that any changes observed are truly due to the independent variable. It’s like ensuring the castle’s foundation is solid, supporting the structure as it reaches for the sky.

Hypothesis Testing

Making Educated Guesses Before they start experimenting, scientists make educated guesses called hypotheses . It’s like predicting which X marks the spot of the treasure! It often includes the independent variable and the expected effect on the dependent variable, guiding researchers as they navigate through the experiment.

Independent Variables in the Spotlight When testing these guesses, the independent variable is the star of the show! Scientists change and watch this variable to see if their guesses were right. It helps them figure out new stuff and learn more about the world around us!

Statistical Analysis

Figuring Out Relationships After the experimenting is done, it’s time for scientists to crack the code! They use statistics to understand how the independent and dependent variables are related and to uncover the hidden stories in the data.

Experimenters have to be careful about how they determine the validity of their findings, which is why they use statistics. Something called "experimenter bias" can get in the way of having true (valid) results, because it's basically when the experimenter influences the outcome based on what they believe to be true (or what they want to be true!).

How Important are the Discoveries? Through statistical analysis, scientists determine the significance of their findings. It’s like discovering if the treasure found is made of gold or just shiny rocks. The analysis helps researchers know if the independent variable truly had an effect, contributing to the rich tapestry of scientific knowledge.

As we uncover more about how theories and frameworks use independent variables, we start to see how awesome they are in helping us learn more about the world. But we’re not done yet!

Up next, we’ll look at tons of examples to see how independent variables work their magic in different areas.

Examples of Independent Variables

Independent variables take on many forms, showcasing their versatility in a range of experiments and studies. Let’s uncover how they act as the protagonists in numerous investigations and learning quests!

Science Experiments

1) plant growth.

Consider an experiment aiming to observe the effect of varying water amounts on plant height. In this scenario, the amount of water given to the plants is the independent variable!

2) Freezing Water

Suppose we are curious about the time it takes for water to freeze at different temperatures. The temperature of the freezer becomes the independent variable as we adjust it to observe the results!

3) Light and Shadow

Have you ever observed how shadows change? In an experiment, adjusting the light angle to observe its effect on an object’s shadow makes the angle of light the independent variable!

4) Medicine Dosage

In medical studies, determining how varying medicine dosages influence a patient’s recovery is essential. Here, the dosage of the medicine administered is the independent variable!

5) Exercise and Health

Researchers might examine the impact of different exercise forms on individuals’ health. The various exercise forms constitute the independent variable in this study!

6) Sleep and Wellness

Have you pondered how the sleep duration affects your well-being the following day? In such research, the hours of sleep serve as the independent variable!

calm blue room

7) Learning Methods

Psychologists might investigate how diverse study methods influence test outcomes. Here, the different study methods adopted by students are the independent variable!

8) Mood and Music

Have you experienced varied emotions with different music genres? The genre of music played becomes the independent variable when researching its influence on emotions!

9) Color and Feelings

Suppose researchers are exploring how room colors affect individuals’ emotions. In this case, the room colors act as the independent variable!

Environment

10) rainfall and plant life.

Environmental scientists may study the influence of varying rainfall levels on vegetation. In this instance, the amount of rainfall is the independent variable!

11) Temperature and Animal Behavior

Examining how temperature variations affect animal behavior is fascinating. Here, the varying temperatures serve as the independent variable!

12) Pollution and Air Quality

Investigating the effects of different pollution levels on air quality is crucial. In such studies, the pollution level is the independent variable!

13) Internet Speed and Productivity

Researchers might explore how varying internet speeds impact work productivity. In this exploration, the internet speed is the independent variable!

14) Device Type and User Experience

Examining how different devices affect user experience is interesting. Here, the type of device used is the independent variable!

15) Software Version and Performance

Suppose a study aims to determine how different software versions influence system performance. The software version becomes the independent variable!

16) Teaching Style and Student Engagement

Educators might investigate the effect of varied teaching styles on student engagement. In such a study, the teaching style is the independent variable!

17) Class Size and Learning Outcome

Researchers could explore how different class sizes influence students’ learning. Here, the class size is the independent variable!

18) Homework Frequency and Academic Achievement

Examining the relationship between the frequency of homework assignments and academic success is essential. The frequency of homework becomes the independent variable!

19) Telescope Type and Celestial Observation

Astronomers might study how different telescopes affect celestial observation. In this scenario, the telescope type is the independent variable!

20) Light Pollution and Star Visibility

Investigating the influence of varying light pollution levels on star visibility is intriguing. Here, the level of light pollution is the independent variable!

21) Observation Time and Astronomical Detail

Suppose a study explores how observation duration affects the detail captured in astronomical images. The duration of observation serves as the independent variable!

22) Community Size and Social Interaction

Sociologists may examine how the size of a community influences social interactions. In this research, the community size is the independent variable!

23) Cultural Exposure and Social Tolerance

Investigating the effect of diverse cultural exposure on social tolerance is vital. Here, the level of cultural exposure is the independent variable!

24) Economic Status and Educational Attainment

Researchers could explore how different economic statuses impact educational achievements. In such studies, economic status is the independent variable!

25) Training Intensity and Athletic Performance

Sports scientists might study how varying training intensities affect athletes’ performance. In this case, the training intensity is the independent variable!

26) Equipment Type and Player Safety

Examining the relationship between different sports equipment and player safety is crucial. Here, the type of equipment used is the independent variable!

27) Team Size and Game Strategy

Suppose researchers are investigating how the size of a sports team influences game strategy. The team size becomes the independent variable!

28) Diet Type and Health Outcome

Nutritionists may explore the impact of various diets on individuals’ health. In this exploration, the type of diet followed is the independent variable!

29) Caloric Intake and Weight Change

Investigating how different caloric intakes influence weight change is essential. In such a study, the caloric intake is the independent variable!

30) Food Variety and Nutrient Absorption

Researchers could examine how consuming a variety of foods affects nutrient absorption. Here, the variety of foods consumed is the independent variable!

Real-World Examples of Independent Variables

wind turbine

Isn't it fantastic how independent variables play such an essential part in so many studies? But the excitement doesn't stop there!

Now, let’s explore how findings from these studies, led by independent variables, make a big splash in the real world and improve our daily lives!

Healthcare Advancements

31) treatment optimization.

By studying different medicine dosages and treatment methods as independent variables, doctors can figure out the best ways to help patients recover quicker and feel better. This leads to more effective medicines and treatment plans!

32) Lifestyle Recommendations

Researching the effects of sleep, exercise, and diet helps health experts give us advice on living healthier lives. By changing these independent variables, scientists uncover the secrets to feeling good and staying well!

Technological Innovations

33) speeding up the internet.

When scientists explore how different internet speeds affect our online activities, they’re able to develop technologies to make the internet faster and more reliable. This means smoother video calls and quicker downloads!

34) Improving User Experience

By examining how we interact with various devices and software, researchers can design technology that’s easier and more enjoyable to use. This leads to cooler gadgets and more user-friendly apps!

Educational Strategies

35) enhancing learning.

Investigating different teaching styles, class sizes, and study methods helps educators discover what makes learning fun and effective. This research shapes classrooms, teaching methods, and even homework!

36) Tailoring Student Support

By studying how students with diverse needs respond to different support strategies, educators can create personalized learning experiences. This means every student gets the help they need to succeed!

Environmental Protection

37) conserving nature.

Researching how rainfall, temperature, and pollution affect the environment helps scientists suggest ways to protect our planet. By studying these independent variables, we learn how to keep nature healthy and thriving!

38) Combating Climate Change

Scientists studying the effects of pollution and human activities on climate change are leading the way in finding solutions. By exploring these independent variables, we can develop strategies to combat climate change and protect the Earth!

Social Development

39) building stronger communities.

Sociologists studying community size, cultural exposure, and economic status help us understand what makes communities happy and united. This knowledge guides the development of policies and programs for stronger societies!

40) Promoting Equality and Tolerance

By exploring how exposure to diverse cultures affects social tolerance, researchers contribute to fostering more inclusive and harmonious societies. This helps build a world where everyone is respected and valued!

Enhancing Sports Performance

41) optimizing athlete training.

Sports scientists studying training intensity, equipment type, and team size help athletes reach their full potential. This research leads to better training programs, safer equipment, and more exciting games!

42) Innovating Sports Strategies

By investigating how different game strategies are influenced by various team compositions, researchers contribute to the evolution of sports. This means more thrilling competitions and matches for us to enjoy!

Nutritional Well-Being

43) guiding healthy eating.

Nutritionists researching diet types, caloric intake, and food variety help us understand what foods are best for our bodies. This knowledge shapes dietary guidelines and helps us make tasty, yet nutritious, meal choices!

44) Promoting Nutritional Awareness

By studying the effects of different nutrients and diets, researchers educate us on maintaining a balanced diet. This fosters a greater awareness of nutritional well-being and encourages healthier eating habits!

As we journey through these real-world applications, we witness the incredible impact of studies featuring independent variables. The exploration doesn’t end here, though!

Let’s continue our adventure and see how we can identify independent variables in our own observations and inquiries! Keep your curiosity alive, and let’s delve deeper into the exciting realm of independent variables!

Identifying Independent Variables in Everyday Scenarios

So, we’ve seen how independent variables star in many studies, but how about spotting them in our everyday life?

Recognizing independent variables can be like a treasure hunt – you never know where you might find one! Let’s uncover some tips and tricks to identify these hidden gems in various situations.

1) Asking Questions

One of the best ways to spot an independent variable is by asking questions! If you’re curious about something, ask yourself, “What am I changing or manipulating in this situation?” The thing you’re changing is likely the independent variable!

For example, if you’re wondering whether the amount of sunlight affects how quickly your laundry dries, the sunlight amount is your independent variable!

2) Making Observations

Keep your eyes peeled and observe the world around you! By watching how changes in one thing (like the amount of rain) affect something else (like the height of grass), you can identify the independent variable.

In this case, the amount of rain is the independent variable because it’s what’s changing!

3) Conducting Experiments

Get hands-on and conduct your own experiments! By changing one thing and observing the results, you’re identifying the independent variable.

If you’re growing plants and decide to water each one differently to see the effects, the amount of water is your independent variable!

4) Everyday Scenarios

In everyday scenarios, independent variables are all around!

When you adjust the temperature of your oven to bake cookies, the oven temperature is the independent variable.

Or if you’re deciding how much time to spend studying for a test, the study time is your independent variable!

5) Being Curious

Keep being curious and asking “What if?” questions! By exploring different possibilities and wondering how changing one thing could affect another, you’re on your way to identifying independent variables.

If you’re curious about how the color of a room affects your mood, the room color is the independent variable!

6) Reviewing Past Studies

Don’t forget about the treasure trove of past studies and experiments! By reviewing what scientists and researchers have done before, you can learn how they identified independent variables in their work.

This can give you ideas and help you recognize independent variables in your own explorations!

Exercises for Identifying Independent Variables

Ready for some practice? Let’s put on our thinking caps and try to identify the independent variables in a few scenarios.

Remember, the independent variable is what’s being changed or manipulated to observe the effect on something else! (You can see the answers below)

Scenario One: Cooking Time

You’re cooking pasta for dinner and want to find out how the cooking time affects its texture. What is the independent variable?

Scenario Two: Exercise Routine

You decide to try different exercise routines each week to see which one makes you feel the most energetic. What is the independent variable?

Scenario Three: Plant Fertilizer

You’re growing tomatoes in your garden and decide to use different types of fertilizer to see which one helps them grow the best. What is the independent variable?

Scenario Four: Study Environment

You’re preparing for an important test and try studying in different environments (quiet room, coffee shop, library) to see where you concentrate best. What is the independent variable?

Scenario Five: Sleep Duration

You’re curious to see how the number of hours you sleep each night affects your mood the next day. What is the independent variable?

By practicing identifying independent variables in different scenarios, you’re becoming a true independent variable detective. Keep practicing, stay curious, and you’ll soon be spotting independent variables everywhere you go.

Independent Variable: The cooking time is the independent variable. You are changing the cooking time to observe its effect on the texture of the pasta.

Independent Variable: The type of exercise routine is the independent variable. You are trying out different exercise routines each week to see which one makes you feel the most energetic.

Independent Variable: The type of fertilizer is the independent variable. You are using different types of fertilizer to observe their effects on the growth of the tomatoes.

Independent Variable: The study environment is the independent variable. You are studying in different environments to see where you concentrate best.

Independent Variable: The number of hours you sleep is the independent variable. You are changing your sleep duration to see how it affects your mood the next day.

Whew, what a journey we’ve had exploring the world of independent variables! From understanding their definition and role to diving into a myriad of examples and real-world impacts, we’ve uncovered the treasures hidden in the realm of independent variables.

The beauty of independent variables lies in their ability to unlock new knowledge and insights, guiding us to discoveries that improve our lives and the world around us.

By identifying and studying these variables, we embark on exciting learning adventures, solving mysteries and answering questions about the universe we live in.

Remember, the joy of discovery doesn’t end here. The world is brimming with questions waiting to be answered and mysteries waiting to be solved.

Keep your curiosity alive, continue exploring, and who knows what incredible discoveries lie ahead.

Related posts:

  • Confounding Variable in Psychology (Examples + Definition)
  • 19+ Experimental Design Examples (Methods + Types)
  • Variable Interval Reinforcement Schedule (Examples)
  • Variable Ratio Reinforcement Schedule (Examples)
  • State Dependent Memory + Learning (Definition and Examples)

Reference this article:

About The Author

Photo of author

Free Personality Test

Free Personality Quiz

Free Memory Test

Free Memory Test

Free IQ Test

Free IQ Test

PracticalPie.com is a participant in the Amazon Associates Program. As an Amazon Associate we earn from qualifying purchases.

Follow Us On:

Youtube Facebook Instagram X/Twitter

Psychology Resources

Developmental

Personality

Relationships

Psychologists

Serial Killers

Psychology Tests

Personality Quiz

Memory Test

Depression test

Type A/B Personality Test

© PracticalPsychology. All rights reserved

Privacy Policy | Terms of Use

  • Bipolar Disorder
  • Therapy Center
  • When To See a Therapist
  • Types of Therapy
  • Best Online Therapy
  • Best Couples Therapy
  • Best Family Therapy
  • Managing Stress
  • Sleep and Dreaming
  • Understanding Emotions
  • Self-Improvement
  • Healthy Relationships
  • Student Resources
  • Personality Types
  • Guided Meditations
  • Verywell Mind Insights
  • 2023 Verywell Mind 25
  • Mental Health in the Classroom
  • Editorial Process
  • Meet Our Review Board
  • Crisis Support

Independent Variables in Psychology

Kendra Cherry, MS, is a psychosocial rehabilitation specialist, psychology educator, and author of the "Everything Psychology Book."

hypothesis on independent variable

Amanda Tust is a fact-checker, researcher, and writer with a Master of Science in Journalism from Northwestern University's Medill School of Journalism.

hypothesis on independent variable

Adam Berry / Getty Images

  • Identifying

Potential Pitfalls

The independent variable (IV) in psychology is the characteristic of an experiment that is manipulated or changed by researchers, not by other variables in the experiment.

For example, in an experiment looking at the effects of studying on test scores, studying would be the independent variable. Researchers are trying to determine if changes to the independent variable (studying) result in significant changes to the dependent variable (the test results).

In general, experiments have these three types of variables: independent, dependent, and controlled.

Identifying the Independent Variable

If you are having trouble identifying the independent variables of an experiment, there are some questions that may help:

  • Is the variable one that is being manipulated by the experimenters?
  • Are researchers trying to identify how the variable influences another variable?
  • Is the variable something that cannot be changed but that is not dependent on other variables in the experiment?

Researchers are interested in investigating the effects of the independent variable on other variables, which are known as dependent variables (DV). The independent variable is one that the researchers either manipulate (such as the amount of something) or that already exists but is not dependent upon other variables (such as the age of the participants).

Below are the key differences when looking at an independent variable vs. dependent variable.

Expected to influence the dependent variable

Doesn't change as a result of the experiment

Can be manipulated by researchers in order to study the dependent variable

Expected to be affected by the independent variable

Expected to change as a result of the experiment

Not manipulated by researchers; its changes occur as a result of the independent variable

There can be all different types of independent variables. The independent variables in a particular experiment all depend on the hypothesis and what the experimenters are investigating.

Independent variables also have different levels. In some experiments, there may only be one level of an IV. In other cases, multiple levels of the IV may be used to look at the range of effects that the variable may have.

In an experiment on the effects of the type of diet on weight loss, for example, researchers might look at several different types of diet. Each type of diet that the experimenters look at would be a different level of the independent variable while weight loss would always be the dependent variable.

To understand this concept, it's helpful to take a look at the independent variable in research examples.

In Organizations

A researcher wants to determine if the color of an office has any effect on worker productivity. In an experiment, one group of workers performs a task in a yellow room while another performs the same task in a blue room. In this example, the color of the office is the independent variable.

In the Workplace

A business wants to determine if giving employees more control over how to do their work leads to increased job satisfaction. In an experiment, one group of workers is given a great deal of input in how they perform their work, while the other group is not. The amount of input the workers have over their work is the independent variable in this example.

In Educational Research

Educators are interested in whether participating in after-school math tutoring can increase scores on standardized math exams. In an experiment, one group of students attends an after-school tutoring session twice a week while another group of students does not receive this additional assistance. In this case, participation in after-school math tutoring is the independent variable.

In Mental Health Research

Researchers want to determine if a new type of treatment will lead to a reduction in anxiety for patients living with social phobia. In an experiment, some volunteers receive the new treatment, another group receives a different treatment, and a third group receives no treatment. The independent variable in this example is the type of therapy .

Sometimes varying the independent variables will result in changes in the dependent variables. In other cases, researchers might find that changes in the independent variables have no effect on the variables that are being measured.

At the outset of an experiment, it is important for researchers to operationally define the independent variable. An operational definition describes exactly what the independent variable is and how it is measured. Doing this helps ensure that the experiments know exactly what they are looking at or manipulating, allowing them to measure it and determine if it is the IV that is causing changes in the DV.

Choosing an Independent Variable

If you are designing an experiment, here are a few tips for choosing an independent variable (or variables):

  • Select independent variables that you think will cause changes in another variable. Come up with a hypothesis for what you expect to happen.
  • Look at other experiments for examples and identify different types of independent variables.
  • Keep your control group and experimental groups similar in other characteristics, but vary only the treatment they receive in terms of the independent variable.   For example, your control group will receive either no treatment or no changes in the independent variable while your experimental group will receive the treatment or a different level of the independent variable.

It is also important to be aware that there may be other variables that might influence the results of an experiment. Two other kinds of variables that might influence the outcome include:

  • Extraneous variables : These are variables that might affect the relationships between the independent variable and the dependent variable; experimenters usually try to identify and control for these variables. 
  • Confounding variables : When an extraneous variable cannot be controlled for in an experiment, it is known as a confounding variable. 

Extraneous variables can also include demand characteristics (which are clues about how the participants should respond) and experimenter effects (which is when the researchers accidentally provide clues about how a participant will respond).

Kaliyadan F, Kulkarni V. Types of variables, descriptive statistics, and sample size .  Indian Dermatol Online J . 2019;10(1):82-86. doi:10.4103/idoj.IDOJ_468_18

Weiten, W. Psychology: Themes and Variations, 10th ed . Boston, MA: Cengage Learning; 2017.

National Library of Medicine. Dependent and independent variables .

By Kendra Cherry, MSEd Kendra Cherry, MS, is a psychosocial rehabilitation specialist, psychology educator, and author of the "Everything Psychology Book."

Have a language expert improve your writing

Run a free plagiarism check in 10 minutes, automatically generate references for free.

  • Knowledge Base
  • Methodology
  • Independent vs Dependent Variables | Definition & Examples

Independent vs Dependent Variables | Definition & Examples

Published on 4 May 2022 by Pritha Bhandari . Revised on 17 October 2022.

In research, variables are any characteristics that can take on different values, such as height, age, temperature, or test scores.

Researchers often manipulate or measure independent and dependent variables in studies to test cause-and-effect relationships.

  • The independent variable is the cause. Its value is independent of other variables in your study.
  • The dependent variable is the effect. Its value depends on changes in the independent variable.

Your independent variable is the temperature of the room. You vary the room temperature by making it cooler for half the participants, and warmer for the other half.

Table of contents

What is an independent variable, types of independent variables, what is a dependent variable, identifying independent vs dependent variables, independent and dependent variables in research, visualising independent and dependent variables, frequently asked questions about independent and dependent variables.

An independent variable is the variable you manipulate or vary in an experimental study to explore its effects. It’s called ‘independent’ because it’s not influenced by any other variables in the study.

Independent variables are also called:

  • Explanatory variables (they explain an event or outcome)
  • Predictor variables (they can be used to predict the value of a dependent variable)
  • Right-hand-side variables (they appear on the right-hand side of a regression equation).

These terms are especially used in statistics , where you estimate the extent to which an independent variable change can explain or predict changes in the dependent variable.

Prevent plagiarism, run a free check.

There are two main types of independent variables.

  • Experimental independent variables can be directly manipulated by researchers.
  • Subject variables cannot be manipulated by researchers, but they can be used to group research subjects categorically.

Experimental variables

In experiments, you manipulate independent variables directly to see how they affect your dependent variable. The independent variable is usually applied at different levels to see how the outcomes differ.

You can apply just two levels in order to find out if an independent variable has an effect at all.

You can also apply multiple levels to find out how the independent variable affects the dependent variable.

You have three independent variable levels, and each group gets a different level of treatment.

You randomly assign your patients to one of the three groups:

  • A low-dose experimental group
  • A high-dose experimental group
  • A placebo group

Independent and dependent variables

A true experiment requires you to randomly assign different levels of an independent variable to your participants.

Random assignment helps you control participant characteristics, so that they don’t affect your experimental results. This helps you to have confidence that your dependent variable results come solely from the independent variable manipulation.

Subject variables

Subject variables are characteristics that vary across participants, and they can’t be manipulated by researchers. For example, gender identity, ethnicity, race, income, and education are all important subject variables that social researchers treat as independent variables.

It’s not possible to randomly assign these to participants, since these are characteristics of already existing groups. Instead, you can create a research design where you compare the outcomes of groups of participants with characteristics. This is a quasi-experimental design because there’s no random assignment.

Your independent variable is a subject variable, namely the gender identity of the participants. You have three groups: men, women, and other.

Your dependent variable is the brain activity response to hearing infant cries. You record brain activity with fMRI scans when participants hear infant cries without their awareness.

A dependent variable is the variable that changes as a result of the independent variable manipulation. It’s the outcome you’re interested in measuring, and it ‘depends’ on your independent variable.

In statistics , dependent variables are also called:

  • Response variables (they respond to a change in another variable)
  • Outcome variables (they represent the outcome you want to measure)
  • Left-hand-side variables (they appear on the left-hand side of a regression equation)

The dependent variable is what you record after you’ve manipulated the independent variable. You use this measurement data to check whether and to what extent your independent variable influences the dependent variable by conducting statistical analyses.

Based on your findings, you can estimate the degree to which your independent variable variation drives changes in your dependent variable. You can also predict how much your dependent variable will change as a result of variation in the independent variable.

Distinguishing between independent and dependent variables can be tricky when designing a complex study or reading an academic paper.

A dependent variable from one study can be the independent variable in another study, so it’s important to pay attention to research design.

Here are some tips for identifying each variable type.

Recognising independent variables

Use this list of questions to check whether you’re dealing with an independent variable:

  • Is the variable manipulated, controlled, or used as a subject grouping method by the researcher?
  • Does this variable come before the other variable in time?
  • Is the researcher trying to understand whether or how this variable affects another variable?

Recognising dependent variables

Check whether you’re dealing with a dependent variable:

  • Is this variable measured as an outcome of the study?
  • Is this variable dependent on another variable in the study?
  • Does this variable get measured only after other variables are altered?

Independent and dependent variables are generally used in experimental and quasi-experimental research.

Here are some examples of research questions and corresponding independent and dependent variables.

For experimental data, you analyse your results by generating descriptive statistics and visualising your findings. Then, you select an appropriate statistical test to test your hypothesis .

The type of test is determined by:

  • Your variable types
  • Level of measurement
  • Number of independent variable levels

You’ll often use t tests or ANOVAs to analyse your data and answer your research questions.

In quantitative research , it’s good practice to use charts or graphs to visualise the results of studies. Generally, the independent variable goes on the x -axis (horizontal) and the dependent variable on the y -axis (vertical).

The type of visualisation you use depends on the variable types in your research questions:

  • A bar chart is ideal when you have a categorical independent variable.
  • A scatterplot or line graph is best when your independent and dependent variables are both quantitative.

To inspect your data, you place your independent variable of treatment level on the x -axis and the dependent variable of blood pressure on the y -axis.

You plot bars for each treatment group before and after the treatment to show the difference in blood pressure.

independent and dependent variables

An independent variable is the variable you manipulate, control, or vary in an experimental study to explore its effects. It’s called ‘independent’ because it’s not influenced by any other variables in the study.

  • Right-hand-side variables (they appear on the right-hand side of a regression equation)

A dependent variable is what changes as a result of the independent variable manipulation in experiments . It’s what you’re interested in measuring, and it ‘depends’ on your independent variable.

In statistics, dependent variables are also called:

Determining cause and effect is one of the most important parts of scientific research. It’s essential to know which is the cause – the independent variable – and which is the effect – the dependent variable.

You want to find out how blood sugar levels are affected by drinking diet cola and regular cola, so you conduct an experiment .

  • The type of cola – diet or regular – is the independent variable .
  • The level of blood sugar that you measure is the dependent variable – it changes depending on the type of cola.

Yes, but including more than one of either type requires multiple research questions .

For example, if you are interested in the effect of a diet on health, you can use multiple measures of health: blood sugar, blood pressure, weight, pulse, and many more. Each of these is its own dependent variable with its own research question.

You could also choose to look at the effect of exercise levels as well as diet, or even the additional effect of the two combined. Each of these is a separate independent variable .

To ensure the internal validity of an experiment , you should only change one independent variable at a time.

No. The value of a dependent variable depends on an independent variable, so a variable cannot be both independent and dependent at the same time. It must be either the cause or the effect, not both.

Cite this Scribbr article

If you want to cite this source, you can copy and paste the citation or click the ‘Cite this Scribbr article’ button to automatically add the citation to our free Reference Generator.

Bhandari, P. (2022, October 17). Independent vs Dependent Variables | Definition & Examples. Scribbr. Retrieved 15 April 2024, from https://www.scribbr.co.uk/research-methods/independent-vs-dependent-variables/

Is this article helpful?

Pritha Bhandari

Pritha Bhandari

Other students also liked, a quick guide to experimental design | 5 steps & examples, quasi-experimental design | definition, types & examples, types of variables in research | definitions & examples.

U.S. flag

An official website of the United States government

The .gov means it’s official. Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

The site is secure. The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

  • Publications
  • Account settings

Preview improvements coming to the PMC website in October 2024. Learn More or Try it out now .

  • Advanced Search
  • Journal List
  • Indian J Psychol Med
  • v.43(2); 2021 Mar

A Student’s Guide to the Classification and Operationalization of Variables in the Conceptualization and Design of a Clinical Study: Part 1

Chittaranjan andrade.

1 Dept. of Clinical Psychopharmacology and Neurotoxicology, National Institute of Mental Health and Neurosciences, Bengaluru, Karnataka, India.

Students without prior research experience may not know how to conceptualize and design a study. This article explains how an understanding of the classification and operationalization of variables is the key to the process. Variables describe aspects of the sample that is under study; they are so called because they vary in value from subject to subject in the sample. Variables may be independent or dependent. Independent variables influence the value of other variables; dependent variables are influenced in value by other variables. A hypothesis states an expected relationship between variables. A significant relationship between an independent and dependent variable does not prove cause and effect; the relationship may partly or wholly be explained by one or more confounding variables. Variables need to be operationalized; that is, defined in a way that permits their accurate measurement. These and other concepts are explained with the help of clinically relevant examples.

Key Message:

This article explains the following concepts: Independent variables, dependent variables, confounding variables, operationalization of variables, and construction of hypotheses.

In any body of research, the subject of study requires to be described and understood. For example, if we wish to study predictors of response to antidepressant drugs (ADs) in patients with major depressive disorder (MDD), we might select patient age, sex, age at onset of MDD, number of previous episodes of depression, duration of current depressive episode, presence of psychotic symptoms, past history of response to ADs, and other patient and illness characteristics as potential predictors. These characteristics or descriptors are called variables. Whether or not the patient responds to AD treatment is also a variable. A solid understanding of variables is the cornerstone in the conceptualization and preparation of a research protocol, and in the framing of study hypotheses. This subject is presented in two parts. This article, Part 1, explains what independent and dependent variables are, how an understanding of these is important in framing hypotheses, and what operationalization of a variable entails.

Variables are defined as characteristics of the sample that are examined, measured, described, and interpreted. Variables are so called because they vary in value from subject to subject in the study. As an example, if we wish to examine the relationship between age and height in a sample of children, age and height are the variables of interest; their values vary from child to child. In the earlier example, patients vary in age, sex, duration of current depressive episode, and response to ADs. Variables are classified as dependent and independent variables and are usually analyzed as categorical or continuous variables.

Independent and Dependent Variables

Independent variables are defined as those the values of which influence other variables. For example, age, sex, current smoking, LDL cholesterol level, and blood pressure are independent variables because their values (e.g., greater age, positive for current smoking, and higher LDL cholesterol level) influence the risk of myocardial infarction. Dependent variables are defined as those the values of which are influenced by other variables. For example, the risk of myocardial infarction is a dependent variable the value of which is influenced by variables such as age, sex, current smoking, LDL cholesterol level, and blood pressure. The risk is higher in older persons, in men, in current smokers, and so on.

There may be a cause–effect relationship between independent and dependent variables. For example, consider a clinical trial with treatment (iron supplement vs placebo) as the independent variable and hemoglobin level as the dependent variable. In children with anemia, an iron supplement will raise the hemoglobin level to a greater extent than will placebo; this is a cause–effect relationship because iron is necessary for the synthesis of hemoglobin. However, consider the variables teeth and weight . An alien from outer space who has no knowledge of human physiology may study human children below the age of 5 years and find that, as the number of teeth increases, weight increases. Should the alien conclude that there is a cause–effect relationship here, and that growing teeth causes weight gain? No, because a third variable, age, is a confounding variable 1 – 3 that is responsible for both increase in the number of teeth and increase in weight. In general, therefore, it is more proper to state that independent variables are associated with variations in the values of the dependent variables rather than state that independent variables cause variations in the values of the dependent variables. For causality to be asserted, other criteria must be fulfilled; this is out of the scope of the present article, and interested readers may refer to Schunemann et al. 4

As a side note, here, whether a particular variable is independent or dependent will depend on the question that is being asked. For example, in a study of factors influencing patient satisfaction with outpatient department (OPD) services, patient satisfaction is the dependent variable. But, in a study of factors influencing OPD attendance at a hospital, OPD attendance is the dependent variable, and patient satisfaction is merely one of many possible independent variables that can influence OPD attendance.

Importance of Variables in Stating the Research Objectives

Students must have a clear idea about what they want to study in order to conceptualize and frame a research protocol. The first matters that they need to address are “What are my research questions?” and “What are my hypotheses?” Both questions can be answered only after choosing the dependent variables and then the independent variables for study.

In the case of a student who is interested in studying predictors of AD outcomes in patients with MDD, treatment response is the dependent variable and patient and clinical characteristics are possible independent variables. So, the selection of dependent and independent variables helps defines the objectives of the study:

  • To determine whether sociodemographic variables, such as age and sex, predict the outcome of an episode of depression in MDD patients who are treated with an AD.
  • To determine whether clinical variables, such as age at onset of depression, number of previous depressive episodes, duration of current depressive episode, and the presence of soft neurological signs, predict the outcome of an episode of depression in MDD patients who are treated with an AD.

Note that in a formal research protocol, the student will need to state all the independent variables and not merely list examples. The student may also choose to include additional independent variables, such as baseline biochemical, psychophysiological, and neuroradiological measures.

Importance of Variables in Framing Hypotheses

A hypothesis is a clear statement of what the researcher expects to find in the study. As an example, a researcher may hypothesize that longer duration of current depression is associated with poorer response to ADs. In this hypothesis, the duration of the current episode of depression is the independent variable and treatment response is the dependent variable. It should be obvious, now, that a hypothesis can also be defined as the statement of an expected relationship between an independent and a dependent variable . Or, expressed visually, (independent variable) (arrow) (dependent variable) = hypothesis.

It would be a waste of time and energy to do a study to examine only one question: whether duration of current depression predicts treatment response. So, it is usual for research protocols to include many independent variables and many dependent variables in the generation of many hypotheses, as shown in Table 1 . Pairing each variable in the “independent variable” column with each variable in the “dependent variable” column would result in the generation of these hypotheses. Table 2 shows how this is done for age. Sets of hypotheses can likewise be constructed for the remaining independent and dependent variables in Table 1 . Importantly, the student must select one of these hypotheses as the primary hypothesis; the remaining hypotheses, no matter how many they are, would be secondary hypotheses. It is necessary to have only one hypothesis as the primary hypothesis in order to calculate the sample size necessary for an adequately powered study and to reduce the risk of false positive findings in the analysis. 5 In rare situations, two hypotheses may be considered equally important and may be stated as coprimary hypotheses.

Independent Variables and Dependent Variables in a Study on Sociodemographic and Clinical Prediction of Response of Major Depressive Disorder to Antidepressant Drug Treatment

Combinations of Age with Dependent Variables in the Generation of Hypotheses

Operationalization of Variables

In Table 1 , suicidality is listed as an independent variable and severity of depression, as a dependent variable. These variables need to be operationalized; that is, stated in a way that explains how they will be measured. Table 3 presents three ways in which suicidality can be measured and four ways in which (reduction in) the severity of depression can be measured. Now, each way of measurement in the “independent variable” column can be paired with a way of measurement in the “dependent variable” column, making a total of 12 possible hypotheses. In like manner, the many variables listed in Table 1 can each be operationalized in several different ways, resulting in the generation of a very large number of hypotheses. As already stated, the student must select only one hypothesis as the primary hypothesis.

Possible Ways of Operationalization of Suicidality and Depression

HAM-D: Hamilton Depression Rating Scale, MADRS: Montgomery–Asberg Depression Rating Scale.

Much thought should be given to the operationalization of variables because variables that are carelessly operationalized will be poorly measured; the data collected will then be of poor quality, and the study will yield unreliable results. For example, socioeconomic status may be operationalized as lower, middle, or upper class, depending on the patient’s monthly income, on the total monthly income of the family, or using a validated socioeconomic status assessment scale that takes into consideration income, education, occupation, and place of residence. The student must choose the method that would best suit the needs of the study, and the method that has the greatest scientific acceptability. However, it is also permissible to operationalize the same variable in many different ways and to include all these different operationalizations in the study, as shown in Table 3 . This is because conceptualizing variables in different ways can help understand the subject of the study in different ways.

Operationalization of variables requires a consideration of the reliability and validity of the method of operationalization; discussions on reliability and validity are out of the scope of this article. Operationalization of variables also requires specification of the scale of measurement: nominal, ordinal, interval, or ratio; this is also out of the scope of the present article. Finally, operationalization of variables can also specify details of the measurement procedure. As an example, in a study on the use of metformin to reduce olanzapine-associated weight gain, we may state that we will obtain the weight of the patient but fail to explain how we will do it. Better would be to state that the same weighing scale will be used. Still better would be to state that we will use a weighing instrument that works on the principle of moving weights on a levered arm, and that the same instrument will be used for all patients. And best would be to add that we will weigh patients, dressed in standard hospital gowns, after they have voided their bladder but before they have eaten breakfast. When the way in which a variable will be measured is defined, measurement of that variable becomes more objective and uniform

Concluding Notes

The next article, Part 2, will address what categorical and continuous variables are, why continuous variables should not be converted into categorical variables and when this rule can be broken, and what confounding variables are.

Declaration of Conflicting Interests: The author declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.

Funding: The author received no financial support for the research, authorship, and/or publication of this article.

If you could change one thing about college, what would it be?

Graduate faster

Better quality online classes

Flexible schedule

Access to top-rated instructors

man holding up hand to wave and sees his shadow. This represents a handwave experiment with independent and dependent variables

What Are Independent and Dependent Variables?

03.17.2022 • 6 min read

Zuriel van Belle

Subject Matter Expert

This article describes what a variable is, what dependent and independent variables are, a list of examples, how they are used in psychology studies, and more.

In This Article

What Is a Variable?

Dependent variables, independent variables, examples of experiments with variables, how are dependent and independent variables used in psychology research, don't overpay for college statistics.

Take Intro to Statistics Online with Outlier.org

From the co-founder of MasterClass, earn transferable college credits from the University of Pittsburgh (a top 50 global school). The world's best online college courses for 50% less than a traditional college.

Outlier Stats 1628x960 (1)

In an experiment, researchers strive to understand if (and how) one thing affects another. The elements of an experiment that might affect one another are called variables. Variables are attributes that can change.

For example, imagine you design an experiment to test whether a self-reported mood is affected by ambient noise. Your hypothesis (i.e., testable prediction) is that nature sounds will improve a self-reported mood. Your research design is relatively simple: you survey people about their mood before the experiment, then you ask them to spend 30 minutes reading a psychology textbook in a room with no added noise (just the standard whirring of fans and background noises); or you ask them to spend 30 minutes reading a psychology textbook in a room with a bird song and a babbling brook (the experimental condition).

In this case, your variables are mood and ambient noise. Both factors can be changed. Mood can stay the same, be improved, or be worsened. While ambient noise could be altered in many ways (nature sounds, white noise, talking, etc.).

Understanding what the variables are in an experiment is critical to understanding how the experiment is designed. Broadly, there are two types of variables: independent variables and dependent variables.

The dependent variable is the variable that a researcher measures to determine the effect of the independent variable. The dependent variable depends on the independent variable. In our experiment, the dependent variable would be the change in self-reported mood.

The independent variable is the variable that the researcher or experimenter manipulates to affect the dependent variable. It is independent of the other variables in an experiment. In other words, the independent variable causes some kind of change in the dependent variable. In our experiment, the independent variable would be the noise in the room (unaltered ambient noise, or nature sounds). If you know the independent variable definition and dependent variable definition, it’ll be easier to understand how experiments work. When designing an experiment, the goal is to ensure that the only difference between the two conditions is the independent variable.

Understanding what the variables are in an experiment is critical to understanding how the experiment is designed.

Now that we understand that the dependent variable is the variable being measured to determine the effect of the independent variable (the variable causing the effect), let’s work through a few more examples.

Graphic showing Independent And Dependent Variables Definitions

In this example, let’s consider the effect of an act of kindness on charitable donations. In this experiment, imagine you want to test whether being helped by someone else impacts how much money a person donates. You set up your experiment as follows: participants come to a lab. In the control condition (the baseline), the participant arrives at the lab, opens the door, and you give them $20. Then you ask them if they would like to donate any portion of their $20 before leaving the room. In the experimental condition, as the participant heads to the door of the lab, a person walking by (a confederate, or accomplice, in the experiment) goes out of their way to open the door for them. The experiment proceeds exactly as the control; the participant is given $20 and asked if they would like to donate any portion of the money.

Let’s pause for a moment. Can you identify the dependent and independent variables in this experiment?

We should begin by identifying the variables. In this experiment, the variables are:

Being helped with the door or not

How much money a participant allocates to charity

Since the dependent variable is the variable we measure, we know that, in this case, it is the amount of money allocated to charity. The dependent variable could be anywhere from $0 to $20. The independent variable, the variable that we manipulate, is whether or not we help the participant with the door.

Imagine that participants who are helped with the door, on average, donate $10 to charity, and participants who are not helped with the door on average donate $5 to charity. It might be the case that being helped with the door (the independent variable) increases the likelihood someone will donate to charity (the dependent variable). Of course, this is just an example.

To feel more confident about these results, we would need to know how many people were in the study (the sample size), and we would need to analyze the results for statistical significance.

Let’s consider another example. Imagine you hypothesize that people will wave back more to you when you are wearing casual clothes than to when you are wearing ragged clothes. In this case, the variables are the number of hand waves and clothing type. Since we will be counting the number of waves, this gives us a clue that the number of waves is the dependent variable. Since we think the type of clothing will affect how many waves are given, we can determine that the type of clothing is the independent variable.

The number of waves depends on the type of clothing. If more people wave back to you when you are wearing casual clothes than when you are wearing ragged clothes, you have evidence that suggests that what you are wearing affects how people respond to you. Of course, as in the previous example, you will need to conduct a careful study with a large sample and statistical analysis to feel confident in your results.

The examples above help us understand why independent and dependent variables are so important to psychological research. In psychology, researchers often want to understand how and why people think, feel, and behave in certain ways. In order to answer questions about people’s motivation, cognition, emotions, and behavior, we often use experiments.

Whether you’re doing qualitative or quantitative research , independent and dependent variables are critical to the experimental process. Independent and dependent variables help determine cause and effect. A good hypothesis asks what effect an independent variable has on a dependent variable. Without experimental research, we would not be able to determine (with any confidence) how one variable may or may not impact another; we would not be able to determine cause and effect.

A good hypothesis asks what effect an independent variable has on a dependent variable.

Can a variable be both independent and dependent?

No, a variable cannot be both independent and dependent at the same time. You can think of the independent variable as the cause and the dependent variable as the effect. You cannot have something in an experiment that is both the cause and the effect. In other words, the independent variable must be independent of other variables and the dependent variable depends on the independent variable.

Can you include more than one independent or dependent variable in a study?

Yes, you can include more than one independent or dependent variable in a study. For example, you might have one independent variable that affects multiple dependent variables or a couple of independent variables that affect one dependent variable. Keep in mind that, generally, the more variables you have in a study, the more difficult it will be to determine cause and effect. It is generally better to have more dependent variables than independent variables in a study because, with many independent variables, it can be difficult to determine which one caused a particular effect.

What are other names for both independent and dependent variables?

We might also refer to an independent variable as a predictor variable, explanatory variable, control variable, manipulated variable, or regressor. Then we might also refer to a dependent variable as a predicted variable, response variable, responding variable, or outcome variable.

Explore Outlier's Award-Winning For-Credit Courses

Outlier (from the co-founder of MasterClass) has brought together some of the world's best instructors, game designers, and filmmakers to create the future of online college.

Check out these related courses:

Intro to Psychology

Intro to Psychology

The science of the mind.

Intro to Philosophy

Intro to Philosophy

The big questions, examined.

Calculus I

The mathematics of change.

Related Articles

Outlier Blog Piagets Theory HighRes

A Deeper Look into Piaget’s Theory of Cognitive Development

This article should provide a comprehensive view and explanation of Jean Piaget’s theory of cognitive development.

Qualitative vs Quantitative Research - red green fibers

Understanding the Difference between Qualitative and Quantitative Research

When conducting research, we can use both qualitative and quantitative methods. In this article, we’ll examine the definition of both of these approaches and look at how and when to use each of them.

Jennifer Valentine

Sigmund Freud Theories Header

What Are Sigmund Freud's Theories? An Explainer

As the founder and leading proponent of psychoanalysis, Sigmund Freud was a central figure in 20th-century psychology. In this article, we’ll look at a number of his ideas about the human mind's inner workings, and then survey both his work’s enduring influence and the criticism it has received.

Further Reading

What is standard error statistics calculation and overview, understanding variables in statistics: types & examples, what do subsets mean in statistics, test statistics: definition, formulas & examples, what is a residual in stats, understanding sampling distributions: what are they and how do they work.

Grad Coach

Research Variables 101

Independent variables, dependent variables, control variables and more

By: Derek Jansen (MBA) | Expert Reviewed By: Kerryn Warren (PhD) | January 2023

If you’re new to the world of research, especially scientific research, you’re bound to run into the concept of variables , sooner or later. If you’re feeling a little confused, don’t worry – you’re not the only one! Independent variables, dependent variables, confounding variables – it’s a lot of jargon. In this post, we’ll unpack the terminology surrounding research variables using straightforward language and loads of examples .

Overview: Variables In Research

What (exactly) is a variable.

The simplest way to understand a variable is as any characteristic or attribute that can experience change or vary over time or context – hence the name “variable”. For example, the dosage of a particular medicine could be classified as a variable, as the amount can vary (i.e., a higher dose or a lower dose). Similarly, gender, age or ethnicity could be considered demographic variables, because each person varies in these respects.

Within research, especially scientific research, variables form the foundation of studies, as researchers are often interested in how one variable impacts another, and the relationships between different variables. For example:

  • How someone’s age impacts their sleep quality
  • How different teaching methods impact learning outcomes
  • How diet impacts weight (gain or loss)

As you can see, variables are often used to explain relationships between different elements and phenomena. In scientific studies, especially experimental studies, the objective is often to understand the causal relationships between variables. In other words, the role of cause and effect between variables. This is achieved by manipulating certain variables while controlling others – and then observing the outcome. But, we’ll get into that a little later…

The “Big 3” Variables

Variables can be a little intimidating for new researchers because there are a wide variety of variables, and oftentimes, there are multiple labels for the same thing. To lay a firm foundation, we’ll first look at the three main types of variables, namely:

  • Independent variables (IV)
  • Dependant variables (DV)
  • Control variables

What is an independent variable?

Simply put, the independent variable is the “ cause ” in the relationship between two (or more) variables. In other words, when the independent variable changes, it has an impact on another variable.

For example:

  • Increasing the dosage of a medication (Variable A) could result in better (or worse) health outcomes for a patient (Variable B)
  • Changing a teaching method (Variable A) could impact the test scores that students earn in a standardised test (Variable B)
  • Varying one’s diet (Variable A) could result in weight loss or gain (Variable B).

It’s useful to know that independent variables can go by a few different names, including, explanatory variables (because they explain an event or outcome) and predictor variables (because they predict the value of another variable). Terminology aside though, the most important takeaway is that independent variables are assumed to be the “cause” in any cause-effect relationship. As you can imagine, these types of variables are of major interest to researchers, as many studies seek to understand the causal factors behind a phenomenon.

Need a helping hand?

hypothesis on independent variable

What is a dependent variable?

While the independent variable is the “ cause ”, the dependent variable is the “ effect ” – or rather, the affected variable . In other words, the dependent variable is the variable that is assumed to change as a result of a change in the independent variable.

Keeping with the previous example, let’s look at some dependent variables in action:

  • Health outcomes (DV) could be impacted by dosage changes of a medication (IV)
  • Students’ scores (DV) could be impacted by teaching methods (IV)
  • Weight gain or loss (DV) could be impacted by diet (IV)

In scientific studies, researchers will typically pay very close attention to the dependent variable (or variables), carefully measuring any changes in response to hypothesised independent variables. This can be tricky in practice, as it’s not always easy to reliably measure specific phenomena or outcomes – or to be certain that the actual cause of the change is in fact the independent variable.

As the adage goes, correlation is not causation . In other words, just because two variables have a relationship doesn’t mean that it’s a causal relationship – they may just happen to vary together. For example, you could find a correlation between the number of people who own a certain brand of car and the number of people who have a certain type of job. Just because the number of people who own that brand of car and the number of people who have that type of job is correlated, it doesn’t mean that owning that brand of car causes someone to have that type of job or vice versa. The correlation could, for example, be caused by another factor such as income level or age group, which would affect both car ownership and job type.

To confidently establish a causal relationship between an independent variable and a dependent variable (i.e., X causes Y), you’ll typically need an experimental design , where you have complete control over the environmen t and the variables of interest. But even so, this doesn’t always translate into the “real world”. Simply put, what happens in the lab sometimes stays in the lab!

As an alternative to pure experimental research, correlational or “ quasi-experimental ” research (where the researcher cannot manipulate or change variables) can be done on a much larger scale more easily, allowing one to understand specific relationships in the real world. These types of studies also assume some causality between independent and dependent variables, but it’s not always clear. So, if you go this route, you need to be cautious in terms of how you describe the impact and causality between variables and be sure to acknowledge any limitations in your own research.

Free Webinar: Research Methodology 101

What is a control variable?

In an experimental design, a control variable (or controlled variable) is a variable that is intentionally held constant to ensure it doesn’t have an influence on any other variables. As a result, this variable remains unchanged throughout the course of the study. In other words, it’s a variable that’s not allowed to vary – tough life 🙂

As we mentioned earlier, one of the major challenges in identifying and measuring causal relationships is that it’s difficult to isolate the impact of variables other than the independent variable. Simply put, there’s always a risk that there are factors beyond the ones you’re specifically looking at that might be impacting the results of your study. So, to minimise the risk of this, researchers will attempt (as best possible) to hold other variables constant . These factors are then considered control variables.

Some examples of variables that you may need to control include:

  • Temperature
  • Time of day
  • Noise or distractions

Which specific variables need to be controlled for will vary tremendously depending on the research project at hand, so there’s no generic list of control variables to consult. As a researcher, you’ll need to think carefully about all the factors that could vary within your research context and then consider how you’ll go about controlling them. A good starting point is to look at previous studies similar to yours and pay close attention to which variables they controlled for.

Of course, you won’t always be able to control every possible variable, and so, in many cases, you’ll just have to acknowledge their potential impact and account for them in the conclusions you draw. Every study has its limitations, so don’t get fixated or discouraged by troublesome variables. Nevertheless, always think carefully about the factors beyond what you’re focusing on – don’t make assumptions!

 A control variable is intentionally held constant (it doesn't vary) to ensure it doesn’t have an influence on any other variables.

Other types of variables

As we mentioned, independent, dependent and control variables are the most common variables you’ll come across in your research, but they’re certainly not the only ones you need to be aware of. Next, we’ll look at a few “secondary” variables that you need to keep in mind as you design your research.

  • Moderating variables
  • Mediating variables
  • Confounding variables
  • Latent variables

Let’s jump into it…

What is a moderating variable?

A moderating variable is a variable that influences the strength or direction of the relationship between an independent variable and a dependent variable. In other words, moderating variables affect how much (or how little) the IV affects the DV, or whether the IV has a positive or negative relationship with the DV (i.e., moves in the same or opposite direction).

For example, in a study about the effects of sleep deprivation on academic performance, gender could be used as a moderating variable to see if there are any differences in how men and women respond to a lack of sleep. In such a case, one may find that gender has an influence on how much students’ scores suffer when they’re deprived of sleep.

It’s important to note that while moderators can have an influence on outcomes , they don’t necessarily cause them ; rather they modify or “moderate” existing relationships between other variables. This means that it’s possible for two different groups with similar characteristics, but different levels of moderation, to experience very different results from the same experiment or study design.

What is a mediating variable?

Mediating variables are often used to explain the relationship between the independent and dependent variable (s). For example, if you were researching the effects of age on job satisfaction, then education level could be considered a mediating variable, as it may explain why older people have higher job satisfaction than younger people – they may have more experience or better qualifications, which lead to greater job satisfaction.

Mediating variables also help researchers understand how different factors interact with each other to influence outcomes. For instance, if you wanted to study the effect of stress on academic performance, then coping strategies might act as a mediating factor by influencing both stress levels and academic performance simultaneously. For example, students who use effective coping strategies might be less stressed but also perform better academically due to their improved mental state.

In addition, mediating variables can provide insight into causal relationships between two variables by helping researchers determine whether changes in one factor directly cause changes in another – or whether there is an indirect relationship between them mediated by some third factor(s). For instance, if you wanted to investigate the impact of parental involvement on student achievement, you would need to consider family dynamics as a potential mediator, since it could influence both parental involvement and student achievement simultaneously.

Mediating variables can explain the relationship between the independent and dependent variable, including whether it's causal or not.

What is a confounding variable?

A confounding variable (also known as a third variable or lurking variable ) is an extraneous factor that can influence the relationship between two variables being studied. Specifically, for a variable to be considered a confounding variable, it needs to meet two criteria:

  • It must be correlated with the independent variable (this can be causal or not)
  • It must have a causal impact on the dependent variable (i.e., influence the DV)

Some common examples of confounding variables include demographic factors such as gender, ethnicity, socioeconomic status, age, education level, and health status. In addition to these, there are also environmental factors to consider. For example, air pollution could confound the impact of the variables of interest in a study investigating health outcomes.

Naturally, it’s important to identify as many confounding variables as possible when conducting your research, as they can heavily distort the results and lead you to draw incorrect conclusions . So, always think carefully about what factors may have a confounding effect on your variables of interest and try to manage these as best you can.

What is a latent variable?

Latent variables are unobservable factors that can influence the behaviour of individuals and explain certain outcomes within a study. They’re also known as hidden or underlying variables , and what makes them rather tricky is that they can’t be directly observed or measured . Instead, latent variables must be inferred from other observable data points such as responses to surveys or experiments.

For example, in a study of mental health, the variable “resilience” could be considered a latent variable. It can’t be directly measured , but it can be inferred from measures of mental health symptoms, stress, and coping mechanisms. The same applies to a lot of concepts we encounter every day – for example:

  • Emotional intelligence
  • Quality of life
  • Business confidence
  • Ease of use

One way in which we overcome the challenge of measuring the immeasurable is latent variable models (LVMs). An LVM is a type of statistical model that describes a relationship between observed variables and one or more unobserved (latent) variables. These models allow researchers to uncover patterns in their data which may not have been visible before, thanks to their complexity and interrelatedness with other variables. Those patterns can then inform hypotheses about cause-and-effect relationships among those same variables which were previously unknown prior to running the LVM. Powerful stuff, we say!

Latent variables are unobservable factors that can influence the behaviour of individuals and explain certain outcomes within a study.

Let’s recap

In the world of scientific research, there’s no shortage of variable types, some of which have multiple names and some of which overlap with each other. In this post, we’ve covered some of the popular ones, but remember that this is not an exhaustive list .

To recap, we’ve explored:

  • Independent variables (the “cause”)
  • Dependent variables (the “effect”)
  • Control variables (the variable that’s not allowed to vary)

If you’re still feeling a bit lost and need a helping hand with your research project, check out our 1-on-1 coaching service , where we guide you through each step of the research journey. Also, be sure to check out our free dissertation writing course and our collection of free, fully-editable chapter templates .

hypothesis on independent variable

Psst… there’s more (for free)

This post is part of our dissertation mini-course, which covers everything you need to get started with your dissertation, thesis or research project. 

You Might Also Like:

Survey Design 101: The Basics

Very informative, concise and helpful. Thank you

Ige Samuel Babatunde

Helping information.Thanks

Ancel George

practical and well-demonstrated

Michael

Very helpful and insightful

Submit a Comment Cancel reply

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

Save my name, email, and website in this browser for the next time I comment.

  • Print Friendly

Back Home

  • Science Notes Posts
  • Contact Science Notes
  • Todd Helmenstine Biography
  • Anne Helmenstine Biography
  • Free Printable Periodic Tables (PDF and PNG)
  • Periodic Table Wallpapers
  • Interactive Periodic Table
  • Periodic Table Posters
  • How to Grow Crystals
  • Chemistry Projects
  • Fire and Flames Projects
  • Holiday Science
  • Chemistry Problems With Answers
  • Physics Problems
  • Unit Conversion Example Problems
  • Chemistry Worksheets
  • Biology Worksheets
  • Periodic Table Worksheets
  • Physical Science Worksheets
  • Science Lab Worksheets
  • My Amazon Books

Independent and Dependent Variables Examples

The independent variable is the factor the researcher controls, while the dependent variable is the one that is measured.

The independent and dependent variables are key to any scientific experiment, but how do you tell them apart? Here are the definitions of independent and dependent variables, examples of each type, and tips for telling them apart and graphing them.

Independent Variable

The independent variable is the factor the researcher changes or controls in an experiment. It is called independent because it does not depend on any other variable. The independent variable may be called the “controlled variable” because it is the one that is changed or controlled. This is different from the “ control variable ,” which is variable that is held constant so it won’t influence the outcome of the experiment.

Dependent Variable

The dependent variable is the factor that changes in response to the independent variable. It is the variable that you measure in an experiment. The dependent variable may be called the “responding variable.”

Examples of Independent and Dependent Variables

Here are several examples of independent and dependent variables in experiments:

  • In a study to determine whether how long a student sleeps affects test scores, the independent variable is the length of time spent sleeping while the dependent variable is the test score.
  • You want to know which brand of fertilizer is best for your plants. The brand of fertilizer is the independent variable. The health of the plants (height, amount and size of flowers and fruit, color) is the dependent variable.
  • You want to compare brands of paper towels, to see which holds the most liquid. The independent variable is the brand of paper towel. The dependent variable is the volume of liquid absorbed by the paper towel.
  • You suspect the amount of television a person watches is related to their age. Age is the independent variable. How many minutes or hours of television a person watches is the dependent variable.
  • You think rising sea temperatures might affect the amount of algae in the water. The water temperature is the independent variable. The mass of algae is the dependent variable.
  • In an experiment to determine how far people can see into the infrared part of the spectrum, the wavelength of light is the independent variable and whether the light is observed is the dependent variable.
  • If you want to know whether caffeine affects your appetite, the presence/absence or amount of caffeine is the independent variable. Appetite is the dependent variable.
  • You want to know which brand of microwave popcorn pops the best. The brand of popcorn is the independent variable. The number of popped kernels is the dependent variable. Of course, you could also measure the number of unpopped kernels instead.
  • You want to determine whether a chemical is essential for rat nutrition, so you design an experiment. The presence/absence of the chemical is the independent variable. The health of the rat (whether it lives and reproduces) is the dependent variable. A follow-up experiment might determine how much of the chemical is needed. Here, the amount of chemical is the independent variable and the rat health is the dependent variable.

How to Tell the Independent and Dependent Variable Apart

If you’re having trouble identifying the independent and dependent variable, here are a few ways to tell them apart. First, remember the dependent variable depends on the independent variable. It helps to write out the variables as an if-then or cause-and-effect sentence that shows the independent variable causes an effect on the dependent variable. If you mix up the variables, the sentence won’t make sense. Example : The amount of eat (independent variable) affects how much you weigh (dependent variable).

This makes sense, but if you write the sentence the other way, you can tell it’s incorrect: Example : How much you weigh affects how much you eat. (Well, it could make sense, but you can see it’s an entirely different experiment.) If-then statements also work: Example : If you change the color of light (independent variable), then it affects plant growth (dependent variable). Switching the variables makes no sense: Example : If plant growth rate changes, then it affects the color of light. Sometimes you don’t control either variable, like when you gather data to see if there is a relationship between two factors. This can make identifying the variables a bit trickier, but establishing a logical cause and effect relationship helps: Example : If you increase age (independent variable), then average salary increases (dependent variable). If you switch them, the statement doesn’t make sense: Example : If you increase salary, then age increases.

How to Graph Independent and Dependent Variables

Plot or graph independent and dependent variables using the standard method. The independent variable is the x-axis, while the dependent variable is the y-axis. Remember the acronym DRY MIX to keep the variables straight: D = Dependent variable R = Responding variable/ Y = Graph on the y-axis or vertical axis M = Manipulated variable I = Independent variable X = Graph on the x-axis or horizontal axis

  • Babbie, Earl R. (2009). The Practice of Social Research (12th ed.) Wadsworth Publishing. ISBN 0-495-59841-0.
  • di Francia, G. Toraldo (1981). The Investigation of the Physical World . Cambridge University Press. ISBN 978-0-521-29925-1.
  • Gauch, Hugh G. Jr. (2003). Scientific Method in Practice . Cambridge University Press. ISBN 978-0-521-01708-4.
  • Popper, Karl R. (2003). Conjectures and Refutations: The Growth of Scientific Knowledge . Routledge. ISBN 0-415-28594-1.

Related Posts

What Are Independent and Dependent Variables?

Recognize and Graph Independent and Dependent Variables

  • Chemical Laws
  • Periodic Table
  • Projects & Experiments
  • Scientific Method
  • Biochemistry
  • Physical Chemistry
  • Medical Chemistry
  • Chemistry In Everyday Life
  • Famous Chemists
  • Activities for Kids
  • Abbreviations & Acronyms
  • Weather & Climate
  • Ph.D., Biomedical Sciences, University of Tennessee at Knoxville
  • B.A., Physics and Mathematics, Hastings College

Both the independent variable and dependent variable are examined in an experiment using the scientific method , so it's important to know what they are and how to use them. Here are the definitions for independent and dependent variables, examples of each variable, and the explanation for how to graph them.

Independent Variable

The independent variable is the condition that you change in an experiment. It is the variable you control. It is called independent because its value does not depend on and is not affected by the state of any other variable in the experiment. Sometimes you may hear this variable called the "controlled variable" because it is the one that is changed. Do not confuse it with a "control variable," which is a variable that is purposely held constant so that it can't affect the outcome of the experiment.

Dependent Variable

The dependent variable is the condition that you measure in an experiment. You are assessing how it responds to a change in the independent variable, so you can think of it as depending on the independent variable. Sometimes the dependent variable is called the "responding variable."

Independent and Dependent Variable Examples

  • In a study to determine whether how long a student sleeps affects test scores, the independent variable is the length of time spent sleeping while the dependent variable is the test score.
  • You want to compare brands of paper towels, to see which holds the most liquid. The independent variable in your experiment would be the brand of paper towel. The dependent variable would be the amount of liquid absorbed by the paper towel.
  • In an experiment to determine how far people can see into the infrared part of the spectrum, the wavelength of light is the independent variable and whether the light is observed (the response) is the dependent variable.
  • If you want to know whether caffeine affects your appetite, the presence/absence of a given amount of caffeine would be the independent variable. How hungry you are would be the dependent variable.
  • You want to determine whether a chemical is essential for rat nutrition, so you design an experiment. The presence/absence of the chemical is the independent variable. The health of the rat (whether it lives and can reproduce) is the dependent variable. If you determine the substance is necessary for proper nutrition, a follow-up experiment might determine how much of the chemical is needed. Here, the amount of chemical would be the independent variable and the rat health would be the dependent variable.

How to Tell the Independent and Dependent Variable Apart

If you are having a hard time identifying which variable is the independent variable and which is the dependent variable, remember the dependent variable is the one affected by a change in the independent variable. If you write out the variables in a sentence that shows cause and effect, the independent variable causes the effect on the dependent variable. If you have the variables in the wrong order, the sentence won't make sense.

Independent variable causes an effect on the dependent variable.

Example : How long you sleep (independent variable) affects your test score (dependent variable).

This makes sense, but:

Example : Your test score affects how long you sleep.

This doesn't really make sense (unless you can't sleep because you are worried you failed a test, but that would be a different experiment).

How to Plot Variables on a Graph

There is a standard method for graphing the independent and dependent variable. The x-axis is the independent variable, while the y-axis is the dependent variable. You can use the DRY MIX acronym to help remember how to graph variables:

D  = dependent variable R  = responding variable Y  = graph on the vertical or y-axis

M  = manipulated variable I  = independent variable X  = graph on the horizontal or x-axis

Test your understanding with the scientific method quiz .

  • Difference Between Independent and Dependent Variables
  • Dependent Variable Definition and Examples
  • Independent Variable Definition and Examples
  • What Is a Dependent Variable?
  • Scientific Variable
  • DRY MIX Experiment Variables Acronym
  • What Is a Variable in Science?
  • What Is an Experiment? Definition and Design
  • Six Steps of the Scientific Method
  • The Significance of Negative Slope
  • The Differences Between Explanatory and Response Variables
  • What Is a Hypothesis? (Science)
  • How To Design a Science Fair Experiment
  • What Are the Elements of a Good Hypothesis?
  • Scientific Method Vocabulary Terms
  • The Role of a Controlled Variable in an Experiment

PrepScholar

Choose Your Test

Sat / act prep online guides and tips, what is a hypothesis and how do i write one.

author image

General Education

body-glowing-question-mark

Think about something strange and unexplainable in your life. Maybe you get a headache right before it rains, or maybe you think your favorite sports team wins when you wear a certain color. If you wanted to see whether these are just coincidences or scientific fact, you would form a hypothesis, then create an experiment to see whether that hypothesis is true or not.

But what is a hypothesis, anyway? If you’re not sure about what a hypothesis is--or how to test for one!--you’re in the right place. This article will teach you everything you need to know about hypotheses, including: 

  • Defining the term “hypothesis” 
  • Providing hypothesis examples 
  • Giving you tips for how to write your own hypothesis

So let’s get started!

body-picture-ask-sign

What Is a Hypothesis?

Merriam Webster defines a hypothesis as “an assumption or concession made for the sake of argument.” In other words, a hypothesis is an educated guess . Scientists make a reasonable assumption--or a hypothesis--then design an experiment to test whether it’s true or not. Keep in mind that in science, a hypothesis should be testable. You have to be able to design an experiment that tests your hypothesis in order for it to be valid. 

As you could assume from that statement, it’s easy to make a bad hypothesis. But when you’re holding an experiment, it’s even more important that your guesses be good...after all, you’re spending time (and maybe money!) to figure out more about your observation. That’s why we refer to a hypothesis as an educated guess--good hypotheses are based on existing data and research to make them as sound as possible.

Hypotheses are one part of what’s called the scientific method .  Every (good) experiment or study is based in the scientific method. The scientific method gives order and structure to experiments and ensures that interference from scientists or outside influences does not skew the results. It’s important that you understand the concepts of the scientific method before holding your own experiment. Though it may vary among scientists, the scientific method is generally made up of six steps (in order):

  • Observation
  • Asking questions
  • Forming a hypothesis
  • Analyze the data
  • Communicate your results

You’ll notice that the hypothesis comes pretty early on when conducting an experiment. That’s because experiments work best when they’re trying to answer one specific question. And you can’t conduct an experiment until you know what you’re trying to prove!

Independent and Dependent Variables 

After doing your research, you’re ready for another important step in forming your hypothesis: identifying variables. Variables are basically any factor that could influence the outcome of your experiment . Variables have to be measurable and related to the topic being studied.

There are two types of variables:  independent variables and dependent variables. I ndependent variables remain constant . For example, age is an independent variable; it will stay the same, and researchers can look at different ages to see if it has an effect on the dependent variable. 

Speaking of dependent variables... dependent variables are subject to the influence of the independent variable , meaning that they are not constant. Let’s say you want to test whether a person’s age affects how much sleep they need. In that case, the independent variable is age (like we mentioned above), and the dependent variable is how much sleep a person gets. 

Variables will be crucial in writing your hypothesis. You need to be able to identify which variable is which, as both the independent and dependent variables will be written into your hypothesis. For instance, in a study about exercise, the independent variable might be the speed at which the respondents walk for thirty minutes, and the dependent variable would be their heart rate. In your study and in your hypothesis, you’re trying to understand the relationship between the two variables.

Elements of a Good Hypothesis

The best hypotheses start by asking the right questions . For instance, if you’ve observed that the grass is greener when it rains twice a week, you could ask what kind of grass it is, what elevation it’s at, and if the grass across the street responds to rain in the same way. Any of these questions could become the backbone of experiments to test why the grass gets greener when it rains fairly frequently.

As you’re asking more questions about your first observation, make sure you’re also making more observations . If it doesn’t rain for two weeks and the grass still looks green, that’s an important observation that could influence your hypothesis. You'll continue observing all throughout your experiment, but until the hypothesis is finalized, every observation should be noted.

Finally, you should consult secondary research before writing your hypothesis . Secondary research is comprised of results found and published by other people. You can usually find this information online or at your library. Additionally, m ake sure the research you find is credible and related to your topic. If you’re studying the correlation between rain and grass growth, it would help you to research rain patterns over the past twenty years for your county, published by a local agricultural association. You should also research the types of grass common in your area, the type of grass in your lawn, and whether anyone else has conducted experiments about your hypothesis. Also be sure you’re checking the quality of your research . Research done by a middle school student about what minerals can be found in rainwater would be less useful than an article published by a local university.

body-pencil-notebook-writing

Writing Your Hypothesis

Once you’ve considered all of the factors above, you’re ready to start writing your hypothesis. Hypotheses usually take a certain form when they’re written out in a research report.

When you boil down your hypothesis statement, you are writing down your best guess and not the question at hand . This means that your statement should be written as if it is fact already, even though you are simply testing it.

The reason for this is that, after you have completed your study, you'll either accept or reject your if-then or your null hypothesis. All hypothesis testing examples should be measurable and able to be confirmed or denied. You cannot confirm a question, only a statement! 

In fact, you come up with hypothesis examples all the time! For instance, when you guess on the outcome of a basketball game, you don’t say, “Will the Miami Heat beat the Boston Celtics?” but instead, “I think the Miami Heat will beat the Boston Celtics.” You state it as if it is already true, even if it turns out you’re wrong. You do the same thing when writing your hypothesis.

Additionally, keep in mind that hypotheses can range from very specific to very broad.  These hypotheses can be specific, but if your hypothesis testing examples involve a broad range of causes and effects, your hypothesis can also be broad.  

body-hand-number-two

The Two Types of Hypotheses

Now that you understand what goes into a hypothesis, it’s time to look more closely at the two most common types of hypothesis: the if-then hypothesis and the null hypothesis.

#1: If-Then Hypotheses

First of all, if-then hypotheses typically follow this formula:

If ____ happens, then ____ will happen.

The goal of this type of hypothesis is to test the causal relationship between the independent and dependent variable. It’s fairly simple, and each hypothesis can vary in how detailed it can be. We create if-then hypotheses all the time with our daily predictions. Here are some examples of hypotheses that use an if-then structure from daily life: 

  • If I get enough sleep, I’ll be able to get more work done tomorrow.
  • If the bus is on time, I can make it to my friend’s birthday party. 
  • If I study every night this week, I’ll get a better grade on my exam. 

In each of these situations, you’re making a guess on how an independent variable (sleep, time, or studying) will affect a dependent variable (the amount of work you can do, making it to a party on time, or getting better grades). 

You may still be asking, “What is an example of a hypothesis used in scientific research?” Take one of the hypothesis examples from a real-world study on whether using technology before bed affects children’s sleep patterns. The hypothesis read s:

“We hypothesized that increased hours of tablet- and phone-based screen time at bedtime would be inversely correlated with sleep quality and child attention.”

It might not look like it, but this is an if-then statement. The researchers basically said, “If children have more screen usage at bedtime, then their quality of sleep and attention will be worse.” The sleep quality and attention are the dependent variables and the screen usage is the independent variable. (Usually, the independent variable comes after the “if” and the dependent variable comes after the “then,” as it is the independent variable that affects the dependent variable.) This is an excellent example of how flexible hypothesis statements can be, as long as the general idea of “if-then” and the independent and dependent variables are present.

#2: Null Hypotheses

Your if-then hypothesis is not the only one needed to complete a successful experiment, however. You also need a null hypothesis to test it against. In its most basic form, the null hypothesis is the opposite of your if-then hypothesis . When you write your null hypothesis, you are writing a hypothesis that suggests that your guess is not true, and that the independent and dependent variables have no relationship .

One null hypothesis for the cell phone and sleep study from the last section might say: 

“If children have more screen usage at bedtime, their quality of sleep and attention will not be worse.” 

In this case, this is a null hypothesis because it’s asking the opposite of the original thesis! 

Conversely, if your if-then hypothesis suggests that your two variables have no relationship, then your null hypothesis would suggest that there is one. So, pretend that there is a study that is asking the question, “Does the amount of followers on Instagram influence how long people spend on the app?” The independent variable is the amount of followers, and the dependent variable is the time spent. But if you, as the researcher, don’t think there is a relationship between the number of followers and time spent, you might write an if-then hypothesis that reads:

“If people have many followers on Instagram, they will not spend more time on the app than people who have less.”

In this case, the if-then suggests there isn’t a relationship between the variables. In that case, one of the null hypothesis examples might say:

“If people have many followers on Instagram, they will spend more time on the app than people who have less.”

You then test both the if-then and the null hypothesis to gauge if there is a relationship between the variables, and if so, how much of a relationship. 

feature_tips

4 Tips to Write the Best Hypothesis

If you’re going to take the time to hold an experiment, whether in school or by yourself, you’re also going to want to take the time to make sure your hypothesis is a good one. The best hypotheses have four major elements in common: plausibility, defined concepts, observability, and general explanation.

#1: Plausibility

At first glance, this quality of a hypothesis might seem obvious. When your hypothesis is plausible, that means it’s possible given what we know about science and general common sense. However, improbable hypotheses are more common than you might think. 

Imagine you’re studying weight gain and television watching habits. If you hypothesize that people who watch more than  twenty hours of television a week will gain two hundred pounds or more over the course of a year, this might be improbable (though it’s potentially possible). Consequently, c ommon sense can tell us the results of the study before the study even begins.

Improbable hypotheses generally go against  science, as well. Take this hypothesis example: 

“If a person smokes one cigarette a day, then they will have lungs just as healthy as the average person’s.” 

This hypothesis is obviously untrue, as studies have shown again and again that cigarettes negatively affect lung health. You must be careful that your hypotheses do not reflect your own personal opinion more than they do scientifically-supported findings. This plausibility points to the necessity of research before the hypothesis is written to make sure that your hypothesis has not already been disproven.

#2: Defined Concepts

The more advanced you are in your studies, the more likely that the terms you’re using in your hypothesis are specific to a limited set of knowledge. One of the hypothesis testing examples might include the readability of printed text in newspapers, where you might use words like “kerning” and “x-height.” Unless your readers have a background in graphic design, it’s likely that they won’t know what you mean by these terms. Thus, it’s important to either write what they mean in the hypothesis itself or in the report before the hypothesis.

Here’s what we mean. Which of the following sentences makes more sense to the common person?

If the kerning is greater than average, more words will be read per minute.

If the space between letters is greater than average, more words will be read per minute.

For people reading your report that are not experts in typography, simply adding a few more words will be helpful in clarifying exactly what the experiment is all about. It’s always a good idea to make your research and findings as accessible as possible. 

body-blue-eye

Good hypotheses ensure that you can observe the results. 

#3: Observability

In order to measure the truth or falsity of your hypothesis, you must be able to see your variables and the way they interact. For instance, if your hypothesis is that the flight patterns of satellites affect the strength of certain television signals, yet you don’t have a telescope to view the satellites or a television to monitor the signal strength, you cannot properly observe your hypothesis and thus cannot continue your study.

Some variables may seem easy to observe, but if you do not have a system of measurement in place, you cannot observe your hypothesis properly. Here’s an example: if you’re experimenting on the effect of healthy food on overall happiness, but you don’t have a way to monitor and measure what “overall happiness” means, your results will not reflect the truth. Monitoring how often someone smiles for a whole day is not reasonably observable, but having the participants state how happy they feel on a scale of one to ten is more observable. 

In writing your hypothesis, always keep in mind how you'll execute the experiment.

#4: Generalizability 

Perhaps you’d like to study what color your best friend wears the most often by observing and documenting the colors she wears each day of the week. This might be fun information for her and you to know, but beyond you two, there aren’t many people who could benefit from this experiment. When you start an experiment, you should note how generalizable your findings may be if they are confirmed. Generalizability is basically how common a particular phenomenon is to other people’s everyday life.

Let’s say you’re asking a question about the health benefits of eating an apple for one day only, you need to realize that the experiment may be too specific to be helpful. It does not help to explain a phenomenon that many people experience. If you find yourself with too specific of a hypothesis, go back to asking the big question: what is it that you want to know, and what do you think will happen between your two variables?

body-experiment-chemistry

Hypothesis Testing Examples

We know it can be hard to write a good hypothesis unless you’ve seen some good hypothesis examples. We’ve included four hypothesis examples based on some made-up experiments. Use these as templates or launch pads for coming up with your own hypotheses.

Experiment #1: Students Studying Outside (Writing a Hypothesis)

You are a student at PrepScholar University. When you walk around campus, you notice that, when the temperature is above 60 degrees, more students study in the quad. You want to know when your fellow students are more likely to study outside. With this information, how do you make the best hypothesis possible?

You must remember to make additional observations and do secondary research before writing your hypothesis. In doing so, you notice that no one studies outside when it’s 75 degrees and raining, so this should be included in your experiment. Also, studies done on the topic beforehand suggested that students are more likely to study in temperatures less than 85 degrees. With this in mind, you feel confident that you can identify your variables and write your hypotheses:

If-then: “If the temperature in Fahrenheit is less than 60 degrees, significantly fewer students will study outside.”

Null: “If the temperature in Fahrenheit is less than 60 degrees, the same number of students will study outside as when it is more than 60 degrees.”

These hypotheses are plausible, as the temperatures are reasonably within the bounds of what is possible. The number of people in the quad is also easily observable. It is also not a phenomenon specific to only one person or at one time, but instead can explain a phenomenon for a broader group of people.

To complete this experiment, you pick the month of October to observe the quad. Every day (except on the days where it’s raining)from 3 to 4 PM, when most classes have released for the day, you observe how many people are on the quad. You measure how many people come  and how many leave. You also write down the temperature on the hour. 

After writing down all of your observations and putting them on a graph, you find that the most students study on the quad when it is 70 degrees outside, and that the number of students drops a lot once the temperature reaches 60 degrees or below. In this case, your research report would state that you accept or “failed to reject” your first hypothesis with your findings.

Experiment #2: The Cupcake Store (Forming a Simple Experiment)

Let’s say that you work at a bakery. You specialize in cupcakes, and you make only two colors of frosting: yellow and purple. You want to know what kind of customers are more likely to buy what kind of cupcake, so you set up an experiment. Your independent variable is the customer’s gender, and the dependent variable is the color of the frosting. What is an example of a hypothesis that might answer the question of this study?

Here’s what your hypotheses might look like: 

If-then: “If customers’ gender is female, then they will buy more yellow cupcakes than purple cupcakes.”

Null: “If customers’ gender is female, then they will be just as likely to buy purple cupcakes as yellow cupcakes.”

This is a pretty simple experiment! It passes the test of plausibility (there could easily be a difference), defined concepts (there’s nothing complicated about cupcakes!), observability (both color and gender can be easily observed), and general explanation ( this would potentially help you make better business decisions ).

body-bird-feeder

Experiment #3: Backyard Bird Feeders (Integrating Multiple Variables and Rejecting the If-Then Hypothesis)

While watching your backyard bird feeder, you realized that different birds come on the days when you change the types of seeds. You decide that you want to see more cardinals in your backyard, so you decide to see what type of food they like the best and set up an experiment. 

However, one morning, you notice that, while some cardinals are present, blue jays are eating out of your backyard feeder filled with millet. You decide that, of all of the other birds, you would like to see the blue jays the least. This means you'll have more than one variable in your hypothesis. Your new hypotheses might look like this: 

If-then: “If sunflower seeds are placed in the bird feeders, then more cardinals will come than blue jays. If millet is placed in the bird feeders, then more blue jays will come than cardinals.”

Null: “If either sunflower seeds or millet are placed in the bird, equal numbers of cardinals and blue jays will come.”

Through simple observation, you actually find that cardinals come as often as blue jays when sunflower seeds or millet is in the bird feeder. In this case, you would reject your “if-then” hypothesis and “fail to reject” your null hypothesis . You cannot accept your first hypothesis, because it’s clearly not true. Instead you found that there was actually no relation between your different variables. Consequently, you would need to run more experiments with different variables to see if the new variables impact the results.

Experiment #4: In-Class Survey (Including an Alternative Hypothesis)

You’re about to give a speech in one of your classes about the importance of paying attention. You want to take this opportunity to test a hypothesis you’ve had for a while: 

If-then: If students sit in the first two rows of the classroom, then they will listen better than students who do not.

Null: If students sit in the first two rows of the classroom, then they will not listen better or worse than students who do not.

You give your speech and then ask your teacher if you can hand out a short survey to the class. On the survey, you’ve included questions about some of the topics you talked about. When you get back the results, you’re surprised to see that not only do the students in the first two rows not pay better attention, but they also scored worse than students in other parts of the classroom! Here, both your if-then and your null hypotheses are not representative of your findings. What do you do?

This is when you reject both your if-then and null hypotheses and instead create an alternative hypothesis . This type of hypothesis is used in the rare circumstance that neither of your hypotheses is able to capture your findings . Now you can use what you’ve learned to draft new hypotheses and test again! 

Key Takeaways: Hypothesis Writing

The more comfortable you become with writing hypotheses, the better they will become. The structure of hypotheses is flexible and may need to be changed depending on what topic you are studying. The most important thing to remember is the purpose of your hypothesis and the difference between the if-then and the null . From there, in forming your hypothesis, you should constantly be asking questions, making observations, doing secondary research, and considering your variables. After you have written your hypothesis, be sure to edit it so that it is plausible, clearly defined, observable, and helpful in explaining a general phenomenon.

Writing a hypothesis is something that everyone, from elementary school children competing in a science fair to professional scientists in a lab, needs to know how to do. Hypotheses are vital in experiments and in properly executing the scientific method . When done correctly, hypotheses will set up your studies for success and help you to understand the world a little better, one experiment at a time.

body-whats-next-post-it-note

What’s Next?

If you’re studying for the science portion of the ACT, there’s definitely a lot you need to know. We’ve got the tools to help, though! Start by checking out our ultimate study guide for the ACT Science subject test. Once you read through that, be sure to download our recommended ACT Science practice tests , since they’re one of the most foolproof ways to improve your score. (And don’t forget to check out our expert guide book , too.)

If you love science and want to major in a scientific field, you should start preparing in high school . Here are the science classes you should take to set yourself up for success.

If you’re trying to think of science experiments you can do for class (or for a science fair!), here’s a list of 37 awesome science experiments you can do at home

author image

Ashley Sufflé Robinson has a Ph.D. in 19th Century English Literature. As a content writer for PrepScholar, Ashley is passionate about giving college-bound students the in-depth information they need to get into the school of their dreams.

Student and Parent Forum

Our new student and parent forum, at ExpertHub.PrepScholar.com , allow you to interact with your peers and the PrepScholar staff. See how other students and parents are navigating high school, college, and the college admissions process. Ask questions; get answers.

Join the Conversation

Ask a Question Below

Have any questions about this article or other topics? Ask below and we'll reply!

Improve With Our Famous Guides

  • For All Students

The 5 Strategies You Must Be Using to Improve 160+ SAT Points

How to Get a Perfect 1600, by a Perfect Scorer

Series: How to Get 800 on Each SAT Section:

Score 800 on SAT Math

Score 800 on SAT Reading

Score 800 on SAT Writing

Series: How to Get to 600 on Each SAT Section:

Score 600 on SAT Math

Score 600 on SAT Reading

Score 600 on SAT Writing

Free Complete Official SAT Practice Tests

What SAT Target Score Should You Be Aiming For?

15 Strategies to Improve Your SAT Essay

The 5 Strategies You Must Be Using to Improve 4+ ACT Points

How to Get a Perfect 36 ACT, by a Perfect Scorer

Series: How to Get 36 on Each ACT Section:

36 on ACT English

36 on ACT Math

36 on ACT Reading

36 on ACT Science

Series: How to Get to 24 on Each ACT Section:

24 on ACT English

24 on ACT Math

24 on ACT Reading

24 on ACT Science

What ACT target score should you be aiming for?

ACT Vocabulary You Must Know

ACT Writing: 15 Tips to Raise Your Essay Score

How to Get Into Harvard and the Ivy League

How to Get a Perfect 4.0 GPA

How to Write an Amazing College Essay

What Exactly Are Colleges Looking For?

Is the ACT easier than the SAT? A Comprehensive Guide

Should you retake your SAT or ACT?

When should you take the SAT or ACT?

Stay Informed

hypothesis on independent variable

Get the latest articles and test prep tips!

Looking for Graduate School Test Prep?

Check out our top-rated graduate blogs here:

GRE Online Prep Blog

GMAT Online Prep Blog

TOEFL Online Prep Blog

Holly R. "I am absolutely overjoyed and cannot thank you enough for helping me!”

Have a language expert improve your writing

Run a free plagiarism check in 10 minutes, generate accurate citations for free.

  • Knowledge Base

Hypothesis Testing | A Step-by-Step Guide with Easy Examples

Published on November 8, 2019 by Rebecca Bevans . Revised on June 22, 2023.

Hypothesis testing is a formal procedure for investigating our ideas about the world using statistics . It is most often used by scientists to test specific predictions, called hypotheses, that arise from theories.

There are 5 main steps in hypothesis testing:

  • State your research hypothesis as a null hypothesis and alternate hypothesis (H o ) and (H a  or H 1 ).
  • Collect data in a way designed to test the hypothesis.
  • Perform an appropriate statistical test .
  • Decide whether to reject or fail to reject your null hypothesis.
  • Present the findings in your results and discussion section.

Though the specific details might vary, the procedure you will use when testing a hypothesis will always follow some version of these steps.

Table of contents

Step 1: state your null and alternate hypothesis, step 2: collect data, step 3: perform a statistical test, step 4: decide whether to reject or fail to reject your null hypothesis, step 5: present your findings, other interesting articles, frequently asked questions about hypothesis testing.

After developing your initial research hypothesis (the prediction that you want to investigate), it is important to restate it as a null (H o ) and alternate (H a ) hypothesis so that you can test it mathematically.

The alternate hypothesis is usually your initial hypothesis that predicts a relationship between variables. The null hypothesis is a prediction of no relationship between the variables you are interested in.

  • H 0 : Men are, on average, not taller than women. H a : Men are, on average, taller than women.

Prevent plagiarism. Run a free check.

For a statistical test to be valid , it is important to perform sampling and collect data in a way that is designed to test your hypothesis. If your data are not representative, then you cannot make statistical inferences about the population you are interested in.

There are a variety of statistical tests available, but they are all based on the comparison of within-group variance (how spread out the data is within a category) versus between-group variance (how different the categories are from one another).

If the between-group variance is large enough that there is little or no overlap between groups, then your statistical test will reflect that by showing a low p -value . This means it is unlikely that the differences between these groups came about by chance.

Alternatively, if there is high within-group variance and low between-group variance, then your statistical test will reflect that with a high p -value. This means it is likely that any difference you measure between groups is due to chance.

Your choice of statistical test will be based on the type of variables and the level of measurement of your collected data .

  • an estimate of the difference in average height between the two groups.
  • a p -value showing how likely you are to see this difference if the null hypothesis of no difference is true.

Based on the outcome of your statistical test, you will have to decide whether to reject or fail to reject your null hypothesis.

In most cases you will use the p -value generated by your statistical test to guide your decision. And in most cases, your predetermined level of significance for rejecting the null hypothesis will be 0.05 – that is, when there is a less than 5% chance that you would see these results if the null hypothesis were true.

In some cases, researchers choose a more conservative level of significance, such as 0.01 (1%). This minimizes the risk of incorrectly rejecting the null hypothesis ( Type I error ).

The results of hypothesis testing will be presented in the results and discussion sections of your research paper , dissertation or thesis .

In the results section you should give a brief summary of the data and a summary of the results of your statistical test (for example, the estimated difference between group means and associated p -value). In the discussion , you can discuss whether your initial hypothesis was supported by your results or not.

In the formal language of hypothesis testing, we talk about rejecting or failing to reject the null hypothesis. You will probably be asked to do this in your statistics assignments.

However, when presenting research results in academic papers we rarely talk this way. Instead, we go back to our alternate hypothesis (in this case, the hypothesis that men are on average taller than women) and state whether the result of our test did or did not support the alternate hypothesis.

If your null hypothesis was rejected, this result is interpreted as “supported the alternate hypothesis.”

These are superficial differences; you can see that they mean the same thing.

You might notice that we don’t say that we reject or fail to reject the alternate hypothesis . This is because hypothesis testing is not designed to prove or disprove anything. It is only designed to test whether a pattern we measure could have arisen spuriously, or by chance.

If we reject the null hypothesis based on our research (i.e., we find that it is unlikely that the pattern arose by chance), then we can say our test lends support to our hypothesis . But if the pattern does not pass our decision rule, meaning that it could have arisen by chance, then we say the test is inconsistent with our hypothesis .

If you want to know more about statistics , methodology , or research bias , make sure to check out some of our other articles with explanations and examples.

  • Normal distribution
  • Descriptive statistics
  • Measures of central tendency
  • Correlation coefficient

Methodology

  • Cluster sampling
  • Stratified sampling
  • Types of interviews
  • Cohort study
  • Thematic analysis

Research bias

  • Implicit bias
  • Cognitive bias
  • Survivorship bias
  • Availability heuristic
  • Nonresponse bias
  • Regression to the mean

Hypothesis testing is a formal procedure for investigating our ideas about the world using statistics. It is used by scientists to test specific predictions, called hypotheses , by calculating how likely it is that a pattern or relationship between variables could have arisen by chance.

A hypothesis states your predictions about what your research will find. It is a tentative answer to your research question that has not yet been tested. For some research projects, you might have to write several hypotheses that address different aspects of your research question.

A hypothesis is not just a guess — it should be based on existing theories and knowledge. It also has to be testable, which means you can support or refute it through scientific research methods (such as experiments, observations and statistical analysis of data).

Null and alternative hypotheses are used in statistical hypothesis testing . The null hypothesis of a test always predicts no effect or no relationship between variables, while the alternative hypothesis states your research prediction of an effect or relationship.

Cite this Scribbr article

If you want to cite this source, you can copy and paste the citation or click the “Cite this Scribbr article” button to automatically add the citation to our free Citation Generator.

Bevans, R. (2023, June 22). Hypothesis Testing | A Step-by-Step Guide with Easy Examples. Scribbr. Retrieved April 15, 2024, from https://www.scribbr.com/statistics/hypothesis-testing/

Is this article helpful?

Rebecca Bevans

Rebecca Bevans

Other students also liked, choosing the right statistical test | types & examples, understanding p values | definition and examples, what is your plagiarism score.

  • cognitive sophistication
  • tolerance of diversity
  • exposure to higher levels of math or science
  • age (which is currently related to educational level in many countries)
  • social class and other variables.
  • For example, suppose you designed a treatment to help people stop smoking. Because you are really dedicated, you assigned the same individuals simultaneously to (1) a "stop smoking" nicotine patch; (2) a "quit buddy"; and (3) a discussion support group. Compared with a group in which no intervention at all occurred, your experimental group now smokes 10 fewer cigarettes per day.
  • There is no relationship among two or more variables (EXAMPLE: the correlation between educational level and income is zero)
  • Or that two or more populations or subpopulations are essentially the same (EXAMPLE: women and men have the same average science knowledge scores.)
  • the difference between two and three children = one child.
  • the difference between eight and nine children also = one child.
  • the difference between completing ninth grade and tenth grade is  one year of school
  • the difference between completing junior and senior year of college is one year of school
  • In addition to all the properties of nominal, ordinal, and interval variables, ratio variables also have a fixed/non-arbitrary zero point. Non arbitrary means that it is impossible to go below a score of zero for that variable. For example, any bottom score on IQ or aptitude tests is created by human beings and not nature. On the other hand, scientists believe they have isolated an "absolute zero." You can't get colder than that.

IMAGES

  1. Bar Graph Rules Independent and Dependent Variables Continuous or

    hypothesis on independent variable

  2. Best Example of How to Write a Hypothesis 2024

    hypothesis on independent variable

  3. 15 Independent and Dependent Variable Examples (2024)

    hypothesis on independent variable

  4. Independent and Dependent Variable Examples

    hypothesis on independent variable

  5. PPT

    hypothesis on independent variable

  6. PPT

    hypothesis on independent variable

VIDEO

  1. Experimental and Alternate Hypothesis

  2. Variable types and hypothesis testing

  3. Hypothesis independent samples

  4. Experimental Design

  5. Practical Skills

  6. hypothesis test 1 categorical variable on spss

COMMENTS

  1. How to Write a Strong Hypothesis

    5. Phrase your hypothesis in three ways. To identify the variables, you can write a simple prediction in if…then form. The first part of the sentence states the independent variable and the second part states the dependent variable. If a first-year student starts attending more lectures, then their exam scores will improve.

  2. Research Hypothesis In Psychology: Types, & Examples

    The null hypothesis states no relationship exists between the two variables being studied (one variable does not affect the other). There will be no changes in the dependent variable due to manipulating the independent variable. It states results are due to chance and are not significant in supporting the idea being investigated.

  3. How to Write a Great Hypothesis

    Simple hypothesis: This type of hypothesis suggests that there is a relationship between one independent variable and one dependent variable. Complex hypothesis: This type of hypothesis suggests a relationship between three or more variables, such as two independent variables and a dependent variable. Null hypothesis: This hypothesis suggests ...

  4. Independent and Dependent Variables

    In research, a variable is any characteristic, number, or quantity that can be measured or counted in experimental investigations. One is called the dependent variable, and the other is the independent variable. In research, the independent variable is manipulated to observe its effect, while the dependent variable is the measured outcome.

  5. Independent Variables (Definition + 43 Examples)

    An independent variable is a condition or factor that researchers manipulate to observe its effect on another variable, known as the dependent variable. ... It has steps we follow: asking a question, researching, guessing what will happen (that's a hypothesis!), experimenting, checking the results, figuring out what they mean, and telling ...

  6. Independent Variable in Psychology: Examples and Importance

    The independent variable (IV) in psychology is the characteristic of an experiment that is manipulated or changed by researchers, not by other variables in the experiment. For example, in an experiment looking at the effects of studying on test scores, studying would be the independent variable. Researchers are trying to determine if changes to ...

  7. How to Write a Hypothesis in 6 Steps, With Examples

    3 Define your variables. Once you have an idea of what your hypothesis will be, select which variables are independent and which are dependent. Remember that independent variables can only be factors that you have absolute control over, so consider the limits of your experiment before finalizing your hypothesis.

  8. Null & Alternative Hypotheses

    Null hypothesis (H 0): Independent variable does not affect dependent variable. Alternative hypothesis (H a): Independent variable affects dependent variable. Test-specific template sentences. Once you know the statistical test you'll be using, you can write your hypotheses in a more precise and mathematical way specific to the test you chose ...

  9. Independent and Dependent Variables: Differences & Examples

    Treatment and control groups are always independent variables. In this case, the independent variable is a categorical grouping variable that defines the experimental groups to which participants belong. Each group is a level of that variable. In observational studies, independent variables are a bit different.

  10. Independent vs Dependent Variables

    The independent variable is the cause. Its value is independent of other variables in your study. The dependent variable is the effect. Its value depends on changes in the independent variable. Example: Independent and dependent variables. You design a study to test whether changes in room temperature have an effect on maths test scores.

  11. Independent Variable Definition and Examples

    An independent variable is defines as the variable that is changed or controlled in a scientific experiment. It represents the cause or reason for an outcome. Independent variables are the variables that the experimenter changes to test their dependent variable. A change in the independent variable directly causes a change in the dependent ...

  12. Importance of Variables in Stating the Research Objectives

    In this hypothesis, the duration of the current episode of depression is the independent variable and treatment response is the dependent variable. It should be obvious, now, that a hypothesis can also be defined as the statement of an expected relationship between an independent and a dependent variable .

  13. What Is an Independent Variable? Definition and Examples

    A change in the independent variable directly causes a change in the dependent variable. If you have a hypothesis written such that you're looking at whether x affects y, the x is always the independent variable and the y is the dependent variable. GRAPHING THE INDEPENDENT VARIABLE. If the dependent and independent variables are plotted on a ...

  14. What Are Independent and Dependent Variables?

    The independent variable is the variable that the researcher or experimenter manipulates to affect the dependent variable. It is independent of the other variables in an experiment. ... A good hypothesis asks what effect an independent variable has on a dependent variable. Without experimental research, we would not be able to determine (with ...

  15. Independent & Dependent Variables (With Examples)

    While the independent variable is the " cause ", the dependent variable is the " effect " - or rather, the affected variable. In other words, the dependent variable is the variable that is assumed to change as a result of a change in the independent variable. Keeping with the previous example, let's look at some dependent variables ...

  16. Independent and Dependent Variables Examples

    Here are several examples of independent and dependent variables in experiments: In a study to determine whether how long a student sleeps affects test scores, the independent variable is the length of time spent sleeping while the dependent variable is the test score. You want to know which brand of fertilizer is best for your plants.

  17. Independent and Dependent Variable Examples

    Independent Variable . The independent variable is the condition that you change in an experiment. It is the variable you control. It is called independent because its value does not depend on and is not affected by the state of any other variable in the experiment. Sometimes you may hear this variable called the "controlled variable" because it is the one that is changed.

  18. What Is a Hypothesis and How Do I Write One?

    (Usually, the independent variable comes after the "if" and the dependent variable comes after the "then," as it is the independent variable that affects the dependent variable.) This is an excellent example of how flexible hypothesis statements can be, as long as the general idea of "if-then" and the independent and dependent ...

  19. Hypothesis Testing

    The alternate hypothesis is usually your initial hypothesis that predicts a relationship between variables. The null hypothesis is a prediction of no relationship between the variables you are interested in. Hypothesis testing example. You want to test whether there is a relationship between gender and height. Based on your knowledge of human ...

  20. Guide 2: Variables and Hypotheses

    An hypothesis may describe whether or not a relationship exists, possible causal direction of the relationship ("null" hypotheses are directionless), the mechanics ... If one variable truly causes a second, the cause is the independent variable. Independent variables are often also called explanatory variables or predictors.

  21. Variables and Hypotheses

    A hypothesis states a presumed relationship between two variables in a way that can be tested with empirical data. It may take the form of a cause-effect statement, or an "if x,...then y" statement. The cause is called the independent variable; and the effect is called the dependent variable. Relationships can be of several forms: linear, or ...

  22. Define "Hypothesis," "Independent Variable," and "Dependent Variable

    A hypothesis is your statement of what you think will happen to a dependent variable when a change occurs in the independent variable. Your dependent variable is the result.