Answer:
See below
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.
y as a function of x
(y=response variable, x=explanatory variable)
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)
Note: Be careful not to confuse
with
Performing our calculations we get:
So the equation of the line that relates y as a function of x is
y = 176.6061x + 0.3591
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)
Note: Be careful not to confuse
with
Remark: 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)
Computing our values, we get
and the line that relates x as a function of y is
x = 1068.1072y + 2.4861
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
In both cases the correlation coefficient r is the same and it can be computed with the formula:
Remark: 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.
Computing the correlation coefficient :