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 04:18:39 -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/t1200395762spwspmzml31gh0f.htm/, Retrieved Wed, 15 May 2024 06:48:37 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=7953, Retrieved Wed, 15 May 2024 06:48:37 +0000
QR Codes:

Original text written by user:This is model 1
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact275
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [ahi computation 1] [2008-01-15 11:18:39] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
106	87	1	65.3
2.2	70	1	65.73
62.3	75	1	69.44
14.7	79	1	73.74
5	64.5	1	74.31
74.4	75	0	70.53
66.1	70	0	69.42
22	67	1	69.77
3.4	52	0	65.47
0.3	67.2	1	66.2
53.2	47	0	70.46
0	46.4	0	74.44
57.2	76	0	69.28
9.2	71.6	1	67.67
15.9	63.8	1	67.22
17.6	48.2	1	64.85
21	64.5	1	71.35
7.6	75.9	1	72.28
71.6	80	1	71.87
12.9	56	1	67.34
10.5	75.5	0	73.5
25.7	77	1	64.91
26.8	88	0	68.13
7.3	48	0	72.5
17.1	73	1	72.36
27.3	72	1	70.59
16.5	64	1	74.76
5.4	76	0	65.63
5.6	67.4	1	67.04
36.5	73.7	1	66.72
1.1	59.2	0	65.8
3.9	53	0	72.44
34.2	41.9	1	71.83
40.3	65.5	1	72.67
15.6	63	1	69.56
15.5	54	0	67
52.9	77.7	0	68.86
1.6	47.6	0	71.25
14.2	53.1	1	69.88
7.5	55.5	1	67.18
2	64	1	67.47
71.4	75.6	1	73.2
3.2	57	0	69.6
20	63	0	71.24
2.8	59.5	1	73.83
15.3	84.5	1	66.07
8	59.9	0	70.68
36.6	60	1	74.01
3.8	64	0	68.53
25.5	54	0	66.72
3.2	53.8	0	72.69
33.1	84	1	67.46
42	63.2	0	73.81
16.2	54.3	1	72.96
0	60	0	71.65
22.7	68	1	72.79
36.4	74	1	73.83
69	74	1	66.74
11.2	68.5	1	65.62
12.5	76	0	66.18
51.7	83	0	67.78
3.6	62.5	0	68.84
22.2	57	1	65.27
39.2	85	1	72.84
27.9	50	1	75.36
58.8	53	1	76.88
1	57	0	76.51
4.7	46	1	80.63
25.6	65.4	1	75.27
5.3	71.4	1	81.19
38.7	41	1	81.3
31.6	66	1	77.77
19.3	69.5	1	75.51
26.5	59	1	78.64
12.8	80	1	80.68
18.3	72	1	77.4
13.2	73	0	80.71
36	66.4	0	83.16
34.1	37	0	87.99
71.5	70	1	72.21
43.3	75	1	70.24
47.7	54	1	66.06
74.9	76.2	1	68.67
0.9	74.9	1	68.77
35.9	98	1	68.07
45.8	86.5	0	67.33
54.2	72.8	1	69.47
34	65	1	70.81
7.9	50	1	73.17
54.5	81	1	71.28
8.2	52	0	69.47
49.3	68	1	65.31
46.9	58.5	1	70.23
16.8	65.5	1	73.23
2.8	62.5	0	68.67
60.9	64	1	72.66
5.6	55.7	0	74.79
6.6	84	1	73.04
22.9	63.7	1	69.95
51.1	65	0	67.51
23.3	87.5	0	67.5
11.5	79	1	71.32
79.1	58.5	0	71.23
53.6	75	1	67.49
1.5	52.5	0	68.62
40.4	57.5	1	72.53
25.4	70	1	66.67
6.7	72	1	66.19
76	88	1	78.4
0.6	58	1	75.67
43.4	73	1	76.07
13	56	1	82.88
27.8	49	0	77.14
6.5	54.7	0	77.31
7.1	67	1	76.58
6	47	0	82.86
6.5	47	0	76.64




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001

\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 & 6 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7953&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]6 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7953&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7953&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 time6 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Multiple Linear Regression - Estimated Regression Equation
y[t] = -27.7993617757784 + 0.636634723316394weight[t] + 3.6296660508344sex[t] + 0.138881643908525age[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
y[t] =  -27.7993617757784 +  0.636634723316394weight[t] +  3.6296660508344sex[t] +  0.138881643908525age[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7953&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]y[t] =  -27.7993617757784 +  0.636634723316394weight[t] +  3.6296660508344sex[t] +  0.138881643908525age[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7953&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7953&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
y[t] = -27.7993617757784 + 0.636634723316394weight[t] + 3.6296660508344sex[t] + 0.138881643908525age[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-27.799361775778437.180281-0.74770.45620.2281
weight0.6366347233163940.181333.51090.0006430.000321
sex3.62966605083444.3238990.83940.4029930.201497
age0.1388816439085250.4482810.30980.7572760.378638

\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) & -27.7993617757784 & 37.180281 & -0.7477 & 0.4562 & 0.2281 \tabularnewline
weight & 0.636634723316394 & 0.18133 & 3.5109 & 0.000643 & 0.000321 \tabularnewline
sex & 3.6296660508344 & 4.323899 & 0.8394 & 0.402993 & 0.201497 \tabularnewline
age & 0.138881643908525 & 0.448281 & 0.3098 & 0.757276 & 0.378638 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7953&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]-27.7993617757784[/C][C]37.180281[/C][C]-0.7477[/C][C]0.4562[/C][C]0.2281[/C][/ROW]
[ROW][C]weight[/C][C]0.636634723316394[/C][C]0.18133[/C][C]3.5109[/C][C]0.000643[/C][C]0.000321[/C][/ROW]
[ROW][C]sex[/C][C]3.6296660508344[/C][C]4.323899[/C][C]0.8394[/C][C]0.402993[/C][C]0.201497[/C][/ROW]
[ROW][C]age[/C][C]0.138881643908525[/C][C]0.448281[/C][C]0.3098[/C][C]0.757276[/C][C]0.378638[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7953&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7953&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)-27.799361775778437.180281-0.74770.45620.2281
weight0.6366347233163940.181333.51090.0006430.000321
sex3.62966605083444.3238990.83940.4029930.201497
age0.1388816439085250.4482810.30980.7572760.378638







Multiple Linear Regression - Regression Statistics
Multiple R0.352240964423445
R-squared0.124073697017958
Adjusted R-squared0.100819016407816
F-TEST (value)5.33542898730859
F-TEST (DF numerator)3
F-TEST (DF denominator)113
p-value0.00178719413098405
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation21.7585082448743
Sum Squared Residuals53497.8929577759

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.352240964423445 \tabularnewline
R-squared & 0.124073697017958 \tabularnewline
Adjusted R-squared & 0.100819016407816 \tabularnewline
F-TEST (value) & 5.33542898730859 \tabularnewline
F-TEST (DF numerator) & 3 \tabularnewline
F-TEST (DF denominator) & 113 \tabularnewline
p-value & 0.00178719413098405 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 21.7585082448743 \tabularnewline
Sum Squared Residuals & 53497.8929577759 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7953&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.352240964423445[/C][/ROW]
[ROW][C]R-squared[/C][C]0.124073697017958[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.100819016407816[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]5.33542898730859[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]3[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]113[/C][/ROW]
[ROW][C]p-value[/C][C]0.00178719413098405[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]21.7585082448743[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]53497.8929577759[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7953&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7953&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.352240964423445
R-squared0.124073697017958
Adjusted R-squared0.100819016407816
F-TEST (value)5.33542898730859
F-TEST (DF numerator)3
F-TEST (DF denominator)113
p-value0.00178719413098405
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation21.7585082448743
Sum Squared Residuals53497.8929577759







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
110640.286496550808965.7135034491911
22.229.5234253613109-27.3234253613109
362.333.221849876793529.0781501232065
414.736.3655798388657-21.6655798388657
5527.2135388878059-22.2135388878059
674.429.743564817819444.6564351821806
766.126.406232576499039.693767423501
82228.1746030327522-6.17460303275217
93.414.3982250633652-10.9982250633652
100.327.8061225086620-27.5061225086620
1153.211.908070849886841.2919291501132
12012.0788389586529-12.0788389586529
1357.230.206597486250126.9934025137499
149.230.8114713077997-21.6114713077997
1515.925.783223726173-9.88322372617298
1617.615.52257254637402.07742745362598
172126.8024492218367-5.80244922183666
187.634.1892449964785-26.5892449964785
1971.636.742505888073234.8574941119268
2012.920.8341386815741-7.93413868157412
2110.530.4743606618859-19.9743606618859
2225.733.8659854765207-8.16598547652068
2326.837.6865002755521-10.8865002755521
247.312.8280241267766-5.52802412677656
2517.132.3541148303736-15.2541148303736
2627.331.4716595973391-4.17165959733914
2716.526.9577182659065-10.4577182659065
285.429.699679485984-24.2996794859840
295.628.0501100342085-22.4501100342085
3036.532.0164666650514.48353333494899
311.119.0278260137331-17.9278260137331
323.916.0028648447240-12.1028648447240
3334.212.481167663962221.7188323360378
3440.327.622407715112312.6775922848877
3515.625.5988989942658-9.9988989942658
3615.515.8839834251780-0.383983425178034
3752.931.230546225446421.6694537745536
381.612.3997681825644-10.7997681825644
3914.219.3406573594842-5.14065735948423
407.520.4936002568906-12.9936002568906
41225.9452710818134-23.9452710818134
4271.434.126025691879437.2739743081206
433.218.1549798692894-14.9549798692894
442022.2025541051977-2.20255410519773
452.823.9637020821478-21.1637020821478
4615.338.8018486083275-23.5018486083275
47820.1512127423281-12.1512127423281
4836.624.307018139709612.2929818602904
493.822.4628195735220-18.6628195735220
5025.515.84509656488369.65490343511635
513.216.5468930343543-13.3468930343543
5233.138.6765767317022-5.57657673170218
534222.686806874705919.3131931252941
5416.220.5323744907022-4.33237449070216
55020.3495914092510-20.3495914092510
5622.729.2306603206723-6.53066032067232
5736.433.19490557023553.20509442976445
586932.210234714924136.7897652850759
5911.228.5531962955064-17.3531962955064
6012.529.7760643901337-17.2760643901337
6151.734.454718083602117.2452819163979
623.621.5509207981591-17.9509207981591
6322.221.18328840199991.01671159800013
6439.240.0603946992464-0.860394699246439
6527.918.12816112582219.77183887417787
6658.820.249165394512338.5508346054877
67119.1146520286973-18.1146520286973
684.716.3135284959545-11.6135284959545
6925.627.9198365169428-2.31983651694283
705.332.5618241887797-27.2618241887797
7138.713.223405580791225.4765944192088
7231.628.6490214607042.95097853929602
7319.330.5633704770781-11.2633704770781
7426.524.31340542768962.18659457231036
7512.837.9660531709073-25.1660531709073
7618.332.4174435923562-14.1174435923562
7713.229.8841105061754-16.6841105061754
783626.02258135986319.9774186401369
7934.17.9763188344392926.1236811655607
8071.530.423378413838241.0766215861618
8143.333.33295519192039.96704480807966
8247.719.383100730738428.3168992692616
8374.933.878872678963641.0211273210364
840.933.0651357030432-32.1651357030432
8535.947.6741806609159-11.7741806609159
8645.836.62044287545079.17955712454934
8754.231.825419934814722.3745800651853
883427.04577049578436.95422950421575
897.917.8240103256625-9.92401032566246
9054.537.297200441483617.2027995585164
918.214.9537516389993-6.75375163899931
9249.328.191825624236521.1081743757635
9346.922.827093440760724.0729065592393
9416.827.7001814357011-10.9001814357011
952.821.5273109186946-18.7273109186946
9660.926.666066813698634.2339331863014
975.618.0481504608633-12.4481504608633
986.639.4515363047118-32.8515363047118
9922.926.0987071417116-3.19870714171161
10051.122.957795020051728.1422049799483
10123.337.2806874782315-13.9806874782315
10211.536.0294862606071-24.5294862606071
10379.119.336309033834959.7636909661651
10453.632.951030671171920.6489693288281
1051.515.1540196033353-13.6540196033353
10640.422.509886498434017.8901135015660
10725.429.6539741065849-4.25397410658493
1086.730.8605803641416-24.1605803641416
1097642.74248080932733.257519190673
1100.623.2642922219649-22.6642922219649
11143.432.869365729274310.5306342707258
1121322.9923594279126-9.9923594279126
11327.814.109069677828513.6909303221715
1146.517.7614974801964-11.2614974801964
1157.129.1203870277692-22.0203870277692
116613.6302032343525-7.63020323435249
1176.512.7663594092415-6.26635940924146

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 106 & 40.2864965508089 & 65.7135034491911 \tabularnewline
2 & 2.2 & 29.5234253613109 & -27.3234253613109 \tabularnewline
3 & 62.3 & 33.2218498767935 & 29.0781501232065 \tabularnewline
4 & 14.7 & 36.3655798388657 & -21.6655798388657 \tabularnewline
5 & 5 & 27.2135388878059 & -22.2135388878059 \tabularnewline
6 & 74.4 & 29.7435648178194 & 44.6564351821806 \tabularnewline
7 & 66.1 & 26.4062325764990 & 39.693767423501 \tabularnewline
8 & 22 & 28.1746030327522 & -6.17460303275217 \tabularnewline
9 & 3.4 & 14.3982250633652 & -10.9982250633652 \tabularnewline
10 & 0.3 & 27.8061225086620 & -27.5061225086620 \tabularnewline
11 & 53.2 & 11.9080708498868 & 41.2919291501132 \tabularnewline
12 & 0 & 12.0788389586529 & -12.0788389586529 \tabularnewline
13 & 57.2 & 30.2065974862501 & 26.9934025137499 \tabularnewline
14 & 9.2 & 30.8114713077997 & -21.6114713077997 \tabularnewline
15 & 15.9 & 25.783223726173 & -9.88322372617298 \tabularnewline
16 & 17.6 & 15.5225725463740 & 2.07742745362598 \tabularnewline
17 & 21 & 26.8024492218367 & -5.80244922183666 \tabularnewline
18 & 7.6 & 34.1892449964785 & -26.5892449964785 \tabularnewline
19 & 71.6 & 36.7425058880732 & 34.8574941119268 \tabularnewline
20 & 12.9 & 20.8341386815741 & -7.93413868157412 \tabularnewline
21 & 10.5 & 30.4743606618859 & -19.9743606618859 \tabularnewline
22 & 25.7 & 33.8659854765207 & -8.16598547652068 \tabularnewline
23 & 26.8 & 37.6865002755521 & -10.8865002755521 \tabularnewline
24 & 7.3 & 12.8280241267766 & -5.52802412677656 \tabularnewline
25 & 17.1 & 32.3541148303736 & -15.2541148303736 \tabularnewline
26 & 27.3 & 31.4716595973391 & -4.17165959733914 \tabularnewline
27 & 16.5 & 26.9577182659065 & -10.4577182659065 \tabularnewline
28 & 5.4 & 29.699679485984 & -24.2996794859840 \tabularnewline
29 & 5.6 & 28.0501100342085 & -22.4501100342085 \tabularnewline
30 & 36.5 & 32.016466665051 & 4.48353333494899 \tabularnewline
31 & 1.1 & 19.0278260137331 & -17.9278260137331 \tabularnewline
32 & 3.9 & 16.0028648447240 & -12.1028648447240 \tabularnewline
33 & 34.2 & 12.4811676639622 & 21.7188323360378 \tabularnewline
34 & 40.3 & 27.6224077151123 & 12.6775922848877 \tabularnewline
35 & 15.6 & 25.5988989942658 & -9.9988989942658 \tabularnewline
36 & 15.5 & 15.8839834251780 & -0.383983425178034 \tabularnewline
37 & 52.9 & 31.2305462254464 & 21.6694537745536 \tabularnewline
38 & 1.6 & 12.3997681825644 & -10.7997681825644 \tabularnewline
39 & 14.2 & 19.3406573594842 & -5.14065735948423 \tabularnewline
40 & 7.5 & 20.4936002568906 & -12.9936002568906 \tabularnewline
41 & 2 & 25.9452710818134 & -23.9452710818134 \tabularnewline
42 & 71.4 & 34.1260256918794 & 37.2739743081206 \tabularnewline
43 & 3.2 & 18.1549798692894 & -14.9549798692894 \tabularnewline
44 & 20 & 22.2025541051977 & -2.20255410519773 \tabularnewline
45 & 2.8 & 23.9637020821478 & -21.1637020821478 \tabularnewline
46 & 15.3 & 38.8018486083275 & -23.5018486083275 \tabularnewline
47 & 8 & 20.1512127423281 & -12.1512127423281 \tabularnewline
48 & 36.6 & 24.3070181397096 & 12.2929818602904 \tabularnewline
49 & 3.8 & 22.4628195735220 & -18.6628195735220 \tabularnewline
50 & 25.5 & 15.8450965648836 & 9.65490343511635 \tabularnewline
51 & 3.2 & 16.5468930343543 & -13.3468930343543 \tabularnewline
52 & 33.1 & 38.6765767317022 & -5.57657673170218 \tabularnewline
53 & 42 & 22.6868068747059 & 19.3131931252941 \tabularnewline
54 & 16.2 & 20.5323744907022 & -4.33237449070216 \tabularnewline
55 & 0 & 20.3495914092510 & -20.3495914092510 \tabularnewline
56 & 22.7 & 29.2306603206723 & -6.53066032067232 \tabularnewline
57 & 36.4 & 33.1949055702355 & 3.20509442976445 \tabularnewline
58 & 69 & 32.2102347149241 & 36.7897652850759 \tabularnewline
59 & 11.2 & 28.5531962955064 & -17.3531962955064 \tabularnewline
60 & 12.5 & 29.7760643901337 & -17.2760643901337 \tabularnewline
61 & 51.7 & 34.4547180836021 & 17.2452819163979 \tabularnewline
62 & 3.6 & 21.5509207981591 & -17.9509207981591 \tabularnewline
63 & 22.2 & 21.1832884019999 & 1.01671159800013 \tabularnewline
64 & 39.2 & 40.0603946992464 & -0.860394699246439 \tabularnewline
65 & 27.9 & 18.1281611258221 & 9.77183887417787 \tabularnewline
66 & 58.8 & 20.2491653945123 & 38.5508346054877 \tabularnewline
67 & 1 & 19.1146520286973 & -18.1146520286973 \tabularnewline
68 & 4.7 & 16.3135284959545 & -11.6135284959545 \tabularnewline
69 & 25.6 & 27.9198365169428 & -2.31983651694283 \tabularnewline
70 & 5.3 & 32.5618241887797 & -27.2618241887797 \tabularnewline
71 & 38.7 & 13.2234055807912 & 25.4765944192088 \tabularnewline
72 & 31.6 & 28.649021460704 & 2.95097853929602 \tabularnewline
73 & 19.3 & 30.5633704770781 & -11.2633704770781 \tabularnewline
74 & 26.5 & 24.3134054276896 & 2.18659457231036 \tabularnewline
75 & 12.8 & 37.9660531709073 & -25.1660531709073 \tabularnewline
76 & 18.3 & 32.4174435923562 & -14.1174435923562 \tabularnewline
77 & 13.2 & 29.8841105061754 & -16.6841105061754 \tabularnewline
78 & 36 & 26.0225813598631 & 9.9774186401369 \tabularnewline
79 & 34.1 & 7.97631883443929 & 26.1236811655607 \tabularnewline
80 & 71.5 & 30.4233784138382 & 41.0766215861618 \tabularnewline
81 & 43.3 & 33.3329551919203 & 9.96704480807966 \tabularnewline
82 & 47.7 & 19.3831007307384 & 28.3168992692616 \tabularnewline
83 & 74.9 & 33.8788726789636 & 41.0211273210364 \tabularnewline
84 & 0.9 & 33.0651357030432 & -32.1651357030432 \tabularnewline
85 & 35.9 & 47.6741806609159 & -11.7741806609159 \tabularnewline
86 & 45.8 & 36.6204428754507 & 9.17955712454934 \tabularnewline
87 & 54.2 & 31.8254199348147 & 22.3745800651853 \tabularnewline
88 & 34 & 27.0457704957843 & 6.95422950421575 \tabularnewline
89 & 7.9 & 17.8240103256625 & -9.92401032566246 \tabularnewline
90 & 54.5 & 37.2972004414836 & 17.2027995585164 \tabularnewline
91 & 8.2 & 14.9537516389993 & -6.75375163899931 \tabularnewline
92 & 49.3 & 28.1918256242365 & 21.1081743757635 \tabularnewline
93 & 46.9 & 22.8270934407607 & 24.0729065592393 \tabularnewline
94 & 16.8 & 27.7001814357011 & -10.9001814357011 \tabularnewline
95 & 2.8 & 21.5273109186946 & -18.7273109186946 \tabularnewline
96 & 60.9 & 26.6660668136986 & 34.2339331863014 \tabularnewline
97 & 5.6 & 18.0481504608633 & -12.4481504608633 \tabularnewline
98 & 6.6 & 39.4515363047118 & -32.8515363047118 \tabularnewline
99 & 22.9 & 26.0987071417116 & -3.19870714171161 \tabularnewline
100 & 51.1 & 22.9577950200517 & 28.1422049799483 \tabularnewline
101 & 23.3 & 37.2806874782315 & -13.9806874782315 \tabularnewline
102 & 11.5 & 36.0294862606071 & -24.5294862606071 \tabularnewline
103 & 79.1 & 19.3363090338349 & 59.7636909661651 \tabularnewline
104 & 53.6 & 32.9510306711719 & 20.6489693288281 \tabularnewline
105 & 1.5 & 15.1540196033353 & -13.6540196033353 \tabularnewline
106 & 40.4 & 22.5098864984340 & 17.8901135015660 \tabularnewline
107 & 25.4 & 29.6539741065849 & -4.25397410658493 \tabularnewline
108 & 6.7 & 30.8605803641416 & -24.1605803641416 \tabularnewline
109 & 76 & 42.742480809327 & 33.257519190673 \tabularnewline
110 & 0.6 & 23.2642922219649 & -22.6642922219649 \tabularnewline
111 & 43.4 & 32.8693657292743 & 10.5306342707258 \tabularnewline
112 & 13 & 22.9923594279126 & -9.9923594279126 \tabularnewline
113 & 27.8 & 14.1090696778285 & 13.6909303221715 \tabularnewline
114 & 6.5 & 17.7614974801964 & -11.2614974801964 \tabularnewline
115 & 7.1 & 29.1203870277692 & -22.0203870277692 \tabularnewline
116 & 6 & 13.6302032343525 & -7.63020323435249 \tabularnewline
117 & 6.5 & 12.7663594092415 & -6.26635940924146 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7953&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]106[/C][C]40.2864965508089[/C][C]65.7135034491911[/C][/ROW]
[ROW][C]2[/C][C]2.2[/C][C]29.5234253613109[/C][C]-27.3234253613109[/C][/ROW]
[ROW][C]3[/C][C]62.3[/C][C]33.2218498767935[/C][C]29.0781501232065[/C][/ROW]
[ROW][C]4[/C][C]14.7[/C][C]36.3655798388657[/C][C]-21.6655798388657[/C][/ROW]
[ROW][C]5[/C][C]5[/C][C]27.2135388878059[/C][C]-22.2135388878059[/C][/ROW]
[ROW][C]6[/C][C]74.4[/C][C]29.7435648178194[/C][C]44.6564351821806[/C][/ROW]
[ROW][C]7[/C][C]66.1[/C][C]26.4062325764990[/C][C]39.693767423501[/C][/ROW]
[ROW][C]8[/C][C]22[/C][C]28.1746030327522[/C][C]-6.17460303275217[/C][/ROW]
[ROW][C]9[/C][C]3.4[/C][C]14.3982250633652[/C][C]-10.9982250633652[/C][/ROW]
[ROW][C]10[/C][C]0.3[/C][C]27.8061225086620[/C][C]-27.5061225086620[/C][/ROW]
[ROW][C]11[/C][C]53.2[/C][C]11.9080708498868[/C][C]41.2919291501132[/C][/ROW]
[ROW][C]12[/C][C]0[/C][C]12.0788389586529[/C][C]-12.0788389586529[/C][/ROW]
[ROW][C]13[/C][C]57.2[/C][C]30.2065974862501[/C][C]26.9934025137499[/C][/ROW]
[ROW][C]14[/C][C]9.2[/C][C]30.8114713077997[/C][C]-21.6114713077997[/C][/ROW]
[ROW][C]15[/C][C]15.9[/C][C]25.783223726173[/C][C]-9.88322372617298[/C][/ROW]
[ROW][C]16[/C][C]17.6[/C][C]15.5225725463740[/C][C]2.07742745362598[/C][/ROW]
[ROW][C]17[/C][C]21[/C][C]26.8024492218367[/C][C]-5.80244922183666[/C][/ROW]
[ROW][C]18[/C][C]7.6[/C][C]34.1892449964785[/C][C]-26.5892449964785[/C][/ROW]
[ROW][C]19[/C][C]71.6[/C][C]36.7425058880732[/C][C]34.8574941119268[/C][/ROW]
[ROW][C]20[/C][C]12.9[/C][C]20.8341386815741[/C][C]-7.93413868157412[/C][/ROW]
[ROW][C]21[/C][C]10.5[/C][C]30.4743606618859[/C][C]-19.9743606618859[/C][/ROW]
[ROW][C]22[/C][C]25.7[/C][C]33.8659854765207[/C][C]-8.16598547652068[/C][/ROW]
[ROW][C]23[/C][C]26.8[/C][C]37.6865002755521[/C][C]-10.8865002755521[/C][/ROW]
[ROW][C]24[/C][C]7.3[/C][C]12.8280241267766[/C][C]-5.52802412677656[/C][/ROW]
[ROW][C]25[/C][C]17.1[/C][C]32.3541148303736[/C][C]-15.2541148303736[/C][/ROW]
[ROW][C]26[/C][C]27.3[/C][C]31.4716595973391[/C][C]-4.17165959733914[/C][/ROW]
[ROW][C]27[/C][C]16.5[/C][C]26.9577182659065[/C][C]-10.4577182659065[/C][/ROW]
[ROW][C]28[/C][C]5.4[/C][C]29.699679485984[/C][C]-24.2996794859840[/C][/ROW]
[ROW][C]29[/C][C]5.6[/C][C]28.0501100342085[/C][C]-22.4501100342085[/C][/ROW]
[ROW][C]30[/C][C]36.5[/C][C]32.016466665051[/C][C]4.48353333494899[/C][/ROW]
[ROW][C]31[/C][C]1.1[/C][C]19.0278260137331[/C][C]-17.9278260137331[/C][/ROW]
[ROW][C]32[/C][C]3.9[/C][C]16.0028648447240[/C][C]-12.1028648447240[/C][/ROW]
[ROW][C]33[/C][C]34.2[/C][C]12.4811676639622[/C][C]21.7188323360378[/C][/ROW]
[ROW][C]34[/C][C]40.3[/C][C]27.6224077151123[/C][C]12.6775922848877[/C][/ROW]
[ROW][C]35[/C][C]15.6[/C][C]25.5988989942658[/C][C]-9.9988989942658[/C][/ROW]
[ROW][C]36[/C][C]15.5[/C][C]15.8839834251780[/C][C]-0.383983425178034[/C][/ROW]
[ROW][C]37[/C][C]52.9[/C][C]31.2305462254464[/C][C]21.6694537745536[/C][/ROW]
[ROW][C]38[/C][C]1.6[/C][C]12.3997681825644[/C][C]-10.7997681825644[/C][/ROW]
[ROW][C]39[/C][C]14.2[/C][C]19.3406573594842[/C][C]-5.14065735948423[/C][/ROW]
[ROW][C]40[/C][C]7.5[/C][C]20.4936002568906[/C][C]-12.9936002568906[/C][/ROW]
[ROW][C]41[/C][C]2[/C][C]25.9452710818134[/C][C]-23.9452710818134[/C][/ROW]
[ROW][C]42[/C][C]71.4[/C][C]34.1260256918794[/C][C]37.2739743081206[/C][/ROW]
[ROW][C]43[/C][C]3.2[/C][C]18.1549798692894[/C][C]-14.9549798692894[/C][/ROW]
[ROW][C]44[/C][C]20[/C][C]22.2025541051977[/C][C]-2.20255410519773[/C][/ROW]
[ROW][C]45[/C][C]2.8[/C][C]23.9637020821478[/C][C]-21.1637020821478[/C][/ROW]
[ROW][C]46[/C][C]15.3[/C][C]38.8018486083275[/C][C]-23.5018486083275[/C][/ROW]
[ROW][C]47[/C][C]8[/C][C]20.1512127423281[/C][C]-12.1512127423281[/C][/ROW]
[ROW][C]48[/C][C]36.6[/C][C]24.3070181397096[/C][C]12.2929818602904[/C][/ROW]
[ROW][C]49[/C][C]3.8[/C][C]22.4628195735220[/C][C]-18.6628195735220[/C][/ROW]
[ROW][C]50[/C][C]25.5[/C][C]15.8450965648836[/C][C]9.65490343511635[/C][/ROW]
[ROW][C]51[/C][C]3.2[/C][C]16.5468930343543[/C][C]-13.3468930343543[/C][/ROW]
[ROW][C]52[/C][C]33.1[/C][C]38.6765767317022[/C][C]-5.57657673170218[/C][/ROW]
[ROW][C]53[/C][C]42[/C][C]22.6868068747059[/C][C]19.3131931252941[/C][/ROW]
[ROW][C]54[/C][C]16.2[/C][C]20.5323744907022[/C][C]-4.33237449070216[/C][/ROW]
[ROW][C]55[/C][C]0[/C][C]20.3495914092510[/C][C]-20.3495914092510[/C][/ROW]
[ROW][C]56[/C][C]22.7[/C][C]29.2306603206723[/C][C]-6.53066032067232[/C][/ROW]
[ROW][C]57[/C][C]36.4[/C][C]33.1949055702355[/C][C]3.20509442976445[/C][/ROW]
[ROW][C]58[/C][C]69[/C][C]32.2102347149241[/C][C]36.7897652850759[/C][/ROW]
[ROW][C]59[/C][C]11.2[/C][C]28.5531962955064[/C][C]-17.3531962955064[/C][/ROW]
[ROW][C]60[/C][C]12.5[/C][C]29.7760643901337[/C][C]-17.2760643901337[/C][/ROW]
[ROW][C]61[/C][C]51.7[/C][C]34.4547180836021[/C][C]17.2452819163979[/C][/ROW]
[ROW][C]62[/C][C]3.6[/C][C]21.5509207981591[/C][C]-17.9509207981591[/C][/ROW]
[ROW][C]63[/C][C]22.2[/C][C]21.1832884019999[/C][C]1.01671159800013[/C][/ROW]
[ROW][C]64[/C][C]39.2[/C][C]40.0603946992464[/C][C]-0.860394699246439[/C][/ROW]
[ROW][C]65[/C][C]27.9[/C][C]18.1281611258221[/C][C]9.77183887417787[/C][/ROW]
[ROW][C]66[/C][C]58.8[/C][C]20.2491653945123[/C][C]38.5508346054877[/C][/ROW]
[ROW][C]67[/C][C]1[/C][C]19.1146520286973[/C][C]-18.1146520286973[/C][/ROW]
[ROW][C]68[/C][C]4.7[/C][C]16.3135284959545[/C][C]-11.6135284959545[/C][/ROW]
[ROW][C]69[/C][C]25.6[/C][C]27.9198365169428[/C][C]-2.31983651694283[/C][/ROW]
[ROW][C]70[/C][C]5.3[/C][C]32.5618241887797[/C][C]-27.2618241887797[/C][/ROW]
[ROW][C]71[/C][C]38.7[/C][C]13.2234055807912[/C][C]25.4765944192088[/C][/ROW]
[ROW][C]72[/C][C]31.6[/C][C]28.649021460704[/C][C]2.95097853929602[/C][/ROW]
[ROW][C]73[/C][C]19.3[/C][C]30.5633704770781[/C][C]-11.2633704770781[/C][/ROW]
[ROW][C]74[/C][C]26.5[/C][C]24.3134054276896[/C][C]2.18659457231036[/C][/ROW]
[ROW][C]75[/C][C]12.8[/C][C]37.9660531709073[/C][C]-25.1660531709073[/C][/ROW]
[ROW][C]76[/C][C]18.3[/C][C]32.4174435923562[/C][C]-14.1174435923562[/C][/ROW]
[ROW][C]77[/C][C]13.2[/C][C]29.8841105061754[/C][C]-16.6841105061754[/C][/ROW]
[ROW][C]78[/C][C]36[/C][C]26.0225813598631[/C][C]9.9774186401369[/C][/ROW]
[ROW][C]79[/C][C]34.1[/C][C]7.97631883443929[/C][C]26.1236811655607[/C][/ROW]
[ROW][C]80[/C][C]71.5[/C][C]30.4233784138382[/C][C]41.0766215861618[/C][/ROW]
[ROW][C]81[/C][C]43.3[/C][C]33.3329551919203[/C][C]9.96704480807966[/C][/ROW]
[ROW][C]82[/C][C]47.7[/C][C]19.3831007307384[/C][C]28.3168992692616[/C][/ROW]
[ROW][C]83[/C][C]74.9[/C][C]33.8788726789636[/C][C]41.0211273210364[/C][/ROW]
[ROW][C]84[/C][C]0.9[/C][C]33.0651357030432[/C][C]-32.1651357030432[/C][/ROW]
[ROW][C]85[/C][C]35.9[/C][C]47.6741806609159[/C][C]-11.7741806609159[/C][/ROW]
[ROW][C]86[/C][C]45.8[/C][C]36.6204428754507[/C][C]9.17955712454934[/C][/ROW]
[ROW][C]87[/C][C]54.2[/C][C]31.8254199348147[/C][C]22.3745800651853[/C][/ROW]
[ROW][C]88[/C][C]34[/C][C]27.0457704957843[/C][C]6.95422950421575[/C][/ROW]
[ROW][C]89[/C][C]7.9[/C][C]17.8240103256625[/C][C]-9.92401032566246[/C][/ROW]
[ROW][C]90[/C][C]54.5[/C][C]37.2972004414836[/C][C]17.2027995585164[/C][/ROW]
[ROW][C]91[/C][C]8.2[/C][C]14.9537516389993[/C][C]-6.75375163899931[/C][/ROW]
[ROW][C]92[/C][C]49.3[/C][C]28.1918256242365[/C][C]21.1081743757635[/C][/ROW]
[ROW][C]93[/C][C]46.9[/C][C]22.8270934407607[/C][C]24.0729065592393[/C][/ROW]
[ROW][C]94[/C][C]16.8[/C][C]27.7001814357011[/C][C]-10.9001814357011[/C][/ROW]
[ROW][C]95[/C][C]2.8[/C][C]21.5273109186946[/C][C]-18.7273109186946[/C][/ROW]
[ROW][C]96[/C][C]60.9[/C][C]26.6660668136986[/C][C]34.2339331863014[/C][/ROW]
[ROW][C]97[/C][C]5.6[/C][C]18.0481504608633[/C][C]-12.4481504608633[/C][/ROW]
[ROW][C]98[/C][C]6.6[/C][C]39.4515363047118[/C][C]-32.8515363047118[/C][/ROW]
[ROW][C]99[/C][C]22.9[/C][C]26.0987071417116[/C][C]-3.19870714171161[/C][/ROW]
[ROW][C]100[/C][C]51.1[/C][C]22.9577950200517[/C][C]28.1422049799483[/C][/ROW]
[ROW][C]101[/C][C]23.3[/C][C]37.2806874782315[/C][C]-13.9806874782315[/C][/ROW]
[ROW][C]102[/C][C]11.5[/C][C]36.0294862606071[/C][C]-24.5294862606071[/C][/ROW]
[ROW][C]103[/C][C]79.1[/C][C]19.3363090338349[/C][C]59.7636909661651[/C][/ROW]
[ROW][C]104[/C][C]53.6[/C][C]32.9510306711719[/C][C]20.6489693288281[/C][/ROW]
[ROW][C]105[/C][C]1.5[/C][C]15.1540196033353[/C][C]-13.6540196033353[/C][/ROW]
[ROW][C]106[/C][C]40.4[/C][C]22.5098864984340[/C][C]17.8901135015660[/C][/ROW]
[ROW][C]107[/C][C]25.4[/C][C]29.6539741065849[/C][C]-4.25397410658493[/C][/ROW]
[ROW][C]108[/C][C]6.7[/C][C]30.8605803641416[/C][C]-24.1605803641416[/C][/ROW]
[ROW][C]109[/C][C]76[/C][C]42.742480809327[/C][C]33.257519190673[/C][/ROW]
[ROW][C]110[/C][C]0.6[/C][C]23.2642922219649[/C][C]-22.6642922219649[/C][/ROW]
[ROW][C]111[/C][C]43.4[/C][C]32.8693657292743[/C][C]10.5306342707258[/C][/ROW]
[ROW][C]112[/C][C]13[/C][C]22.9923594279126[/C][C]-9.9923594279126[/C][/ROW]
[ROW][C]113[/C][C]27.8[/C][C]14.1090696778285[/C][C]13.6909303221715[/C][/ROW]
[ROW][C]114[/C][C]6.5[/C][C]17.7614974801964[/C][C]-11.2614974801964[/C][/ROW]
[ROW][C]115[/C][C]7.1[/C][C]29.1203870277692[/C][C]-22.0203870277692[/C][/ROW]
[ROW][C]116[/C][C]6[/C][C]13.6302032343525[/C][C]-7.63020323435249[/C][/ROW]
[ROW][C]117[/C][C]6.5[/C][C]12.7663594092415[/C][C]-6.26635940924146[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7953&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7953&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
110640.286496550808965.7135034491911
22.229.5234253613109-27.3234253613109
362.333.221849876793529.0781501232065
414.736.3655798388657-21.6655798388657
5527.2135388878059-22.2135388878059
674.429.743564817819444.6564351821806
766.126.406232576499039.693767423501
82228.1746030327522-6.17460303275217
93.414.3982250633652-10.9982250633652
100.327.8061225086620-27.5061225086620
1153.211.908070849886841.2919291501132
12012.0788389586529-12.0788389586529
1357.230.206597486250126.9934025137499
149.230.8114713077997-21.6114713077997
1515.925.783223726173-9.88322372617298
1617.615.52257254637402.07742745362598
172126.8024492218367-5.80244922183666
187.634.1892449964785-26.5892449964785
1971.636.742505888073234.8574941119268
2012.920.8341386815741-7.93413868157412
2110.530.4743606618859-19.9743606618859
2225.733.8659854765207-8.16598547652068
2326.837.6865002755521-10.8865002755521
247.312.8280241267766-5.52802412677656
2517.132.3541148303736-15.2541148303736
2627.331.4716595973391-4.17165959733914
2716.526.9577182659065-10.4577182659065
285.429.699679485984-24.2996794859840
295.628.0501100342085-22.4501100342085
3036.532.0164666650514.48353333494899
311.119.0278260137331-17.9278260137331
323.916.0028648447240-12.1028648447240
3334.212.481167663962221.7188323360378
3440.327.622407715112312.6775922848877
3515.625.5988989942658-9.9988989942658
3615.515.8839834251780-0.383983425178034
3752.931.230546225446421.6694537745536
381.612.3997681825644-10.7997681825644
3914.219.3406573594842-5.14065735948423
407.520.4936002568906-12.9936002568906
41225.9452710818134-23.9452710818134
4271.434.126025691879437.2739743081206
433.218.1549798692894-14.9549798692894
442022.2025541051977-2.20255410519773
452.823.9637020821478-21.1637020821478
4615.338.8018486083275-23.5018486083275
47820.1512127423281-12.1512127423281
4836.624.307018139709612.2929818602904
493.822.4628195735220-18.6628195735220
5025.515.84509656488369.65490343511635
513.216.5468930343543-13.3468930343543
5233.138.6765767317022-5.57657673170218
534222.686806874705919.3131931252941
5416.220.5323744907022-4.33237449070216
55020.3495914092510-20.3495914092510
5622.729.2306603206723-6.53066032067232
5736.433.19490557023553.20509442976445
586932.210234714924136.7897652850759
5911.228.5531962955064-17.3531962955064
6012.529.7760643901337-17.2760643901337
6151.734.454718083602117.2452819163979
623.621.5509207981591-17.9509207981591
6322.221.18328840199991.01671159800013
6439.240.0603946992464-0.860394699246439
6527.918.12816112582219.77183887417787
6658.820.249165394512338.5508346054877
67119.1146520286973-18.1146520286973
684.716.3135284959545-11.6135284959545
6925.627.9198365169428-2.31983651694283
705.332.5618241887797-27.2618241887797
7138.713.223405580791225.4765944192088
7231.628.6490214607042.95097853929602
7319.330.5633704770781-11.2633704770781
7426.524.31340542768962.18659457231036
7512.837.9660531709073-25.1660531709073
7618.332.4174435923562-14.1174435923562
7713.229.8841105061754-16.6841105061754
783626.02258135986319.9774186401369
7934.17.9763188344392926.1236811655607
8071.530.423378413838241.0766215861618
8143.333.33295519192039.96704480807966
8247.719.383100730738428.3168992692616
8374.933.878872678963641.0211273210364
840.933.0651357030432-32.1651357030432
8535.947.6741806609159-11.7741806609159
8645.836.62044287545079.17955712454934
8754.231.825419934814722.3745800651853
883427.04577049578436.95422950421575
897.917.8240103256625-9.92401032566246
9054.537.297200441483617.2027995585164
918.214.9537516389993-6.75375163899931
9249.328.191825624236521.1081743757635
9346.922.827093440760724.0729065592393
9416.827.7001814357011-10.9001814357011
952.821.5273109186946-18.7273109186946
9660.926.666066813698634.2339331863014
975.618.0481504608633-12.4481504608633
986.639.4515363047118-32.8515363047118
9922.926.0987071417116-3.19870714171161
10051.122.957795020051728.1422049799483
10123.337.2806874782315-13.9806874782315
10211.536.0294862606071-24.5294862606071
10379.119.336309033834959.7636909661651
10453.632.951030671171920.6489693288281
1051.515.1540196033353-13.6540196033353
10640.422.509886498434017.8901135015660
10725.429.6539741065849-4.25397410658493
1086.730.8605803641416-24.1605803641416
1097642.74248080932733.257519190673
1100.623.2642922219649-22.6642922219649
11143.432.869365729274310.5306342707258
1121322.9923594279126-9.9923594279126
11327.814.109069677828513.6909303221715
1146.517.7614974801964-11.2614974801964
1157.129.1203870277692-22.0203870277692
116613.6302032343525-7.63020323435249
1176.512.7663594092415-6.26635940924146



Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; 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')