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 (YY) and available quantities (XX) of a product in a market. YY is in hundreds of CFA francs, and XX 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:
X=[2,4,6,12,15,20,22,24,28,30]X = [2, 4, 6, 12, 15, 20, 22, 24, 28, 30]
Y=[98,90,84,72,64,62,55,54,45,40]Y = [98, 90, 84, 72, 64, 62, 55, 54, 45, 40]

2. Establish the equation of the regression line of Y on X.

The regression line equation is given by:
Y=a+bXY = a + bX
Where:
b=nXYXYnX2(X)2b = \frac{n\sum XY - \sum X \sum Y}{n\sum X^2 - (\sum X)^2}
a=YˉbXˉa = \bar{Y} - b\bar{X}
Calculate the required sums:
n=10n = 10
X=2+4+6+12+15+20+22+24+28+30=163\sum X = 2+4+6+12+15+20+22+24+28+30 = 163
Y=98+90+84+72+64+62+55+54+45+40=664\sum Y = 98+90+84+72+64+62+55+54+45+40 = 664
X2=22+42+62+122+152+202+222+242+282+302=3369\sum X^2 = 2^2+4^2+6^2+12^2+15^2+20^2+22^2+24^2+28^2+30^2 = 3369
XY=(298)+(490)+(684)+(1272)+(1564)+(2062)+(2255)+(2454)+(2845)+(3040)=9358\sum XY = (2*98)+(4*90)+(6*84)+(12*72)+(15*64)+(20*62)+(22*55)+(24*54)+(28*45)+(30*40) = 9358
Calculate Xˉ\bar{X} and Yˉ\bar{Y}:
Xˉ=Xn=16310=16.3\bar{X} = \frac{\sum X}{n} = \frac{163}{10} = 16.3
Yˉ=Yn=66410=66.4\bar{Y} = \frac{\sum Y}{n} = \frac{664}{10} = 66.4
Calculate bb:
b=1093581636641033691632=935801082323369026569=1465271212.0576b = \frac{10*9358 - 163*664}{10*3369 - 163^2} = \frac{93580 - 108232}{33690 - 26569} = \frac{-14652}{7121} \approx -2.0576
Calculate aa:
a=66.4(2.0576)16.3=66.4+33.539=99.939a = 66.4 - (-2.0576)*16.3 = 66.4 + 33.539 = 99.939
Therefore, the regression line equation is:
Y=99.9392.0576XY = 99.939 - 2.0576X

3. Calculate the linear correlation coefficient between the variables X and Y.

The correlation coefficient is given by:
r=nXYXY[nX2(X)2][nY2(Y)2]r = \frac{n\sum XY - \sum X \sum Y}{\sqrt{[n\sum X^2 - (\sum X)^2][n\sum Y^2 - (\sum Y)^2]}}
We already have:
n=10n = 10
X=163\sum X = 163
Y=664\sum Y = 664
X2=3369\sum X^2 = 3369
XY=9358\sum XY = 9358
Now we need to calculate Y2\sum Y^2:
Y2=982+902+842+722+642+622+552+542+452+402=47290\sum Y^2 = 98^2+90^2+84^2+72^2+64^2+62^2+55^2+54^2+45^2+40^2 = 47290
Calculate rr:
r=109358163664[1033691632][10472906642]=14652[7121][472900440896]=14652712132004=14652227890484=1465215096.040.9706r = \frac{10*9358 - 163*664}{\sqrt{[10*3369 - 163^2][10*47290 - 664^2]}} = \frac{-14652}{\sqrt{[7121][472900 - 440896]}} = \frac{-14652}{\sqrt{7121 * 32004}} = \frac{-14652}{\sqrt{227890484}} = \frac{-14652}{15096.04} \approx -0.9706
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$.

R2=r2=(0.9706)20.9421R^2 = r^2 = (-0.9706)^2 \approx 0.9421
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 Y=99.9392.0576XY = 99.939 - 2.0576X:
If X=5X = 5:
Y=99.9392.05765=99.93910.288=89.651Y = 99.939 - 2.0576 * 5 = 99.939 - 10.288 = 89.651
If X=26X = 26:
Y=99.9392.057626=99.93953.4976=46.4414Y = 99.939 - 2.0576 * 26 = 99.939 - 53.4976 = 46.4414

3. Final Answer

1. Scatter plot: Refer to the data points (X,Y) = (2,98), (4,90), (6,84), (12,72), (15,64), (20,62), (22,55), (24,54), (28,45), (30,40).

2. Regression line equation: $Y = 99.939 - 2.0576X$

3. Linear correlation coefficient: $r \approx -0.9706$. There is a strong negative correlation between X and Y.

4. Coefficient of determination: $R^2 \approx 0.9421$. About 94.21% of the variation in Y is explained by the variation in X.

5. Predicted price when $X = 5$: $Y \approx 89.65$ (hundreds of CFA francs). Predicted price when $X = 26$: $Y \approx 46.44$ (hundreds of CFA francs).

Related problems in "Probability and Statistics"

The problem provides a frequency distribution table of marks obtained by students. Part (a) requires...

ProbabilityConditional ProbabilityWithout ReplacementCombinations
2025/6/5

The problem is divided into two questions, question 10 and question 11. Question 10 is about the fre...

Frequency DistributionCumulative FrequencyOgivePercentileProbabilityConditional ProbabilityCombinations
2025/6/5

A number is selected at random from the integers 30 to 48 inclusive. We want to find the probability...

ProbabilityPrime NumbersDivisibility
2025/6/3

The problem describes a survey where 30 people answered about their favorite book genres. The result...

PercentagesData InterpretationPie ChartFractions
2025/6/1

The problem asks us to determine if there is a statistically significant difference in promotion rat...

Hypothesis TestingChi-Square TestContingency TableStatistical SignificanceIndependence
2025/6/1

We are given a contingency table showing the number of students from different majors (Psychology, B...

Chi-Square TestContingency TableStatistical InferenceHypothesis Testing
2025/6/1

The problem describes a scenario where a pizza company wants to determine if the number of different...

Chi-Square TestGoodness-of-Fit TestHypothesis TestingFrequency DistributionP-value
2025/6/1

The problem asks to test the significance of three chi-square tests given the sample size $N$, numbe...

Chi-square testStatistical SignificanceDegrees of FreedomEffect SizeCramer's VHypothesis Testing
2025/5/29

The problem asks us to compute the expected frequencies for the given contingency table. The conting...

Contingency TableExpected FrequenciesChi-squared Test
2025/5/29

The problem asks us to estimate the chi-square value when $n=23$ and $p=99$, given a table of chi-sq...

Chi-square distributionStatistical estimationInterpolation
2025/5/27