You are on page 1of 2

b)

x y x-ẋ y-ẏ (x-ẋ)(y-ẏ) (x-ẋ)(x-ẋ) (y-ẏ)(y-ẏ)


12 250 10.14286 -591.429 -5998.78 102.8776 349787.8
8 300 6.142857 -841.429 -5168.78 37.73469 708002
6 330 4.142857 -511.429 -2118.78 17.16327 261559.2
5 400 3.142857 -441.429 -1387.35 9.877551 194859.2
4 490 2.142857 -351.429 -753.061 4.591837 123502
3 550 1.142857 -291.429 -333.061 1.306122 84930.61
2 630 0.142857 -211.429 -30.2041 0.020408 44702.04
1 700 -0.85714 -141.429 121.2245 0.734694 20002.04
0 890 -1.85714 48.57143 -90.2041 3.44898 2359.184
-1 1000 -2.85714 158.5714 -453.061 8.163265 25144.9
-2 1040 -3.85714 198.5714 -765.918 14.87755 39430.61
-3 1500 -4.85714 658.5714 -3198.78 23.59184 433716.3
-4 1800 -5.85714 958.5714 -5614.49 34.30612 918859.2
-5 1900 -6.85714 1058.571 -7258.78 47.02041 1120573
26 11780 -7.1E-15 -300 -33050 305.7143 4327429

ẋ=1.857142857

ẏ=841.4285714

sqrt(sum ((x-ẋ)(x-ẋ)))= 17.48469

sqrt(sum ((y-ẏ)(y-ẏ)))= 2080.247

r=(sum(x-ẋ)(y-ẏ))/(( sqrt(sum ((x-ẋ)(x-ẋ))))/( sqrt(sum ((y-ẏ)(y-ẏ)))))

r= -0.90865

Therefore there is a strong(high) negative correlation between minimum temperature at night and
the sale of woollen clothing in the day time.
a)

Minimum temperature at night and the sale of woollen clothing


in the day time.
2000

1800

1600
f(x) = − 102.08 x + 1031
R² = 0.811400
woollen clothes sold (kgs)

1200
woolen clothes sold in kgs
1000 Linear (woolen clothes sold in kgs)

800

600

400

200

0
-6 -4 -2 0 2 4 6 8 10 12 14
temperature (celcius)

c) Regression equation= Ŷ=bX+a

d) When X(ie temperature) =0 a (Y intercept) =1031

The slope is downward sloping as there is an inverse relationship between x and y

e) If the temperature drops to -10 degrees Celsius then the woollen clothes sold would be
approximately 2100 kgs.

f) Yes this data will be useful as it will help in predicting the sale of woollen clothing depending on
the forecasted weather conditions. Based on this data, companies can manufacture woollen clothes
to meet the market demand due to prevailing climate conditions. This data shows a very strong
negative correlation between temperature and the sale of woollen clothes during the winter season.

You might also like