Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationMon, 01 Dec 2008 03:00:48 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Dec/01/t1228125865k41o78hsliq2wmm.htm/, Retrieved Sun, 05 May 2024 20:26:37 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=26838, Retrieved Sun, 05 May 2024 20:26:37 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact193
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F     [Multiple Regression] [] [2007-11-19 19:55:31] [b731da8b544846036771bbf9bf2f34ce]
F    D  [Multiple Regression] [] [2008-11-24 19:46:22] [2a0ad3a9bcadca2da0acb91636601c6c]
-   P       [Multiple Regression] [] [2008-12-01 10:00:48] [357d3e8a0ea9b107f483347f947dfe8f] [Current]
Feedback Forum

Post a new message
Dataseries X:
10511 0
10812 0
10738 0
10171 0
9721 0
9897 0
9828 0
9924 0
10371 0
10846 0
10413 0
10709 0
10662 0
10570 0
10297 0
10635 0
10872 0
10296 0
10383 0
10431 0
10574 0
10653 0
10805 0
10872 0
10625 0
10407 0
10463 0
10556 0
10646 0
10702 0
11353 1
11346 1
11451 1
11964 1
12574 1
13031 1
13812 1
14544 1
14931 1
14886 1
16005 1
17064 1
15168 1
16050 1
15839 1
15137 1
14954 1
15648 1
15305 1
15579 1
16348 1
15928 1
16171 1
15937 1
15713 1
15594 1
15683 1
16438 1
17032 1
17696 1
17745 1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 5 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=26838&T=0

[TABLE]
[ROW][C]Summary of computational 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]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=26838&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=26838&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 computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Multiple Linear Regression - Estimated Regression Equation
y[t] = + 9200.6 + 1938.20833333333x[t] + 160.909027777779M1[t] + 75.4180555555555M2[t] + 158.760416666667M3[t] -51.0972222222222M4[t] + 107.045138888889M5[t] + 113.587500000000M6[t] -653.911805555556M7[t] -563.569444444444M8[t] -538.627083333333M9[t] -404.284722222222M10[t] -345.942361111111M11[t] + 89.6576388888889t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
y[t] =  +  9200.6 +  1938.20833333333x[t] +  160.909027777779M1[t] +  75.4180555555555M2[t] +  158.760416666667M3[t] -51.0972222222222M4[t] +  107.045138888889M5[t] +  113.587500000000M6[t] -653.911805555556M7[t] -563.569444444444M8[t] -538.627083333333M9[t] -404.284722222222M10[t] -345.942361111111M11[t] +  89.6576388888889t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=26838&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]y[t] =  +  9200.6 +  1938.20833333333x[t] +  160.909027777779M1[t] +  75.4180555555555M2[t] +  158.760416666667M3[t] -51.0972222222222M4[t] +  107.045138888889M5[t] +  113.587500000000M6[t] -653.911805555556M7[t] -563.569444444444M8[t] -538.627083333333M9[t] -404.284722222222M10[t] -345.942361111111M11[t] +  89.6576388888889t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=26838&T=1

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Estimated Regression Equation
y[t] = + 9200.6 + 1938.20833333333x[t] + 160.909027777779M1[t] + 75.4180555555555M2[t] + 158.760416666667M3[t] -51.0972222222222M4[t] + 107.045138888889M5[t] + 113.587500000000M6[t] -653.911805555556M7[t] -563.569444444444M8[t] -538.627083333333M9[t] -404.284722222222M10[t] -345.942361111111M11[t] + 89.6576388888889t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)9200.6567.1470416.222600
x1938.20833333333547.529743.53990.0009140.000457
M1160.909027777779636.4992340.25280.8015230.400761
M275.4180555555555668.4038540.11280.9106430.455322
M3158.760416666667667.1898570.2380.8129510.406476
M4-51.0972222222222666.333965-0.07670.93920.4696
M5107.045138888889665.8375580.16080.8729650.436483
M6113.587500000000665.7014410.17060.8652480.432624
M7-653.911805555556667.952989-0.9790.3326030.166301
M8-563.569444444444666.333965-0.84580.4019630.200982
M9-538.627083333333665.071999-0.80990.4220920.211046
M10-404.284722222222664.169126-0.60870.5456490.272825
M11-345.942361111111663.626813-0.52130.6046120.302306
t89.657638888888915.4928055.78711e-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) & 9200.6 & 567.14704 & 16.2226 & 0 & 0 \tabularnewline
x & 1938.20833333333 & 547.52974 & 3.5399 & 0.000914 & 0.000457 \tabularnewline
M1 & 160.909027777779 & 636.499234 & 0.2528 & 0.801523 & 0.400761 \tabularnewline
M2 & 75.4180555555555 & 668.403854 & 0.1128 & 0.910643 & 0.455322 \tabularnewline
M3 & 158.760416666667 & 667.189857 & 0.238 & 0.812951 & 0.406476 \tabularnewline
M4 & -51.0972222222222 & 666.333965 & -0.0767 & 0.9392 & 0.4696 \tabularnewline
M5 & 107.045138888889 & 665.837558 & 0.1608 & 0.872965 & 0.436483 \tabularnewline
M6 & 113.587500000000 & 665.701441 & 0.1706 & 0.865248 & 0.432624 \tabularnewline
M7 & -653.911805555556 & 667.952989 & -0.979 & 0.332603 & 0.166301 \tabularnewline
M8 & -563.569444444444 & 666.333965 & -0.8458 & 0.401963 & 0.200982 \tabularnewline
M9 & -538.627083333333 & 665.071999 & -0.8099 & 0.422092 & 0.211046 \tabularnewline
M10 & -404.284722222222 & 664.169126 & -0.6087 & 0.545649 & 0.272825 \tabularnewline
M11 & -345.942361111111 & 663.626813 & -0.5213 & 0.604612 & 0.302306 \tabularnewline
t & 89.6576388888889 & 15.492805 & 5.7871 & 1e-06 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=26838&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]9200.6[/C][C]567.14704[/C][C]16.2226[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]x[/C][C]1938.20833333333[/C][C]547.52974[/C][C]3.5399[/C][C]0.000914[/C][C]0.000457[/C][/ROW]
[ROW][C]M1[/C][C]160.909027777779[/C][C]636.499234[/C][C]0.2528[/C][C]0.801523[/C][C]0.400761[/C][/ROW]
[ROW][C]M2[/C][C]75.4180555555555[/C][C]668.403854[/C][C]0.1128[/C][C]0.910643[/C][C]0.455322[/C][/ROW]
[ROW][C]M3[/C][C]158.760416666667[/C][C]667.189857[/C][C]0.238[/C][C]0.812951[/C][C]0.406476[/C][/ROW]
[ROW][C]M4[/C][C]-51.0972222222222[/C][C]666.333965[/C][C]-0.0767[/C][C]0.9392[/C][C]0.4696[/C][/ROW]
[ROW][C]M5[/C][C]107.045138888889[/C][C]665.837558[/C][C]0.1608[/C][C]0.872965[/C][C]0.436483[/C][/ROW]
[ROW][C]M6[/C][C]113.587500000000[/C][C]665.701441[/C][C]0.1706[/C][C]0.865248[/C][C]0.432624[/C][/ROW]
[ROW][C]M7[/C][C]-653.911805555556[/C][C]667.952989[/C][C]-0.979[/C][C]0.332603[/C][C]0.166301[/C][/ROW]
[ROW][C]M8[/C][C]-563.569444444444[/C][C]666.333965[/C][C]-0.8458[/C][C]0.401963[/C][C]0.200982[/C][/ROW]
[ROW][C]M9[/C][C]-538.627083333333[/C][C]665.071999[/C][C]-0.8099[/C][C]0.422092[/C][C]0.211046[/C][/ROW]
[ROW][C]M10[/C][C]-404.284722222222[/C][C]664.169126[/C][C]-0.6087[/C][C]0.545649[/C][C]0.272825[/C][/ROW]
[ROW][C]M11[/C][C]-345.942361111111[/C][C]663.626813[/C][C]-0.5213[/C][C]0.604612[/C][C]0.302306[/C][/ROW]
[ROW][C]t[/C][C]89.6576388888889[/C][C]15.492805[/C][C]5.7871[/C][C]1e-06[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=26838&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=26838&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)9200.6567.1470416.222600
x1938.20833333333547.529743.53990.0009140.000457
M1160.909027777779636.4992340.25280.8015230.400761
M275.4180555555555668.4038540.11280.9106430.455322
M3158.760416666667667.1898570.2380.8129510.406476
M4-51.0972222222222666.333965-0.07670.93920.4696
M5107.045138888889665.8375580.16080.8729650.436483
M6113.587500000000665.7014410.17060.8652480.432624
M7-653.911805555556667.952989-0.9790.3326030.166301
M8-563.569444444444666.333965-0.84580.4019630.200982
M9-538.627083333333665.071999-0.80990.4220920.211046
M10-404.284722222222664.169126-0.60870.5456490.272825
M11-345.942361111111663.626813-0.52130.6046120.302306
t89.657638888888915.4928055.78711e-060







Multiple Linear Regression - Regression Statistics
Multiple R0.936086001609279
R-squared0.876257002408847
Adjusted R-squared0.842030215841081
F-TEST (value)25.6014978407027
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value1.11022302462516e-16
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1049.00014358490
Sum Squared Residuals51718861.1583334

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.936086001609279 \tabularnewline
R-squared & 0.876257002408847 \tabularnewline
Adjusted R-squared & 0.842030215841081 \tabularnewline
F-TEST (value) & 25.6014978407027 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 1.11022302462516e-16 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1049.00014358490 \tabularnewline
Sum Squared Residuals & 51718861.1583334 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=26838&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.936086001609279[/C][/ROW]
[ROW][C]R-squared[/C][C]0.876257002408847[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.842030215841081[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]25.6014978407027[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]1.11022302462516e-16[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]1049.00014358490[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]51718861.1583334[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=26838&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=26838&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.936086001609279
R-squared0.876257002408847
Adjusted R-squared0.842030215841081
F-TEST (value)25.6014978407027
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value1.11022302462516e-16
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1049.00014358490
Sum Squared Residuals51718861.1583334







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1105119451.166666666661059.83333333334
2108129455.333333333331356.66666666667
3107389628.333333333331109.66666666667
4101719508.13333333333662.866666666666
597219755.93333333333-34.9333333333336
698979852.1333333333344.8666666666663
798289174.29166666667653.708333333333
899249354.29166666667569.708333333333
9103719468.89166666667902.108333333333
10108469692.891666666671153.10833333333
11104139840.89166666667572.108333333333
121070910276.4916666667432.508333333333
131066210527.0583333333134.941666666665
141057010531.22538.7750000000003
151029710704.225-407.225000000000
161063510584.02550.9750000000001
171087210831.82540.1750000000001
181029610928.025-632.025
191038310250.1833333333132.816666666667
201043110430.18333333330.816666666666263
211057410544.783333333329.2166666666665
221065310768.7833333333-115.783333333333
231080510916.7833333333-111.783333333333
241087211352.3833333333-480.383333333333
251062511602.95-977.95
261040711607.1166666667-1200.11666666667
271046311780.1166666667-1317.11666666667
281055611659.9166666667-1103.91666666667
291064611907.7166666667-1261.71666666667
301070212003.9166666667-1301.91666666667
311135313264.2833333333-1911.28333333333
321134613444.2833333333-2098.28333333333
331145113558.8833333333-2107.88333333333
341196413782.8833333333-1818.88333333333
351257413930.8833333333-1356.88333333333
361303114366.4833333333-1335.48333333333
371381214617.05-805.050000000001
381454414621.2166666667-77.2166666666668
391493114794.2166666667136.783333333333
401488614674.0166666667211.983333333333
411600514921.81666666671083.18333333333
421706415018.01666666672045.98333333333
431516814340.175827.825
441605014520.1751529.825
451583914634.7751204.225
461513714858.775278.225
471495415006.775-52.7749999999996
481564815442.375205.625000000000
491530515692.9416666667-387.941666666668
501557915697.1083333333-118.108333333333
511634815870.1083333333477.891666666667
521592815749.9083333333178.091666666667
531617115997.7083333333173.291666666667
541593716093.9083333333-156.908333333333
551571315416.0666666667296.933333333334
561559415596.0666666667-2.06666666666615
571568315710.6666666667-27.6666666666661
581643815934.6666666667503.333333333333
591703216082.6666666667949.333333333333
601769616518.26666666671177.73333333333
611774516768.8333333333976.166666666667

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 10511 & 9451.16666666666 & 1059.83333333334 \tabularnewline
2 & 10812 & 9455.33333333333 & 1356.66666666667 \tabularnewline
3 & 10738 & 9628.33333333333 & 1109.66666666667 \tabularnewline
4 & 10171 & 9508.13333333333 & 662.866666666666 \tabularnewline
5 & 9721 & 9755.93333333333 & -34.9333333333336 \tabularnewline
6 & 9897 & 9852.13333333333 & 44.8666666666663 \tabularnewline
7 & 9828 & 9174.29166666667 & 653.708333333333 \tabularnewline
8 & 9924 & 9354.29166666667 & 569.708333333333 \tabularnewline
9 & 10371 & 9468.89166666667 & 902.108333333333 \tabularnewline
10 & 10846 & 9692.89166666667 & 1153.10833333333 \tabularnewline
11 & 10413 & 9840.89166666667 & 572.108333333333 \tabularnewline
12 & 10709 & 10276.4916666667 & 432.508333333333 \tabularnewline
13 & 10662 & 10527.0583333333 & 134.941666666665 \tabularnewline
14 & 10570 & 10531.225 & 38.7750000000003 \tabularnewline
15 & 10297 & 10704.225 & -407.225000000000 \tabularnewline
16 & 10635 & 10584.025 & 50.9750000000001 \tabularnewline
17 & 10872 & 10831.825 & 40.1750000000001 \tabularnewline
18 & 10296 & 10928.025 & -632.025 \tabularnewline
19 & 10383 & 10250.1833333333 & 132.816666666667 \tabularnewline
20 & 10431 & 10430.1833333333 & 0.816666666666263 \tabularnewline
21 & 10574 & 10544.7833333333 & 29.2166666666665 \tabularnewline
22 & 10653 & 10768.7833333333 & -115.783333333333 \tabularnewline
23 & 10805 & 10916.7833333333 & -111.783333333333 \tabularnewline
24 & 10872 & 11352.3833333333 & -480.383333333333 \tabularnewline
25 & 10625 & 11602.95 & -977.95 \tabularnewline
26 & 10407 & 11607.1166666667 & -1200.11666666667 \tabularnewline
27 & 10463 & 11780.1166666667 & -1317.11666666667 \tabularnewline
28 & 10556 & 11659.9166666667 & -1103.91666666667 \tabularnewline
29 & 10646 & 11907.7166666667 & -1261.71666666667 \tabularnewline
30 & 10702 & 12003.9166666667 & -1301.91666666667 \tabularnewline
31 & 11353 & 13264.2833333333 & -1911.28333333333 \tabularnewline
32 & 11346 & 13444.2833333333 & -2098.28333333333 \tabularnewline
33 & 11451 & 13558.8833333333 & -2107.88333333333 \tabularnewline
34 & 11964 & 13782.8833333333 & -1818.88333333333 \tabularnewline
35 & 12574 & 13930.8833333333 & -1356.88333333333 \tabularnewline
36 & 13031 & 14366.4833333333 & -1335.48333333333 \tabularnewline
37 & 13812 & 14617.05 & -805.050000000001 \tabularnewline
38 & 14544 & 14621.2166666667 & -77.2166666666668 \tabularnewline
39 & 14931 & 14794.2166666667 & 136.783333333333 \tabularnewline
40 & 14886 & 14674.0166666667 & 211.983333333333 \tabularnewline
41 & 16005 & 14921.8166666667 & 1083.18333333333 \tabularnewline
42 & 17064 & 15018.0166666667 & 2045.98333333333 \tabularnewline
43 & 15168 & 14340.175 & 827.825 \tabularnewline
44 & 16050 & 14520.175 & 1529.825 \tabularnewline
45 & 15839 & 14634.775 & 1204.225 \tabularnewline
46 & 15137 & 14858.775 & 278.225 \tabularnewline
47 & 14954 & 15006.775 & -52.7749999999996 \tabularnewline
48 & 15648 & 15442.375 & 205.625000000000 \tabularnewline
49 & 15305 & 15692.9416666667 & -387.941666666668 \tabularnewline
50 & 15579 & 15697.1083333333 & -118.108333333333 \tabularnewline
51 & 16348 & 15870.1083333333 & 477.891666666667 \tabularnewline
52 & 15928 & 15749.9083333333 & 178.091666666667 \tabularnewline
53 & 16171 & 15997.7083333333 & 173.291666666667 \tabularnewline
54 & 15937 & 16093.9083333333 & -156.908333333333 \tabularnewline
55 & 15713 & 15416.0666666667 & 296.933333333334 \tabularnewline
56 & 15594 & 15596.0666666667 & -2.06666666666615 \tabularnewline
57 & 15683 & 15710.6666666667 & -27.6666666666661 \tabularnewline
58 & 16438 & 15934.6666666667 & 503.333333333333 \tabularnewline
59 & 17032 & 16082.6666666667 & 949.333333333333 \tabularnewline
60 & 17696 & 16518.2666666667 & 1177.73333333333 \tabularnewline
61 & 17745 & 16768.8333333333 & 976.166666666667 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=26838&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]10511[/C][C]9451.16666666666[/C][C]1059.83333333334[/C][/ROW]
[ROW][C]2[/C][C]10812[/C][C]9455.33333333333[/C][C]1356.66666666667[/C][/ROW]
[ROW][C]3[/C][C]10738[/C][C]9628.33333333333[/C][C]1109.66666666667[/C][/ROW]
[ROW][C]4[/C][C]10171[/C][C]9508.13333333333[/C][C]662.866666666666[/C][/ROW]
[ROW][C]5[/C][C]9721[/C][C]9755.93333333333[/C][C]-34.9333333333336[/C][/ROW]
[ROW][C]6[/C][C]9897[/C][C]9852.13333333333[/C][C]44.8666666666663[/C][/ROW]
[ROW][C]7[/C][C]9828[/C][C]9174.29166666667[/C][C]653.708333333333[/C][/ROW]
[ROW][C]8[/C][C]9924[/C][C]9354.29166666667[/C][C]569.708333333333[/C][/ROW]
[ROW][C]9[/C][C]10371[/C][C]9468.89166666667[/C][C]902.108333333333[/C][/ROW]
[ROW][C]10[/C][C]10846[/C][C]9692.89166666667[/C][C]1153.10833333333[/C][/ROW]
[ROW][C]11[/C][C]10413[/C][C]9840.89166666667[/C][C]572.108333333333[/C][/ROW]
[ROW][C]12[/C][C]10709[/C][C]10276.4916666667[/C][C]432.508333333333[/C][/ROW]
[ROW][C]13[/C][C]10662[/C][C]10527.0583333333[/C][C]134.941666666665[/C][/ROW]
[ROW][C]14[/C][C]10570[/C][C]10531.225[/C][C]38.7750000000003[/C][/ROW]
[ROW][C]15[/C][C]10297[/C][C]10704.225[/C][C]-407.225000000000[/C][/ROW]
[ROW][C]16[/C][C]10635[/C][C]10584.025[/C][C]50.9750000000001[/C][/ROW]
[ROW][C]17[/C][C]10872[/C][C]10831.825[/C][C]40.1750000000001[/C][/ROW]
[ROW][C]18[/C][C]10296[/C][C]10928.025[/C][C]-632.025[/C][/ROW]
[ROW][C]19[/C][C]10383[/C][C]10250.1833333333[/C][C]132.816666666667[/C][/ROW]
[ROW][C]20[/C][C]10431[/C][C]10430.1833333333[/C][C]0.816666666666263[/C][/ROW]
[ROW][C]21[/C][C]10574[/C][C]10544.7833333333[/C][C]29.2166666666665[/C][/ROW]
[ROW][C]22[/C][C]10653[/C][C]10768.7833333333[/C][C]-115.783333333333[/C][/ROW]
[ROW][C]23[/C][C]10805[/C][C]10916.7833333333[/C][C]-111.783333333333[/C][/ROW]
[ROW][C]24[/C][C]10872[/C][C]11352.3833333333[/C][C]-480.383333333333[/C][/ROW]
[ROW][C]25[/C][C]10625[/C][C]11602.95[/C][C]-977.95[/C][/ROW]
[ROW][C]26[/C][C]10407[/C][C]11607.1166666667[/C][C]-1200.11666666667[/C][/ROW]
[ROW][C]27[/C][C]10463[/C][C]11780.1166666667[/C][C]-1317.11666666667[/C][/ROW]
[ROW][C]28[/C][C]10556[/C][C]11659.9166666667[/C][C]-1103.91666666667[/C][/ROW]
[ROW][C]29[/C][C]10646[/C][C]11907.7166666667[/C][C]-1261.71666666667[/C][/ROW]
[ROW][C]30[/C][C]10702[/C][C]12003.9166666667[/C][C]-1301.91666666667[/C][/ROW]
[ROW][C]31[/C][C]11353[/C][C]13264.2833333333[/C][C]-1911.28333333333[/C][/ROW]
[ROW][C]32[/C][C]11346[/C][C]13444.2833333333[/C][C]-2098.28333333333[/C][/ROW]
[ROW][C]33[/C][C]11451[/C][C]13558.8833333333[/C][C]-2107.88333333333[/C][/ROW]
[ROW][C]34[/C][C]11964[/C][C]13782.8833333333[/C][C]-1818.88333333333[/C][/ROW]
[ROW][C]35[/C][C]12574[/C][C]13930.8833333333[/C][C]-1356.88333333333[/C][/ROW]
[ROW][C]36[/C][C]13031[/C][C]14366.4833333333[/C][C]-1335.48333333333[/C][/ROW]
[ROW][C]37[/C][C]13812[/C][C]14617.05[/C][C]-805.050000000001[/C][/ROW]
[ROW][C]38[/C][C]14544[/C][C]14621.2166666667[/C][C]-77.2166666666668[/C][/ROW]
[ROW][C]39[/C][C]14931[/C][C]14794.2166666667[/C][C]136.783333333333[/C][/ROW]
[ROW][C]40[/C][C]14886[/C][C]14674.0166666667[/C][C]211.983333333333[/C][/ROW]
[ROW][C]41[/C][C]16005[/C][C]14921.8166666667[/C][C]1083.18333333333[/C][/ROW]
[ROW][C]42[/C][C]17064[/C][C]15018.0166666667[/C][C]2045.98333333333[/C][/ROW]
[ROW][C]43[/C][C]15168[/C][C]14340.175[/C][C]827.825[/C][/ROW]
[ROW][C]44[/C][C]16050[/C][C]14520.175[/C][C]1529.825[/C][/ROW]
[ROW][C]45[/C][C]15839[/C][C]14634.775[/C][C]1204.225[/C][/ROW]
[ROW][C]46[/C][C]15137[/C][C]14858.775[/C][C]278.225[/C][/ROW]
[ROW][C]47[/C][C]14954[/C][C]15006.775[/C][C]-52.7749999999996[/C][/ROW]
[ROW][C]48[/C][C]15648[/C][C]15442.375[/C][C]205.625000000000[/C][/ROW]
[ROW][C]49[/C][C]15305[/C][C]15692.9416666667[/C][C]-387.941666666668[/C][/ROW]
[ROW][C]50[/C][C]15579[/C][C]15697.1083333333[/C][C]-118.108333333333[/C][/ROW]
[ROW][C]51[/C][C]16348[/C][C]15870.1083333333[/C][C]477.891666666667[/C][/ROW]
[ROW][C]52[/C][C]15928[/C][C]15749.9083333333[/C][C]178.091666666667[/C][/ROW]
[ROW][C]53[/C][C]16171[/C][C]15997.7083333333[/C][C]173.291666666667[/C][/ROW]
[ROW][C]54[/C][C]15937[/C][C]16093.9083333333[/C][C]-156.908333333333[/C][/ROW]
[ROW][C]55[/C][C]15713[/C][C]15416.0666666667[/C][C]296.933333333334[/C][/ROW]
[ROW][C]56[/C][C]15594[/C][C]15596.0666666667[/C][C]-2.06666666666615[/C][/ROW]
[ROW][C]57[/C][C]15683[/C][C]15710.6666666667[/C][C]-27.6666666666661[/C][/ROW]
[ROW][C]58[/C][C]16438[/C][C]15934.6666666667[/C][C]503.333333333333[/C][/ROW]
[ROW][C]59[/C][C]17032[/C][C]16082.6666666667[/C][C]949.333333333333[/C][/ROW]
[ROW][C]60[/C][C]17696[/C][C]16518.2666666667[/C][C]1177.73333333333[/C][/ROW]
[ROW][C]61[/C][C]17745[/C][C]16768.8333333333[/C][C]976.166666666667[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=26838&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=26838&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
1105119451.166666666661059.83333333334
2108129455.333333333331356.66666666667
3107389628.333333333331109.66666666667
4101719508.13333333333662.866666666666
597219755.93333333333-34.9333333333336
698979852.1333333333344.8666666666663
798289174.29166666667653.708333333333
899249354.29166666667569.708333333333
9103719468.89166666667902.108333333333
10108469692.891666666671153.10833333333
11104139840.89166666667572.108333333333
121070910276.4916666667432.508333333333
131066210527.0583333333134.941666666665
141057010531.22538.7750000000003
151029710704.225-407.225000000000
161063510584.02550.9750000000001
171087210831.82540.1750000000001
181029610928.025-632.025
191038310250.1833333333132.816666666667
201043110430.18333333330.816666666666263
211057410544.783333333329.2166666666665
221065310768.7833333333-115.783333333333
231080510916.7833333333-111.783333333333
241087211352.3833333333-480.383333333333
251062511602.95-977.95
261040711607.1166666667-1200.11666666667
271046311780.1166666667-1317.11666666667
281055611659.9166666667-1103.91666666667
291064611907.7166666667-1261.71666666667
301070212003.9166666667-1301.91666666667
311135313264.2833333333-1911.28333333333
321134613444.2833333333-2098.28333333333
331145113558.8833333333-2107.88333333333
341196413782.8833333333-1818.88333333333
351257413930.8833333333-1356.88333333333
361303114366.4833333333-1335.48333333333
371381214617.05-805.050000000001
381454414621.2166666667-77.2166666666668
391493114794.2166666667136.783333333333
401488614674.0166666667211.983333333333
411600514921.81666666671083.18333333333
421706415018.01666666672045.98333333333
431516814340.175827.825
441605014520.1751529.825
451583914634.7751204.225
461513714858.775278.225
471495415006.775-52.7749999999996
481564815442.375205.625000000000
491530515692.9416666667-387.941666666668
501557915697.1083333333-118.108333333333
511634815870.1083333333477.891666666667
521592815749.9083333333178.091666666667
531617115997.7083333333173.291666666667
541593716093.9083333333-156.908333333333
551571315416.0666666667296.933333333334
561559415596.0666666667-2.06666666666615
571568315710.6666666667-27.6666666666661
581643815934.6666666667503.333333333333
591703216082.6666666667949.333333333333
601769616518.26666666671177.73333333333
611774516768.8333333333976.166666666667



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