Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationFri, 14 Dec 2007 06:01:09 -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/Dec/14/t1197636356q2sugv4dxxtpq30.htm/, Retrieved Thu, 02 May 2024 20:47:17 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=3864, Retrieved Thu, 02 May 2024 20:47:17 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact175
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [seatbelt paper] [2007-12-14 13:01:09] [c5caf8a1e3802eaf41184f28719e74c9] [Current]
Feedback Forum

Post a new message
Dataseries X:
112.61	0
113.4	0
115.18	0
121.01	0
119.44	0
116.68	0
117.07	0
117.41	0
119.58	0
120.92	0
117.09	0
116.77	0
119.39	0
122.49	0
124.08	1
118.29	1
112.94	1
113.79	1
114.43	1
118.7	1
120.36	1
118.27	1
118.34	1
117.82	1
117.65	1
118.18	1
121.02	1
124.78	1
131.16	1
130.14	1
131.75	1
134.73	1
135.35	1
140.32	1
136.35	1
131.6	1
128.9	1
133.89	1
138.25	1
146.23	1
144.76	1
149.3	1
156.8	1
159.08	1
165.12	1
163.14	1
153.43	1
151.01	1
154.72	1
154.58	1
155.63	1
161.67	1
163.51	1
162.91	1
164.80	1
164.98	1
154.54	1
148.60	1
149.19	1
150.61	1





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=3864&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=3864&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3864&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
indexcijfers[t] = + 102.582580419580 -14.8322027972028Irak[t] + 3.21714277389274M1[t] + 3.88099883449884M2[t] + 7.98129545454546M3[t] + 10.3551515151515M4[t] + 9.13100757575758M5[t] + 8.14286363636364M6[t] + 9.3587196969697M7[t] + 10.1785757575758M8[t] + 8.99843181818182M9[t] + 7.06828787878788M10[t] + 2.50814393939394M11[t] + 1.19014393939394t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
indexcijfers[t] =  +  102.582580419580 -14.8322027972028Irak[t] +  3.21714277389274M1[t] +  3.88099883449884M2[t] +  7.98129545454546M3[t] +  10.3551515151515M4[t] +  9.13100757575758M5[t] +  8.14286363636364M6[t] +  9.3587196969697M7[t] +  10.1785757575758M8[t] +  8.99843181818182M9[t] +  7.06828787878788M10[t] +  2.50814393939394M11[t] +  1.19014393939394t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3864&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]indexcijfers[t] =  +  102.582580419580 -14.8322027972028Irak[t] +  3.21714277389274M1[t] +  3.88099883449884M2[t] +  7.98129545454546M3[t] +  10.3551515151515M4[t] +  9.13100757575758M5[t] +  8.14286363636364M6[t] +  9.3587196969697M7[t] +  10.1785757575758M8[t] +  8.99843181818182M9[t] +  7.06828787878788M10[t] +  2.50814393939394M11[t] +  1.19014393939394t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3864&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3864&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
indexcijfers[t] = + 102.582580419580 -14.8322027972028Irak[t] + 3.21714277389274M1[t] + 3.88099883449884M2[t] + 7.98129545454546M3[t] + 10.3551515151515M4[t] + 9.13100757575758M5[t] + 8.14286363636364M6[t] + 9.3587196969697M7[t] + 10.1785757575758M8[t] + 8.99843181818182M9[t] + 7.06828787878788M10[t] + 2.50814393939394M11[t] + 1.19014393939394t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)102.5825804195803.31138530.978800
Irak-14.83220279720282.867743-5.17215e-062e-06
M13.217142773892743.9943520.80540.424720.21236
M23.880998834498843.9887720.9730.3356520.167826
M37.981295454545464.0101441.99030.0525220.026261
M410.35515151515153.9996392.5890.0128430.006422
M59.131007575757583.9903462.28830.0267650.013383
M68.142863636363643.9822762.04480.0466230.023312
M79.35871969696973.9754342.35410.0228920.011446
M810.17857575757583.9698272.5640.013680.00684
M98.998431818181823.9654612.26920.0279910.013995
M107.068287878787883.9623391.78390.0810430.040521
M112.508143939393943.9604650.63330.5296770.264839
t1.190143939393940.07035316.916700

\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) & 102.582580419580 & 3.311385 & 30.9788 & 0 & 0 \tabularnewline
Irak & -14.8322027972028 & 2.867743 & -5.1721 & 5e-06 & 2e-06 \tabularnewline
M1 & 3.21714277389274 & 3.994352 & 0.8054 & 0.42472 & 0.21236 \tabularnewline
M2 & 3.88099883449884 & 3.988772 & 0.973 & 0.335652 & 0.167826 \tabularnewline
M3 & 7.98129545454546 & 4.010144 & 1.9903 & 0.052522 & 0.026261 \tabularnewline
M4 & 10.3551515151515 & 3.999639 & 2.589 & 0.012843 & 0.006422 \tabularnewline
M5 & 9.13100757575758 & 3.990346 & 2.2883 & 0.026765 & 0.013383 \tabularnewline
M6 & 8.14286363636364 & 3.982276 & 2.0448 & 0.046623 & 0.023312 \tabularnewline
M7 & 9.3587196969697 & 3.975434 & 2.3541 & 0.022892 & 0.011446 \tabularnewline
M8 & 10.1785757575758 & 3.969827 & 2.564 & 0.01368 & 0.00684 \tabularnewline
M9 & 8.99843181818182 & 3.965461 & 2.2692 & 0.027991 & 0.013995 \tabularnewline
M10 & 7.06828787878788 & 3.962339 & 1.7839 & 0.081043 & 0.040521 \tabularnewline
M11 & 2.50814393939394 & 3.960465 & 0.6333 & 0.529677 & 0.264839 \tabularnewline
t & 1.19014393939394 & 0.070353 & 16.9167 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3864&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]102.582580419580[/C][C]3.311385[/C][C]30.9788[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Irak[/C][C]-14.8322027972028[/C][C]2.867743[/C][C]-5.1721[/C][C]5e-06[/C][C]2e-06[/C][/ROW]
[ROW][C]M1[/C][C]3.21714277389274[/C][C]3.994352[/C][C]0.8054[/C][C]0.42472[/C][C]0.21236[/C][/ROW]
[ROW][C]M2[/C][C]3.88099883449884[/C][C]3.988772[/C][C]0.973[/C][C]0.335652[/C][C]0.167826[/C][/ROW]
[ROW][C]M3[/C][C]7.98129545454546[/C][C]4.010144[/C][C]1.9903[/C][C]0.052522[/C][C]0.026261[/C][/ROW]
[ROW][C]M4[/C][C]10.3551515151515[/C][C]3.999639[/C][C]2.589[/C][C]0.012843[/C][C]0.006422[/C][/ROW]
[ROW][C]M5[/C][C]9.13100757575758[/C][C]3.990346[/C][C]2.2883[/C][C]0.026765[/C][C]0.013383[/C][/ROW]
[ROW][C]M6[/C][C]8.14286363636364[/C][C]3.982276[/C][C]2.0448[/C][C]0.046623[/C][C]0.023312[/C][/ROW]
[ROW][C]M7[/C][C]9.3587196969697[/C][C]3.975434[/C][C]2.3541[/C][C]0.022892[/C][C]0.011446[/C][/ROW]
[ROW][C]M8[/C][C]10.1785757575758[/C][C]3.969827[/C][C]2.564[/C][C]0.01368[/C][C]0.00684[/C][/ROW]
[ROW][C]M9[/C][C]8.99843181818182[/C][C]3.965461[/C][C]2.2692[/C][C]0.027991[/C][C]0.013995[/C][/ROW]
[ROW][C]M10[/C][C]7.06828787878788[/C][C]3.962339[/C][C]1.7839[/C][C]0.081043[/C][C]0.040521[/C][/ROW]
[ROW][C]M11[/C][C]2.50814393939394[/C][C]3.960465[/C][C]0.6333[/C][C]0.529677[/C][C]0.264839[/C][/ROW]
[ROW][C]t[/C][C]1.19014393939394[/C][C]0.070353[/C][C]16.9167[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3864&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3864&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)102.5825804195803.31138530.978800
Irak-14.83220279720282.867743-5.17215e-062e-06
M13.217142773892743.9943520.80540.424720.21236
M23.880998834498843.9887720.9730.3356520.167826
M37.981295454545464.0101441.99030.0525220.026261
M410.35515151515153.9996392.5890.0128430.006422
M59.131007575757583.9903462.28830.0267650.013383
M68.142863636363643.9822762.04480.0466230.023312
M79.35871969696973.9754342.35410.0228920.011446
M810.17857575757583.9698272.5640.013680.00684
M98.998431818181823.9654612.26920.0279910.013995
M107.068287878787883.9623391.78390.0810430.040521
M112.508143939393943.9604650.63330.5296770.264839
t1.190143939393940.07035316.916700







Multiple Linear Regression - Regression Statistics
Multiple R0.949764132186859
R-squared0.902051906788657
Adjusted R-squared0.874370923924582
F-TEST (value)32.5874233302372
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation6.26105705301434
Sum Squared Residuals1803.23842937063

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.949764132186859 \tabularnewline
R-squared & 0.902051906788657 \tabularnewline
Adjusted R-squared & 0.874370923924582 \tabularnewline
F-TEST (value) & 32.5874233302372 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 6.26105705301434 \tabularnewline
Sum Squared Residuals & 1803.23842937063 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3864&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.949764132186859[/C][/ROW]
[ROW][C]R-squared[/C][C]0.902051906788657[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.874370923924582[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]32.5874233302372[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]46[/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]6.26105705301434[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1803.23842937063[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3864&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3864&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.949764132186859
R-squared0.902051906788657
Adjusted R-squared0.874370923924582
F-TEST (value)32.5874233302372
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation6.26105705301434
Sum Squared Residuals1803.23842937063







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1112.61106.9898671328675.62013286713272
2113.4108.8438671328674.55613286713287
3115.18114.1343076923081.04569230769232
4121.01117.6983076923083.31169230769233
5119.44117.6643076923081.77569230769233
6116.68117.866307692308-1.18630769230769
7117.07120.272307692308-3.2023076923077
8117.41122.282307692308-4.87230769230769
9119.58122.292307692308-2.71230769230769
10120.92121.552307692308-0.632307692307678
11117.09118.182307692308-1.09230769230769
12116.77116.864307692308-0.0943076923076862
13119.39121.271594405594-1.88159440559436
14122.49123.125594405594-0.635594405594401
15124.08113.58383216783210.4961678321678
16118.29117.1478321678321.14216783216783
17112.94117.113832167832-4.17383216783217
18113.79117.315832167832-3.52583216783216
19114.43119.721832167832-5.29183216783216
20118.7121.731832167832-3.03183216783216
21120.36121.741832167832-1.38183216783217
22118.27121.001832167832-2.73183216783217
23118.34117.6318321678320.708167832167837
24117.82116.3138321678321.50616783216783
25117.65120.721118881119-3.07111888111884
26118.18122.575118881119-4.39511888111887
27121.02127.865559440559-6.84555944055945
28124.78131.429559440559-6.64955944055944
29131.16131.395559440559-0.235559440559442
30130.14131.597559440559-1.45755944055945
31131.75134.003559440559-2.25355944055945
32134.73136.013559440559-1.28355944055945
33135.35136.023559440559-0.673559440559444
34140.32135.2835594405595.03644055944056
35136.35131.9135594405594.43644055944055
36131.6130.5955594405591.00444055944055
37128.9135.002846153846-6.10284615384612
38133.89136.856846153846-2.96684615384617
39138.25142.147286713287-3.89728671328672
40146.23145.7112867132870.51871328671328
41144.76145.677286713287-0.91728671328672
42149.3145.8792867132873.42071328671330
43156.8148.2852867132878.51471328671329
44159.08150.2952867132878.7847132867133
45165.12150.30528671328714.8147132867133
46163.14149.56528671328713.5747132867133
47153.43146.1952867132877.23471328671329
48151.01144.8772867132876.13271328671328
49154.72149.2845734265735.4354265734266
50154.58151.1385734265733.44142657342658
51155.63156.429013986014-0.799013986013992
52161.67159.9930139860141.67698601398599
53163.51159.9590139860143.550986013986
54162.91160.1610139860142.74898601398601
55164.8162.5670139860142.23298601398602
56164.98164.5770139860140.402986013986004
57154.54164.587013986014-10.047013986014
58148.6163.847013986014-15.247013986014
59149.19160.477013986014-11.287013986014
60150.61159.159013986014-8.54901398601397

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 112.61 & 106.989867132867 & 5.62013286713272 \tabularnewline
2 & 113.4 & 108.843867132867 & 4.55613286713287 \tabularnewline
3 & 115.18 & 114.134307692308 & 1.04569230769232 \tabularnewline
4 & 121.01 & 117.698307692308 & 3.31169230769233 \tabularnewline
5 & 119.44 & 117.664307692308 & 1.77569230769233 \tabularnewline
6 & 116.68 & 117.866307692308 & -1.18630769230769 \tabularnewline
7 & 117.07 & 120.272307692308 & -3.2023076923077 \tabularnewline
8 & 117.41 & 122.282307692308 & -4.87230769230769 \tabularnewline
9 & 119.58 & 122.292307692308 & -2.71230769230769 \tabularnewline
10 & 120.92 & 121.552307692308 & -0.632307692307678 \tabularnewline
11 & 117.09 & 118.182307692308 & -1.09230769230769 \tabularnewline
12 & 116.77 & 116.864307692308 & -0.0943076923076862 \tabularnewline
13 & 119.39 & 121.271594405594 & -1.88159440559436 \tabularnewline
14 & 122.49 & 123.125594405594 & -0.635594405594401 \tabularnewline
15 & 124.08 & 113.583832167832 & 10.4961678321678 \tabularnewline
16 & 118.29 & 117.147832167832 & 1.14216783216783 \tabularnewline
17 & 112.94 & 117.113832167832 & -4.17383216783217 \tabularnewline
18 & 113.79 & 117.315832167832 & -3.52583216783216 \tabularnewline
19 & 114.43 & 119.721832167832 & -5.29183216783216 \tabularnewline
20 & 118.7 & 121.731832167832 & -3.03183216783216 \tabularnewline
21 & 120.36 & 121.741832167832 & -1.38183216783217 \tabularnewline
22 & 118.27 & 121.001832167832 & -2.73183216783217 \tabularnewline
23 & 118.34 & 117.631832167832 & 0.708167832167837 \tabularnewline
24 & 117.82 & 116.313832167832 & 1.50616783216783 \tabularnewline
25 & 117.65 & 120.721118881119 & -3.07111888111884 \tabularnewline
26 & 118.18 & 122.575118881119 & -4.39511888111887 \tabularnewline
27 & 121.02 & 127.865559440559 & -6.84555944055945 \tabularnewline
28 & 124.78 & 131.429559440559 & -6.64955944055944 \tabularnewline
29 & 131.16 & 131.395559440559 & -0.235559440559442 \tabularnewline
30 & 130.14 & 131.597559440559 & -1.45755944055945 \tabularnewline
31 & 131.75 & 134.003559440559 & -2.25355944055945 \tabularnewline
32 & 134.73 & 136.013559440559 & -1.28355944055945 \tabularnewline
33 & 135.35 & 136.023559440559 & -0.673559440559444 \tabularnewline
34 & 140.32 & 135.283559440559 & 5.03644055944056 \tabularnewline
35 & 136.35 & 131.913559440559 & 4.43644055944055 \tabularnewline
36 & 131.6 & 130.595559440559 & 1.00444055944055 \tabularnewline
37 & 128.9 & 135.002846153846 & -6.10284615384612 \tabularnewline
38 & 133.89 & 136.856846153846 & -2.96684615384617 \tabularnewline
39 & 138.25 & 142.147286713287 & -3.89728671328672 \tabularnewline
40 & 146.23 & 145.711286713287 & 0.51871328671328 \tabularnewline
41 & 144.76 & 145.677286713287 & -0.91728671328672 \tabularnewline
42 & 149.3 & 145.879286713287 & 3.42071328671330 \tabularnewline
43 & 156.8 & 148.285286713287 & 8.51471328671329 \tabularnewline
44 & 159.08 & 150.295286713287 & 8.7847132867133 \tabularnewline
45 & 165.12 & 150.305286713287 & 14.8147132867133 \tabularnewline
46 & 163.14 & 149.565286713287 & 13.5747132867133 \tabularnewline
47 & 153.43 & 146.195286713287 & 7.23471328671329 \tabularnewline
48 & 151.01 & 144.877286713287 & 6.13271328671328 \tabularnewline
49 & 154.72 & 149.284573426573 & 5.4354265734266 \tabularnewline
50 & 154.58 & 151.138573426573 & 3.44142657342658 \tabularnewline
51 & 155.63 & 156.429013986014 & -0.799013986013992 \tabularnewline
52 & 161.67 & 159.993013986014 & 1.67698601398599 \tabularnewline
53 & 163.51 & 159.959013986014 & 3.550986013986 \tabularnewline
54 & 162.91 & 160.161013986014 & 2.74898601398601 \tabularnewline
55 & 164.8 & 162.567013986014 & 2.23298601398602 \tabularnewline
56 & 164.98 & 164.577013986014 & 0.402986013986004 \tabularnewline
57 & 154.54 & 164.587013986014 & -10.047013986014 \tabularnewline
58 & 148.6 & 163.847013986014 & -15.247013986014 \tabularnewline
59 & 149.19 & 160.477013986014 & -11.287013986014 \tabularnewline
60 & 150.61 & 159.159013986014 & -8.54901398601397 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3864&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]112.61[/C][C]106.989867132867[/C][C]5.62013286713272[/C][/ROW]
[ROW][C]2[/C][C]113.4[/C][C]108.843867132867[/C][C]4.55613286713287[/C][/ROW]
[ROW][C]3[/C][C]115.18[/C][C]114.134307692308[/C][C]1.04569230769232[/C][/ROW]
[ROW][C]4[/C][C]121.01[/C][C]117.698307692308[/C][C]3.31169230769233[/C][/ROW]
[ROW][C]5[/C][C]119.44[/C][C]117.664307692308[/C][C]1.77569230769233[/C][/ROW]
[ROW][C]6[/C][C]116.68[/C][C]117.866307692308[/C][C]-1.18630769230769[/C][/ROW]
[ROW][C]7[/C][C]117.07[/C][C]120.272307692308[/C][C]-3.2023076923077[/C][/ROW]
[ROW][C]8[/C][C]117.41[/C][C]122.282307692308[/C][C]-4.87230769230769[/C][/ROW]
[ROW][C]9[/C][C]119.58[/C][C]122.292307692308[/C][C]-2.71230769230769[/C][/ROW]
[ROW][C]10[/C][C]120.92[/C][C]121.552307692308[/C][C]-0.632307692307678[/C][/ROW]
[ROW][C]11[/C][C]117.09[/C][C]118.182307692308[/C][C]-1.09230769230769[/C][/ROW]
[ROW][C]12[/C][C]116.77[/C][C]116.864307692308[/C][C]-0.0943076923076862[/C][/ROW]
[ROW][C]13[/C][C]119.39[/C][C]121.271594405594[/C][C]-1.88159440559436[/C][/ROW]
[ROW][C]14[/C][C]122.49[/C][C]123.125594405594[/C][C]-0.635594405594401[/C][/ROW]
[ROW][C]15[/C][C]124.08[/C][C]113.583832167832[/C][C]10.4961678321678[/C][/ROW]
[ROW][C]16[/C][C]118.29[/C][C]117.147832167832[/C][C]1.14216783216783[/C][/ROW]
[ROW][C]17[/C][C]112.94[/C][C]117.113832167832[/C][C]-4.17383216783217[/C][/ROW]
[ROW][C]18[/C][C]113.79[/C][C]117.315832167832[/C][C]-3.52583216783216[/C][/ROW]
[ROW][C]19[/C][C]114.43[/C][C]119.721832167832[/C][C]-5.29183216783216[/C][/ROW]
[ROW][C]20[/C][C]118.7[/C][C]121.731832167832[/C][C]-3.03183216783216[/C][/ROW]
[ROW][C]21[/C][C]120.36[/C][C]121.741832167832[/C][C]-1.38183216783217[/C][/ROW]
[ROW][C]22[/C][C]118.27[/C][C]121.001832167832[/C][C]-2.73183216783217[/C][/ROW]
[ROW][C]23[/C][C]118.34[/C][C]117.631832167832[/C][C]0.708167832167837[/C][/ROW]
[ROW][C]24[/C][C]117.82[/C][C]116.313832167832[/C][C]1.50616783216783[/C][/ROW]
[ROW][C]25[/C][C]117.65[/C][C]120.721118881119[/C][C]-3.07111888111884[/C][/ROW]
[ROW][C]26[/C][C]118.18[/C][C]122.575118881119[/C][C]-4.39511888111887[/C][/ROW]
[ROW][C]27[/C][C]121.02[/C][C]127.865559440559[/C][C]-6.84555944055945[/C][/ROW]
[ROW][C]28[/C][C]124.78[/C][C]131.429559440559[/C][C]-6.64955944055944[/C][/ROW]
[ROW][C]29[/C][C]131.16[/C][C]131.395559440559[/C][C]-0.235559440559442[/C][/ROW]
[ROW][C]30[/C][C]130.14[/C][C]131.597559440559[/C][C]-1.45755944055945[/C][/ROW]
[ROW][C]31[/C][C]131.75[/C][C]134.003559440559[/C][C]-2.25355944055945[/C][/ROW]
[ROW][C]32[/C][C]134.73[/C][C]136.013559440559[/C][C]-1.28355944055945[/C][/ROW]
[ROW][C]33[/C][C]135.35[/C][C]136.023559440559[/C][C]-0.673559440559444[/C][/ROW]
[ROW][C]34[/C][C]140.32[/C][C]135.283559440559[/C][C]5.03644055944056[/C][/ROW]
[ROW][C]35[/C][C]136.35[/C][C]131.913559440559[/C][C]4.43644055944055[/C][/ROW]
[ROW][C]36[/C][C]131.6[/C][C]130.595559440559[/C][C]1.00444055944055[/C][/ROW]
[ROW][C]37[/C][C]128.9[/C][C]135.002846153846[/C][C]-6.10284615384612[/C][/ROW]
[ROW][C]38[/C][C]133.89[/C][C]136.856846153846[/C][C]-2.96684615384617[/C][/ROW]
[ROW][C]39[/C][C]138.25[/C][C]142.147286713287[/C][C]-3.89728671328672[/C][/ROW]
[ROW][C]40[/C][C]146.23[/C][C]145.711286713287[/C][C]0.51871328671328[/C][/ROW]
[ROW][C]41[/C][C]144.76[/C][C]145.677286713287[/C][C]-0.91728671328672[/C][/ROW]
[ROW][C]42[/C][C]149.3[/C][C]145.879286713287[/C][C]3.42071328671330[/C][/ROW]
[ROW][C]43[/C][C]156.8[/C][C]148.285286713287[/C][C]8.51471328671329[/C][/ROW]
[ROW][C]44[/C][C]159.08[/C][C]150.295286713287[/C][C]8.7847132867133[/C][/ROW]
[ROW][C]45[/C][C]165.12[/C][C]150.305286713287[/C][C]14.8147132867133[/C][/ROW]
[ROW][C]46[/C][C]163.14[/C][C]149.565286713287[/C][C]13.5747132867133[/C][/ROW]
[ROW][C]47[/C][C]153.43[/C][C]146.195286713287[/C][C]7.23471328671329[/C][/ROW]
[ROW][C]48[/C][C]151.01[/C][C]144.877286713287[/C][C]6.13271328671328[/C][/ROW]
[ROW][C]49[/C][C]154.72[/C][C]149.284573426573[/C][C]5.4354265734266[/C][/ROW]
[ROW][C]50[/C][C]154.58[/C][C]151.138573426573[/C][C]3.44142657342658[/C][/ROW]
[ROW][C]51[/C][C]155.63[/C][C]156.429013986014[/C][C]-0.799013986013992[/C][/ROW]
[ROW][C]52[/C][C]161.67[/C][C]159.993013986014[/C][C]1.67698601398599[/C][/ROW]
[ROW][C]53[/C][C]163.51[/C][C]159.959013986014[/C][C]3.550986013986[/C][/ROW]
[ROW][C]54[/C][C]162.91[/C][C]160.161013986014[/C][C]2.74898601398601[/C][/ROW]
[ROW][C]55[/C][C]164.8[/C][C]162.567013986014[/C][C]2.23298601398602[/C][/ROW]
[ROW][C]56[/C][C]164.98[/C][C]164.577013986014[/C][C]0.402986013986004[/C][/ROW]
[ROW][C]57[/C][C]154.54[/C][C]164.587013986014[/C][C]-10.047013986014[/C][/ROW]
[ROW][C]58[/C][C]148.6[/C][C]163.847013986014[/C][C]-15.247013986014[/C][/ROW]
[ROW][C]59[/C][C]149.19[/C][C]160.477013986014[/C][C]-11.287013986014[/C][/ROW]
[ROW][C]60[/C][C]150.61[/C][C]159.159013986014[/C][C]-8.54901398601397[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3864&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3864&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
1112.61106.9898671328675.62013286713272
2113.4108.8438671328674.55613286713287
3115.18114.1343076923081.04569230769232
4121.01117.6983076923083.31169230769233
5119.44117.6643076923081.77569230769233
6116.68117.866307692308-1.18630769230769
7117.07120.272307692308-3.2023076923077
8117.41122.282307692308-4.87230769230769
9119.58122.292307692308-2.71230769230769
10120.92121.552307692308-0.632307692307678
11117.09118.182307692308-1.09230769230769
12116.77116.864307692308-0.0943076923076862
13119.39121.271594405594-1.88159440559436
14122.49123.125594405594-0.635594405594401
15124.08113.58383216783210.4961678321678
16118.29117.1478321678321.14216783216783
17112.94117.113832167832-4.17383216783217
18113.79117.315832167832-3.52583216783216
19114.43119.721832167832-5.29183216783216
20118.7121.731832167832-3.03183216783216
21120.36121.741832167832-1.38183216783217
22118.27121.001832167832-2.73183216783217
23118.34117.6318321678320.708167832167837
24117.82116.3138321678321.50616783216783
25117.65120.721118881119-3.07111888111884
26118.18122.575118881119-4.39511888111887
27121.02127.865559440559-6.84555944055945
28124.78131.429559440559-6.64955944055944
29131.16131.395559440559-0.235559440559442
30130.14131.597559440559-1.45755944055945
31131.75134.003559440559-2.25355944055945
32134.73136.013559440559-1.28355944055945
33135.35136.023559440559-0.673559440559444
34140.32135.2835594405595.03644055944056
35136.35131.9135594405594.43644055944055
36131.6130.5955594405591.00444055944055
37128.9135.002846153846-6.10284615384612
38133.89136.856846153846-2.96684615384617
39138.25142.147286713287-3.89728671328672
40146.23145.7112867132870.51871328671328
41144.76145.677286713287-0.91728671328672
42149.3145.8792867132873.42071328671330
43156.8148.2852867132878.51471328671329
44159.08150.2952867132878.7847132867133
45165.12150.30528671328714.8147132867133
46163.14149.56528671328713.5747132867133
47153.43146.1952867132877.23471328671329
48151.01144.8772867132876.13271328671328
49154.72149.2845734265735.4354265734266
50154.58151.1385734265733.44142657342658
51155.63156.429013986014-0.799013986013992
52161.67159.9930139860141.67698601398599
53163.51159.9590139860143.550986013986
54162.91160.1610139860142.74898601398601
55164.8162.5670139860142.23298601398602
56164.98164.5770139860140.402986013986004
57154.54164.587013986014-10.047013986014
58148.6163.847013986014-15.247013986014
59149.19160.477013986014-11.287013986014
60150.61159.159013986014-8.54901398601397



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')