Relationship Between Variables: Chandan Sharma
Relationship Between Variables: Chandan Sharma
variables
Chandan Sharma
Relationship between variables
• We will study the relationship between two variables measured from
an individual.
• In many studies we measure more than one variable for each
individual.
• Some examples include:
• The weight of a car and its gas mileage (in miles per gallon)
• Exercise and cholesterol levels for a group of people
• Height and weight for a group of people
Relationship between variables
• In cases where multiple variables are measured from individuals,
• we are interested in whether the variables have some kind of a
relationship.
• We’d like to know whether changes in one variable lead to specific
(and thus predictable) changes in another variable.
Types of variables
• When we have two variables, they could be “connected” in one of
several different ways:
• They could be completely unrelated.
• One variable (the explanatory or predictor variable) could be used to explain
the other (the response or dependent variable).
• One variable could be thought of as causing the other variable to change.
Types of variables
• A response variable measures an outcome of a study (think y-value or
dependent variable)
• An explanatory variable explains or influences changes in a response
variable (think x-value or independent variable).
• Sometimes it is not clear which variable is the explanatory variable
and which is the response variable.
Types of variables
• Sometimes the two variables are related without either being
explanatory or response variables.
• And sometimes the two variables are both affected by a different
variable, called a lurking variable, which was not collected or included
in the study.
Types of variables
• Studies with lurking variables can cause a lot of trouble for people
trying to prove a point.
• An excellent example of a lurking variable is
• A study that shows the number of television sets in your home can be
used to predict your life expectancy!
Scatterplot
• The most useful graph to show the relationship between two
quantitative variables is the scatter diagram.
• Typically we rely on
technology to create the
scatterplot for us. A
scatterplot created in Excel
looks like:
Types of Relationships
• Once you have a scatterplot, it can be used to identify an overall
pattern and deviations from this pattern.
• You can describe the pattern by form, direction, and strength of the
relationship, and you can identify points that do not follow the overall
pattern (outliers).
• When the points in a scatter plot do roughly follow a straight line, the
direction of the pattern tells how the variables respond to each other.
Types of Relationships
• A positive slope indicates that as the values of one variable increase,
so do the values of the other variable.
• This type of relationship between two variables is called a positive
linear relationship.