Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
22 views

Assignment No 3

The document contains sales data and corresponding price data for 10 products. It calculates summary statistics including the mean, standard deviation, and coefficient of variation for sales and prices. It also calculates the correlation coefficient between sales and prices. Finally, it performs linear regression to estimate the linear relationship between sales and prices and between prices and sales.

Uploaded by

Tejas Kumbhar
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views

Assignment No 3

The document contains sales data and corresponding price data for 10 products. It calculates summary statistics including the mean, standard deviation, and coefficient of variation for sales and prices. It also calculates the correlation coefficient between sales and prices. Finally, it performs linear regression to estimate the linear relationship between sales and prices and between prices and sales.

Uploaded by

Tejas Kumbhar
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 15

X Y

Sales Price
50 100
61 90
70 85
63 92
67 92
80 84
75 90
60 95
55 98
80 88

MEAN 66.10 91.40


Standard Deviation 9.68 4.92
Coefficient of Variation 14.64 5.39

Correlation coefficient -0.87

Coefficient of Determinant 0.76 75.98


ayx 120.71
X Y byx -0.4434
Sales Price Estimated Price Error term 105
50 100 98.54 1.46
100
61 90 93.66 -3.66
70 85 89.67 -4.67 95
f(x) = − 0.443377094673925
63 92 92.78 -0.78 R² = 0.759813717522889
67 92 91.00 1.00 90
80 84 85.24 -1.24
75 90 87.45 2.55 85

60 95 94.11 0.89
80
55 98 96.32 1.68
80 88 85.24 2.76 75
110 71.94 45 50 55 60 65

Price = 120.71-0.4434 X Sales

axy 222.73 85
Y X bxy -1.7137
Price Sales Estimated Sales Error term 80
100 50 51.36 1.36
90 61 68.497 7.497
f(x) = − 1.71369636963696 x +
85 70 77.0655 7.0655
75 R² = 0.759813717522889
92 63 65.0696 2.0696
70
92 67 65.0696 -1.9304
84 80 78.7792 -1.2208
90 75 68.497 -6.503 65
95 60 59.9285 -0.0715
98 55 54.7874 -0.2126 60
88 80 71.9244 -8.0756
55

50

45
82 84 86 88 90 92
55

50
Sales = 222.73 - 1.7137 X Price

45
82 84 86 88 90 92

ayx 120.71
X Y byx -0.4434
Sales Price Estimated value Error Term
50 100 98.54 1.46
61 90 93.66 -3.66
70 85 89.67 -4.67
63 92 92.78 -0.78 105

67 92 91.00 1.00
100
80 84 85.24 -1.24
f(x) = − 0.443377094673925 x + 12
75 90 87.45 2.55 95 R² = 0.759813717522889
60 95 94.11 0.89
55 98 96.32 1.68 90
80 88 85.24 2.76
100 76.37 85

80
Price=120.71-0.4434 x Sales
75
45 50 55 60 65
443377094673925 x + 120.707225957946
9813717522889

60 65 70 75 80 85

369636963696 x + 222.731848184819
13717522889

88 90 92 94 96 98 100 102
88 90 92 94 96 98 100 102

x) = − 0.443377094673925 x + 120.707225957946
= 0.759813717522889

55 60 65 70 75 80 85
ayx 37.231 105
byx 0.5761
X Y Estimated Value Error term
100
87 88 87.35 0.65
84 79 85.62 1.62
88 83 87.93 -0.07 95
102 97 95.99 -6.01
101 96 95.42 -5.58
84 90 90
85.62 1.62
72 82 78.71 6.71
84 84 85.62 1.62 85
83 88 85.05 2.05
98 100 93.69 -4.31
97 80 93.11 -3.89 80

100 102 94.84 -5.16


110 100.60 -9.40 75
60 65 70

Y = 37.231 + 0.5761 * X

Karl Pearson Correlation coefficient 0.68


105

100

95 f(x) = 0.576131687242798 x + 37.2314814814815


R² = 0.462944510136507

90

85

80

75
60 65 70 75 80 85 90 95 100 105
ayx 56.58 40

byx 1.8082 f(x) = − 1.80


R² = 0.9682
Price Demand Estimated Demand Error term 35
15 30 29.46 0.54
12 35 34.88 0.12 30
10 38 38.50 -0.50
16 28 27.65 0.35 25
11 36 36.69 -0.69
14 32 31.27 0.73
20
20 22 20.42 1.58
17 25 25.84 -0.84
13 34 33.07 0.93 15

19 20 22.22 -2.22
18 24.03 10
5 7 9 11

DEMAND = 56.58 - 1.8082 X PRICE

axy 30.765
bxy 0.5355
Demand Price Estimated Price Error term 21
30 15 14.70 0.30 f(x) = − 0.535502
19
35 12 12.02 -0.02 R² = 0.968292062
38 10 10.42 -0.42 17
28 16 15.77 0.23
36 11 11.49 -0.49 15
32 14 13.63 0.37
13
22 20 18.98 1.02
25 17 17.38 -0.38 11
34 13 12.56 0.44
20 19 20.06 -1.05 9
31 14.16
7

5
15 20 25
PRICE = 30.765 - 0.5355 X DEMAND

Karl Pearson Correlation -0.98


f(x) = − 1.80819180819181 x + 56.5804195804196
R² = 0.968292062966619

7 9 11 13 15 17 19 21

f(x) = − 0.535502958579882 x + 30.7650887573964


R² = 0.968292062966619

20 25 30 35 40
ayx 3.8224
byx 0.4526
Sales Profit Estimated Profit Error term 26
25 12 15.14 3.14
24 f(x) = 0.452562326869806 x + 3.82236842
20 15 12.87 -2.13 R² = 0.788139855055079
38 18 21.02 3.02 22
46 25 24.64 -0.36
34 20 19.21 -0.79 20
42 22 22.83 0.83
18
28 16 16.50 0.50
33 20 18.76 -1.24 16
40 24 21.93 -2.07
36 21 20.12 -0.88 14
35 19.66
12

Profit = 3.8224 + 0.4526 x Sales 10


15 20 25 30 35

axy 0.5889
bxy 1.7415
Profit Sales Estimated Sales Error term 50
12 25 21.49 -3.51
15 20 26.71 6.71 45
18 38 31.94 -6.06 f(x) = 1.74150566289141 x + 0.58
25 46 44.13 -1.87 40 R² = 0.788139855055079
20 34 35.42 1.42
22 42 38.90 -3.10 35
16 28 28.45 0.45
20 33 35.42 2.42 30

24 40 42.38 2.38
25
21 36 37.16 1.16
17 30.1944
20

Sales = 0.5889 + 1.7415 X Profit


15
10 12 14 16 18

Karl Pearson Correlation 0.89


.452562326869806 x + 3.82236842105264
788139855055079

25 30 35 40 45 50

1.74150566289141 x + 0.588940706195864
788139855055079

14 16 18 20 22 24 26
Subject A Subject B R1 R2 d d^2
55 60 5.5 4 1.5 2.25 n
62 62 2.5 2 0.5 0.25 m1(5.5)
68 67 1 1 0 0 m2(2.5)
45 60 9 4 5 25 m3(4)
30 45 10 10 0 0 m4(7.5)
55 50 5.5 7.5 -2 4 Summation m
50 48 7 9 -2 4
62 60 2.5 4 -1.5 2.25
58 55 4 6 -2 4 (n^3-n)
49 50 8 7.5 0.5 0.25
42 R

sum of d-square and (m^3-m)/12 45.5


Since Speramans rank correlation coefficient is 0.72
There is positive correlation between the Subjet A and B
10 (m^3-m)/12
2 0.5
2 0.5
3 2
2 0.5
3.5

990

0.72
X Y R1 R2 d d^2
30 35 3.5 5.5 -2 4
17 31 9.5 9 0.5 0.25
35 43 2 3 -1 1
28 46 6 2 4 16
42 50 1 1 0 0
25 32 8 8 0 0
17 33 9.5 7 2.5 6.25
28 42 6 4 2 4
30 30 3.5 10 -6.5 42.25
28 35 6 5.5 0.5 0.25
74

sum of D^2 and (m^3-m)/12 77.5


Since Speramans rank correlation coefficient is 0.53
There is positive correlation between the X and Y
n 10
m1(3.5) 2 0.5
m2(9.5) 2 0.5
m3(6) 3 2
m4(5.5) 2 0.5
Summation m 3.5

(n^3-n) 990

R 0.53

oefficient is 0.53

You might also like