In this unit:
Research Question: Is the adult height of a child determined by the height of the mother? In other words, what is the relationship between student’s height and mother’s height for all BYU students”
Population: All BYU students.
Parameter of Interest:
Sample: A convenience sample of 1727 BYU students who are in Stat 121.
Are there any issues with this study setup?
Response Variable (y): The height of the student.
Explanatory Variable (x): The height of the mother.
Main goal: Investigate the relationship between student’s height and mother’s height.
Things to look for in a scatterplot:
Form? Direction? Strength? Outliers?
Ecology example: Is possum length related to head length?
Form? Direction? Strength? Outliers?
Engineering example: Is speed related to stopping distance?
Form? Direction? Strength? Outliers?
Environment example: How much pollution do cars produce?
Form? Direction? Strength? Outliers?
Which graph has a stronger relationship?
Covariance: a measure of the linear relationship between y and x (how much y changes as x changes), but with units that are difficult to interpret. \[ \begin{align} \text{Cov}(X,Y) &= \frac{1}{n-1}\sum_{i=1}^n (x_i - \bar{x})(y_i - \bar{y}) \\ &= 4.159 \end{align} \]
Correlation: A standardized measure of strength between -1 and 1: \[ \begin{align} \text{Corr}(X,Y) = r &= \frac{1}{n-1}\sum_{i=1}^n \left(\frac{x_i - \bar{x}}{s_x}\right)\left(\frac{y_i - \bar{y}}{s_y}\right) \\ &= 0.358 \end{align} \]
In one case the outlier made \(r\) go up, in the other \(r\) goes down.
True or False: If \(r=0\) there is no relationship between the explanatory and response variables.
True or False: If \(r=0\) there is no relationship between the explanatory and response variables.
Just because two variables are correlated, does not mean that one causes the other. For example (examples taken from spurious correlations):
The correlation between the number of movies made by Nicolas Cage and the number of drowning deaths is 0.66. Does this mean that Nicolas Cage movies cause drownings?
The correlation between the number of global shark attacks and ice cream sales in 0.81. Does this mean that shark attacks cause people to buy ice cream?
The correlation between the per capita consumption of margarine and the divorce rate in Maine is 0.99. Does this mean that eating more margarine causes divorce?