Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationSun, 18 Nov 2007 09:53:00 -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/18/t1195404393byqbop09kdhyv8b.htm/, Retrieved Sun, 05 May 2024 05:42:15 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=5600, Retrieved Sun, 05 May 2024 05:42:15 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsThe Seatbelt Law Q3
Estimated Impact168
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [The Seatbelt Law Q3] [2007-11-18 16:53:00] [0cecb02636bfe8ebd97a7fef80b2b9e7] [Current]
Feedback Forum

Post a new message
Dataseries X:
117	126,6
103,8	93,9
100,8	89,8
110,6	93,4
104	101,5
112,6	110,4
107,3	105,9
98,9	108,4
109,8	113,9
104,9	86,1
102,2	69,4
123,9	101,2
124,9	100,5
112,7	98
121,9	106,6
100,6	90,1
104,3	96,9
120,4	125,9
107,5	112
102,9	100
125,6	123,9
107,5	79,8
108,8	83,4
128,4	113,6
121,1	112,9
119,5	104
128,7	109,9
108,7	99
105,5	106,3
119,8	128,9
111,3	111,1
110,6	102,9
120,1	130
97,5	87
107,7	87,5
127,3	117,6
117,2	103,4
119,8	110,8
116,2	112,6
111	102,5
112,4	112,4
130,6	135,6
109,1	105,1
118,8	127,7
123,9	137
101,6	91
112,8	90,5
128	122,4
129,6	123,3
125,8	124,3
119,5	120
115,7	118,1
113,6	119
129,7	142,7
112	123,6
116,8	129,6
127	151,6
112,9	108,7
113,3	99,3
121,7	126,4




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

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

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

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
Consumptiegoederen[t] = + 89.0024026280987 + 0.291830859689179`Investeringsgoederen `[t] -2.15683048862524M1[t] -5.79469087937866M2[t] -5.23731636662177M3[t] -11.3293401401814M4[t] -14.6969565430642M5[t] -6.387016138122M6[t] -14.6407313147899M7[t] -15.1984553178465M8[t] -8.72453794292267M9[t] -13.3110448309259M10[t] -7.9993386912588M11[t] + 0.081532728934197t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Consumptiegoederen[t] =  +  89.0024026280987 +  0.291830859689179`Investeringsgoederen
`[t] -2.15683048862524M1[t] -5.79469087937866M2[t] -5.23731636662177M3[t] -11.3293401401814M4[t] -14.6969565430642M5[t] -6.387016138122M6[t] -14.6407313147899M7[t] -15.1984553178465M8[t] -8.72453794292267M9[t] -13.3110448309259M10[t] -7.9993386912588M11[t] +  0.081532728934197t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5600&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Consumptiegoederen[t] =  +  89.0024026280987 +  0.291830859689179`Investeringsgoederen
`[t] -2.15683048862524M1[t] -5.79469087937866M2[t] -5.23731636662177M3[t] -11.3293401401814M4[t] -14.6969565430642M5[t] -6.387016138122M6[t] -14.6407313147899M7[t] -15.1984553178465M8[t] -8.72453794292267M9[t] -13.3110448309259M10[t] -7.9993386912588M11[t] +  0.081532728934197t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5600&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5600&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
Consumptiegoederen[t] = + 89.0024026280987 + 0.291830859689179`Investeringsgoederen `[t] -2.15683048862524M1[t] -5.79469087937866M2[t] -5.23731636662177M3[t] -11.3293401401814M4[t] -14.6969565430642M5[t] -6.387016138122M6[t] -14.6407313147899M7[t] -15.1984553178465M8[t] -8.72453794292267M9[t] -13.3110448309259M10[t] -7.9993386912588M11[t] + 0.081532728934197t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)89.002402628098710.2463288.686300
`Investeringsgoederen `0.2918308596891790.1006172.90040.0056980.002849
M1-2.156830488625242.96715-0.72690.4709690.235484
M2-5.794690879378662.999509-1.93190.0595480.029774
M3-5.237316366621772.978128-1.75860.0852980.042649
M4-11.32934014018143.174651-3.56870.0008520.000426
M5-14.69695654306422.9967-4.90441.2e-056e-06
M6-6.3870161381223.320303-1.92360.0606030.030301
M7-14.64073131478992.946203-4.96941e-055e-06
M8-15.19845531784652.935844-5.17695e-062e-06
M9-8.724537942922673.370058-2.58880.0128490.006425
M10-13.31104483092593.847882-3.45930.0011780.000589
M11-7.99933869125884.189334-1.90950.0624520.031226
t0.0815327289341970.0598741.36170.1799120.089956

\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) & 89.0024026280987 & 10.246328 & 8.6863 & 0 & 0 \tabularnewline
`Investeringsgoederen
` & 0.291830859689179 & 0.100617 & 2.9004 & 0.005698 & 0.002849 \tabularnewline
M1 & -2.15683048862524 & 2.96715 & -0.7269 & 0.470969 & 0.235484 \tabularnewline
M2 & -5.79469087937866 & 2.999509 & -1.9319 & 0.059548 & 0.029774 \tabularnewline
M3 & -5.23731636662177 & 2.978128 & -1.7586 & 0.085298 & 0.042649 \tabularnewline
M4 & -11.3293401401814 & 3.174651 & -3.5687 & 0.000852 & 0.000426 \tabularnewline
M5 & -14.6969565430642 & 2.9967 & -4.9044 & 1.2e-05 & 6e-06 \tabularnewline
M6 & -6.387016138122 & 3.320303 & -1.9236 & 0.060603 & 0.030301 \tabularnewline
M7 & -14.6407313147899 & 2.946203 & -4.9694 & 1e-05 & 5e-06 \tabularnewline
M8 & -15.1984553178465 & 2.935844 & -5.1769 & 5e-06 & 2e-06 \tabularnewline
M9 & -8.72453794292267 & 3.370058 & -2.5888 & 0.012849 & 0.006425 \tabularnewline
M10 & -13.3110448309259 & 3.847882 & -3.4593 & 0.001178 & 0.000589 \tabularnewline
M11 & -7.9993386912588 & 4.189334 & -1.9095 & 0.062452 & 0.031226 \tabularnewline
t & 0.081532728934197 & 0.059874 & 1.3617 & 0.179912 & 0.089956 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5600&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]89.0024026280987[/C][C]10.246328[/C][C]8.6863[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]`Investeringsgoederen
`[/C][C]0.291830859689179[/C][C]0.100617[/C][C]2.9004[/C][C]0.005698[/C][C]0.002849[/C][/ROW]
[ROW][C]M1[/C][C]-2.15683048862524[/C][C]2.96715[/C][C]-0.7269[/C][C]0.470969[/C][C]0.235484[/C][/ROW]
[ROW][C]M2[/C][C]-5.79469087937866[/C][C]2.999509[/C][C]-1.9319[/C][C]0.059548[/C][C]0.029774[/C][/ROW]
[ROW][C]M3[/C][C]-5.23731636662177[/C][C]2.978128[/C][C]-1.7586[/C][C]0.085298[/C][C]0.042649[/C][/ROW]
[ROW][C]M4[/C][C]-11.3293401401814[/C][C]3.174651[/C][C]-3.5687[/C][C]0.000852[/C][C]0.000426[/C][/ROW]
[ROW][C]M5[/C][C]-14.6969565430642[/C][C]2.9967[/C][C]-4.9044[/C][C]1.2e-05[/C][C]6e-06[/C][/ROW]
[ROW][C]M6[/C][C]-6.387016138122[/C][C]3.320303[/C][C]-1.9236[/C][C]0.060603[/C][C]0.030301[/C][/ROW]
[ROW][C]M7[/C][C]-14.6407313147899[/C][C]2.946203[/C][C]-4.9694[/C][C]1e-05[/C][C]5e-06[/C][/ROW]
[ROW][C]M8[/C][C]-15.1984553178465[/C][C]2.935844[/C][C]-5.1769[/C][C]5e-06[/C][C]2e-06[/C][/ROW]
[ROW][C]M9[/C][C]-8.72453794292267[/C][C]3.370058[/C][C]-2.5888[/C][C]0.012849[/C][C]0.006425[/C][/ROW]
[ROW][C]M10[/C][C]-13.3110448309259[/C][C]3.847882[/C][C]-3.4593[/C][C]0.001178[/C][C]0.000589[/C][/ROW]
[ROW][C]M11[/C][C]-7.9993386912588[/C][C]4.189334[/C][C]-1.9095[/C][C]0.062452[/C][C]0.031226[/C][/ROW]
[ROW][C]t[/C][C]0.081532728934197[/C][C]0.059874[/C][C]1.3617[/C][C]0.179912[/C][C]0.089956[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5600&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5600&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)89.002402628098710.2463288.686300
`Investeringsgoederen `0.2918308596891790.1006172.90040.0056980.002849
M1-2.156830488625242.96715-0.72690.4709690.235484
M2-5.794690879378662.999509-1.93190.0595480.029774
M3-5.237316366621772.978128-1.75860.0852980.042649
M4-11.32934014018143.174651-3.56870.0008520.000426
M5-14.69695654306422.9967-4.90441.2e-056e-06
M6-6.3870161381223.320303-1.92360.0606030.030301
M7-14.64073131478992.946203-4.96941e-055e-06
M8-15.19845531784652.935844-5.17695e-062e-06
M9-8.724537942922673.370058-2.58880.0128490.006425
M10-13.31104483092593.847882-3.45930.0011780.000589
M11-7.99933869125884.189334-1.90950.0624520.031226
t0.0815327289341970.0598741.36170.1799120.089956







Multiple Linear Regression - Regression Statistics
Multiple R0.890455765467203
R-squared0.792911470253783
Adjusted R-squared0.734386450977678
F-TEST (value)13.5482479127951
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value1.21763710225764e-11
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation4.63564459606906
Sum Squared Residuals988.503237768956

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.890455765467203 \tabularnewline
R-squared & 0.792911470253783 \tabularnewline
Adjusted R-squared & 0.734386450977678 \tabularnewline
F-TEST (value) & 13.5482479127951 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 1.21763710225764e-11 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 4.63564459606906 \tabularnewline
Sum Squared Residuals & 988.503237768956 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5600&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.890455765467203[/C][/ROW]
[ROW][C]R-squared[/C][C]0.792911470253783[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.734386450977678[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]13.5482479127951[/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]1.21763710225764e-11[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]4.63564459606906[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]988.503237768956[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5600&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5600&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.890455765467203
R-squared0.792911470253783
Adjusted R-squared0.734386450977678
F-TEST (value)13.5482479127951
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value1.21763710225764e-11
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation4.63564459606906
Sum Squared Residuals988.503237768956







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1117123.872891705058-6.87289170505791
2103.8110.773694931402-6.97369493140236
3100.8110.216095648368-9.41609564836783
4110.6105.2561956986235.34380430137659
5104104.333941988157-0.333941988157167
6112.6115.322709773267-2.72270977326730
7107.3105.8372884569321.4627115430677
898.9106.090674332033-7.19067433203283
9109.8114.251194164181-4.45119416418134
10104.9101.6333221057533.2666778942469
11102.2102.1529856175450.0470143824548923
12123.9119.5140783758544.38592162414599
13124.9117.2344990143817.66550098561947
14112.7112.948594203338-0.248594203338367
15121.9116.0972468383565.8027531616436
16100.6105.271546608859-4.67154660885947
17104.3103.9699127807970.330087219202691
18120.4120.82448084566-0.424480845659924
19107.5108.595849448247-1.09584944824666
20102.9104.617687857854-1.71768785785409
21125.6118.1478955082837.4521044917165
22107.5100.7731804369226.72681956307837
23108.8107.2170104004041.58298959959601
24128.4124.1111737832104.28882621678981
25121.1121.831594421737-0.73159442173674
26119.5115.6779721086843.82202789131619
27128.7118.03868142254110.6613185774589
28108.7108.847234007304-0.147234007303526
29105.5107.691515609086-2.19151560908595
30119.8122.678366171938-2.87836617193784
31111.3109.3115944217371.98840557826324
32110.6106.4423900981634.15760990183691
33120.1120.906456499598-0.806456499597854
3497.5103.852755373894-6.35275537389409
35107.7109.39190967234-1.69190967233998
36127.3126.2568899691771.04311003082272
37117.2120.03759400190-2.83759400189989
38119.8118.6408147017811.15918529821941
39116.2119.805017490912-3.6050174909122
40111110.8470347634260.152965236573982
41112.4110.4500766004001.94992339959969
42130.6125.6120256790664.9879743209343
43109.1108.5390020108120.560997989187948
44118.8114.6581881656654.14181183433490
45123.9123.927665264632-0.0276652646324652
46101.6105.998471559861-4.39847155986117
47112.8111.2457949986181.55420500138211
48128128.636070842896-0.636070842895708
49129.6126.8234208569252.77657914307507
50125.8123.5589240547952.24107594520512
51119.5122.942958599822-3.44295859982250
52115.7116.377988921788-0.677988921787573
53113.6113.3545530215590.245446978440737
54129.7128.6624175300691.03758246993076
55112114.916265662272-2.91626566227223
56116.8116.1910595462850.608940453715108
57127129.166788563305-2.16678856330484
58112.9112.142270523570.757729476429997
59113.3114.792299311093-1.49229931109303
60121.7130.781787028863-9.08178702886279

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 117 & 123.872891705058 & -6.87289170505791 \tabularnewline
2 & 103.8 & 110.773694931402 & -6.97369493140236 \tabularnewline
3 & 100.8 & 110.216095648368 & -9.41609564836783 \tabularnewline
4 & 110.6 & 105.256195698623 & 5.34380430137659 \tabularnewline
5 & 104 & 104.333941988157 & -0.333941988157167 \tabularnewline
6 & 112.6 & 115.322709773267 & -2.72270977326730 \tabularnewline
7 & 107.3 & 105.837288456932 & 1.4627115430677 \tabularnewline
8 & 98.9 & 106.090674332033 & -7.19067433203283 \tabularnewline
9 & 109.8 & 114.251194164181 & -4.45119416418134 \tabularnewline
10 & 104.9 & 101.633322105753 & 3.2666778942469 \tabularnewline
11 & 102.2 & 102.152985617545 & 0.0470143824548923 \tabularnewline
12 & 123.9 & 119.514078375854 & 4.38592162414599 \tabularnewline
13 & 124.9 & 117.234499014381 & 7.66550098561947 \tabularnewline
14 & 112.7 & 112.948594203338 & -0.248594203338367 \tabularnewline
15 & 121.9 & 116.097246838356 & 5.8027531616436 \tabularnewline
16 & 100.6 & 105.271546608859 & -4.67154660885947 \tabularnewline
17 & 104.3 & 103.969912780797 & 0.330087219202691 \tabularnewline
18 & 120.4 & 120.82448084566 & -0.424480845659924 \tabularnewline
19 & 107.5 & 108.595849448247 & -1.09584944824666 \tabularnewline
20 & 102.9 & 104.617687857854 & -1.71768785785409 \tabularnewline
21 & 125.6 & 118.147895508283 & 7.4521044917165 \tabularnewline
22 & 107.5 & 100.773180436922 & 6.72681956307837 \tabularnewline
23 & 108.8 & 107.217010400404 & 1.58298959959601 \tabularnewline
24 & 128.4 & 124.111173783210 & 4.28882621678981 \tabularnewline
25 & 121.1 & 121.831594421737 & -0.73159442173674 \tabularnewline
26 & 119.5 & 115.677972108684 & 3.82202789131619 \tabularnewline
27 & 128.7 & 118.038681422541 & 10.6613185774589 \tabularnewline
28 & 108.7 & 108.847234007304 & -0.147234007303526 \tabularnewline
29 & 105.5 & 107.691515609086 & -2.19151560908595 \tabularnewline
30 & 119.8 & 122.678366171938 & -2.87836617193784 \tabularnewline
31 & 111.3 & 109.311594421737 & 1.98840557826324 \tabularnewline
32 & 110.6 & 106.442390098163 & 4.15760990183691 \tabularnewline
33 & 120.1 & 120.906456499598 & -0.806456499597854 \tabularnewline
34 & 97.5 & 103.852755373894 & -6.35275537389409 \tabularnewline
35 & 107.7 & 109.39190967234 & -1.69190967233998 \tabularnewline
36 & 127.3 & 126.256889969177 & 1.04311003082272 \tabularnewline
37 & 117.2 & 120.03759400190 & -2.83759400189989 \tabularnewline
38 & 119.8 & 118.640814701781 & 1.15918529821941 \tabularnewline
39 & 116.2 & 119.805017490912 & -3.6050174909122 \tabularnewline
40 & 111 & 110.847034763426 & 0.152965236573982 \tabularnewline
41 & 112.4 & 110.450076600400 & 1.94992339959969 \tabularnewline
42 & 130.6 & 125.612025679066 & 4.9879743209343 \tabularnewline
43 & 109.1 & 108.539002010812 & 0.560997989187948 \tabularnewline
44 & 118.8 & 114.658188165665 & 4.14181183433490 \tabularnewline
45 & 123.9 & 123.927665264632 & -0.0276652646324652 \tabularnewline
46 & 101.6 & 105.998471559861 & -4.39847155986117 \tabularnewline
47 & 112.8 & 111.245794998618 & 1.55420500138211 \tabularnewline
48 & 128 & 128.636070842896 & -0.636070842895708 \tabularnewline
49 & 129.6 & 126.823420856925 & 2.77657914307507 \tabularnewline
50 & 125.8 & 123.558924054795 & 2.24107594520512 \tabularnewline
51 & 119.5 & 122.942958599822 & -3.44295859982250 \tabularnewline
52 & 115.7 & 116.377988921788 & -0.677988921787573 \tabularnewline
53 & 113.6 & 113.354553021559 & 0.245446978440737 \tabularnewline
54 & 129.7 & 128.662417530069 & 1.03758246993076 \tabularnewline
55 & 112 & 114.916265662272 & -2.91626566227223 \tabularnewline
56 & 116.8 & 116.191059546285 & 0.608940453715108 \tabularnewline
57 & 127 & 129.166788563305 & -2.16678856330484 \tabularnewline
58 & 112.9 & 112.14227052357 & 0.757729476429997 \tabularnewline
59 & 113.3 & 114.792299311093 & -1.49229931109303 \tabularnewline
60 & 121.7 & 130.781787028863 & -9.08178702886279 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5600&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]117[/C][C]123.872891705058[/C][C]-6.87289170505791[/C][/ROW]
[ROW][C]2[/C][C]103.8[/C][C]110.773694931402[/C][C]-6.97369493140236[/C][/ROW]
[ROW][C]3[/C][C]100.8[/C][C]110.216095648368[/C][C]-9.41609564836783[/C][/ROW]
[ROW][C]4[/C][C]110.6[/C][C]105.256195698623[/C][C]5.34380430137659[/C][/ROW]
[ROW][C]5[/C][C]104[/C][C]104.333941988157[/C][C]-0.333941988157167[/C][/ROW]
[ROW][C]6[/C][C]112.6[/C][C]115.322709773267[/C][C]-2.72270977326730[/C][/ROW]
[ROW][C]7[/C][C]107.3[/C][C]105.837288456932[/C][C]1.4627115430677[/C][/ROW]
[ROW][C]8[/C][C]98.9[/C][C]106.090674332033[/C][C]-7.19067433203283[/C][/ROW]
[ROW][C]9[/C][C]109.8[/C][C]114.251194164181[/C][C]-4.45119416418134[/C][/ROW]
[ROW][C]10[/C][C]104.9[/C][C]101.633322105753[/C][C]3.2666778942469[/C][/ROW]
[ROW][C]11[/C][C]102.2[/C][C]102.152985617545[/C][C]0.0470143824548923[/C][/ROW]
[ROW][C]12[/C][C]123.9[/C][C]119.514078375854[/C][C]4.38592162414599[/C][/ROW]
[ROW][C]13[/C][C]124.9[/C][C]117.234499014381[/C][C]7.66550098561947[/C][/ROW]
[ROW][C]14[/C][C]112.7[/C][C]112.948594203338[/C][C]-0.248594203338367[/C][/ROW]
[ROW][C]15[/C][C]121.9[/C][C]116.097246838356[/C][C]5.8027531616436[/C][/ROW]
[ROW][C]16[/C][C]100.6[/C][C]105.271546608859[/C][C]-4.67154660885947[/C][/ROW]
[ROW][C]17[/C][C]104.3[/C][C]103.969912780797[/C][C]0.330087219202691[/C][/ROW]
[ROW][C]18[/C][C]120.4[/C][C]120.82448084566[/C][C]-0.424480845659924[/C][/ROW]
[ROW][C]19[/C][C]107.5[/C][C]108.595849448247[/C][C]-1.09584944824666[/C][/ROW]
[ROW][C]20[/C][C]102.9[/C][C]104.617687857854[/C][C]-1.71768785785409[/C][/ROW]
[ROW][C]21[/C][C]125.6[/C][C]118.147895508283[/C][C]7.4521044917165[/C][/ROW]
[ROW][C]22[/C][C]107.5[/C][C]100.773180436922[/C][C]6.72681956307837[/C][/ROW]
[ROW][C]23[/C][C]108.8[/C][C]107.217010400404[/C][C]1.58298959959601[/C][/ROW]
[ROW][C]24[/C][C]128.4[/C][C]124.111173783210[/C][C]4.28882621678981[/C][/ROW]
[ROW][C]25[/C][C]121.1[/C][C]121.831594421737[/C][C]-0.73159442173674[/C][/ROW]
[ROW][C]26[/C][C]119.5[/C][C]115.677972108684[/C][C]3.82202789131619[/C][/ROW]
[ROW][C]27[/C][C]128.7[/C][C]118.038681422541[/C][C]10.6613185774589[/C][/ROW]
[ROW][C]28[/C][C]108.7[/C][C]108.847234007304[/C][C]-0.147234007303526[/C][/ROW]
[ROW][C]29[/C][C]105.5[/C][C]107.691515609086[/C][C]-2.19151560908595[/C][/ROW]
[ROW][C]30[/C][C]119.8[/C][C]122.678366171938[/C][C]-2.87836617193784[/C][/ROW]
[ROW][C]31[/C][C]111.3[/C][C]109.311594421737[/C][C]1.98840557826324[/C][/ROW]
[ROW][C]32[/C][C]110.6[/C][C]106.442390098163[/C][C]4.15760990183691[/C][/ROW]
[ROW][C]33[/C][C]120.1[/C][C]120.906456499598[/C][C]-0.806456499597854[/C][/ROW]
[ROW][C]34[/C][C]97.5[/C][C]103.852755373894[/C][C]-6.35275537389409[/C][/ROW]
[ROW][C]35[/C][C]107.7[/C][C]109.39190967234[/C][C]-1.69190967233998[/C][/ROW]
[ROW][C]36[/C][C]127.3[/C][C]126.256889969177[/C][C]1.04311003082272[/C][/ROW]
[ROW][C]37[/C][C]117.2[/C][C]120.03759400190[/C][C]-2.83759400189989[/C][/ROW]
[ROW][C]38[/C][C]119.8[/C][C]118.640814701781[/C][C]1.15918529821941[/C][/ROW]
[ROW][C]39[/C][C]116.2[/C][C]119.805017490912[/C][C]-3.6050174909122[/C][/ROW]
[ROW][C]40[/C][C]111[/C][C]110.847034763426[/C][C]0.152965236573982[/C][/ROW]
[ROW][C]41[/C][C]112.4[/C][C]110.450076600400[/C][C]1.94992339959969[/C][/ROW]
[ROW][C]42[/C][C]130.6[/C][C]125.612025679066[/C][C]4.9879743209343[/C][/ROW]
[ROW][C]43[/C][C]109.1[/C][C]108.539002010812[/C][C]0.560997989187948[/C][/ROW]
[ROW][C]44[/C][C]118.8[/C][C]114.658188165665[/C][C]4.14181183433490[/C][/ROW]
[ROW][C]45[/C][C]123.9[/C][C]123.927665264632[/C][C]-0.0276652646324652[/C][/ROW]
[ROW][C]46[/C][C]101.6[/C][C]105.998471559861[/C][C]-4.39847155986117[/C][/ROW]
[ROW][C]47[/C][C]112.8[/C][C]111.245794998618[/C][C]1.55420500138211[/C][/ROW]
[ROW][C]48[/C][C]128[/C][C]128.636070842896[/C][C]-0.636070842895708[/C][/ROW]
[ROW][C]49[/C][C]129.6[/C][C]126.823420856925[/C][C]2.77657914307507[/C][/ROW]
[ROW][C]50[/C][C]125.8[/C][C]123.558924054795[/C][C]2.24107594520512[/C][/ROW]
[ROW][C]51[/C][C]119.5[/C][C]122.942958599822[/C][C]-3.44295859982250[/C][/ROW]
[ROW][C]52[/C][C]115.7[/C][C]116.377988921788[/C][C]-0.677988921787573[/C][/ROW]
[ROW][C]53[/C][C]113.6[/C][C]113.354553021559[/C][C]0.245446978440737[/C][/ROW]
[ROW][C]54[/C][C]129.7[/C][C]128.662417530069[/C][C]1.03758246993076[/C][/ROW]
[ROW][C]55[/C][C]112[/C][C]114.916265662272[/C][C]-2.91626566227223[/C][/ROW]
[ROW][C]56[/C][C]116.8[/C][C]116.191059546285[/C][C]0.608940453715108[/C][/ROW]
[ROW][C]57[/C][C]127[/C][C]129.166788563305[/C][C]-2.16678856330484[/C][/ROW]
[ROW][C]58[/C][C]112.9[/C][C]112.14227052357[/C][C]0.757729476429997[/C][/ROW]
[ROW][C]59[/C][C]113.3[/C][C]114.792299311093[/C][C]-1.49229931109303[/C][/ROW]
[ROW][C]60[/C][C]121.7[/C][C]130.781787028863[/C][C]-9.08178702886279[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5600&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5600&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
1117123.872891705058-6.87289170505791
2103.8110.773694931402-6.97369493140236
3100.8110.216095648368-9.41609564836783
4110.6105.2561956986235.34380430137659
5104104.333941988157-0.333941988157167
6112.6115.322709773267-2.72270977326730
7107.3105.8372884569321.4627115430677
898.9106.090674332033-7.19067433203283
9109.8114.251194164181-4.45119416418134
10104.9101.6333221057533.2666778942469
11102.2102.1529856175450.0470143824548923
12123.9119.5140783758544.38592162414599
13124.9117.2344990143817.66550098561947
14112.7112.948594203338-0.248594203338367
15121.9116.0972468383565.8027531616436
16100.6105.271546608859-4.67154660885947
17104.3103.9699127807970.330087219202691
18120.4120.82448084566-0.424480845659924
19107.5108.595849448247-1.09584944824666
20102.9104.617687857854-1.71768785785409
21125.6118.1478955082837.4521044917165
22107.5100.7731804369226.72681956307837
23108.8107.2170104004041.58298959959601
24128.4124.1111737832104.28882621678981
25121.1121.831594421737-0.73159442173674
26119.5115.6779721086843.82202789131619
27128.7118.03868142254110.6613185774589
28108.7108.847234007304-0.147234007303526
29105.5107.691515609086-2.19151560908595
30119.8122.678366171938-2.87836617193784
31111.3109.3115944217371.98840557826324
32110.6106.4423900981634.15760990183691
33120.1120.906456499598-0.806456499597854
3497.5103.852755373894-6.35275537389409
35107.7109.39190967234-1.69190967233998
36127.3126.2568899691771.04311003082272
37117.2120.03759400190-2.83759400189989
38119.8118.6408147017811.15918529821941
39116.2119.805017490912-3.6050174909122
40111110.8470347634260.152965236573982
41112.4110.4500766004001.94992339959969
42130.6125.6120256790664.9879743209343
43109.1108.5390020108120.560997989187948
44118.8114.6581881656654.14181183433490
45123.9123.927665264632-0.0276652646324652
46101.6105.998471559861-4.39847155986117
47112.8111.2457949986181.55420500138211
48128128.636070842896-0.636070842895708
49129.6126.8234208569252.77657914307507
50125.8123.5589240547952.24107594520512
51119.5122.942958599822-3.44295859982250
52115.7116.377988921788-0.677988921787573
53113.6113.3545530215590.245446978440737
54129.7128.6624175300691.03758246993076
55112114.916265662272-2.91626566227223
56116.8116.1910595462850.608940453715108
57127129.166788563305-2.16678856330484
58112.9112.142270523570.757729476429997
59113.3114.792299311093-1.49229931109303
60121.7130.781787028863-9.08178702886279



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