Answer:
See below
Step-by-step explanation:
By using the table 1 attached (See Table 1 attached)
We can perform all the calculations to express both, y as a function of x or x as a function of y.
Let's make first the line relating y as a function of x.
<u>y as a function of x
</u>
<em>(y=response variable, x=explanatory variable)
</em>
where
is the slope of the line
is the y-intercept
In this case we use these formulas:
n = 10 is the number of observations taken (pairs x,y)
<u>Note:</u> <em>Be careful not to confuse </em>
with
Performing our calculations we get:
So the equation of the line that relates y as a function of x is
<h3>
y = 176.6061x + 0.3591
</h3>
In order to compute the standard error , we must use Table 2 (See Table 2 attached) and use the definition
and we have that standard error when y is a function of x is
Now, to find the line that relates x as a function of y, we simply switch the roles of x and y in the formulas.
So now we have:
x as a function of y
(x=response variable, y=explanatory variable)
where
is the slope of the line
is the x-intercept
In this case we use these formulas:
n = 10 is the number of observations taken (pairs x,y)
<u>Note:</u> <em>Be careful not to confuse </em>
with
Remark:<em> </em><em>If you wanted to draw this line in the classical style (the independent variable on the horizontal axis), you would have to swap the axis X and Y)
</em>
Computing our values, we get
and the line that relates x as a function of y is
<h3>x = 1068.1072y + 2.4861
</h3>
To find the standard error we use Table 3 (See Table 3 attached) and the formula
and we have that standard error when y is a function of x is
<em>In both cases the correlation coefficient r is the same and it can be computed with the formula:
</em>
Remark: <em>This formula for r is only true if we assume the correlation is linear. The formula does not hold for other kind of correlations like parabolic, exponential,..., etc.
</em>
Computing the correlation coefficient
: