In
causal model
In metaphysics, a causal model (or structural causal model) is a conceptual model that describes the causal mechanisms of a system. Several types of causal notation may be used in the development of a causal model. Causal models can improve stu ...
s, controlling for a variable means
binning data according to measured values of the variable. This is typically done so that the variable can no longer act as a
confounder in, for example, an
observational study
In fields such as epidemiology, social sciences, psychology and statistics, an observational study draws inferences from a sample (statistics), sample to a statistical population, population where the dependent and independent variables, independ ...
or
experiment
An experiment is a procedure carried out to support or refute a hypothesis, or determine the efficacy or likelihood of something previously untried. Experiments provide insight into cause-and-effect by demonstrating what outcome occurs whe ...
.
When estimating the effect of explanatory variables on an outcome by
regression, controlled-for variables are included as inputs in order to separate their effects from the explanatory variables.
A limitation of controlling for variables is that a causal model is needed to identify important confounders (''backdoor criterion'' is used for the identification). Without having one, a possible confounder might remain unnoticed. Another associated problem is that if a variable which is not a real confounder is controlled for, it may in fact make other variables (possibly not taken into account) become confounders while they were not confounders before. In other cases, controlling for a non-confounding variable may cause underestimation of the true causal effect of the explanatory variables on an outcome (e.g. when controlling for a
mediator or its
descendant).
''
Counterfactual reasoning'' mitigates the influence of confounders without this drawback''.''
Experiments
Experiments attempt to assess the effect of manipulating one or more
independent variables
A variable is considered dependent if it depends on (or is hypothesized to depend on) an independent variable. Dependent variables are studied under the supposition or demand that they depend, by some law or rule (e.g., by a mathematical function ...
on one or more
dependent variables. To ensure the measured effect is not influenced by external factors, other variables must be held constant. The variables made to remain constant during an experiment are referred to as
control variable
A control variable (or scientific constant) in scientific experimentation is an experimental element which is constant (controlled) and unchanged throughout the course of the investigation. Control variables could strongly influence experimental ...
s.
For example, if an outdoor experiment were to be conducted to compare how different wing designs of a
paper airplane (the independent variable) affect how far it can fly (the dependent variable), one would want to ensure that the experiment is conducted at times when the weather is the same, because one would not want weather to affect the experiment. In this case, the control variables may be wind speed, direction and precipitation. If the experiment were conducted when it was sunny with no wind, but the weather changed, one would want to postpone the completion of the experiment until the control variables (the wind and precipitation level) were the same as when the experiment began.
In
controlled experiments
A scientific control is an experiment or observation designed to minimize the effects of variables other than the independent variable (i.e. confounding variables). This increases the reliability of the results, often through a comparison between ...
of medical treatment options on humans, researchers randomly assign individuals to a
treatment group
In the design of experiments, hypotheses are applied to experimental units in a treatment group.
In comparative experiments, members of a control group receive a standard treatment, a placebo, or no treatment at all. There may be more than one tr ...
or
control group
In the design of experiments, hypotheses are applied to experimental units in a treatment group.
In comparative experiments, members of a control group receive a standard treatment, a placebo, or no treatment at all. There may be more than one tr ...
. This is done to reduce the
confounding
In causal inference, a confounder is a variable that influences both the dependent variable and independent variable, causing a spurious association. Confounding is a causal concept, and as such, cannot be described in terms of correlatio ...
effect of irrelevant variables that are not being studied, such as the
placebo effect
A placebo ( ) can be roughly defined as a sham medical treatment. Common placebos include inert tablets (like sugar pills), inert injections (like saline), sham surgery, and other procedures.
Placebos are used in randomized clinical trials ...
.
Observational studies
In an
observational study
In fields such as epidemiology, social sciences, psychology and statistics, an observational study draws inferences from a sample (statistics), sample to a statistical population, population where the dependent and independent variables, independ ...
, researchers have no control over the values of the independent variables, such as who receives the treatment. Instead, they must control for variables using
statistics
Statistics (from German language, German: ', "description of a State (polity), state, a country") is the discipline that concerns the collection, organization, analysis, interpretation, and presentation of data. In applying statistics to a s ...
.
Observational studies are used when controlled experiments may be unethical or impractical. For instance, if a researcher wished to study the effect of unemployment (
the independent variable) on health (
the dependent variable), it would be considered unethical by
institutional review board
An institutional review board (IRB), also known as an independent ethics committee (IEC), ethical review board (ERB), or research ethics board (REB), is a committee at an institution that applies research ethics by reviewing the methods proposed ...
s to randomly assign some participants to have jobs and some not to. Instead, the researcher will have to create a
sample which includes some employed people and some unemployed people. However, there could be factors that affect both whether someone is employed and how healthy he or she is. Part of any observed association between the independent variable (employment status) and the dependent variable (health) could be due to these outside,
spurious
Spurious may refer to:
* Spurious relationship in statistics
* Spurious emission or spurious tone in radio engineering
* Spurious key in cryptography
* Spurious interrupt in computing
* Spurious wakeup in computing
* ''Spurious'', a 2011 no ...
factors rather than indicating a true link between them. This can be problematic even in a
true random sample. By controlling for the extraneous variables, the researcher can come closer to understanding the true effect of the independent variable on the dependent variable.
In this context the extraneous variables can be controlled for by using
multiple regression. The regression uses as independent variables not only the one or ones whose effects on the dependent variable are being studied, but also any potential confounding variables, thus avoiding
omitted variable bias. "Confounding variables" in this context means other factors that not only influence the ''dependent variable'' (the outcome) but also influence the main ''independent'' variable.
OLS Regressions and control variables
The simplest examples of control variables in regression analysis comes from
Ordinary Least Squares
In statistics, ordinary least squares (OLS) is a type of linear least squares method for choosing the unknown parameters in a linear regression
In statistics, linear regression is a statistical model, model that estimates the relationship ...
(OLS) estimators. The OLS framework assumes the following:
* Linear relationship - OLS statistical models are linear. Hence the relationship between explanatory variables and the mean of Y must be linear.
* Homoscedasticity - This requires
homogeneity
Homogeneity and heterogeneity are concepts relating to the Uniformity (chemistry), uniformity of a Chemical substance, substance, process or image. A homogeneous feature is uniform in composition or character (i.e., color, shape, size, weight, ...
of variances, that is equal or similar variances across these data.
* Independence/No
Autocorrelation
Autocorrelation, sometimes known as serial correlation in the discrete time case, measures the correlation of a signal with a delayed copy of itself. Essentially, it quantifies the similarity between observations of a random variable at differe ...
- Error terms from one (or more) observation can not be influenced by error terms of other observations.
*
Normality of Errors - The errors are jointly normal and uncorrelated, this implies that
i.e. that the error terms are an independently and identically distributed set (iid). This implies that the unobservables between different groups or observations are independent.
* No multicollinearity - Independent variables must not be highly correlated with each other. For regressions using matrix notation, the matrix must be full rank i.e.
is invertible.
Accordingly, a control variable can be interpreted as a linear explanatory variable that affects the mean value of Y (Assumption 1), but which does not present the primary variable of investigation, and which also satisfies the other assumptions above.
Example
Consider a study about whether getting older affects someone's
life satisfaction
Life satisfaction is an evaluation of a person's quality of life. It is assessed in terms of mood, relationship satisfaction, achieved goals, self-concepts, and the self-perceived ability to cope with life. Life satisfaction involves a favorabl ...
. (Some researchers perceive a "u-shape": life satisfaction appears to decline first and then rise after middle age.) To identify the control variables needed here, one could ask what other variables determine not only someone's life satisfaction but also their age. Many other variables determine life satisfaction. But ''no other variable'' determines how old someone is (as long as they remain alive). (All people keep getting older, at the same rate, no matter what their other characteristics.) So, no control variables are needed here.
To determine the needed control variables, it can be useful to construct a
directed acyclic graph
In mathematics, particularly graph theory, and computer science, a directed acyclic graph (DAG) is a directed graph with no directed cycles. That is, it consists of vertices and edges (also called ''arcs''), with each edge directed from one ...
.
See also
*
Scientific control
A scientific control is an experiment or observation designed to minimize the effects of variables other than the independent variable (i.e. confounding variables). This increases the reliability of the results, often through a comparison betwe ...
*
Mixed model
A mixed model, mixed-effects model or mixed error-component model is a statistical model containing both fixed effects and random effects. These models are useful in a wide variety of disciplines in the physical, biological and social sciences.
...
*
Age adjustment
Age or AGE may refer to:
Time and its effects
* Age, the amount of time someone has been alive or something has existed
** East Asian age reckoning, an Asian system of marking age starting at 1
* Ageing or aging, the process of becoming older ...
References
Further reading
*{{cite book , last1= Freedman , first1=David , last2= Pisani , first2= Robert , last3=Purves , first3=Roger , date=2007 , title=Statistics , url=https://books.google.com/books?id=mviJQgAACAAJ , publisher=W. W. Norton & Company , isbn=978-0393929720
Observational study
Design of experiments