Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
13 views21 pages

8 in Class Examples (Excel)

The document presents various regression analyses on sales data over multiple years, including statistics such as R Square and coefficients for different predictors. It also includes residual outputs and ANOVA tables for different models assessing the impact of factors like price and advertisement on demand, as well as experience on salary. Additionally, it provides a summary of sales data with calculated residuals and significance values.

Uploaded by

ke ke
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views21 pages

8 in Class Examples (Excel)

The document presents various regression analyses on sales data over multiple years, including statistics such as R Square and coefficients for different predictors. It also includes residual outputs and ANOVA tables for different models assessing the impact of factors like price and advertisement on demand, as well as experience on salary. Additionally, it provides a summary of sales data with calculated residuals and significance values.

Uploaded by

ke ke
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 21

Year Sales

1 4.8
2 4
3 5.5
4 15.6
5 23.1
6 23.3 sum of squared different residual1104.2497753
7 31.4 Sum of squared residual 1345.4535462
8 46 DW 0.8207267939
9 46.1
10 41.9
11 45.5
12 53.5
13 48.4
14 61.6
15 65.6
16 71.4
17 83.4
18 93.6
19 94.2
20 85.4
21 86.2
22 89.9
23 89.2
24 99.1
25 100.3
26 111.7
27 108.2
28 115.5
29 119.2
30 125.2
31 136.3
32 146.8
33 146.1
34 151.4
35 150.9

SUMMARY OUTPUT

Regression Statistics
Multiple R 0.98994167703
R Square 0.97998452393
Adjusted R Square 0.97937799435
Standard Error 6.38524232762
Observations 35
ANOVA
df SS MS F
Regression 1 65875.2081681 65875.2081680672 1615.7242111
Residual 33 1345.45354622 40.7713195823784
Total 34 67220.6617143

Coefficients Standard Error t Stat P-value


Intercept 0.40151260504 2.20570828974 0.182033411630373 0.8566701111
Year 4.2956302521 0.10686691583 40.1960720855648 1.306377E-29

RESIDUAL OUTPUT

Observation Predicted Sales Residuals


1 4.69714285714 0.10285714286
2 8.99277310924 -4.9927731092 25.9654476661253
3 13.2884033613 -7.7884033613 7.81554850646141
4 17.5840336134 -1.9840336134 33.6907081703269
5 21.8796638655 1.22033613445 10.2679854812513
6 26.1752941176 -2.8752941176 16.7741871619236
7 30.4709243697 0.92907563025 14.4732291787303
8 34.7665546218 11.2334453782 106.180035901419
9 39.0621848739 7.03781512605 17.6033132123438
10 43.3578151261 -1.4578151261 72.1757333804111
11 47.6534453782 -2.1534453782 0.48390144763787
12 51.9490756303 1.55092436975 13.7223552291505
13 56.2447058824 -7.8447058824 88.2778678341926
14 60.5403361345 1.05966386555 79.2878006073019
15 64.8359663866 0.76403361345 0.0873972459572161
16 69.1315966387 2.26840336134 2.26312833839423
17 73.4272268908 9.97277310924 59.3573132123438
18 77.7228571429 15.8771428571 34.8615821199065
19 82.018487395 12.181512605 13.6576829602428
20 86.3141176471 -0.9141176471 171.495531699739
21 90.6097478992 -4.4097478992 12.2194308594026
22 94.9053781513 -5.0053781513 0.354775397217701
23 99.2010084034 -10.001008403 24.9563216157052
24 103.496638655 -4.3966386555 31.4089602711673
25 107.792268908 -7.4922689076 9.58292665772186
26 112.08789916 -0.3878991597 50.4720695148647
27 116.383529412 -8.1835294118 60.7718510274697
28 120.679159664 -5.1791596639 9.02623758209167
29 124.974789916 -5.774789916 0.354775397217718
30 129.270420168 -4.0704201681 2.90487623755381
31 133.56605042 2.73394957983 46.2994476661255
32 137.861680672 8.93831932773 38.4942039686463
33 142.157310924 3.94268907563 24.9563216157052
34 146.452941176 4.94705882353 1.00875859049505
35 150.748571429 0.15142857143 22.998069514865
1104.24977527011
Significance F
1.306377E-29

Lower 95% Upper 95% Lower 95.0% Upper 95.0%


-4.0860346521 4.8890598622 -4.0860346521 4.8890598622
4.0782078771 4.5130526271 4.0782078771 4.5130526271
DEMAND (Y) PRICE (X1) ADVERTISEMENT (X2)
1190 $3.00 1
1033 $3.20 1
897 $3.40 1
789 $3.60 1
706 $3.80 1
595 $4.00 1
512 $4.20 1
433 $4.40 1
395 $4.60 1
304 $4.80 1
243 $5.00 1
1124 $3.00 0
974 $3.20 0
830 $3.40 0
702 $3.60 0
619 $3.80 0
529 $4.00 0
451 $4.20 0
359 $4.40 0
296 $4.60 0
247 $4.80 0
194 $5.00 0

SUMMARY OUTPUT

Regression Statistics
Multiple R 0.9875269091161
R Square 0.975209396228398
Adjusted R Square 0.972599858989282
Standard Error 49.8760928817437
Observations 22

ANOVA
df SS MS F
Regression 2 1859298.95 929649.475 373.70970669
Residual 19 47264.8681818182 2487.6246411
Total 21 1906563.81818182

Coefficients Standard Error t Stat P-value


Intercept 2400.18181818182 68.9137256839797 34.828792006 1.114578E-18
PRICE (X1) -456.295454545455 16.8132274805378 -27.139075771 1.165792E-16
ADVERTISEMENT (X2) 70.1818181818182 21.2672374628134 3.2999969227 0.003765377

RESIDUAL OUTPUT
Observation Predicted DEMAND (Y) Residuals
1 1101.47727272727 88.5227272727273
2 1010.21818181818 22.7818181818183
3 918.959090909091 -21.9590909090909
4 827.7 -38.7
5 736.440909090909 -30.4409090909093
6 645.181818181818 -50.1818181818182
7 553.922727272727 -41.9227272727272
8 462.663636363636 -29.6636363636362
9 371.404545454546 23.5954545454543
10 280.145454545455 23.8545454545453
11 188.886363636364 54.1136363636363
12 1031.29545454545 92.7045454545455
13 940.036363636364 33.9636363636365
14 848.777272727273 -18.7772727272727
15 757.518181818182 -55.5181818181818
16 666.259090909091 -47.259090909091
17 575 -46
18 483.740909090909 -32.740909090909
19 392.481818181818 -33.481818181818
20 301.222727272727 -5.22272727272747
21 209.963636363636 37.0363636363635
22 118.704545454546 75.2954545454545
Significance F
5.5683624E-16

Lower 95% Upper 95% Lower 95.0% Upper 95.0%


2255.9437326 2544.4199037 2255.9437326 2544.4199037
-491.48594409 -421.104965 -491.48594409 -421.104965
25.668978601 114.69465776 25.668978601 114.69465776
SALARY (Y) EXP (X)
20521 1
24833 2
22444 2
16105 3
20844 4
32562 7
33233 7
22210 8
33697 11
26075 11
32586 12
32303 12
38371 13
41154 15
38853 15
41983 16
50594 17
63022 18
58667 18
49727 18
54288 18
46216 19
52745 19
43076 19
65726 20
47780 20
51301 20
41721 20
39346 20
62308 20
56000 21
43628 21
71235 23
52624 23
36530 23
53610 24
65644 24
61581 25
67477 25
53272 25
66537 25
82641 26
65343 26
65929 26
80931 26
67282 27
70678 27
99139 28
79370 28
64785 28
SALES (Y) TRAFFIC (X1) CITY (X2)
6.3 59.3 1
6.6 60.3 1
7.6 82.1 1
3 32.3 1
9.5 98 1
5.9 54.1 1
6.1 54.4 1
5 51.3 1
3.6 36.7 1
2.8 23.6 2
6.7 57.6 2
5.2 44.6 2
82 75.8 3
5 48.3 3
3.9 41.4 3
5.4 52.5 3
4.1 41 3
3.1 29.6 3
5.4 49.5 3
8.4 73.1 4
9.5 81.3 4
8.7 72.4 4
10.6 88.4 4
3.3 23.2 4
Year Sales
1 4.8
2 4
3 5.5
4 15.6 sum of squared different residual969.89754644
5 23.1 Sum of squared residual 1148.1960593
6 23.3 DW 0.8447142268
7 31.4
8 46
9 46.1
10 41.9
11 45.5
12 53.5
13 48.4
14 61.6
15 65.6
16 71.4
17 83.4
18 93.6
19 94.2
20 85.4
21 86.2
22 89.9
23 89.2
24 99.1
25 100.3
26 111.7
27 108.2
28 115.5
29 119.2
30 125.2

SUMMARY OUTPUT

Regression Statistics
Multiple R 0.9854108032
R Square 0.97103445106
Adjusted R Square 0.96999996717
Standard Error 6.4036709877
Observations 30

ANOVA
df SS MS F
Regression 1 38491.8626073 38491.8626073415 938.66560876
Residual 28 1148.19605933 41.0070021187563
Total 29 39640.0586667

Coefficients Standard Error t Stat P-value


Intercept 2.14781609195 2.3980006659 0.89566951439793 0.3780651108
Year 4.13842046719 0.1350763013 30.63765018344 4.433848E-23

RESIDUAL OUTPUT

Observation Predicted Sales Residuals


1 6.28623655914 -1.4862365591
2 10.4246570263 -6.4246570263 24.3879967107192
3 14.5630774935 -9.0630774935 6.96126256166474
4 18.7014979607 -3.1014979607 35.5404305260696
5 22.8399184279 0.26008157212 11.3002169554356
6 26.9783388951 -3.6783388951 15.5111557763477
7 31.1167593623 0.28324063775 15.6941123948126
8 35.2551798294 10.7448201706 109.444646321398
9 39.3936002966 6.70639970337 16.3088398697848
10 43.5320207638 -1.6320207638 69.5292558875824
11 47.670441231 -2.170441231 0.289896599484539
12 51.8088616982 1.69113830182 14.9117964882498
13 55.9472821654 -7.5472821654 85.3484127285168
14 60.0857026326 1.51429736745 82.1122236295179
15 64.2241230997 1.37587690026 0.0191602257359241
16 68.3625435669 3.03745643307 2.7608465438672
17 72.5009640341 10.8990359659 61.8044327507636
18 76.6393845013 16.9606154987 36.7427464326324
19 80.7778049685 13.4221950315 12.5204194025991
20 84.9162254357 0.48377456433 167.402724185692
21 89.0546459029 -2.8546459029 11.1450512157248
22 93.19306637 -3.29306637 0.192212506047384
23 97.3314868372 -8.1314868372 23.410312617282
24 101.469907304 -2.3699073044 33.1957987129438
25 105.608327772 -5.3083277716 8.63431484197621
26 109.746748239 1.95325176122 52.7305373113869
27 113.885168706 -5.685168706 58.3454672335224
28 118.023589173 -2.5235891732 9.99558514230993
29 122.16200964 -2.9620096403 0.192212506047384
30 126.300430108 -1.1004301075 3.46547835699286
969.897546435107
Significance F
4.4338477E-23
Lower 95% Upper 95% Lower 95.0% Upper 95.0%
-2.7642655981 7.059897782 -2.7642655981 7.059897782
3.8617292069 4.4151117274 3.8617292069 4.4151117274

You might also like