The problem provides a table of observed prices ($Y$) and available quantities ($X$) of a product in a market. $Y$ is in hundreds of CFA francs, and $X$ is the number of products. The problem asks to: 1. Plot the scatter plot of the data.
Probability and StatisticsRegression AnalysisLinear RegressionCorrelation CoefficientCoefficient of DeterminationScatter Plot
2025/6/7
1. Problem Description
The problem provides a table of observed prices () and available quantities () of a product in a market. is in hundreds of CFA francs, and is the number of products. The problem asks to:
1. Plot the scatter plot of the data.
2. Determine the equation of the regression line of $Y$ on $X$.
3. Calculate the linear correlation coefficient between $X$ and $Y$, and comment on the result.
4. Calculate the coefficient of determination $R^2$, and interpret the result.
5. Predict the price when the available quantity is 5 and
2
6.
2. Solution Steps
First, let's extract the data from the table:
2. Establish the equation of the regression line of Y on X.
The regression line equation is given by:
Where:
Calculate the required sums:
Calculate and :
Calculate :
Calculate :
Therefore, the regression line equation is:
3. Calculate the linear correlation coefficient between the variables X and Y.
The correlation coefficient is given by:
We already have:
Now we need to calculate :
Calculate :
The correlation coefficient is approximately -0.
9
7
0
6. This indicates a strong negative linear correlation between $X$ and $Y$. As $X$ increases, $Y$ tends to decrease significantly.
4. Calculate the coefficient of determination $R^2$.
The coefficient of determination is approximately 0.
9
4
2
1. This means that about 94.21% of the variance in $Y$ is explained by the variance in $X$. It confirms a strong linear relationship.
5. What price can be expected if the available quantity is 5, then if the available quantity is 26?
Using the regression equation :
If :
If :