Here is the file we are going to use for this problem:
external/sheets/Diamonds.xlsx
The price of diamonds is not just determined by size, but by multiple characteristics. For simplicity, in this example we will start with size. Create the scatterplot for the two variables “Price” and “Carat”.
(The solutions to all parts of this problem are here:
external/sheets/DiamondsSimpleLinearRegressionSolutions.xlsx
)(a)
Determine the least squares line. Interpret the slope coefficient.
(b)
According to your least squares line, what would you expect the price to be for a 5 carat diamond?
(c)
Compute the coefficient of correlation. What does it tell you about the relationship between the size of a diamond and the price?