World Library  
Flag as Inappropriate
Email this Article

Dependent and independent variables


Dependent and independent variables

In calculus, a function is typically graphed with the horizontal axis representing the independent variable and the vertical axis representing the dependent variable.[1] In this function, y is the dependent variable and x is the independent variable.

In mathematical modelling and statistical modelling, there are dependent and independent variables. The models investigate how the former depend on the latter. The dependent variables represent the output or outcome whose variation is being studied. The independent variables represent inputs or causes, i.e. potential reasons for variation. Models test or explain the effects that the independent variables have on the dependent variables. Sometimes, independent variables may be included for other reasons, such as for their potential confounding effect, without a wish to test their effect directly.


  • Use 1
    • Mathematics 1.1
    • Statistics 1.2
    • Modelling 1.3
    • Simulation 1.4
  • Statistics synonyms 2
  • Other variables 3
  • Examples 4
  • See also 5
  • References 6



In mathematics, a function is a rule for taking an input (usually number or set of numbers)[2] and providing an output (which is also usually a number).[2] A symbol that stands for an arbitrary input is called an independent variable, while a symbol that stands for an arbitrary output is called a dependent variable.[3] The most common symbol for the input is x, and the most common symbol for the output is y; the function itself is commonly written y=f(x).[3][4]

It is possible to have multiple independent variables and/or multiple dependent variables. For instance, in multivariable calculus, one often encounters functions of the form z=f(x,y), where z is a dependent variable and x and y are independent variables.[5] Functions with multiple outputs are often written as vector-valued functions.

In advanced mathematics, a function between a set X and a set Y is a subset of the Cartesian product X\times Y such that every element of X appears in an ordered pair with exactly one element of Y. In this situation, a symbol representing an element of X may be called a dependent variable and a symbol representing an element of Y may be called an independent variable, such as when X is a manifold and the symbol x represents an arbitrary point in the manifold.[6] However, many advanced textbooks do not distinguish between dependent and independent variables.[7]


In a statistics experiment, the dependent variable is the event studied and expected to change whenever the independent variable is altered.[8]

In data mining tools (for multivariate statistics and machine learning), the depending variable is assigned a role as target variable (or in some tools as label attribute), while a dependent variable may be assigned a role as regular variable.[9] Known values for the target variable are provided for the training data set and test data set, but should be predicted for other data. The target variable is used in supervised learning algorithms but not in non-supervised learning.


In mathematical modelling, the dependent variable is studied to see if and how much it varies as the independent variables vary. In the simple stochastic linear model y_i = a + bx_i + e_i\ the term y_i is the i th value of the dependent variable and x_i is i th value of the independent variable. The term e_i is known as the "error" and contains the variability of the dependent variable not explained by the independent variable.

With multiple independent variables, the expression is: y_i = a + bx_1 + bx_2 + ... + bx_n + e_i\ , where n is the number of independent variables.


In simulation, the dependent variable is changed in response to changes in the independent variables.

Statistics synonyms

An independent variable is also known as a "predictor variable", "regressor", "controlled variable", "manipulated variable", "explanatory variable", "exposure variable" (see reliability theory), "risk factor" (see medical statistics), "feature" (in machine learning and pattern recognition) or an "input variable."[10][11]

A dependent variable is also known as a "response variable", "regressand", "predicated variable", "measured variable", "explained variable", "experimental variable", "responding variable", "outcome variable", and "output variable".[11]

"Explanatory variable" is preferred by some authors over "independent variable" when the quantities treated as "independent variables" may not be statistically independent.[12][13] If the independent variable is referred to as an "explanatory variable" then the term "response variable" is preferred by some authors for the dependent variable.[11][12][13]

"Explained variable" is preferred by some authors over "dependent variable" when the quantities treated as "dependent variables" may not be statistically dependent.[14] If the dependent variable is referred to as an "explained variable" then the term "predictor variable" is preferred by some authors for the independent variable.[14]

Variables may also be referred to by their form: continuous, binary/dichotomous, nominal categorical, and ordinal categorical, among others.

Other variables

A variable may be thought to alter the dependent or independent variables, but may not actually be the focus of the experiment. So that variable will be kept constant or monitored to try to minimise its effect on the experiment. Such variables may be designated as either a "controlled variable" , "control variable", or "extraneous variable".

Extraneous variables, if included in a regression as independent variables, may aid a researcher with accurate response parameter estimation, prediction, and goodness of fit, but are not of substantive interest to the hypothesis under examination. For example, in a study examining the effect of post-secondary education on lifetime earnings, some extraneous variables might be gender, ethnicity, social class, genetics, intelligence, age, and so forth. A variable is extraneous only when it can be assumed (or shown) to influence the dependent variable. If included in a regression, it can improve the fit of the model. If it is excluded from the regression and if it has a non-zero covariance with one or more of the independent variables of interest, its omission will bias the regression's result for the effect of that independent variable of interest. This effect is called confounding or omitted variable bias; in these situations, design changes and/or statistical control is necessary.

Extraneous variables are often classified into three types:

  1. Subject variables, which are the characteristics of the individuals being studied that might affect their actions. These variables include age, gender, health status, mood, background, etc.
  2. Blocking variables or experimental variables are characteristics of the persons conducting the experiment which might influence how a person behaves. Gender, the presence of racial discrimination, language, or other factors may qualify as such variables.
  3. Situational variables are features of the environment in which the study or research was conducted, which have a bearing on the outcome of the experiment in a negative way. Included are the air temperature, level of activity, lighting, and the time of day.

In quasi-experiments, differentiating between dependent and other variables may be downplayed in favour of differentiating between those variables that can be altered by the researcher and those that cannot. Variables in quasi-experiments may be referred to as "extraneous variables", "subject variables", "blocking variables", "situational variables", "pseudo-independent variables", "ex post facto variables", "natural group variables" or "non-manipulated variables".

In modelling, variability that is not covered by the independent variable is designated by e_i and is known as the "residual", "side effect", "error", "unexplained share", "residual variable", or "tolerance".


  • Effects of vitamin C on life span
In a study whether taking vitamin C pills daily make people live longer, researchers will dictate the vitamin C intake of a group of people over time. One part of the group will be given vitamin C pills daily. The other part of the group will be given a placebo pill. Nobody in the group knows which part they are in. The researchers will check the life span of the people in both groups. Here, the dependent variable is the life span and the independent variable is a binary variable for the use or non-use of vitamin C.
  • Effect of fertilizer on plant growth
In a study measuring the influence of different quantities of fertilizer on plant growth, the independent variable would be the amount of fertilizer used. The dependent variable would be the growth in height or mass of the plant. The controlled variables would be the type of plant, the type of fertilizer, the amount of sunlight the plant gets, the size of the pots, etc.
  • Effect of drug dosage on symptom severity
In a study of how different doses of a drug affect the severity of symptoms, a researcher could compare the frequency and intensity of symptoms when different doses are administered. Here the independent variable is the dose and the dependent variable is the frequency/intensity of symptoms.
  • Effect of temperature on pigmentation
In measuring the amount of color removed from beetroot samples at different temperatures, temperature is the independent variable and amount of pigment removed is the dependent variable.
  • Effect of education on wealth
In sociology, in measuring the effect of education on income or wealth, the dependent variable is level of income/wealth and the independent variable is the education level of the individual.

See also


  1. ^ Hastings, Nancy Baxter. Workshop calculus: guided exploration with review. Vol. 2. Springer Science & Business Media, 1998. p. 31
  2. ^ a b Carlson, Robert. A concrete introduction to real analysis. CRC Press, 2006. p.183
  3. ^ a b Stewart, James. Calculus. Cengage Learning, 2011. Section 1.1
  4. ^ Anton, Howard, Irl C. Bivens, and Stephen Davis. Calculus Single Variable. John Wiley & Sons, 2012. Section 0.1
  5. ^ Larson, Ron, and Bruce Edwards. Calculus. Cengage Learning, 2009. Section 13.1
  6. ^ Hrbacek, Karel, and Thomas Jech. Introduction to Set Theory, Revised and Expanded. Vol. 220. Crc Press, 1999. p. 26
  7. ^ For instance, a Google Books search for "independent variable" on Mar 18, 2015 brought up 0 hits in the following advanced textbooks:
    • Munkres, James R. Topology: a first course. Vol. 23. Englewood Cliffs, NJ: Prentice-Hall, 1975.
    • Hungerford, Thomas. Abstract algebra: an introduction. Cengage Learning, 2012.
    • Abbott, Stephen. Understanding analysis. Springer Science & Business Media, 2010.
  8. ^ Random House Webster's Unabridged Dictionary. Random House, Inc. 2001. Page 534, 971. ISBN 0-375-42566-7.
  9. ^ English Manual version 1.0 for RapidMiner 5.0, October 2013.
  10. ^ Dodge, Y. (2003) The Oxford Dictionary of Statistical Terms, OUP. ISBN 0-19-920613-9 (entry for "independent variable")
  11. ^ a b c Dodge, Y. (2003) The Oxford Dictionary of Statistical Terms, OUP. ISBN 0-19-920613-9 (entry for "regression")
  12. ^ a b Everitt, B.S. (2002) Cambridge Dictionary of Statistics, CUP. ISBN 0-521-81099-X
  13. ^ a b Dodge, Y. (2003) The Oxford Dictionary of Statistical Terms, OUP. ISBN 0-19-920613-9
  14. ^ a b Ash Narayan Sah (2009) Data Analysis Using Microsoft Excel, New Delhi. ISBN 978-81-7446-716-4
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.