Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationThu, 29 Nov 2007 02:58:17 -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/2007/Nov/29/t1196329717z0i06biirca5313.htm/, Retrieved Fri, 03 May 2024 10:14:36 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=7338, Retrieved Fri, 03 May 2024 10:14:36 +0000
QR Codes:

Original text written by user:paper
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact183
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [multiple regressi...] [2007-11-29 09:58:17] [a04acf73ce4b7e85f8287f21ada159c8] [Current]
Feedback Forum

Post a new message
Dataseries X:
90.8	0
96.4	0
90	0
92.1	0
97.2	0
95.1	0
88.5	0
91	0
90.5	0
75	0
66.3	0
66	0
68.4	0
70.6	0
83.9	0
90.1	0
90.6	0
87.1	0
90.8	0
94.1	0
99.8	0
96.8	0
87	0
96.3	0
107.1	0
115.2	0
106.1	1
89.5	1
91.3	1
97.6	1
100.7	1
104.6	1
94.7	1
101.8	1
102.5	1
105.3	1
110.3	1
109.8	1
117.3	1
118.8	1
131.3	1
125.9	1
133.1	1
147	1
145.8	1
164.4	1
149.8	1
137.7	1
151.7	1
156.8	1
180	1
180.4	1
170.4	1
191.6	1
199.5	1
218.2	1
217.5	1
205	1
194	1
199.3	1
219.3	1
211.1	1
215.2	1
240.2	1
242.2	1
240.7	1
255.4	1
253	1
218.2	1
203.7	1
205.6	1
215.6	1




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 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 & 4 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7338&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]4 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=7338&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7338&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 time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
Aardolie[t] = + 26.6413265306123 -44.3911564625851Irakoorlog[t] + 17.0772014361301M1[t] + 15.8021352985639M2[t] + 25.3089285714286M3[t] + 25.0838624338624M4[t] + 23.7421296296296M5[t] + 22.9170634920635M6[t] + 24.5919973544973M7[t] + 27.9169312169312M8[t] + 17.6918650793651M9[t] + 11.0667989417990M10[t] + 0.825066137566143M11[t] + 3.32506613756614t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Aardolie[t] =  +  26.6413265306123 -44.3911564625851Irakoorlog[t] +  17.0772014361301M1[t] +  15.8021352985639M2[t] +  25.3089285714286M3[t] +  25.0838624338624M4[t] +  23.7421296296296M5[t] +  22.9170634920635M6[t] +  24.5919973544973M7[t] +  27.9169312169312M8[t] +  17.6918650793651M9[t] +  11.0667989417990M10[t] +  0.825066137566143M11[t] +  3.32506613756614t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7338&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Aardolie[t] =  +  26.6413265306123 -44.3911564625851Irakoorlog[t] +  17.0772014361301M1[t] +  15.8021352985639M2[t] +  25.3089285714286M3[t] +  25.0838624338624M4[t] +  23.7421296296296M5[t] +  22.9170634920635M6[t] +  24.5919973544973M7[t] +  27.9169312169312M8[t] +  17.6918650793651M9[t] +  11.0667989417990M10[t] +  0.825066137566143M11[t] +  3.32506613756614t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7338&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7338&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
Aardolie[t] = + 26.6413265306123 -44.3911564625851Irakoorlog[t] + 17.0772014361301M1[t] + 15.8021352985639M2[t] + 25.3089285714286M3[t] + 25.0838624338624M4[t] + 23.7421296296296M5[t] + 22.9170634920635M6[t] + 24.5919973544973M7[t] + 27.9169312169312M8[t] + 17.6918650793651M9[t] + 11.0667989417990M10[t] + 0.825066137566143M11[t] + 3.32506613756614t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)26.64132653061239.2608392.87680.0056130.002807
Irakoorlog-44.39115646258518.731203-5.08424e-062e-06
M117.077201436130111.2329891.52030.1338760.066938
M215.802135298563911.2164821.40880.1642240.082112
M325.308928571428611.3071042.23830.0290540.014527
M425.083862433862411.2761082.22450.030020.01501
M523.742129629629611.2486882.11070.0391240.019562
M622.917063492063511.224872.04160.0457450.022873
M724.591997354497311.2046762.19480.0321950.016098
M827.916931216931211.1881272.49520.0154550.007728
M917.691865079365111.1752381.58310.118830.059415
M1011.066798941799011.1660230.99110.3257470.162873
M110.82506613756614311.160490.07390.9413230.470661
t3.325066137566140.20291816.386300

\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) & 26.6413265306123 & 9.260839 & 2.8768 & 0.005613 & 0.002807 \tabularnewline
Irakoorlog & -44.3911564625851 & 8.731203 & -5.0842 & 4e-06 & 2e-06 \tabularnewline
M1 & 17.0772014361301 & 11.232989 & 1.5203 & 0.133876 & 0.066938 \tabularnewline
M2 & 15.8021352985639 & 11.216482 & 1.4088 & 0.164224 & 0.082112 \tabularnewline
M3 & 25.3089285714286 & 11.307104 & 2.2383 & 0.029054 & 0.014527 \tabularnewline
M4 & 25.0838624338624 & 11.276108 & 2.2245 & 0.03002 & 0.01501 \tabularnewline
M5 & 23.7421296296296 & 11.248688 & 2.1107 & 0.039124 & 0.019562 \tabularnewline
M6 & 22.9170634920635 & 11.22487 & 2.0416 & 0.045745 & 0.022873 \tabularnewline
M7 & 24.5919973544973 & 11.204676 & 2.1948 & 0.032195 & 0.016098 \tabularnewline
M8 & 27.9169312169312 & 11.188127 & 2.4952 & 0.015455 & 0.007728 \tabularnewline
M9 & 17.6918650793651 & 11.175238 & 1.5831 & 0.11883 & 0.059415 \tabularnewline
M10 & 11.0667989417990 & 11.166023 & 0.9911 & 0.325747 & 0.162873 \tabularnewline
M11 & 0.825066137566143 & 11.16049 & 0.0739 & 0.941323 & 0.470661 \tabularnewline
t & 3.32506613756614 & 0.202918 & 16.3863 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7338&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]26.6413265306123[/C][C]9.260839[/C][C]2.8768[/C][C]0.005613[/C][C]0.002807[/C][/ROW]
[ROW][C]Irakoorlog[/C][C]-44.3911564625851[/C][C]8.731203[/C][C]-5.0842[/C][C]4e-06[/C][C]2e-06[/C][/ROW]
[ROW][C]M1[/C][C]17.0772014361301[/C][C]11.232989[/C][C]1.5203[/C][C]0.133876[/C][C]0.066938[/C][/ROW]
[ROW][C]M2[/C][C]15.8021352985639[/C][C]11.216482[/C][C]1.4088[/C][C]0.164224[/C][C]0.082112[/C][/ROW]
[ROW][C]M3[/C][C]25.3089285714286[/C][C]11.307104[/C][C]2.2383[/C][C]0.029054[/C][C]0.014527[/C][/ROW]
[ROW][C]M4[/C][C]25.0838624338624[/C][C]11.276108[/C][C]2.2245[/C][C]0.03002[/C][C]0.01501[/C][/ROW]
[ROW][C]M5[/C][C]23.7421296296296[/C][C]11.248688[/C][C]2.1107[/C][C]0.039124[/C][C]0.019562[/C][/ROW]
[ROW][C]M6[/C][C]22.9170634920635[/C][C]11.22487[/C][C]2.0416[/C][C]0.045745[/C][C]0.022873[/C][/ROW]
[ROW][C]M7[/C][C]24.5919973544973[/C][C]11.204676[/C][C]2.1948[/C][C]0.032195[/C][C]0.016098[/C][/ROW]
[ROW][C]M8[/C][C]27.9169312169312[/C][C]11.188127[/C][C]2.4952[/C][C]0.015455[/C][C]0.007728[/C][/ROW]
[ROW][C]M9[/C][C]17.6918650793651[/C][C]11.175238[/C][C]1.5831[/C][C]0.11883[/C][C]0.059415[/C][/ROW]
[ROW][C]M10[/C][C]11.0667989417990[/C][C]11.166023[/C][C]0.9911[/C][C]0.325747[/C][C]0.162873[/C][/ROW]
[ROW][C]M11[/C][C]0.825066137566143[/C][C]11.16049[/C][C]0.0739[/C][C]0.941323[/C][C]0.470661[/C][/ROW]
[ROW][C]t[/C][C]3.32506613756614[/C][C]0.202918[/C][C]16.3863[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7338&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7338&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)26.64132653061239.2608392.87680.0056130.002807
Irakoorlog-44.39115646258518.731203-5.08424e-062e-06
M117.077201436130111.2329891.52030.1338760.066938
M215.802135298563911.2164821.40880.1642240.082112
M325.308928571428611.3071042.23830.0290540.014527
M425.083862433862411.2761082.22450.030020.01501
M523.742129629629611.2486882.11070.0391240.019562
M622.917063492063511.224872.04160.0457450.022873
M724.591997354497311.2046762.19480.0321950.016098
M827.916931216931211.1881272.49520.0154550.007728
M917.691865079365111.1752381.58310.118830.059415
M1011.066798941799011.1660230.99110.3257470.162873
M110.82506613756614311.160490.07390.9413230.470661
t3.325066137566140.20291816.386300







Multiple Linear Regression - Regression Statistics
Multiple R0.949111791224152
R-squared0.900813192240718
Adjusted R-squared0.878581666363637
F-TEST (value)40.5196295216699
F-TEST (DF numerator)13
F-TEST (DF denominator)58
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation19.3273410810022
Sum Squared Residuals21665.6745691610

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.949111791224152 \tabularnewline
R-squared & 0.900813192240718 \tabularnewline
Adjusted R-squared & 0.878581666363637 \tabularnewline
F-TEST (value) & 40.5196295216699 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 19.3273410810022 \tabularnewline
Sum Squared Residuals & 21665.6745691610 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7338&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.949111791224152[/C][/ROW]
[ROW][C]R-squared[/C][C]0.900813192240718[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.878581666363637[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]40.5196295216699[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]58[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]19.3273410810022[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]21665.6745691610[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7338&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7338&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.949111791224152
R-squared0.900813192240718
Adjusted R-squared0.878581666363637
F-TEST (value)40.5196295216699
F-TEST (DF numerator)13
F-TEST (DF denominator)58
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation19.3273410810022
Sum Squared Residuals21665.6745691610







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
190.847.043594104308343.7564058956917
296.449.093594104308147.3064058956919
39061.925453514739428.0745464852606
492.165.025453514739227.0745464852608
597.267.008786848072630.1912131519274
695.169.508786848072525.5912131519275
788.574.508786848072613.9912131519274
89181.15878684807269.84121315192742
990.574.258786848072516.2412131519275
107570.95878684807254.04121315192745
1166.364.0421201814062.25787981859408
126666.5421201814059-0.542120181405874
1368.486.944387755102-18.5443877551021
1470.688.9943877551019-18.3943877551019
1583.9101.826247165533-17.9262471655328
1690.1104.926247165533-14.8262471655329
1790.6106.909580498866-16.3095804988662
1887.1109.409580498866-22.3095804988662
1990.8114.409580498866-23.6095804988662
2094.1121.059580498866-26.9595804988662
2199.8114.159580498866-14.3595804988662
2296.8110.859580498866-14.0595804988662
2387103.942913832200-16.9429138321995
2496.3106.442913832200-10.1429138321995
25107.1126.845181405896-19.7451814058957
26115.2128.895181405896-13.6951814058957
27106.197.33588435374158.76411564625847
2889.5100.435884353742-10.9358843537415
2991.3102.419217687075-11.1192176870749
3097.6104.919217687075-7.3192176870749
31100.7109.919217687075-9.21921768707487
32104.6116.569217687075-11.9692176870749
3394.7109.669217687075-14.9692176870749
34101.8106.369217687075-4.56921768707488
35102.599.45255102040823.04744897959180
36105.3101.9525510204083.34744897959183
37110.3122.354818594104-12.0548185941044
38109.8124.404818594104-14.6048185941044
39117.3137.236678004535-19.9366780045351
40118.8140.336678004535-21.5366780045352
41131.3142.320011337868-11.0200113378685
42125.9144.820011337868-18.9200113378685
43133.1149.820011337868-16.7200113378685
44147156.470011337868-9.47001133786849
45145.8149.570011337868-3.77001133786848
46164.4146.27001133786818.1299886621315
47149.8139.35334467120210.4466553287982
48137.7141.853344671202-4.15334467120182
49151.7162.255612244898-10.5556122448980
50156.8164.305612244898-7.50561224489802
51180177.1374716553292.86252834467124
52180.4180.2374716553290.162528344671212
53170.4182.220804988662-11.8208049886621
54191.6184.7208049886626.87919501133787
55199.5189.7208049886629.77919501133788
56218.2196.37080498866221.8291950113379
57217.5189.47080498866228.0291950113379
58205186.17080498866218.8291950113379
59194179.25413832199514.7458616780046
60199.3181.75413832199517.5458616780046
61219.3202.15640589569217.1435941043084
62211.1204.2064058956926.89359410430833
63215.2217.038265306122-1.83826530612242
64240.2220.13826530612220.0617346938776
65242.2222.12159863945620.0784013605442
66240.7224.62159863945616.0784013605442
67255.4229.62159863945625.7784013605442
68253236.27159863945616.7284013605443
69218.2229.371598639456-11.1715986394558
70203.7226.071598639456-22.3715986394558
71205.6219.154931972789-13.5549319727891
72215.6221.654931972789-6.05493197278908

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 90.8 & 47.0435941043083 & 43.7564058956917 \tabularnewline
2 & 96.4 & 49.0935941043081 & 47.3064058956919 \tabularnewline
3 & 90 & 61.9254535147394 & 28.0745464852606 \tabularnewline
4 & 92.1 & 65.0254535147392 & 27.0745464852608 \tabularnewline
5 & 97.2 & 67.0087868480726 & 30.1912131519274 \tabularnewline
6 & 95.1 & 69.5087868480725 & 25.5912131519275 \tabularnewline
7 & 88.5 & 74.5087868480726 & 13.9912131519274 \tabularnewline
8 & 91 & 81.1587868480726 & 9.84121315192742 \tabularnewline
9 & 90.5 & 74.2587868480725 & 16.2412131519275 \tabularnewline
10 & 75 & 70.9587868480725 & 4.04121315192745 \tabularnewline
11 & 66.3 & 64.042120181406 & 2.25787981859408 \tabularnewline
12 & 66 & 66.5421201814059 & -0.542120181405874 \tabularnewline
13 & 68.4 & 86.944387755102 & -18.5443877551021 \tabularnewline
14 & 70.6 & 88.9943877551019 & -18.3943877551019 \tabularnewline
15 & 83.9 & 101.826247165533 & -17.9262471655328 \tabularnewline
16 & 90.1 & 104.926247165533 & -14.8262471655329 \tabularnewline
17 & 90.6 & 106.909580498866 & -16.3095804988662 \tabularnewline
18 & 87.1 & 109.409580498866 & -22.3095804988662 \tabularnewline
19 & 90.8 & 114.409580498866 & -23.6095804988662 \tabularnewline
20 & 94.1 & 121.059580498866 & -26.9595804988662 \tabularnewline
21 & 99.8 & 114.159580498866 & -14.3595804988662 \tabularnewline
22 & 96.8 & 110.859580498866 & -14.0595804988662 \tabularnewline
23 & 87 & 103.942913832200 & -16.9429138321995 \tabularnewline
24 & 96.3 & 106.442913832200 & -10.1429138321995 \tabularnewline
25 & 107.1 & 126.845181405896 & -19.7451814058957 \tabularnewline
26 & 115.2 & 128.895181405896 & -13.6951814058957 \tabularnewline
27 & 106.1 & 97.3358843537415 & 8.76411564625847 \tabularnewline
28 & 89.5 & 100.435884353742 & -10.9358843537415 \tabularnewline
29 & 91.3 & 102.419217687075 & -11.1192176870749 \tabularnewline
30 & 97.6 & 104.919217687075 & -7.3192176870749 \tabularnewline
31 & 100.7 & 109.919217687075 & -9.21921768707487 \tabularnewline
32 & 104.6 & 116.569217687075 & -11.9692176870749 \tabularnewline
33 & 94.7 & 109.669217687075 & -14.9692176870749 \tabularnewline
34 & 101.8 & 106.369217687075 & -4.56921768707488 \tabularnewline
35 & 102.5 & 99.4525510204082 & 3.04744897959180 \tabularnewline
36 & 105.3 & 101.952551020408 & 3.34744897959183 \tabularnewline
37 & 110.3 & 122.354818594104 & -12.0548185941044 \tabularnewline
38 & 109.8 & 124.404818594104 & -14.6048185941044 \tabularnewline
39 & 117.3 & 137.236678004535 & -19.9366780045351 \tabularnewline
40 & 118.8 & 140.336678004535 & -21.5366780045352 \tabularnewline
41 & 131.3 & 142.320011337868 & -11.0200113378685 \tabularnewline
42 & 125.9 & 144.820011337868 & -18.9200113378685 \tabularnewline
43 & 133.1 & 149.820011337868 & -16.7200113378685 \tabularnewline
44 & 147 & 156.470011337868 & -9.47001133786849 \tabularnewline
45 & 145.8 & 149.570011337868 & -3.77001133786848 \tabularnewline
46 & 164.4 & 146.270011337868 & 18.1299886621315 \tabularnewline
47 & 149.8 & 139.353344671202 & 10.4466553287982 \tabularnewline
48 & 137.7 & 141.853344671202 & -4.15334467120182 \tabularnewline
49 & 151.7 & 162.255612244898 & -10.5556122448980 \tabularnewline
50 & 156.8 & 164.305612244898 & -7.50561224489802 \tabularnewline
51 & 180 & 177.137471655329 & 2.86252834467124 \tabularnewline
52 & 180.4 & 180.237471655329 & 0.162528344671212 \tabularnewline
53 & 170.4 & 182.220804988662 & -11.8208049886621 \tabularnewline
54 & 191.6 & 184.720804988662 & 6.87919501133787 \tabularnewline
55 & 199.5 & 189.720804988662 & 9.77919501133788 \tabularnewline
56 & 218.2 & 196.370804988662 & 21.8291950113379 \tabularnewline
57 & 217.5 & 189.470804988662 & 28.0291950113379 \tabularnewline
58 & 205 & 186.170804988662 & 18.8291950113379 \tabularnewline
59 & 194 & 179.254138321995 & 14.7458616780046 \tabularnewline
60 & 199.3 & 181.754138321995 & 17.5458616780046 \tabularnewline
61 & 219.3 & 202.156405895692 & 17.1435941043084 \tabularnewline
62 & 211.1 & 204.206405895692 & 6.89359410430833 \tabularnewline
63 & 215.2 & 217.038265306122 & -1.83826530612242 \tabularnewline
64 & 240.2 & 220.138265306122 & 20.0617346938776 \tabularnewline
65 & 242.2 & 222.121598639456 & 20.0784013605442 \tabularnewline
66 & 240.7 & 224.621598639456 & 16.0784013605442 \tabularnewline
67 & 255.4 & 229.621598639456 & 25.7784013605442 \tabularnewline
68 & 253 & 236.271598639456 & 16.7284013605443 \tabularnewline
69 & 218.2 & 229.371598639456 & -11.1715986394558 \tabularnewline
70 & 203.7 & 226.071598639456 & -22.3715986394558 \tabularnewline
71 & 205.6 & 219.154931972789 & -13.5549319727891 \tabularnewline
72 & 215.6 & 221.654931972789 & -6.05493197278908 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7338&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]90.8[/C][C]47.0435941043083[/C][C]43.7564058956917[/C][/ROW]
[ROW][C]2[/C][C]96.4[/C][C]49.0935941043081[/C][C]47.3064058956919[/C][/ROW]
[ROW][C]3[/C][C]90[/C][C]61.9254535147394[/C][C]28.0745464852606[/C][/ROW]
[ROW][C]4[/C][C]92.1[/C][C]65.0254535147392[/C][C]27.0745464852608[/C][/ROW]
[ROW][C]5[/C][C]97.2[/C][C]67.0087868480726[/C][C]30.1912131519274[/C][/ROW]
[ROW][C]6[/C][C]95.1[/C][C]69.5087868480725[/C][C]25.5912131519275[/C][/ROW]
[ROW][C]7[/C][C]88.5[/C][C]74.5087868480726[/C][C]13.9912131519274[/C][/ROW]
[ROW][C]8[/C][C]91[/C][C]81.1587868480726[/C][C]9.84121315192742[/C][/ROW]
[ROW][C]9[/C][C]90.5[/C][C]74.2587868480725[/C][C]16.2412131519275[/C][/ROW]
[ROW][C]10[/C][C]75[/C][C]70.9587868480725[/C][C]4.04121315192745[/C][/ROW]
[ROW][C]11[/C][C]66.3[/C][C]64.042120181406[/C][C]2.25787981859408[/C][/ROW]
[ROW][C]12[/C][C]66[/C][C]66.5421201814059[/C][C]-0.542120181405874[/C][/ROW]
[ROW][C]13[/C][C]68.4[/C][C]86.944387755102[/C][C]-18.5443877551021[/C][/ROW]
[ROW][C]14[/C][C]70.6[/C][C]88.9943877551019[/C][C]-18.3943877551019[/C][/ROW]
[ROW][C]15[/C][C]83.9[/C][C]101.826247165533[/C][C]-17.9262471655328[/C][/ROW]
[ROW][C]16[/C][C]90.1[/C][C]104.926247165533[/C][C]-14.8262471655329[/C][/ROW]
[ROW][C]17[/C][C]90.6[/C][C]106.909580498866[/C][C]-16.3095804988662[/C][/ROW]
[ROW][C]18[/C][C]87.1[/C][C]109.409580498866[/C][C]-22.3095804988662[/C][/ROW]
[ROW][C]19[/C][C]90.8[/C][C]114.409580498866[/C][C]-23.6095804988662[/C][/ROW]
[ROW][C]20[/C][C]94.1[/C][C]121.059580498866[/C][C]-26.9595804988662[/C][/ROW]
[ROW][C]21[/C][C]99.8[/C][C]114.159580498866[/C][C]-14.3595804988662[/C][/ROW]
[ROW][C]22[/C][C]96.8[/C][C]110.859580498866[/C][C]-14.0595804988662[/C][/ROW]
[ROW][C]23[/C][C]87[/C][C]103.942913832200[/C][C]-16.9429138321995[/C][/ROW]
[ROW][C]24[/C][C]96.3[/C][C]106.442913832200[/C][C]-10.1429138321995[/C][/ROW]
[ROW][C]25[/C][C]107.1[/C][C]126.845181405896[/C][C]-19.7451814058957[/C][/ROW]
[ROW][C]26[/C][C]115.2[/C][C]128.895181405896[/C][C]-13.6951814058957[/C][/ROW]
[ROW][C]27[/C][C]106.1[/C][C]97.3358843537415[/C][C]8.76411564625847[/C][/ROW]
[ROW][C]28[/C][C]89.5[/C][C]100.435884353742[/C][C]-10.9358843537415[/C][/ROW]
[ROW][C]29[/C][C]91.3[/C][C]102.419217687075[/C][C]-11.1192176870749[/C][/ROW]
[ROW][C]30[/C][C]97.6[/C][C]104.919217687075[/C][C]-7.3192176870749[/C][/ROW]
[ROW][C]31[/C][C]100.7[/C][C]109.919217687075[/C][C]-9.21921768707487[/C][/ROW]
[ROW][C]32[/C][C]104.6[/C][C]116.569217687075[/C][C]-11.9692176870749[/C][/ROW]
[ROW][C]33[/C][C]94.7[/C][C]109.669217687075[/C][C]-14.9692176870749[/C][/ROW]
[ROW][C]34[/C][C]101.8[/C][C]106.369217687075[/C][C]-4.56921768707488[/C][/ROW]
[ROW][C]35[/C][C]102.5[/C][C]99.4525510204082[/C][C]3.04744897959180[/C][/ROW]
[ROW][C]36[/C][C]105.3[/C][C]101.952551020408[/C][C]3.34744897959183[/C][/ROW]
[ROW][C]37[/C][C]110.3[/C][C]122.354818594104[/C][C]-12.0548185941044[/C][/ROW]
[ROW][C]38[/C][C]109.8[/C][C]124.404818594104[/C][C]-14.6048185941044[/C][/ROW]
[ROW][C]39[/C][C]117.3[/C][C]137.236678004535[/C][C]-19.9366780045351[/C][/ROW]
[ROW][C]40[/C][C]118.8[/C][C]140.336678004535[/C][C]-21.5366780045352[/C][/ROW]
[ROW][C]41[/C][C]131.3[/C][C]142.320011337868[/C][C]-11.0200113378685[/C][/ROW]
[ROW][C]42[/C][C]125.9[/C][C]144.820011337868[/C][C]-18.9200113378685[/C][/ROW]
[ROW][C]43[/C][C]133.1[/C][C]149.820011337868[/C][C]-16.7200113378685[/C][/ROW]
[ROW][C]44[/C][C]147[/C][C]156.470011337868[/C][C]-9.47001133786849[/C][/ROW]
[ROW][C]45[/C][C]145.8[/C][C]149.570011337868[/C][C]-3.77001133786848[/C][/ROW]
[ROW][C]46[/C][C]164.4[/C][C]146.270011337868[/C][C]18.1299886621315[/C][/ROW]
[ROW][C]47[/C][C]149.8[/C][C]139.353344671202[/C][C]10.4466553287982[/C][/ROW]
[ROW][C]48[/C][C]137.7[/C][C]141.853344671202[/C][C]-4.15334467120182[/C][/ROW]
[ROW][C]49[/C][C]151.7[/C][C]162.255612244898[/C][C]-10.5556122448980[/C][/ROW]
[ROW][C]50[/C][C]156.8[/C][C]164.305612244898[/C][C]-7.50561224489802[/C][/ROW]
[ROW][C]51[/C][C]180[/C][C]177.137471655329[/C][C]2.86252834467124[/C][/ROW]
[ROW][C]52[/C][C]180.4[/C][C]180.237471655329[/C][C]0.162528344671212[/C][/ROW]
[ROW][C]53[/C][C]170.4[/C][C]182.220804988662[/C][C]-11.8208049886621[/C][/ROW]
[ROW][C]54[/C][C]191.6[/C][C]184.720804988662[/C][C]6.87919501133787[/C][/ROW]
[ROW][C]55[/C][C]199.5[/C][C]189.720804988662[/C][C]9.77919501133788[/C][/ROW]
[ROW][C]56[/C][C]218.2[/C][C]196.370804988662[/C][C]21.8291950113379[/C][/ROW]
[ROW][C]57[/C][C]217.5[/C][C]189.470804988662[/C][C]28.0291950113379[/C][/ROW]
[ROW][C]58[/C][C]205[/C][C]186.170804988662[/C][C]18.8291950113379[/C][/ROW]
[ROW][C]59[/C][C]194[/C][C]179.254138321995[/C][C]14.7458616780046[/C][/ROW]
[ROW][C]60[/C][C]199.3[/C][C]181.754138321995[/C][C]17.5458616780046[/C][/ROW]
[ROW][C]61[/C][C]219.3[/C][C]202.156405895692[/C][C]17.1435941043084[/C][/ROW]
[ROW][C]62[/C][C]211.1[/C][C]204.206405895692[/C][C]6.89359410430833[/C][/ROW]
[ROW][C]63[/C][C]215.2[/C][C]217.038265306122[/C][C]-1.83826530612242[/C][/ROW]
[ROW][C]64[/C][C]240.2[/C][C]220.138265306122[/C][C]20.0617346938776[/C][/ROW]
[ROW][C]65[/C][C]242.2[/C][C]222.121598639456[/C][C]20.0784013605442[/C][/ROW]
[ROW][C]66[/C][C]240.7[/C][C]224.621598639456[/C][C]16.0784013605442[/C][/ROW]
[ROW][C]67[/C][C]255.4[/C][C]229.621598639456[/C][C]25.7784013605442[/C][/ROW]
[ROW][C]68[/C][C]253[/C][C]236.271598639456[/C][C]16.7284013605443[/C][/ROW]
[ROW][C]69[/C][C]218.2[/C][C]229.371598639456[/C][C]-11.1715986394558[/C][/ROW]
[ROW][C]70[/C][C]203.7[/C][C]226.071598639456[/C][C]-22.3715986394558[/C][/ROW]
[ROW][C]71[/C][C]205.6[/C][C]219.154931972789[/C][C]-13.5549319727891[/C][/ROW]
[ROW][C]72[/C][C]215.6[/C][C]221.654931972789[/C][C]-6.05493197278908[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7338&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7338&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
190.847.043594104308343.7564058956917
296.449.093594104308147.3064058956919
39061.925453514739428.0745464852606
492.165.025453514739227.0745464852608
597.267.008786848072630.1912131519274
695.169.508786848072525.5912131519275
788.574.508786848072613.9912131519274
89181.15878684807269.84121315192742
990.574.258786848072516.2412131519275
107570.95878684807254.04121315192745
1166.364.0421201814062.25787981859408
126666.5421201814059-0.542120181405874
1368.486.944387755102-18.5443877551021
1470.688.9943877551019-18.3943877551019
1583.9101.826247165533-17.9262471655328
1690.1104.926247165533-14.8262471655329
1790.6106.909580498866-16.3095804988662
1887.1109.409580498866-22.3095804988662
1990.8114.409580498866-23.6095804988662
2094.1121.059580498866-26.9595804988662
2199.8114.159580498866-14.3595804988662
2296.8110.859580498866-14.0595804988662
2387103.942913832200-16.9429138321995
2496.3106.442913832200-10.1429138321995
25107.1126.845181405896-19.7451814058957
26115.2128.895181405896-13.6951814058957
27106.197.33588435374158.76411564625847
2889.5100.435884353742-10.9358843537415
2991.3102.419217687075-11.1192176870749
3097.6104.919217687075-7.3192176870749
31100.7109.919217687075-9.21921768707487
32104.6116.569217687075-11.9692176870749
3394.7109.669217687075-14.9692176870749
34101.8106.369217687075-4.56921768707488
35102.599.45255102040823.04744897959180
36105.3101.9525510204083.34744897959183
37110.3122.354818594104-12.0548185941044
38109.8124.404818594104-14.6048185941044
39117.3137.236678004535-19.9366780045351
40118.8140.336678004535-21.5366780045352
41131.3142.320011337868-11.0200113378685
42125.9144.820011337868-18.9200113378685
43133.1149.820011337868-16.7200113378685
44147156.470011337868-9.47001133786849
45145.8149.570011337868-3.77001133786848
46164.4146.27001133786818.1299886621315
47149.8139.35334467120210.4466553287982
48137.7141.853344671202-4.15334467120182
49151.7162.255612244898-10.5556122448980
50156.8164.305612244898-7.50561224489802
51180177.1374716553292.86252834467124
52180.4180.2374716553290.162528344671212
53170.4182.220804988662-11.8208049886621
54191.6184.7208049886626.87919501133787
55199.5189.7208049886629.77919501133788
56218.2196.37080498866221.8291950113379
57217.5189.47080498866228.0291950113379
58205186.17080498866218.8291950113379
59194179.25413832199514.7458616780046
60199.3181.75413832199517.5458616780046
61219.3202.15640589569217.1435941043084
62211.1204.2064058956926.89359410430833
63215.2217.038265306122-1.83826530612242
64240.2220.13826530612220.0617346938776
65242.2222.12159863945620.0784013605442
66240.7224.62159863945616.0784013605442
67255.4229.62159863945625.7784013605442
68253236.27159863945616.7284013605443
69218.2229.371598639456-11.1715986394558
70203.7226.071598639456-22.3715986394558
71205.6219.154931972789-13.5549319727891
72215.6221.654931972789-6.05493197278908



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = 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')