Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationTue, 15 Jan 2008 08:50:26 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Jan/15/t1200411981qo8t8r5al9onuhw.htm/, Retrieved Wed, 15 May 2024 03:22:51 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=14673, Retrieved Wed, 15 May 2024 03:22:51 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact304
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [] [2008-01-15 15:50:26] [ef257666c09b3678397177defae7fd99] [Current]
Feedback Forum

Post a new message
Dataseries X:
589	122302.01	100.01
606	109264.65	100.73
566	103674.75	100.46
487	103890.3	100.99
442	75512.66	100.8
463	83121.3	101.24
547	125096.81	101.05
432	74206.73	101.11
513	88481.63	100.86
602	111598.17	100.92
637	146919.48	101.43
913	150790.85	101.55
576	113780.5	101.49
634	110870.76	101.11
563	118785.32	100.43
513	112820.5	99.79
483	102188.92	99.09
477	97092.73	99.69
524	114067.82	100.08
470	89690.15	99.53
427	89267.9	99.58
537	96198.64	99.41
662	129599.75	99.5
1079	169424.7	100.42
816	152510.91	99.9
705	121850.2	100.02
653	144737.64	99.92
584	121381.88	99.55
508	106894.86	99.74
446	94305.06	99.76
604	116800.42	99.86
446	77584.28	99.75
512	100680.88	99.92
533	106634.05	99.86
791	168390.77	99.66
1206	211971.89	99.5
783	136163.28	99.28
567	168950.25	99.6
473	89816.88	100.15
412	85406.93	100.28
314	66055.52	100.44
323	73311.68	100.3
438	85674.51	100.87
429	82822.59	100.45
468	94277.63	100.64
518	100991.65	100.13
555	149245.88	99.9
816	208517.17	100.11
673	40733.51	99.14
593	121352.23	99.79
569	104020.11	100.31
505	99566.82	100.43
447	101352.17	100.92
433	106628.41	101.48
549	109696.95	101.64
553	248696.37	102.41
505	105628.33	102.74
601	120449.17	102.77
706	136547.7	102.37
852	140896.42	102
643	131509.91	102.45
448	95450.31	102.51
551	133592.64	102.34
476	110332.9	102.55
416	88110.54	102.25
331	64931.25	102.56
435	98446.22	102.8
395	84212.38	103.09
405	77519.55	102.65
619	124806.02	103.29
596	102185.94	104
889	151348.79	104.01
668	124378.28	103.59
555	101433.13	103.59
620	126724.22	103.84
472	87461.88	103.61
460	95288.27	103.76
417	129055.33	104.12
582	107753.06	103.95
525	96364.03	104.03
507	71662.75	104.52
750	125666.24	104.79
899	456841.51	104.91
1075	167642.32	105.1
993	167154.73	105.22
777	139685.18	105.64
675	119275.2	105.2
655	122746.05	105.19
535	107337.43	105.23
491	112584.89	105.22
686	133183.08	105.65
637	121152.57	105.93
652	119815.6	105.65
794	122858.44	106.55
859	152077.17	107.44
1049	157221.96	107.74
1022	140435.08	107.44
762	101455.09	108.2
762	104791.29	108.86
563	77226.59	108.82
573	84477.43	108.37
473	66227.74	108.35
527	89076.23	107.61
710	108924.43	107.98
630	83926.11	107.8
706	91764.8	107.44
870	120892.76	107.46
1069	129952.42	107.18
1021	135865.14	107.75
799	105512.77	108.28
694	96486.62	108.64
521	78064.88	108.52
622	92370.22	108.58
614	98454.46	108.09
661	96703.93	108.68
630	83170.95	109.18




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\begin{tabular}{lllllllll}
\hline
Summary of compuational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14673&T=0

[TABLE]
[ROW][C]Summary of compuational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14673&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14673&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
omzet[t] = + 351434.690358891 + 157.708811974345aantal[t] -3229.20992140079koers[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
omzet[t] =  +  351434.690358891 +  157.708811974345aantal[t] -3229.20992140079koers[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14673&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]omzet[t] =  +  351434.690358891 +  157.708811974345aantal[t] -3229.20992140079koers[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14673&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14673&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Multiple Linear Regression - Estimated Regression Equation
omzet[t] = + 351434.690358891 + 157.708811974345aantal[t] -3229.20992140079koers[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)351434.690358891115174.9217023.05130.002840.00142
aantal157.70881197434520.0505457.865600
koers-3229.209921400791152.682171-2.80150.0059860.002993

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Ordinary Least Squares \tabularnewline
Variable & Parameter & S.D. & T-STATH0: parameter = 0 & 2-tail p-value & 1-tail p-value \tabularnewline
(Intercept) & 351434.690358891 & 115174.921702 & 3.0513 & 0.00284 & 0.00142 \tabularnewline
aantal & 157.708811974345 & 20.050545 & 7.8656 & 0 & 0 \tabularnewline
koers & -3229.20992140079 & 1152.682171 & -2.8015 & 0.005986 & 0.002993 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14673&T=2

[TABLE]
[ROW][C]Multiple Linear Regression - Ordinary Least Squares[/C][/ROW]
[ROW][C]Variable[/C][C]Parameter[/C][C]S.D.[/C][C]T-STATH0: parameter = 0[/C][C]2-tail p-value[/C][C]1-tail p-value[/C][/ROW]
[ROW][C](Intercept)[/C][C]351434.690358891[/C][C]115174.921702[/C][C]3.0513[/C][C]0.00284[/C][C]0.00142[/C][/ROW]
[ROW][C]aantal[/C][C]157.708811974345[/C][C]20.050545[/C][C]7.8656[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]koers[/C][C]-3229.20992140079[/C][C]1152.682171[/C][C]-2.8015[/C][C]0.005986[/C][C]0.002993[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14673&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14673&T=2

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)351434.690358891115174.9217023.05130.002840.00142
aantal157.70881197434520.0505457.865600
koers-3229.209921400791152.682171-2.80150.0059860.002993







Multiple Linear Regression - Regression Statistics
Multiple R0.594886203238485
R-squared0.3538895948035
Adjusted R-squared0.342454012410642
F-TEST (value)30.946355213575
F-TEST (DF numerator)2
F-TEST (DF denominator)113
p-value1.9157120334512e-11
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation36132.9729289891
Sum Squared Residuals147531865793.637

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.594886203238485 \tabularnewline
R-squared & 0.3538895948035 \tabularnewline
Adjusted R-squared & 0.342454012410642 \tabularnewline
F-TEST (value) & 30.946355213575 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 113 \tabularnewline
p-value & 1.9157120334512e-11 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 36132.9729289891 \tabularnewline
Sum Squared Residuals & 147531865793.637 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14673&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.594886203238485[/C][/ROW]
[ROW][C]R-squared[/C][C]0.3538895948035[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.342454012410642[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]30.946355213575[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]2[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]113[/C][/ROW]
[ROW][C]p-value[/C][C]1.9157120334512e-11[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]36132.9729289891[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]147531865793.637[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14673&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14673&T=3

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Multiple Linear Regression - Regression Statistics
Multiple R0.594886203238485
R-squared0.3538895948035
Adjusted R-squared0.342454012410642
F-TEST (value)30.946355213575
F-TEST (DF numerator)2
F-TEST (DF denominator)113
p-value1.9157120334512e-11
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation36132.9729289891
Sum Squared Residuals147531865793.637







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1122302.01121371.896372487930.113627513356
2109264.65121727.915032643-12463.2650326426
3103674.75116291.449232447-12616.6992324468
4103890.3102120.9718281311769.32817186889
575512.6695637.6251743517-20124.9651743517
683121.397528.6578603966-14407.3578603966
7125096.81111389.74795130813707.0620486923
874206.7393059.481978974-18852.7519789741
988481.63106641.198229246-18159.5682292462
10111598.17120483.529899679-8885.35989967878
11146919.48124356.44125886622563.0387411336
12150790.85167496.568173217-16705.7181732175
13113780.5114542.451133147-761.95113314739
14110870.76124916.661997792-14045.9019977917
15118785.32115915.1990941662870.12090583429
16112820.5110096.4528451452724.04715485501
17102188.92107625.635430895-5436.71543089522
1897092.73104741.856606209-7649.1266062087
19114067.82110894.7788996573173.04110034343
2089690.15104154.568509812-14464.4185098124
2189267.997211.6290988455-7943.72909884555
2296198.64115108.564102662-18909.9241026616
23129599.75134531.536706529-4931.78670652859
24169424.7197325.238172142-27900.5381721416
25152510.91157527.009782017-5016.09978201734
26121850.2139633.826462297-17783.6264622970
27144737.64131755.88923177112981.7507682289
28121381.88122068.788876460-686.908876459676
29106894.86109469.369281343-2574.50928134334
3094305.0699626.838740506-5321.77874050593
31116800.42124221.910040312-7421.49004031232
3277584.2899659.13083972-22074.8508397199
33100680.88109518.946743389-8838.06674338855
34106634.05113024.584390134-6390.53439013385
35168390.77154359.29986379514031.4701362050
36211971.89220325.130420572-8353.24042057208
37136163.28154324.729138132-18161.4491381325
38168950.25119226.27857682649723.9714231742
3989816.88102625.584794467-12808.7047944669
4085406.9392585.5499742498-7178.61997424981
4166055.5276613.4128133399-10557.8928133399
4273311.6878484.8815101051-5173.20151010514
4385674.5194780.7452319563-9106.23523195629
4482822.5994717.6340911755-11895.0440911755
4594277.63100254.727873109-5977.09787310882
46100991.65109787.065531740-8795.41553174049
47149245.88116365.00985671332880.8701432866
48208517.17156848.87569852351668.2943014768
4940733.51137428.849209951-96695.3392099507
50121352.23122713.157803093-1360.92780309257
51104020.11117248.95715658-13228.8471565799
5299566.82106768.087999654-7201.26799965372
53101352.1796038.66404365545313.50595634464
54106628.4192022.3831200314606.0268799699
55109696.95109799.93172163-102.981721629949
56248696.37107944.275330049140752.094669951
57105628.3399308.6130812186319.71691878208
58120449.17114351.7827331136097.38726688701
59136547.7132202.8919589794344.80804102054
60140896.42156423.186178152-15526.7661781521
61131509.91122008.9000108849501.00998911631
6295450.3191061.92908060244388.38091939757
63133592.64107854.90240059825737.7375994019
64110332.995348.60741902814984.2925809719
6588110.5486854.84167698761255.69832301237
6664931.2572448.5375835341-7517.28758353408
6798446.2288075.243647729710370.9763522703
6884212.3880830.42029154973381.95970845029
6977519.5583828.3607767095-6308.8107767095
70124806.02115511.3521895239294.66781047726
71102185.94109591.310469918-7405.37046991827
72151348.79155767.700279187-4418.91027918722
73124378.28122270.3209998452107.95900015459
74101433.13104449.225246744-3016.09524674445
75126724.22113892.99554472712831.2244552733
7687461.8891294.8096544459-3832.92965444584
7795288.2788917.92242254366370.34757745643
78129055.3380973.927935942548081.4020640575
79107753.06107544.847598347208.212401652519
8096364.0398297.1085220978-1933.07852209777
8171662.7593876.0370450732-22213.2870450732
82125666.24131327.391676061-5661.1516760607
83456841.51154438.49946967302403.01053033
84167642.32181581.700492089-13939.3804920885
85167154.73168262.072719624-1107.34271962412
86139685.18132840.7011661776844.47883382264
87119275.2118175.2547102111099.94528978946
88122746.05115053.3705699387692.67943006233
89107337.4395999.144736160311338.2852638397
90112584.8989092.249108503123492.6408914969
91133183.08118456.90717729814726.1728227020
92121152.57109824.99661256311327.5733874372
93119815.6113094.8075701706720.79242982976
94122858.44132583.169941267-9724.7299412665
95152077.17139960.24588955212116.9241104478
96157221.96168956.157188257-11734.1971882575
97140435.08165666.782241370-25231.7022413704
98101455.09122208.291587776-20753.2015877761
99104791.29120077.013039652-15285.7230396516
10077226.5988822.127853613-11595.5378536131
10184477.4391852.3604379869-7374.93043798687
10266227.7476146.0634389804-9918.32343898044
10389076.2387051.95462743162024.27537256837
104108924.43114717.859547818-5793.4295478184
10583926.11102682.412375723-18756.3023757230
10691764.8115830.797657477-24065.9976574775
107120892.76141630.458622842-20737.698622842
108129952.42173918.690983729-43966.2709837287
109135865.14164508.018353762-28642.8783537618
110105512.77127785.180837115-22272.4108371148
11196486.62110063.240008104-13576.6200081044
11278064.8883167.1207271108-5102.24072711084
11392370.2298901.9581412356-6531.7381412356
11498454.4699222.6005069272-768.140506927211
11596703.93104729.680816095-8025.75081609495
11683170.9598226.1026841899-15055.1526841899

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 122302.01 & 121371.896372487 & 930.113627513356 \tabularnewline
2 & 109264.65 & 121727.915032643 & -12463.2650326426 \tabularnewline
3 & 103674.75 & 116291.449232447 & -12616.6992324468 \tabularnewline
4 & 103890.3 & 102120.971828131 & 1769.32817186889 \tabularnewline
5 & 75512.66 & 95637.6251743517 & -20124.9651743517 \tabularnewline
6 & 83121.3 & 97528.6578603966 & -14407.3578603966 \tabularnewline
7 & 125096.81 & 111389.747951308 & 13707.0620486923 \tabularnewline
8 & 74206.73 & 93059.481978974 & -18852.7519789741 \tabularnewline
9 & 88481.63 & 106641.198229246 & -18159.5682292462 \tabularnewline
10 & 111598.17 & 120483.529899679 & -8885.35989967878 \tabularnewline
11 & 146919.48 & 124356.441258866 & 22563.0387411336 \tabularnewline
12 & 150790.85 & 167496.568173217 & -16705.7181732175 \tabularnewline
13 & 113780.5 & 114542.451133147 & -761.95113314739 \tabularnewline
14 & 110870.76 & 124916.661997792 & -14045.9019977917 \tabularnewline
15 & 118785.32 & 115915.199094166 & 2870.12090583429 \tabularnewline
16 & 112820.5 & 110096.452845145 & 2724.04715485501 \tabularnewline
17 & 102188.92 & 107625.635430895 & -5436.71543089522 \tabularnewline
18 & 97092.73 & 104741.856606209 & -7649.1266062087 \tabularnewline
19 & 114067.82 & 110894.778899657 & 3173.04110034343 \tabularnewline
20 & 89690.15 & 104154.568509812 & -14464.4185098124 \tabularnewline
21 & 89267.9 & 97211.6290988455 & -7943.72909884555 \tabularnewline
22 & 96198.64 & 115108.564102662 & -18909.9241026616 \tabularnewline
23 & 129599.75 & 134531.536706529 & -4931.78670652859 \tabularnewline
24 & 169424.7 & 197325.238172142 & -27900.5381721416 \tabularnewline
25 & 152510.91 & 157527.009782017 & -5016.09978201734 \tabularnewline
26 & 121850.2 & 139633.826462297 & -17783.6264622970 \tabularnewline
27 & 144737.64 & 131755.889231771 & 12981.7507682289 \tabularnewline
28 & 121381.88 & 122068.788876460 & -686.908876459676 \tabularnewline
29 & 106894.86 & 109469.369281343 & -2574.50928134334 \tabularnewline
30 & 94305.06 & 99626.838740506 & -5321.77874050593 \tabularnewline
31 & 116800.42 & 124221.910040312 & -7421.49004031232 \tabularnewline
32 & 77584.28 & 99659.13083972 & -22074.8508397199 \tabularnewline
33 & 100680.88 & 109518.946743389 & -8838.06674338855 \tabularnewline
34 & 106634.05 & 113024.584390134 & -6390.53439013385 \tabularnewline
35 & 168390.77 & 154359.299863795 & 14031.4701362050 \tabularnewline
36 & 211971.89 & 220325.130420572 & -8353.24042057208 \tabularnewline
37 & 136163.28 & 154324.729138132 & -18161.4491381325 \tabularnewline
38 & 168950.25 & 119226.278576826 & 49723.9714231742 \tabularnewline
39 & 89816.88 & 102625.584794467 & -12808.7047944669 \tabularnewline
40 & 85406.93 & 92585.5499742498 & -7178.61997424981 \tabularnewline
41 & 66055.52 & 76613.4128133399 & -10557.8928133399 \tabularnewline
42 & 73311.68 & 78484.8815101051 & -5173.20151010514 \tabularnewline
43 & 85674.51 & 94780.7452319563 & -9106.23523195629 \tabularnewline
44 & 82822.59 & 94717.6340911755 & -11895.0440911755 \tabularnewline
45 & 94277.63 & 100254.727873109 & -5977.09787310882 \tabularnewline
46 & 100991.65 & 109787.065531740 & -8795.41553174049 \tabularnewline
47 & 149245.88 & 116365.009856713 & 32880.8701432866 \tabularnewline
48 & 208517.17 & 156848.875698523 & 51668.2943014768 \tabularnewline
49 & 40733.51 & 137428.849209951 & -96695.3392099507 \tabularnewline
50 & 121352.23 & 122713.157803093 & -1360.92780309257 \tabularnewline
51 & 104020.11 & 117248.95715658 & -13228.8471565799 \tabularnewline
52 & 99566.82 & 106768.087999654 & -7201.26799965372 \tabularnewline
53 & 101352.17 & 96038.6640436554 & 5313.50595634464 \tabularnewline
54 & 106628.41 & 92022.38312003 & 14606.0268799699 \tabularnewline
55 & 109696.95 & 109799.93172163 & -102.981721629949 \tabularnewline
56 & 248696.37 & 107944.275330049 & 140752.094669951 \tabularnewline
57 & 105628.33 & 99308.613081218 & 6319.71691878208 \tabularnewline
58 & 120449.17 & 114351.782733113 & 6097.38726688701 \tabularnewline
59 & 136547.7 & 132202.891958979 & 4344.80804102054 \tabularnewline
60 & 140896.42 & 156423.186178152 & -15526.7661781521 \tabularnewline
61 & 131509.91 & 122008.900010884 & 9501.00998911631 \tabularnewline
62 & 95450.31 & 91061.9290806024 & 4388.38091939757 \tabularnewline
63 & 133592.64 & 107854.902400598 & 25737.7375994019 \tabularnewline
64 & 110332.9 & 95348.607419028 & 14984.2925809719 \tabularnewline
65 & 88110.54 & 86854.8416769876 & 1255.69832301237 \tabularnewline
66 & 64931.25 & 72448.5375835341 & -7517.28758353408 \tabularnewline
67 & 98446.22 & 88075.2436477297 & 10370.9763522703 \tabularnewline
68 & 84212.38 & 80830.4202915497 & 3381.95970845029 \tabularnewline
69 & 77519.55 & 83828.3607767095 & -6308.8107767095 \tabularnewline
70 & 124806.02 & 115511.352189523 & 9294.66781047726 \tabularnewline
71 & 102185.94 & 109591.310469918 & -7405.37046991827 \tabularnewline
72 & 151348.79 & 155767.700279187 & -4418.91027918722 \tabularnewline
73 & 124378.28 & 122270.320999845 & 2107.95900015459 \tabularnewline
74 & 101433.13 & 104449.225246744 & -3016.09524674445 \tabularnewline
75 & 126724.22 & 113892.995544727 & 12831.2244552733 \tabularnewline
76 & 87461.88 & 91294.8096544459 & -3832.92965444584 \tabularnewline
77 & 95288.27 & 88917.9224225436 & 6370.34757745643 \tabularnewline
78 & 129055.33 & 80973.9279359425 & 48081.4020640575 \tabularnewline
79 & 107753.06 & 107544.847598347 & 208.212401652519 \tabularnewline
80 & 96364.03 & 98297.1085220978 & -1933.07852209777 \tabularnewline
81 & 71662.75 & 93876.0370450732 & -22213.2870450732 \tabularnewline
82 & 125666.24 & 131327.391676061 & -5661.1516760607 \tabularnewline
83 & 456841.51 & 154438.49946967 & 302403.01053033 \tabularnewline
84 & 167642.32 & 181581.700492089 & -13939.3804920885 \tabularnewline
85 & 167154.73 & 168262.072719624 & -1107.34271962412 \tabularnewline
86 & 139685.18 & 132840.701166177 & 6844.47883382264 \tabularnewline
87 & 119275.2 & 118175.254710211 & 1099.94528978946 \tabularnewline
88 & 122746.05 & 115053.370569938 & 7692.67943006233 \tabularnewline
89 & 107337.43 & 95999.1447361603 & 11338.2852638397 \tabularnewline
90 & 112584.89 & 89092.2491085031 & 23492.6408914969 \tabularnewline
91 & 133183.08 & 118456.907177298 & 14726.1728227020 \tabularnewline
92 & 121152.57 & 109824.996612563 & 11327.5733874372 \tabularnewline
93 & 119815.6 & 113094.807570170 & 6720.79242982976 \tabularnewline
94 & 122858.44 & 132583.169941267 & -9724.7299412665 \tabularnewline
95 & 152077.17 & 139960.245889552 & 12116.9241104478 \tabularnewline
96 & 157221.96 & 168956.157188257 & -11734.1971882575 \tabularnewline
97 & 140435.08 & 165666.782241370 & -25231.7022413704 \tabularnewline
98 & 101455.09 & 122208.291587776 & -20753.2015877761 \tabularnewline
99 & 104791.29 & 120077.013039652 & -15285.7230396516 \tabularnewline
100 & 77226.59 & 88822.127853613 & -11595.5378536131 \tabularnewline
101 & 84477.43 & 91852.3604379869 & -7374.93043798687 \tabularnewline
102 & 66227.74 & 76146.0634389804 & -9918.32343898044 \tabularnewline
103 & 89076.23 & 87051.9546274316 & 2024.27537256837 \tabularnewline
104 & 108924.43 & 114717.859547818 & -5793.4295478184 \tabularnewline
105 & 83926.11 & 102682.412375723 & -18756.3023757230 \tabularnewline
106 & 91764.8 & 115830.797657477 & -24065.9976574775 \tabularnewline
107 & 120892.76 & 141630.458622842 & -20737.698622842 \tabularnewline
108 & 129952.42 & 173918.690983729 & -43966.2709837287 \tabularnewline
109 & 135865.14 & 164508.018353762 & -28642.8783537618 \tabularnewline
110 & 105512.77 & 127785.180837115 & -22272.4108371148 \tabularnewline
111 & 96486.62 & 110063.240008104 & -13576.6200081044 \tabularnewline
112 & 78064.88 & 83167.1207271108 & -5102.24072711084 \tabularnewline
113 & 92370.22 & 98901.9581412356 & -6531.7381412356 \tabularnewline
114 & 98454.46 & 99222.6005069272 & -768.140506927211 \tabularnewline
115 & 96703.93 & 104729.680816095 & -8025.75081609495 \tabularnewline
116 & 83170.95 & 98226.1026841899 & -15055.1526841899 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14673&T=4

[TABLE]
[ROW][C]Multiple Linear Regression - Actuals, Interpolation, and Residuals[/C][/ROW]
[ROW][C]Time or Index[/C][C]Actuals[/C][C]InterpolationForecast[/C][C]ResidualsPrediction Error[/C][/ROW]
[ROW][C]1[/C][C]122302.01[/C][C]121371.896372487[/C][C]930.113627513356[/C][/ROW]
[ROW][C]2[/C][C]109264.65[/C][C]121727.915032643[/C][C]-12463.2650326426[/C][/ROW]
[ROW][C]3[/C][C]103674.75[/C][C]116291.449232447[/C][C]-12616.6992324468[/C][/ROW]
[ROW][C]4[/C][C]103890.3[/C][C]102120.971828131[/C][C]1769.32817186889[/C][/ROW]
[ROW][C]5[/C][C]75512.66[/C][C]95637.6251743517[/C][C]-20124.9651743517[/C][/ROW]
[ROW][C]6[/C][C]83121.3[/C][C]97528.6578603966[/C][C]-14407.3578603966[/C][/ROW]
[ROW][C]7[/C][C]125096.81[/C][C]111389.747951308[/C][C]13707.0620486923[/C][/ROW]
[ROW][C]8[/C][C]74206.73[/C][C]93059.481978974[/C][C]-18852.7519789741[/C][/ROW]
[ROW][C]9[/C][C]88481.63[/C][C]106641.198229246[/C][C]-18159.5682292462[/C][/ROW]
[ROW][C]10[/C][C]111598.17[/C][C]120483.529899679[/C][C]-8885.35989967878[/C][/ROW]
[ROW][C]11[/C][C]146919.48[/C][C]124356.441258866[/C][C]22563.0387411336[/C][/ROW]
[ROW][C]12[/C][C]150790.85[/C][C]167496.568173217[/C][C]-16705.7181732175[/C][/ROW]
[ROW][C]13[/C][C]113780.5[/C][C]114542.451133147[/C][C]-761.95113314739[/C][/ROW]
[ROW][C]14[/C][C]110870.76[/C][C]124916.661997792[/C][C]-14045.9019977917[/C][/ROW]
[ROW][C]15[/C][C]118785.32[/C][C]115915.199094166[/C][C]2870.12090583429[/C][/ROW]
[ROW][C]16[/C][C]112820.5[/C][C]110096.452845145[/C][C]2724.04715485501[/C][/ROW]
[ROW][C]17[/C][C]102188.92[/C][C]107625.635430895[/C][C]-5436.71543089522[/C][/ROW]
[ROW][C]18[/C][C]97092.73[/C][C]104741.856606209[/C][C]-7649.1266062087[/C][/ROW]
[ROW][C]19[/C][C]114067.82[/C][C]110894.778899657[/C][C]3173.04110034343[/C][/ROW]
[ROW][C]20[/C][C]89690.15[/C][C]104154.568509812[/C][C]-14464.4185098124[/C][/ROW]
[ROW][C]21[/C][C]89267.9[/C][C]97211.6290988455[/C][C]-7943.72909884555[/C][/ROW]
[ROW][C]22[/C][C]96198.64[/C][C]115108.564102662[/C][C]-18909.9241026616[/C][/ROW]
[ROW][C]23[/C][C]129599.75[/C][C]134531.536706529[/C][C]-4931.78670652859[/C][/ROW]
[ROW][C]24[/C][C]169424.7[/C][C]197325.238172142[/C][C]-27900.5381721416[/C][/ROW]
[ROW][C]25[/C][C]152510.91[/C][C]157527.009782017[/C][C]-5016.09978201734[/C][/ROW]
[ROW][C]26[/C][C]121850.2[/C][C]139633.826462297[/C][C]-17783.6264622970[/C][/ROW]
[ROW][C]27[/C][C]144737.64[/C][C]131755.889231771[/C][C]12981.7507682289[/C][/ROW]
[ROW][C]28[/C][C]121381.88[/C][C]122068.788876460[/C][C]-686.908876459676[/C][/ROW]
[ROW][C]29[/C][C]106894.86[/C][C]109469.369281343[/C][C]-2574.50928134334[/C][/ROW]
[ROW][C]30[/C][C]94305.06[/C][C]99626.838740506[/C][C]-5321.77874050593[/C][/ROW]
[ROW][C]31[/C][C]116800.42[/C][C]124221.910040312[/C][C]-7421.49004031232[/C][/ROW]
[ROW][C]32[/C][C]77584.28[/C][C]99659.13083972[/C][C]-22074.8508397199[/C][/ROW]
[ROW][C]33[/C][C]100680.88[/C][C]109518.946743389[/C][C]-8838.06674338855[/C][/ROW]
[ROW][C]34[/C][C]106634.05[/C][C]113024.584390134[/C][C]-6390.53439013385[/C][/ROW]
[ROW][C]35[/C][C]168390.77[/C][C]154359.299863795[/C][C]14031.4701362050[/C][/ROW]
[ROW][C]36[/C][C]211971.89[/C][C]220325.130420572[/C][C]-8353.24042057208[/C][/ROW]
[ROW][C]37[/C][C]136163.28[/C][C]154324.729138132[/C][C]-18161.4491381325[/C][/ROW]
[ROW][C]38[/C][C]168950.25[/C][C]119226.278576826[/C][C]49723.9714231742[/C][/ROW]
[ROW][C]39[/C][C]89816.88[/C][C]102625.584794467[/C][C]-12808.7047944669[/C][/ROW]
[ROW][C]40[/C][C]85406.93[/C][C]92585.5499742498[/C][C]-7178.61997424981[/C][/ROW]
[ROW][C]41[/C][C]66055.52[/C][C]76613.4128133399[/C][C]-10557.8928133399[/C][/ROW]
[ROW][C]42[/C][C]73311.68[/C][C]78484.8815101051[/C][C]-5173.20151010514[/C][/ROW]
[ROW][C]43[/C][C]85674.51[/C][C]94780.7452319563[/C][C]-9106.23523195629[/C][/ROW]
[ROW][C]44[/C][C]82822.59[/C][C]94717.6340911755[/C][C]-11895.0440911755[/C][/ROW]
[ROW][C]45[/C][C]94277.63[/C][C]100254.727873109[/C][C]-5977.09787310882[/C][/ROW]
[ROW][C]46[/C][C]100991.65[/C][C]109787.065531740[/C][C]-8795.41553174049[/C][/ROW]
[ROW][C]47[/C][C]149245.88[/C][C]116365.009856713[/C][C]32880.8701432866[/C][/ROW]
[ROW][C]48[/C][C]208517.17[/C][C]156848.875698523[/C][C]51668.2943014768[/C][/ROW]
[ROW][C]49[/C][C]40733.51[/C][C]137428.849209951[/C][C]-96695.3392099507[/C][/ROW]
[ROW][C]50[/C][C]121352.23[/C][C]122713.157803093[/C][C]-1360.92780309257[/C][/ROW]
[ROW][C]51[/C][C]104020.11[/C][C]117248.95715658[/C][C]-13228.8471565799[/C][/ROW]
[ROW][C]52[/C][C]99566.82[/C][C]106768.087999654[/C][C]-7201.26799965372[/C][/ROW]
[ROW][C]53[/C][C]101352.17[/C][C]96038.6640436554[/C][C]5313.50595634464[/C][/ROW]
[ROW][C]54[/C][C]106628.41[/C][C]92022.38312003[/C][C]14606.0268799699[/C][/ROW]
[ROW][C]55[/C][C]109696.95[/C][C]109799.93172163[/C][C]-102.981721629949[/C][/ROW]
[ROW][C]56[/C][C]248696.37[/C][C]107944.275330049[/C][C]140752.094669951[/C][/ROW]
[ROW][C]57[/C][C]105628.33[/C][C]99308.613081218[/C][C]6319.71691878208[/C][/ROW]
[ROW][C]58[/C][C]120449.17[/C][C]114351.782733113[/C][C]6097.38726688701[/C][/ROW]
[ROW][C]59[/C][C]136547.7[/C][C]132202.891958979[/C][C]4344.80804102054[/C][/ROW]
[ROW][C]60[/C][C]140896.42[/C][C]156423.186178152[/C][C]-15526.7661781521[/C][/ROW]
[ROW][C]61[/C][C]131509.91[/C][C]122008.900010884[/C][C]9501.00998911631[/C][/ROW]
[ROW][C]62[/C][C]95450.31[/C][C]91061.9290806024[/C][C]4388.38091939757[/C][/ROW]
[ROW][C]63[/C][C]133592.64[/C][C]107854.902400598[/C][C]25737.7375994019[/C][/ROW]
[ROW][C]64[/C][C]110332.9[/C][C]95348.607419028[/C][C]14984.2925809719[/C][/ROW]
[ROW][C]65[/C][C]88110.54[/C][C]86854.8416769876[/C][C]1255.69832301237[/C][/ROW]
[ROW][C]66[/C][C]64931.25[/C][C]72448.5375835341[/C][C]-7517.28758353408[/C][/ROW]
[ROW][C]67[/C][C]98446.22[/C][C]88075.2436477297[/C][C]10370.9763522703[/C][/ROW]
[ROW][C]68[/C][C]84212.38[/C][C]80830.4202915497[/C][C]3381.95970845029[/C][/ROW]
[ROW][C]69[/C][C]77519.55[/C][C]83828.3607767095[/C][C]-6308.8107767095[/C][/ROW]
[ROW][C]70[/C][C]124806.02[/C][C]115511.352189523[/C][C]9294.66781047726[/C][/ROW]
[ROW][C]71[/C][C]102185.94[/C][C]109591.310469918[/C][C]-7405.37046991827[/C][/ROW]
[ROW][C]72[/C][C]151348.79[/C][C]155767.700279187[/C][C]-4418.91027918722[/C][/ROW]
[ROW][C]73[/C][C]124378.28[/C][C]122270.320999845[/C][C]2107.95900015459[/C][/ROW]
[ROW][C]74[/C][C]101433.13[/C][C]104449.225246744[/C][C]-3016.09524674445[/C][/ROW]
[ROW][C]75[/C][C]126724.22[/C][C]113892.995544727[/C][C]12831.2244552733[/C][/ROW]
[ROW][C]76[/C][C]87461.88[/C][C]91294.8096544459[/C][C]-3832.92965444584[/C][/ROW]
[ROW][C]77[/C][C]95288.27[/C][C]88917.9224225436[/C][C]6370.34757745643[/C][/ROW]
[ROW][C]78[/C][C]129055.33[/C][C]80973.9279359425[/C][C]48081.4020640575[/C][/ROW]
[ROW][C]79[/C][C]107753.06[/C][C]107544.847598347[/C][C]208.212401652519[/C][/ROW]
[ROW][C]80[/C][C]96364.03[/C][C]98297.1085220978[/C][C]-1933.07852209777[/C][/ROW]
[ROW][C]81[/C][C]71662.75[/C][C]93876.0370450732[/C][C]-22213.2870450732[/C][/ROW]
[ROW][C]82[/C][C]125666.24[/C][C]131327.391676061[/C][C]-5661.1516760607[/C][/ROW]
[ROW][C]83[/C][C]456841.51[/C][C]154438.49946967[/C][C]302403.01053033[/C][/ROW]
[ROW][C]84[/C][C]167642.32[/C][C]181581.700492089[/C][C]-13939.3804920885[/C][/ROW]
[ROW][C]85[/C][C]167154.73[/C][C]168262.072719624[/C][C]-1107.34271962412[/C][/ROW]
[ROW][C]86[/C][C]139685.18[/C][C]132840.701166177[/C][C]6844.47883382264[/C][/ROW]
[ROW][C]87[/C][C]119275.2[/C][C]118175.254710211[/C][C]1099.94528978946[/C][/ROW]
[ROW][C]88[/C][C]122746.05[/C][C]115053.370569938[/C][C]7692.67943006233[/C][/ROW]
[ROW][C]89[/C][C]107337.43[/C][C]95999.1447361603[/C][C]11338.2852638397[/C][/ROW]
[ROW][C]90[/C][C]112584.89[/C][C]89092.2491085031[/C][C]23492.6408914969[/C][/ROW]
[ROW][C]91[/C][C]133183.08[/C][C]118456.907177298[/C][C]14726.1728227020[/C][/ROW]
[ROW][C]92[/C][C]121152.57[/C][C]109824.996612563[/C][C]11327.5733874372[/C][/ROW]
[ROW][C]93[/C][C]119815.6[/C][C]113094.807570170[/C][C]6720.79242982976[/C][/ROW]
[ROW][C]94[/C][C]122858.44[/C][C]132583.169941267[/C][C]-9724.7299412665[/C][/ROW]
[ROW][C]95[/C][C]152077.17[/C][C]139960.245889552[/C][C]12116.9241104478[/C][/ROW]
[ROW][C]96[/C][C]157221.96[/C][C]168956.157188257[/C][C]-11734.1971882575[/C][/ROW]
[ROW][C]97[/C][C]140435.08[/C][C]165666.782241370[/C][C]-25231.7022413704[/C][/ROW]
[ROW][C]98[/C][C]101455.09[/C][C]122208.291587776[/C][C]-20753.2015877761[/C][/ROW]
[ROW][C]99[/C][C]104791.29[/C][C]120077.013039652[/C][C]-15285.7230396516[/C][/ROW]
[ROW][C]100[/C][C]77226.59[/C][C]88822.127853613[/C][C]-11595.5378536131[/C][/ROW]
[ROW][C]101[/C][C]84477.43[/C][C]91852.3604379869[/C][C]-7374.93043798687[/C][/ROW]
[ROW][C]102[/C][C]66227.74[/C][C]76146.0634389804[/C][C]-9918.32343898044[/C][/ROW]
[ROW][C]103[/C][C]89076.23[/C][C]87051.9546274316[/C][C]2024.27537256837[/C][/ROW]
[ROW][C]104[/C][C]108924.43[/C][C]114717.859547818[/C][C]-5793.4295478184[/C][/ROW]
[ROW][C]105[/C][C]83926.11[/C][C]102682.412375723[/C][C]-18756.3023757230[/C][/ROW]
[ROW][C]106[/C][C]91764.8[/C][C]115830.797657477[/C][C]-24065.9976574775[/C][/ROW]
[ROW][C]107[/C][C]120892.76[/C][C]141630.458622842[/C][C]-20737.698622842[/C][/ROW]
[ROW][C]108[/C][C]129952.42[/C][C]173918.690983729[/C][C]-43966.2709837287[/C][/ROW]
[ROW][C]109[/C][C]135865.14[/C][C]164508.018353762[/C][C]-28642.8783537618[/C][/ROW]
[ROW][C]110[/C][C]105512.77[/C][C]127785.180837115[/C][C]-22272.4108371148[/C][/ROW]
[ROW][C]111[/C][C]96486.62[/C][C]110063.240008104[/C][C]-13576.6200081044[/C][/ROW]
[ROW][C]112[/C][C]78064.88[/C][C]83167.1207271108[/C][C]-5102.24072711084[/C][/ROW]
[ROW][C]113[/C][C]92370.22[/C][C]98901.9581412356[/C][C]-6531.7381412356[/C][/ROW]
[ROW][C]114[/C][C]98454.46[/C][C]99222.6005069272[/C][C]-768.140506927211[/C][/ROW]
[ROW][C]115[/C][C]96703.93[/C][C]104729.680816095[/C][C]-8025.75081609495[/C][/ROW]
[ROW][C]116[/C][C]83170.95[/C][C]98226.1026841899[/C][C]-15055.1526841899[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14673&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14673&T=4

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1122302.01121371.896372487930.113627513356
2109264.65121727.915032643-12463.2650326426
3103674.75116291.449232447-12616.6992324468
4103890.3102120.9718281311769.32817186889
575512.6695637.6251743517-20124.9651743517
683121.397528.6578603966-14407.3578603966
7125096.81111389.74795130813707.0620486923
874206.7393059.481978974-18852.7519789741
988481.63106641.198229246-18159.5682292462
10111598.17120483.529899679-8885.35989967878
11146919.48124356.44125886622563.0387411336
12150790.85167496.568173217-16705.7181732175
13113780.5114542.451133147-761.95113314739
14110870.76124916.661997792-14045.9019977917
15118785.32115915.1990941662870.12090583429
16112820.5110096.4528451452724.04715485501
17102188.92107625.635430895-5436.71543089522
1897092.73104741.856606209-7649.1266062087
19114067.82110894.7788996573173.04110034343
2089690.15104154.568509812-14464.4185098124
2189267.997211.6290988455-7943.72909884555
2296198.64115108.564102662-18909.9241026616
23129599.75134531.536706529-4931.78670652859
24169424.7197325.238172142-27900.5381721416
25152510.91157527.009782017-5016.09978201734
26121850.2139633.826462297-17783.6264622970
27144737.64131755.88923177112981.7507682289
28121381.88122068.788876460-686.908876459676
29106894.86109469.369281343-2574.50928134334
3094305.0699626.838740506-5321.77874050593
31116800.42124221.910040312-7421.49004031232
3277584.2899659.13083972-22074.8508397199
33100680.88109518.946743389-8838.06674338855
34106634.05113024.584390134-6390.53439013385
35168390.77154359.29986379514031.4701362050
36211971.89220325.130420572-8353.24042057208
37136163.28154324.729138132-18161.4491381325
38168950.25119226.27857682649723.9714231742
3989816.88102625.584794467-12808.7047944669
4085406.9392585.5499742498-7178.61997424981
4166055.5276613.4128133399-10557.8928133399
4273311.6878484.8815101051-5173.20151010514
4385674.5194780.7452319563-9106.23523195629
4482822.5994717.6340911755-11895.0440911755
4594277.63100254.727873109-5977.09787310882
46100991.65109787.065531740-8795.41553174049
47149245.88116365.00985671332880.8701432866
48208517.17156848.87569852351668.2943014768
4940733.51137428.849209951-96695.3392099507
50121352.23122713.157803093-1360.92780309257
51104020.11117248.95715658-13228.8471565799
5299566.82106768.087999654-7201.26799965372
53101352.1796038.66404365545313.50595634464
54106628.4192022.3831200314606.0268799699
55109696.95109799.93172163-102.981721629949
56248696.37107944.275330049140752.094669951
57105628.3399308.6130812186319.71691878208
58120449.17114351.7827331136097.38726688701
59136547.7132202.8919589794344.80804102054
60140896.42156423.186178152-15526.7661781521
61131509.91122008.9000108849501.00998911631
6295450.3191061.92908060244388.38091939757
63133592.64107854.90240059825737.7375994019
64110332.995348.60741902814984.2925809719
6588110.5486854.84167698761255.69832301237
6664931.2572448.5375835341-7517.28758353408
6798446.2288075.243647729710370.9763522703
6884212.3880830.42029154973381.95970845029
6977519.5583828.3607767095-6308.8107767095
70124806.02115511.3521895239294.66781047726
71102185.94109591.310469918-7405.37046991827
72151348.79155767.700279187-4418.91027918722
73124378.28122270.3209998452107.95900015459
74101433.13104449.225246744-3016.09524674445
75126724.22113892.99554472712831.2244552733
7687461.8891294.8096544459-3832.92965444584
7795288.2788917.92242254366370.34757745643
78129055.3380973.927935942548081.4020640575
79107753.06107544.847598347208.212401652519
8096364.0398297.1085220978-1933.07852209777
8171662.7593876.0370450732-22213.2870450732
82125666.24131327.391676061-5661.1516760607
83456841.51154438.49946967302403.01053033
84167642.32181581.700492089-13939.3804920885
85167154.73168262.072719624-1107.34271962412
86139685.18132840.7011661776844.47883382264
87119275.2118175.2547102111099.94528978946
88122746.05115053.3705699387692.67943006233
89107337.4395999.144736160311338.2852638397
90112584.8989092.249108503123492.6408914969
91133183.08118456.90717729814726.1728227020
92121152.57109824.99661256311327.5733874372
93119815.6113094.8075701706720.79242982976
94122858.44132583.169941267-9724.7299412665
95152077.17139960.24588955212116.9241104478
96157221.96168956.157188257-11734.1971882575
97140435.08165666.782241370-25231.7022413704
98101455.09122208.291587776-20753.2015877761
99104791.29120077.013039652-15285.7230396516
10077226.5988822.127853613-11595.5378536131
10184477.4391852.3604379869-7374.93043798687
10266227.7476146.0634389804-9918.32343898044
10389076.2387051.95462743162024.27537256837
104108924.43114717.859547818-5793.4295478184
10583926.11102682.412375723-18756.3023757230
10691764.8115830.797657477-24065.9976574775
107120892.76141630.458622842-20737.698622842
108129952.42173918.690983729-43966.2709837287
109135865.14164508.018353762-28642.8783537618
110105512.77127785.180837115-22272.4108371148
11196486.62110063.240008104-13576.6200081044
11278064.8883167.1207271108-5102.24072711084
11392370.2298901.9581412356-6531.7381412356
11498454.4699222.6005069272-768.140506927211
11596703.93104729.680816095-8025.75081609495
11683170.9598226.1026841899-15055.1526841899



Parameters (Session):
par1 = 2 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ; par4 = FALSE ;
Parameters (R input):
par1 = 2 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
R code (references can be found in the software module):
library(lattice)
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT
H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation
Forecast', 1, TRUE)
a<-table.element(a, 'Residuals
Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')