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 05:06:13 -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/t119763307338jrrp4sypbq7jg.htm/, Retrieved Thu, 02 May 2024 17:30:59 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=14373, Retrieved Thu, 02 May 2024 17:30:59 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact212
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [wisselkoers$ met ...] [2007-12-14 12:06:13] [2edc4ec987a5ad4b633f8743f848b783] [Current]
Feedback Forum

Post a new message
Dataseries X:
0.9383	0
0.9217	0
0.9095	0
0.892	0
0.8742	0
0.8532	0
0.8607	0
0.9005	0
0.9111	0
0.9059	0
0.8883	0
0.8924	0
0.8833	0
0.87	0
0.8758	0
0.8858	0
0.917	0
0.9554	0
0.9922	0
0.9778	0
0.9808	0
0.9811	0
1.0014	0
1.0183	0
1.0622	0
1.0773	0
1.0807	1
1.0848	1
1.1582	1
1.1663	1
1.1372	1
1.1139	1
1.1222	1
1.1692	1
1.1702	1
1.2286	1
1.2613	1
1.2646	1
1.2262	1
1.1985	1
1.2007	1
1.2138	1
1.2266	1
1.2176	1
1.2218	1
1.249	1
1.2991	1
1.3408	1
1.3119	1
1.3014	1
1.3201	1
1.2938	1
1.2694	1
1.2165	1
1.2037	1
1.2292	1
1.2256	1
1.2015	1
1.1786	1
1.1856	1




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14373&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
wisselkoers$[t] = + 0.881645 + 0.158358333333333`nietoorlog/oorlog`[t] + 0.0377449999999998M1[t] + 0.0289983333333334M2[t] -0.0115599999999999M3[t] -0.0273866666666665M4[t] -0.0188133333333332M5[t] -0.0260200000000000M6[t] -0.0273266666666666M7[t] -0.0279533333333333M8[t] -0.0277999999999999M9[t] -0.0231066666666666M10[t] -0.0212733333333333M11[t] + 0.00434666666666667t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
wisselkoers$[t] =  +  0.881645 +  0.158358333333333`nietoorlog/oorlog`[t] +  0.0377449999999998M1[t] +  0.0289983333333334M2[t] -0.0115599999999999M3[t] -0.0273866666666665M4[t] -0.0188133333333332M5[t] -0.0260200000000000M6[t] -0.0273266666666666M7[t] -0.0279533333333333M8[t] -0.0277999999999999M9[t] -0.0231066666666666M10[t] -0.0212733333333333M11[t] +  0.00434666666666667t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14373&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]wisselkoers$[t] =  +  0.881645 +  0.158358333333333`nietoorlog/oorlog`[t] +  0.0377449999999998M1[t] +  0.0289983333333334M2[t] -0.0115599999999999M3[t] -0.0273866666666665M4[t] -0.0188133333333332M5[t] -0.0260200000000000M6[t] -0.0273266666666666M7[t] -0.0279533333333333M8[t] -0.0277999999999999M9[t] -0.0231066666666666M10[t] -0.0212733333333333M11[t] +  0.00434666666666667t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14373&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14373&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
wisselkoers$[t] = + 0.881645 + 0.158358333333333`nietoorlog/oorlog`[t] + 0.0377449999999998M1[t] + 0.0289983333333334M2[t] -0.0115599999999999M3[t] -0.0273866666666665M4[t] -0.0188133333333332M5[t] -0.0260200000000000M6[t] -0.0273266666666666M7[t] -0.0279533333333333M8[t] -0.0277999999999999M9[t] -0.0231066666666666M10[t] -0.0212733333333333M11[t] + 0.00434666666666667t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)0.8816450.02735432.230300
`nietoorlog/oorlog`0.1583583333333330.0263226.016200
M10.03774499999999980.0319231.18240.2431270.121563
M20.02899833333333340.0318410.91070.3671910.183596
M3-0.01155999999999990.032318-0.35770.7222080.361104
M4-0.02738666666666650.032166-0.85140.3989470.199473
M5-0.01881333333333320.032031-0.58730.5598420.279921
M6-0.02602000000000000.031914-0.81530.4190870.209543
M7-0.02732666666666660.031814-0.8590.394820.19741
M8-0.02795333333333330.031732-0.88090.3829430.191472
M9-0.02779999999999990.031668-0.87780.3845890.192295
M10-0.02310666666666660.031623-0.73070.468670.234335
M11-0.02127333333333330.031595-0.67330.5041220.252061
t0.004346666666666670.000765.72041e-060

\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) & 0.881645 & 0.027354 & 32.2303 & 0 & 0 \tabularnewline
`nietoorlog/oorlog` & 0.158358333333333 & 0.026322 & 6.0162 & 0 & 0 \tabularnewline
M1 & 0.0377449999999998 & 0.031923 & 1.1824 & 0.243127 & 0.121563 \tabularnewline
M2 & 0.0289983333333334 & 0.031841 & 0.9107 & 0.367191 & 0.183596 \tabularnewline
M3 & -0.0115599999999999 & 0.032318 & -0.3577 & 0.722208 & 0.361104 \tabularnewline
M4 & -0.0273866666666665 & 0.032166 & -0.8514 & 0.398947 & 0.199473 \tabularnewline
M5 & -0.0188133333333332 & 0.032031 & -0.5873 & 0.559842 & 0.279921 \tabularnewline
M6 & -0.0260200000000000 & 0.031914 & -0.8153 & 0.419087 & 0.209543 \tabularnewline
M7 & -0.0273266666666666 & 0.031814 & -0.859 & 0.39482 & 0.19741 \tabularnewline
M8 & -0.0279533333333333 & 0.031732 & -0.8809 & 0.382943 & 0.191472 \tabularnewline
M9 & -0.0277999999999999 & 0.031668 & -0.8778 & 0.384589 & 0.192295 \tabularnewline
M10 & -0.0231066666666666 & 0.031623 & -0.7307 & 0.46867 & 0.234335 \tabularnewline
M11 & -0.0212733333333333 & 0.031595 & -0.6733 & 0.504122 & 0.252061 \tabularnewline
t & 0.00434666666666667 & 0.00076 & 5.7204 & 1e-06 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14373&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]0.881645[/C][C]0.027354[/C][C]32.2303[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]`nietoorlog/oorlog`[/C][C]0.158358333333333[/C][C]0.026322[/C][C]6.0162[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]0.0377449999999998[/C][C]0.031923[/C][C]1.1824[/C][C]0.243127[/C][C]0.121563[/C][/ROW]
[ROW][C]M2[/C][C]0.0289983333333334[/C][C]0.031841[/C][C]0.9107[/C][C]0.367191[/C][C]0.183596[/C][/ROW]
[ROW][C]M3[/C][C]-0.0115599999999999[/C][C]0.032318[/C][C]-0.3577[/C][C]0.722208[/C][C]0.361104[/C][/ROW]
[ROW][C]M4[/C][C]-0.0273866666666665[/C][C]0.032166[/C][C]-0.8514[/C][C]0.398947[/C][C]0.199473[/C][/ROW]
[ROW][C]M5[/C][C]-0.0188133333333332[/C][C]0.032031[/C][C]-0.5873[/C][C]0.559842[/C][C]0.279921[/C][/ROW]
[ROW][C]M6[/C][C]-0.0260200000000000[/C][C]0.031914[/C][C]-0.8153[/C][C]0.419087[/C][C]0.209543[/C][/ROW]
[ROW][C]M7[/C][C]-0.0273266666666666[/C][C]0.031814[/C][C]-0.859[/C][C]0.39482[/C][C]0.19741[/C][/ROW]
[ROW][C]M8[/C][C]-0.0279533333333333[/C][C]0.031732[/C][C]-0.8809[/C][C]0.382943[/C][C]0.191472[/C][/ROW]
[ROW][C]M9[/C][C]-0.0277999999999999[/C][C]0.031668[/C][C]-0.8778[/C][C]0.384589[/C][C]0.192295[/C][/ROW]
[ROW][C]M10[/C][C]-0.0231066666666666[/C][C]0.031623[/C][C]-0.7307[/C][C]0.46867[/C][C]0.234335[/C][/ROW]
[ROW][C]M11[/C][C]-0.0212733333333333[/C][C]0.031595[/C][C]-0.6733[/C][C]0.504122[/C][C]0.252061[/C][/ROW]
[ROW][C]t[/C][C]0.00434666666666667[/C][C]0.00076[/C][C]5.7204[/C][C]1e-06[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14373&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14373&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)0.8816450.02735432.230300
`nietoorlog/oorlog`0.1583583333333330.0263226.016200
M10.03774499999999980.0319231.18240.2431270.121563
M20.02899833333333340.0318410.91070.3671910.183596
M3-0.01155999999999990.032318-0.35770.7222080.361104
M4-0.02738666666666650.032166-0.85140.3989470.199473
M5-0.01881333333333320.032031-0.58730.5598420.279921
M6-0.02602000000000000.031914-0.81530.4190870.209543
M7-0.02732666666666660.031814-0.8590.394820.19741
M8-0.02795333333333330.031732-0.88090.3829430.191472
M9-0.02779999999999990.031668-0.87780.3845890.192295
M10-0.02310666666666660.031623-0.73070.468670.234335
M11-0.02127333333333330.031595-0.67330.5041220.252061
t0.004346666666666670.000765.72041e-060







Multiple Linear Regression - Regression Statistics
Multiple R0.958489058105807
R-squared0.918701274508558
Adjusted R-squared0.895725547739237
F-TEST (value)39.9857329316473
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.0499422542629942
Sum Squared Residuals0.114734523

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.958489058105807 \tabularnewline
R-squared & 0.918701274508558 \tabularnewline
Adjusted R-squared & 0.895725547739237 \tabularnewline
F-TEST (value) & 39.9857329316473 \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 & 0.0499422542629942 \tabularnewline
Sum Squared Residuals & 0.114734523 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14373&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.958489058105807[/C][/ROW]
[ROW][C]R-squared[/C][C]0.918701274508558[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.895725547739237[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]39.9857329316473[/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]0.0499422542629942[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]0.114734523[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14373&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14373&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.958489058105807
R-squared0.918701274508558
Adjusted R-squared0.895725547739237
F-TEST (value)39.9857329316473
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.0499422542629942
Sum Squared Residuals0.114734523







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
10.93830.9237366666666680.0145633333333323
20.92170.9193366666666660.00236333333333383
30.90950.8831250.0263750000000001
40.8920.8716450.0203550000000001
50.87420.884565-0.010365
60.85320.881705-0.0285050000000000
70.86070.884745-0.0240450000000000
80.90050.8884650.0120350000000000
90.91110.8929650.018135
100.90590.9020050.00389500000000001
110.88830.908185-0.019885
120.89240.933805-0.041405
130.88330.975896666666666-0.0925966666666665
140.870.971496666666667-0.101496666666667
150.87580.935285-0.059485
160.88580.923805-0.038005
170.9170.936725-0.019725
180.95540.9338650.0215350000000001
190.99220.9369050.055295
200.97780.9406250.037175
210.98080.9451250.035675
220.98110.9541650.0269350000000000
231.00140.9603450.0410550000000001
241.01830.9859650.0323350000000000
251.06221.028056666666670.0341433333333336
261.07731.023656666666670.0536433333333332
271.08071.14580333333333-0.0651033333333333
281.08481.13432333333333-0.0495233333333333
291.15821.147243333333330.0109566666666666
301.16631.144383333333330.0219166666666666
311.13721.14742333333333-0.0102233333333333
321.11391.15114333333333-0.0372433333333334
331.12221.15564333333333-0.0334433333333332
341.16921.164683333333330.0045166666666667
351.17021.17086333333333-0.000663333333333383
361.22861.196483333333330.0321166666666667
371.26131.2385750.0227250000000003
381.26461.2341750.0304249999999999
391.22621.197963333333330.0282366666666666
401.19851.186483333333330.0120166666666665
411.20071.199403333333330.00129666666666673
421.21381.196543333333330.0172566666666667
431.22661.199583333333330.0270166666666666
441.21761.203303333333330.0142966666666667
451.22181.207803333333330.0139966666666666
461.2491.216843333333330.0321566666666668
471.29911.223023333333330.0760766666666666
481.34081.248643333333330.0921566666666667
491.31191.2907350.0211650000000003
501.30141.2863350.0150649999999999
511.32011.250123333333330.0699766666666666
521.29381.238643333333330.0551566666666667
531.26941.251563333333330.0178366666666667
541.21651.24870333333333-0.0322033333333334
551.20371.25174333333333-0.0480433333333334
561.22921.25546333333333-0.0262633333333333
571.22561.25996333333333-0.0343633333333334
581.20151.26900333333333-0.0675033333333334
591.17861.27518333333333-0.0965833333333333
601.18561.30080333333333-0.115203333333333

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 0.9383 & 0.923736666666668 & 0.0145633333333323 \tabularnewline
2 & 0.9217 & 0.919336666666666 & 0.00236333333333383 \tabularnewline
3 & 0.9095 & 0.883125 & 0.0263750000000001 \tabularnewline
4 & 0.892 & 0.871645 & 0.0203550000000001 \tabularnewline
5 & 0.8742 & 0.884565 & -0.010365 \tabularnewline
6 & 0.8532 & 0.881705 & -0.0285050000000000 \tabularnewline
7 & 0.8607 & 0.884745 & -0.0240450000000000 \tabularnewline
8 & 0.9005 & 0.888465 & 0.0120350000000000 \tabularnewline
9 & 0.9111 & 0.892965 & 0.018135 \tabularnewline
10 & 0.9059 & 0.902005 & 0.00389500000000001 \tabularnewline
11 & 0.8883 & 0.908185 & -0.019885 \tabularnewline
12 & 0.8924 & 0.933805 & -0.041405 \tabularnewline
13 & 0.8833 & 0.975896666666666 & -0.0925966666666665 \tabularnewline
14 & 0.87 & 0.971496666666667 & -0.101496666666667 \tabularnewline
15 & 0.8758 & 0.935285 & -0.059485 \tabularnewline
16 & 0.8858 & 0.923805 & -0.038005 \tabularnewline
17 & 0.917 & 0.936725 & -0.019725 \tabularnewline
18 & 0.9554 & 0.933865 & 0.0215350000000001 \tabularnewline
19 & 0.9922 & 0.936905 & 0.055295 \tabularnewline
20 & 0.9778 & 0.940625 & 0.037175 \tabularnewline
21 & 0.9808 & 0.945125 & 0.035675 \tabularnewline
22 & 0.9811 & 0.954165 & 0.0269350000000000 \tabularnewline
23 & 1.0014 & 0.960345 & 0.0410550000000001 \tabularnewline
24 & 1.0183 & 0.985965 & 0.0323350000000000 \tabularnewline
25 & 1.0622 & 1.02805666666667 & 0.0341433333333336 \tabularnewline
26 & 1.0773 & 1.02365666666667 & 0.0536433333333332 \tabularnewline
27 & 1.0807 & 1.14580333333333 & -0.0651033333333333 \tabularnewline
28 & 1.0848 & 1.13432333333333 & -0.0495233333333333 \tabularnewline
29 & 1.1582 & 1.14724333333333 & 0.0109566666666666 \tabularnewline
30 & 1.1663 & 1.14438333333333 & 0.0219166666666666 \tabularnewline
31 & 1.1372 & 1.14742333333333 & -0.0102233333333333 \tabularnewline
32 & 1.1139 & 1.15114333333333 & -0.0372433333333334 \tabularnewline
33 & 1.1222 & 1.15564333333333 & -0.0334433333333332 \tabularnewline
34 & 1.1692 & 1.16468333333333 & 0.0045166666666667 \tabularnewline
35 & 1.1702 & 1.17086333333333 & -0.000663333333333383 \tabularnewline
36 & 1.2286 & 1.19648333333333 & 0.0321166666666667 \tabularnewline
37 & 1.2613 & 1.238575 & 0.0227250000000003 \tabularnewline
38 & 1.2646 & 1.234175 & 0.0304249999999999 \tabularnewline
39 & 1.2262 & 1.19796333333333 & 0.0282366666666666 \tabularnewline
40 & 1.1985 & 1.18648333333333 & 0.0120166666666665 \tabularnewline
41 & 1.2007 & 1.19940333333333 & 0.00129666666666673 \tabularnewline
42 & 1.2138 & 1.19654333333333 & 0.0172566666666667 \tabularnewline
43 & 1.2266 & 1.19958333333333 & 0.0270166666666666 \tabularnewline
44 & 1.2176 & 1.20330333333333 & 0.0142966666666667 \tabularnewline
45 & 1.2218 & 1.20780333333333 & 0.0139966666666666 \tabularnewline
46 & 1.249 & 1.21684333333333 & 0.0321566666666668 \tabularnewline
47 & 1.2991 & 1.22302333333333 & 0.0760766666666666 \tabularnewline
48 & 1.3408 & 1.24864333333333 & 0.0921566666666667 \tabularnewline
49 & 1.3119 & 1.290735 & 0.0211650000000003 \tabularnewline
50 & 1.3014 & 1.286335 & 0.0150649999999999 \tabularnewline
51 & 1.3201 & 1.25012333333333 & 0.0699766666666666 \tabularnewline
52 & 1.2938 & 1.23864333333333 & 0.0551566666666667 \tabularnewline
53 & 1.2694 & 1.25156333333333 & 0.0178366666666667 \tabularnewline
54 & 1.2165 & 1.24870333333333 & -0.0322033333333334 \tabularnewline
55 & 1.2037 & 1.25174333333333 & -0.0480433333333334 \tabularnewline
56 & 1.2292 & 1.25546333333333 & -0.0262633333333333 \tabularnewline
57 & 1.2256 & 1.25996333333333 & -0.0343633333333334 \tabularnewline
58 & 1.2015 & 1.26900333333333 & -0.0675033333333334 \tabularnewline
59 & 1.1786 & 1.27518333333333 & -0.0965833333333333 \tabularnewline
60 & 1.1856 & 1.30080333333333 & -0.115203333333333 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14373&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]0.9383[/C][C]0.923736666666668[/C][C]0.0145633333333323[/C][/ROW]
[ROW][C]2[/C][C]0.9217[/C][C]0.919336666666666[/C][C]0.00236333333333383[/C][/ROW]
[ROW][C]3[/C][C]0.9095[/C][C]0.883125[/C][C]0.0263750000000001[/C][/ROW]
[ROW][C]4[/C][C]0.892[/C][C]0.871645[/C][C]0.0203550000000001[/C][/ROW]
[ROW][C]5[/C][C]0.8742[/C][C]0.884565[/C][C]-0.010365[/C][/ROW]
[ROW][C]6[/C][C]0.8532[/C][C]0.881705[/C][C]-0.0285050000000000[/C][/ROW]
[ROW][C]7[/C][C]0.8607[/C][C]0.884745[/C][C]-0.0240450000000000[/C][/ROW]
[ROW][C]8[/C][C]0.9005[/C][C]0.888465[/C][C]0.0120350000000000[/C][/ROW]
[ROW][C]9[/C][C]0.9111[/C][C]0.892965[/C][C]0.018135[/C][/ROW]
[ROW][C]10[/C][C]0.9059[/C][C]0.902005[/C][C]0.00389500000000001[/C][/ROW]
[ROW][C]11[/C][C]0.8883[/C][C]0.908185[/C][C]-0.019885[/C][/ROW]
[ROW][C]12[/C][C]0.8924[/C][C]0.933805[/C][C]-0.041405[/C][/ROW]
[ROW][C]13[/C][C]0.8833[/C][C]0.975896666666666[/C][C]-0.0925966666666665[/C][/ROW]
[ROW][C]14[/C][C]0.87[/C][C]0.971496666666667[/C][C]-0.101496666666667[/C][/ROW]
[ROW][C]15[/C][C]0.8758[/C][C]0.935285[/C][C]-0.059485[/C][/ROW]
[ROW][C]16[/C][C]0.8858[/C][C]0.923805[/C][C]-0.038005[/C][/ROW]
[ROW][C]17[/C][C]0.917[/C][C]0.936725[/C][C]-0.019725[/C][/ROW]
[ROW][C]18[/C][C]0.9554[/C][C]0.933865[/C][C]0.0215350000000001[/C][/ROW]
[ROW][C]19[/C][C]0.9922[/C][C]0.936905[/C][C]0.055295[/C][/ROW]
[ROW][C]20[/C][C]0.9778[/C][C]0.940625[/C][C]0.037175[/C][/ROW]
[ROW][C]21[/C][C]0.9808[/C][C]0.945125[/C][C]0.035675[/C][/ROW]
[ROW][C]22[/C][C]0.9811[/C][C]0.954165[/C][C]0.0269350000000000[/C][/ROW]
[ROW][C]23[/C][C]1.0014[/C][C]0.960345[/C][C]0.0410550000000001[/C][/ROW]
[ROW][C]24[/C][C]1.0183[/C][C]0.985965[/C][C]0.0323350000000000[/C][/ROW]
[ROW][C]25[/C][C]1.0622[/C][C]1.02805666666667[/C][C]0.0341433333333336[/C][/ROW]
[ROW][C]26[/C][C]1.0773[/C][C]1.02365666666667[/C][C]0.0536433333333332[/C][/ROW]
[ROW][C]27[/C][C]1.0807[/C][C]1.14580333333333[/C][C]-0.0651033333333333[/C][/ROW]
[ROW][C]28[/C][C]1.0848[/C][C]1.13432333333333[/C][C]-0.0495233333333333[/C][/ROW]
[ROW][C]29[/C][C]1.1582[/C][C]1.14724333333333[/C][C]0.0109566666666666[/C][/ROW]
[ROW][C]30[/C][C]1.1663[/C][C]1.14438333333333[/C][C]0.0219166666666666[/C][/ROW]
[ROW][C]31[/C][C]1.1372[/C][C]1.14742333333333[/C][C]-0.0102233333333333[/C][/ROW]
[ROW][C]32[/C][C]1.1139[/C][C]1.15114333333333[/C][C]-0.0372433333333334[/C][/ROW]
[ROW][C]33[/C][C]1.1222[/C][C]1.15564333333333[/C][C]-0.0334433333333332[/C][/ROW]
[ROW][C]34[/C][C]1.1692[/C][C]1.16468333333333[/C][C]0.0045166666666667[/C][/ROW]
[ROW][C]35[/C][C]1.1702[/C][C]1.17086333333333[/C][C]-0.000663333333333383[/C][/ROW]
[ROW][C]36[/C][C]1.2286[/C][C]1.19648333333333[/C][C]0.0321166666666667[/C][/ROW]
[ROW][C]37[/C][C]1.2613[/C][C]1.238575[/C][C]0.0227250000000003[/C][/ROW]
[ROW][C]38[/C][C]1.2646[/C][C]1.234175[/C][C]0.0304249999999999[/C][/ROW]
[ROW][C]39[/C][C]1.2262[/C][C]1.19796333333333[/C][C]0.0282366666666666[/C][/ROW]
[ROW][C]40[/C][C]1.1985[/C][C]1.18648333333333[/C][C]0.0120166666666665[/C][/ROW]
[ROW][C]41[/C][C]1.2007[/C][C]1.19940333333333[/C][C]0.00129666666666673[/C][/ROW]
[ROW][C]42[/C][C]1.2138[/C][C]1.19654333333333[/C][C]0.0172566666666667[/C][/ROW]
[ROW][C]43[/C][C]1.2266[/C][C]1.19958333333333[/C][C]0.0270166666666666[/C][/ROW]
[ROW][C]44[/C][C]1.2176[/C][C]1.20330333333333[/C][C]0.0142966666666667[/C][/ROW]
[ROW][C]45[/C][C]1.2218[/C][C]1.20780333333333[/C][C]0.0139966666666666[/C][/ROW]
[ROW][C]46[/C][C]1.249[/C][C]1.21684333333333[/C][C]0.0321566666666668[/C][/ROW]
[ROW][C]47[/C][C]1.2991[/C][C]1.22302333333333[/C][C]0.0760766666666666[/C][/ROW]
[ROW][C]48[/C][C]1.3408[/C][C]1.24864333333333[/C][C]0.0921566666666667[/C][/ROW]
[ROW][C]49[/C][C]1.3119[/C][C]1.290735[/C][C]0.0211650000000003[/C][/ROW]
[ROW][C]50[/C][C]1.3014[/C][C]1.286335[/C][C]0.0150649999999999[/C][/ROW]
[ROW][C]51[/C][C]1.3201[/C][C]1.25012333333333[/C][C]0.0699766666666666[/C][/ROW]
[ROW][C]52[/C][C]1.2938[/C][C]1.23864333333333[/C][C]0.0551566666666667[/C][/ROW]
[ROW][C]53[/C][C]1.2694[/C][C]1.25156333333333[/C][C]0.0178366666666667[/C][/ROW]
[ROW][C]54[/C][C]1.2165[/C][C]1.24870333333333[/C][C]-0.0322033333333334[/C][/ROW]
[ROW][C]55[/C][C]1.2037[/C][C]1.25174333333333[/C][C]-0.0480433333333334[/C][/ROW]
[ROW][C]56[/C][C]1.2292[/C][C]1.25546333333333[/C][C]-0.0262633333333333[/C][/ROW]
[ROW][C]57[/C][C]1.2256[/C][C]1.25996333333333[/C][C]-0.0343633333333334[/C][/ROW]
[ROW][C]58[/C][C]1.2015[/C][C]1.26900333333333[/C][C]-0.0675033333333334[/C][/ROW]
[ROW][C]59[/C][C]1.1786[/C][C]1.27518333333333[/C][C]-0.0965833333333333[/C][/ROW]
[ROW][C]60[/C][C]1.1856[/C][C]1.30080333333333[/C][C]-0.115203333333333[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14373&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14373&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
10.93830.9237366666666680.0145633333333323
20.92170.9193366666666660.00236333333333383
30.90950.8831250.0263750000000001
40.8920.8716450.0203550000000001
50.87420.884565-0.010365
60.85320.881705-0.0285050000000000
70.86070.884745-0.0240450000000000
80.90050.8884650.0120350000000000
90.91110.8929650.018135
100.90590.9020050.00389500000000001
110.88830.908185-0.019885
120.89240.933805-0.041405
130.88330.975896666666666-0.0925966666666665
140.870.971496666666667-0.101496666666667
150.87580.935285-0.059485
160.88580.923805-0.038005
170.9170.936725-0.019725
180.95540.9338650.0215350000000001
190.99220.9369050.055295
200.97780.9406250.037175
210.98080.9451250.035675
220.98110.9541650.0269350000000000
231.00140.9603450.0410550000000001
241.01830.9859650.0323350000000000
251.06221.028056666666670.0341433333333336
261.07731.023656666666670.0536433333333332
271.08071.14580333333333-0.0651033333333333
281.08481.13432333333333-0.0495233333333333
291.15821.147243333333330.0109566666666666
301.16631.144383333333330.0219166666666666
311.13721.14742333333333-0.0102233333333333
321.11391.15114333333333-0.0372433333333334
331.12221.15564333333333-0.0334433333333332
341.16921.164683333333330.0045166666666667
351.17021.17086333333333-0.000663333333333383
361.22861.196483333333330.0321166666666667
371.26131.2385750.0227250000000003
381.26461.2341750.0304249999999999
391.22621.197963333333330.0282366666666666
401.19851.186483333333330.0120166666666665
411.20071.199403333333330.00129666666666673
421.21381.196543333333330.0172566666666667
431.22661.199583333333330.0270166666666666
441.21761.203303333333330.0142966666666667
451.22181.207803333333330.0139966666666666
461.2491.216843333333330.0321566666666668
471.29911.223023333333330.0760766666666666
481.34081.248643333333330.0921566666666667
491.31191.2907350.0211650000000003
501.30141.2863350.0150649999999999
511.32011.250123333333330.0699766666666666
521.29381.238643333333330.0551566666666667
531.26941.251563333333330.0178366666666667
541.21651.24870333333333-0.0322033333333334
551.20371.25174333333333-0.0480433333333334
561.22921.25546333333333-0.0262633333333333
571.22561.25996333333333-0.0343633333333334
581.20151.26900333333333-0.0675033333333334
591.17861.27518333333333-0.0965833333333333
601.18561.30080333333333-0.115203333333333



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