Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationSun, 16 Dec 2007 06:04:21 -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/16/t1197809314s2mkpjmgczems9t.htm/, Retrieved Thu, 02 May 2024 03:33:14 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=4158, Retrieved Thu, 02 May 2024 03:33:14 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsWorkshop Seatbelt Law (Q3)
Estimated Impact249
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Multiple Linear R...] [2007-12-16 13:04:21] [0eafefa7b02d47065fceb6c46f54fbf9] [Current]
- R  D    [Multiple Regression] [] [2008-12-17 16:24:12] [f8005fb082f70566c42409d36c038970]
- R  D    [Multiple Regression] [] [2008-12-17 16:47:29] [f8005fb082f70566c42409d36c038970]
-    D      [Multiple Regression] [VFD] [2008-12-22 09:33:54] [6ff1065d7797a2214cd9824d3cc2d873]
- RMPD      [Central Tendency] [ds] [2008-12-22 10:39:17] [3e7890dd94421c9690e46ab1e7f19911]
- R  D    [Multiple Regression] [Multiple Regression] [2008-12-23 20:22:18] [17bd4671b42d569d890f7246b2ee4ecc]
Feedback Forum

Post a new message
Dataseries X:
104,3	0
103,9	0
103,9	0
103,9	0
108,0	0
108,0	0
108,0	0
108,0	0
108,0	0
108,0	0
108,0	0
108,0	0
108,0	0
108,0	0
108,0	0
108,0	0
108,0	0
108,0	0
108,0	0
108,0	0
108,0	0
108,0	0
108,0	1
108,0	1
108,0	1
108,0	1
108,0	1
108,2	1
112,3	1
111,3	1
111,3	1
115,3	1
117,2	1
118,3	1
118,3	1
118,3	1
119,0	1
120,6	1
122,6	1
122,6	1
127,4	1
125,9	1
121,5	1
118,8	1
121,6	1
122,3	1
122,7	1
120,8	1
120,1	1
120,1	1
120,1	1
120,1	1
128,4	1
129,8	1
129,8	1
128,6	1
128,6	1
133,7	1
130,0	1
125,9	1
129,4	1
129,4	1
130,6	1
130,6	1
130,6	1
130,8	1
129,7	1
125,8	1
126,0	1
125,6	1
125,4	1
124,7	1
126,9	1
129,1	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=4158&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=4158&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4158&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
y[t] = + 100.760435897436 + 0.370153846153844x[t] + 0.925943223443265M1[t] + 1.01766300366300M2[t] + 1.52430952380953M3[t] + 1.16364835164835M4[t] + 4.31965384615384M5[t] + 3.77565934065934M6[t] + 2.46499816849817M7[t] + 1.43767032967033M8[t] + 1.86034249084249M9[t] + 2.54968131868131M10[t] + 1.51066117216118M11[t] + 0.393994505494505t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
y[t] =  +  100.760435897436 +  0.370153846153844x[t] +  0.925943223443265M1[t] +  1.01766300366300M2[t] +  1.52430952380953M3[t] +  1.16364835164835M4[t] +  4.31965384615384M5[t] +  3.77565934065934M6[t] +  2.46499816849817M7[t] +  1.43767032967033M8[t] +  1.86034249084249M9[t] +  2.54968131868131M10[t] +  1.51066117216118M11[t] +  0.393994505494505t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4158&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]y[t] =  +  100.760435897436 +  0.370153846153844x[t] +  0.925943223443265M1[t] +  1.01766300366300M2[t] +  1.52430952380953M3[t] +  1.16364835164835M4[t] +  4.31965384615384M5[t] +  3.77565934065934M6[t] +  2.46499816849817M7[t] +  1.43767032967033M8[t] +  1.86034249084249M9[t] +  2.54968131868131M10[t] +  1.51066117216118M11[t] +  0.393994505494505t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4158&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4158&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] = + 100.760435897436 + 0.370153846153844x[t] + 0.925943223443265M1[t] + 1.01766300366300M2[t] + 1.52430952380953M3[t] + 1.16364835164835M4[t] + 4.31965384615384M5[t] + 3.77565934065934M6[t] + 2.46499816849817M7[t] + 1.43767032967033M8[t] + 1.86034249084249M9[t] + 2.54968131868131M10[t] + 1.51066117216118M11[t] + 0.393994505494505t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)100.7604358974361.65030561.055600
x0.3701538461538441.4754390.25090.8027660.401383
M10.9259432234432651.9503240.47480.6366790.318339
M21.017663003663001.9502830.52180.6037290.301864
M31.524309523809532.0282880.75150.4552750.227637
M41.163648351648352.0271550.5740.5680930.284047
M54.319653846153842.0265112.13160.0371470.018574
M63.775659340659342.0263581.86330.067320.03366
M72.464998168498172.0266961.21630.2286480.114324
M81.437670329670332.0275240.70910.4810230.240512
M91.860342490842492.0288410.91690.3628410.18142
M102.549681318681312.0306481.25560.2141290.107064
M111.510661172161182.021060.74750.4577060.228853
t0.3939945054945050.0315312.49600

\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) & 100.760435897436 & 1.650305 & 61.0556 & 0 & 0 \tabularnewline
x & 0.370153846153844 & 1.475439 & 0.2509 & 0.802766 & 0.401383 \tabularnewline
M1 & 0.925943223443265 & 1.950324 & 0.4748 & 0.636679 & 0.318339 \tabularnewline
M2 & 1.01766300366300 & 1.950283 & 0.5218 & 0.603729 & 0.301864 \tabularnewline
M3 & 1.52430952380953 & 2.028288 & 0.7515 & 0.455275 & 0.227637 \tabularnewline
M4 & 1.16364835164835 & 2.027155 & 0.574 & 0.568093 & 0.284047 \tabularnewline
M5 & 4.31965384615384 & 2.026511 & 2.1316 & 0.037147 & 0.018574 \tabularnewline
M6 & 3.77565934065934 & 2.026358 & 1.8633 & 0.06732 & 0.03366 \tabularnewline
M7 & 2.46499816849817 & 2.026696 & 1.2163 & 0.228648 & 0.114324 \tabularnewline
M8 & 1.43767032967033 & 2.027524 & 0.7091 & 0.481023 & 0.240512 \tabularnewline
M9 & 1.86034249084249 & 2.028841 & 0.9169 & 0.362841 & 0.18142 \tabularnewline
M10 & 2.54968131868131 & 2.030648 & 1.2556 & 0.214129 & 0.107064 \tabularnewline
M11 & 1.51066117216118 & 2.02106 & 0.7475 & 0.457706 & 0.228853 \tabularnewline
t & 0.393994505494505 & 0.03153 & 12.496 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4158&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]100.760435897436[/C][C]1.650305[/C][C]61.0556[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]x[/C][C]0.370153846153844[/C][C]1.475439[/C][C]0.2509[/C][C]0.802766[/C][C]0.401383[/C][/ROW]
[ROW][C]M1[/C][C]0.925943223443265[/C][C]1.950324[/C][C]0.4748[/C][C]0.636679[/C][C]0.318339[/C][/ROW]
[ROW][C]M2[/C][C]1.01766300366300[/C][C]1.950283[/C][C]0.5218[/C][C]0.603729[/C][C]0.301864[/C][/ROW]
[ROW][C]M3[/C][C]1.52430952380953[/C][C]2.028288[/C][C]0.7515[/C][C]0.455275[/C][C]0.227637[/C][/ROW]
[ROW][C]M4[/C][C]1.16364835164835[/C][C]2.027155[/C][C]0.574[/C][C]0.568093[/C][C]0.284047[/C][/ROW]
[ROW][C]M5[/C][C]4.31965384615384[/C][C]2.026511[/C][C]2.1316[/C][C]0.037147[/C][C]0.018574[/C][/ROW]
[ROW][C]M6[/C][C]3.77565934065934[/C][C]2.026358[/C][C]1.8633[/C][C]0.06732[/C][C]0.03366[/C][/ROW]
[ROW][C]M7[/C][C]2.46499816849817[/C][C]2.026696[/C][C]1.2163[/C][C]0.228648[/C][C]0.114324[/C][/ROW]
[ROW][C]M8[/C][C]1.43767032967033[/C][C]2.027524[/C][C]0.7091[/C][C]0.481023[/C][C]0.240512[/C][/ROW]
[ROW][C]M9[/C][C]1.86034249084249[/C][C]2.028841[/C][C]0.9169[/C][C]0.362841[/C][C]0.18142[/C][/ROW]
[ROW][C]M10[/C][C]2.54968131868131[/C][C]2.030648[/C][C]1.2556[/C][C]0.214129[/C][C]0.107064[/C][/ROW]
[ROW][C]M11[/C][C]1.51066117216118[/C][C]2.02106[/C][C]0.7475[/C][C]0.457706[/C][C]0.228853[/C][/ROW]
[ROW][C]t[/C][C]0.393994505494505[/C][C]0.03153[/C][C]12.496[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4158&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4158&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)100.7604358974361.65030561.055600
x0.3701538461538441.4754390.25090.8027660.401383
M10.9259432234432651.9503240.47480.6366790.318339
M21.017663003663001.9502830.52180.6037290.301864
M31.524309523809532.0282880.75150.4552750.227637
M41.163648351648352.0271550.5740.5680930.284047
M54.319653846153842.0265112.13160.0371470.018574
M63.775659340659342.0263581.86330.067320.03366
M72.464998168498172.0266961.21630.2286480.114324
M81.437670329670332.0275240.70910.4810230.240512
M91.860342490842492.0288410.91690.3628410.18142
M102.549681318681312.0306481.25560.2141290.107064
M111.510661172161182.021060.74750.4577060.228853
t0.3939945054945050.0315312.49600







Multiple Linear Regression - Regression Statistics
Multiple R0.938648554720468
R-squared0.881061109278824
Adjusted R-squared0.855291016289236
F-TEST (value)34.1892871568139
F-TEST (DF numerator)13
F-TEST (DF denominator)60
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation3.50015320700787
Sum Squared Residuals735.06434835165

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.938648554720468 \tabularnewline
R-squared & 0.881061109278824 \tabularnewline
Adjusted R-squared & 0.855291016289236 \tabularnewline
F-TEST (value) & 34.1892871568139 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 60 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 3.50015320700787 \tabularnewline
Sum Squared Residuals & 735.06434835165 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4158&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.938648554720468[/C][/ROW]
[ROW][C]R-squared[/C][C]0.881061109278824[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.855291016289236[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]34.1892871568139[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]60[/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]3.50015320700787[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]735.06434835165[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4158&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4158&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.938648554720468
R-squared0.881061109278824
Adjusted R-squared0.855291016289236
F-TEST (value)34.1892871568139
F-TEST (DF numerator)13
F-TEST (DF denominator)60
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation3.50015320700787
Sum Squared Residuals735.06434835165







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1104.3102.0803736263732.2196263736266
2103.9102.5660879120881.33391208791204
3103.9103.4667289377290.43327106227106
4103.9103.5000622710620.399937728937729
5108107.0500622710620.949937728937706
6108106.9000622710621.09993772893772
7108105.9833956043962.01660439560439
8108105.3500622710622.64993772893773
9108106.1667289377291.83327106227105
10108107.2500622710620.749937728937722
11108106.6050366300371.39496336996336
12108105.488369963372.51163003663002
13108106.8083076923081.19169230769226
14108107.2940219780220.705978021978036
15108108.194663003663-0.194663003663008
16108108.227996336996-0.227996336996346
17108111.777996336996-3.77799633699634
18108111.627996336996-3.62799633699635
19108110.711329670330-2.71132967032968
20108110.077996336996-2.07799633699634
21108110.894663003663-2.89466300366301
22108111.977996336996-3.97799633699634
23108111.703124542125-3.70312454212455
24108110.586457875458-2.58645787545788
25108111.906395604396-3.90639560439564
26108112.392109890110-4.39210989010988
27108113.292750915751-5.29275091575092
28108.2113.326084249084-5.12608424908424
29112.3116.876084249084-4.57608424908425
30111.3116.726084249084-5.42608424908425
31111.3115.809417582418-4.50941758241758
32115.3115.1760842490840.123915750915748
33117.2115.9927509157511.20724908424909
34118.3117.0760842490841.22391575091575
35118.3116.4310586080591.86894139194139
36118.3115.3143919413922.98560805860806
37119116.6343296703302.36567032967029
38120.6117.1200439560443.47995604395604
39122.6118.0206849816854.57931501831502
40122.6118.0540183150184.54598168498168
41127.4121.6040183150185.7959816849817
42125.9121.4540183150184.44598168498169
43121.5120.5373516483520.962648351648354
44118.8119.904018315018-1.10401831501831
45121.6120.7206849816850.879315018315018
46122.3121.8040183150180.495981684981688
47122.7121.1589926739931.54100732600733
48120.8120.0423260073260.757673992673993
49120.1121.362263736264-1.26226373626378
50120.1121.847978021978-1.74797802197802
51120.1122.748619047619-2.64861904761905
52120.1122.781952380952-2.68195238095238
53128.4126.3319523809522.06804761904763
54129.8126.1819523809523.61804761904763
55129.8125.2652857142864.5347142857143
56128.6124.6319523809523.96804761904762
57128.6125.4486190476193.15138095238096
58133.7126.5319523809527.16804761904762
59130125.8869267399274.11307326007327
60125.9124.770260073261.12973992673994
61129.4126.0901978021983.30980219780217
62129.4126.5759120879122.82408791208793
63130.6127.4765531135533.12344688644689
64130.6127.5098864468863.09011355311356
65130.6131.059886446886-0.459886446886443
66130.8130.909886446886-0.109886446886432
67129.7129.993219780220-0.293219780219784
68125.8129.359886446886-3.55988644688644
69126130.176553113553-4.17655311355311
70125.6131.259886446886-5.65988644688644
71125.4130.614860805861-5.21486080586079
72124.7129.498194139194-4.79819413919413
73126.9130.818131868132-3.9181318681319
74129.1131.303846153846-2.20384615384615

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 104.3 & 102.080373626373 & 2.2196263736266 \tabularnewline
2 & 103.9 & 102.566087912088 & 1.33391208791204 \tabularnewline
3 & 103.9 & 103.466728937729 & 0.43327106227106 \tabularnewline
4 & 103.9 & 103.500062271062 & 0.399937728937729 \tabularnewline
5 & 108 & 107.050062271062 & 0.949937728937706 \tabularnewline
6 & 108 & 106.900062271062 & 1.09993772893772 \tabularnewline
7 & 108 & 105.983395604396 & 2.01660439560439 \tabularnewline
8 & 108 & 105.350062271062 & 2.64993772893773 \tabularnewline
9 & 108 & 106.166728937729 & 1.83327106227105 \tabularnewline
10 & 108 & 107.250062271062 & 0.749937728937722 \tabularnewline
11 & 108 & 106.605036630037 & 1.39496336996336 \tabularnewline
12 & 108 & 105.48836996337 & 2.51163003663002 \tabularnewline
13 & 108 & 106.808307692308 & 1.19169230769226 \tabularnewline
14 & 108 & 107.294021978022 & 0.705978021978036 \tabularnewline
15 & 108 & 108.194663003663 & -0.194663003663008 \tabularnewline
16 & 108 & 108.227996336996 & -0.227996336996346 \tabularnewline
17 & 108 & 111.777996336996 & -3.77799633699634 \tabularnewline
18 & 108 & 111.627996336996 & -3.62799633699635 \tabularnewline
19 & 108 & 110.711329670330 & -2.71132967032968 \tabularnewline
20 & 108 & 110.077996336996 & -2.07799633699634 \tabularnewline
21 & 108 & 110.894663003663 & -2.89466300366301 \tabularnewline
22 & 108 & 111.977996336996 & -3.97799633699634 \tabularnewline
23 & 108 & 111.703124542125 & -3.70312454212455 \tabularnewline
24 & 108 & 110.586457875458 & -2.58645787545788 \tabularnewline
25 & 108 & 111.906395604396 & -3.90639560439564 \tabularnewline
26 & 108 & 112.392109890110 & -4.39210989010988 \tabularnewline
27 & 108 & 113.292750915751 & -5.29275091575092 \tabularnewline
28 & 108.2 & 113.326084249084 & -5.12608424908424 \tabularnewline
29 & 112.3 & 116.876084249084 & -4.57608424908425 \tabularnewline
30 & 111.3 & 116.726084249084 & -5.42608424908425 \tabularnewline
31 & 111.3 & 115.809417582418 & -4.50941758241758 \tabularnewline
32 & 115.3 & 115.176084249084 & 0.123915750915748 \tabularnewline
33 & 117.2 & 115.992750915751 & 1.20724908424909 \tabularnewline
34 & 118.3 & 117.076084249084 & 1.22391575091575 \tabularnewline
35 & 118.3 & 116.431058608059 & 1.86894139194139 \tabularnewline
36 & 118.3 & 115.314391941392 & 2.98560805860806 \tabularnewline
37 & 119 & 116.634329670330 & 2.36567032967029 \tabularnewline
38 & 120.6 & 117.120043956044 & 3.47995604395604 \tabularnewline
39 & 122.6 & 118.020684981685 & 4.57931501831502 \tabularnewline
40 & 122.6 & 118.054018315018 & 4.54598168498168 \tabularnewline
41 & 127.4 & 121.604018315018 & 5.7959816849817 \tabularnewline
42 & 125.9 & 121.454018315018 & 4.44598168498169 \tabularnewline
43 & 121.5 & 120.537351648352 & 0.962648351648354 \tabularnewline
44 & 118.8 & 119.904018315018 & -1.10401831501831 \tabularnewline
45 & 121.6 & 120.720684981685 & 0.879315018315018 \tabularnewline
46 & 122.3 & 121.804018315018 & 0.495981684981688 \tabularnewline
47 & 122.7 & 121.158992673993 & 1.54100732600733 \tabularnewline
48 & 120.8 & 120.042326007326 & 0.757673992673993 \tabularnewline
49 & 120.1 & 121.362263736264 & -1.26226373626378 \tabularnewline
50 & 120.1 & 121.847978021978 & -1.74797802197802 \tabularnewline
51 & 120.1 & 122.748619047619 & -2.64861904761905 \tabularnewline
52 & 120.1 & 122.781952380952 & -2.68195238095238 \tabularnewline
53 & 128.4 & 126.331952380952 & 2.06804761904763 \tabularnewline
54 & 129.8 & 126.181952380952 & 3.61804761904763 \tabularnewline
55 & 129.8 & 125.265285714286 & 4.5347142857143 \tabularnewline
56 & 128.6 & 124.631952380952 & 3.96804761904762 \tabularnewline
57 & 128.6 & 125.448619047619 & 3.15138095238096 \tabularnewline
58 & 133.7 & 126.531952380952 & 7.16804761904762 \tabularnewline
59 & 130 & 125.886926739927 & 4.11307326007327 \tabularnewline
60 & 125.9 & 124.77026007326 & 1.12973992673994 \tabularnewline
61 & 129.4 & 126.090197802198 & 3.30980219780217 \tabularnewline
62 & 129.4 & 126.575912087912 & 2.82408791208793 \tabularnewline
63 & 130.6 & 127.476553113553 & 3.12344688644689 \tabularnewline
64 & 130.6 & 127.509886446886 & 3.09011355311356 \tabularnewline
65 & 130.6 & 131.059886446886 & -0.459886446886443 \tabularnewline
66 & 130.8 & 130.909886446886 & -0.109886446886432 \tabularnewline
67 & 129.7 & 129.993219780220 & -0.293219780219784 \tabularnewline
68 & 125.8 & 129.359886446886 & -3.55988644688644 \tabularnewline
69 & 126 & 130.176553113553 & -4.17655311355311 \tabularnewline
70 & 125.6 & 131.259886446886 & -5.65988644688644 \tabularnewline
71 & 125.4 & 130.614860805861 & -5.21486080586079 \tabularnewline
72 & 124.7 & 129.498194139194 & -4.79819413919413 \tabularnewline
73 & 126.9 & 130.818131868132 & -3.9181318681319 \tabularnewline
74 & 129.1 & 131.303846153846 & -2.20384615384615 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4158&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]104.3[/C][C]102.080373626373[/C][C]2.2196263736266[/C][/ROW]
[ROW][C]2[/C][C]103.9[/C][C]102.566087912088[/C][C]1.33391208791204[/C][/ROW]
[ROW][C]3[/C][C]103.9[/C][C]103.466728937729[/C][C]0.43327106227106[/C][/ROW]
[ROW][C]4[/C][C]103.9[/C][C]103.500062271062[/C][C]0.399937728937729[/C][/ROW]
[ROW][C]5[/C][C]108[/C][C]107.050062271062[/C][C]0.949937728937706[/C][/ROW]
[ROW][C]6[/C][C]108[/C][C]106.900062271062[/C][C]1.09993772893772[/C][/ROW]
[ROW][C]7[/C][C]108[/C][C]105.983395604396[/C][C]2.01660439560439[/C][/ROW]
[ROW][C]8[/C][C]108[/C][C]105.350062271062[/C][C]2.64993772893773[/C][/ROW]
[ROW][C]9[/C][C]108[/C][C]106.166728937729[/C][C]1.83327106227105[/C][/ROW]
[ROW][C]10[/C][C]108[/C][C]107.250062271062[/C][C]0.749937728937722[/C][/ROW]
[ROW][C]11[/C][C]108[/C][C]106.605036630037[/C][C]1.39496336996336[/C][/ROW]
[ROW][C]12[/C][C]108[/C][C]105.48836996337[/C][C]2.51163003663002[/C][/ROW]
[ROW][C]13[/C][C]108[/C][C]106.808307692308[/C][C]1.19169230769226[/C][/ROW]
[ROW][C]14[/C][C]108[/C][C]107.294021978022[/C][C]0.705978021978036[/C][/ROW]
[ROW][C]15[/C][C]108[/C][C]108.194663003663[/C][C]-0.194663003663008[/C][/ROW]
[ROW][C]16[/C][C]108[/C][C]108.227996336996[/C][C]-0.227996336996346[/C][/ROW]
[ROW][C]17[/C][C]108[/C][C]111.777996336996[/C][C]-3.77799633699634[/C][/ROW]
[ROW][C]18[/C][C]108[/C][C]111.627996336996[/C][C]-3.62799633699635[/C][/ROW]
[ROW][C]19[/C][C]108[/C][C]110.711329670330[/C][C]-2.71132967032968[/C][/ROW]
[ROW][C]20[/C][C]108[/C][C]110.077996336996[/C][C]-2.07799633699634[/C][/ROW]
[ROW][C]21[/C][C]108[/C][C]110.894663003663[/C][C]-2.89466300366301[/C][/ROW]
[ROW][C]22[/C][C]108[/C][C]111.977996336996[/C][C]-3.97799633699634[/C][/ROW]
[ROW][C]23[/C][C]108[/C][C]111.703124542125[/C][C]-3.70312454212455[/C][/ROW]
[ROW][C]24[/C][C]108[/C][C]110.586457875458[/C][C]-2.58645787545788[/C][/ROW]
[ROW][C]25[/C][C]108[/C][C]111.906395604396[/C][C]-3.90639560439564[/C][/ROW]
[ROW][C]26[/C][C]108[/C][C]112.392109890110[/C][C]-4.39210989010988[/C][/ROW]
[ROW][C]27[/C][C]108[/C][C]113.292750915751[/C][C]-5.29275091575092[/C][/ROW]
[ROW][C]28[/C][C]108.2[/C][C]113.326084249084[/C][C]-5.12608424908424[/C][/ROW]
[ROW][C]29[/C][C]112.3[/C][C]116.876084249084[/C][C]-4.57608424908425[/C][/ROW]
[ROW][C]30[/C][C]111.3[/C][C]116.726084249084[/C][C]-5.42608424908425[/C][/ROW]
[ROW][C]31[/C][C]111.3[/C][C]115.809417582418[/C][C]-4.50941758241758[/C][/ROW]
[ROW][C]32[/C][C]115.3[/C][C]115.176084249084[/C][C]0.123915750915748[/C][/ROW]
[ROW][C]33[/C][C]117.2[/C][C]115.992750915751[/C][C]1.20724908424909[/C][/ROW]
[ROW][C]34[/C][C]118.3[/C][C]117.076084249084[/C][C]1.22391575091575[/C][/ROW]
[ROW][C]35[/C][C]118.3[/C][C]116.431058608059[/C][C]1.86894139194139[/C][/ROW]
[ROW][C]36[/C][C]118.3[/C][C]115.314391941392[/C][C]2.98560805860806[/C][/ROW]
[ROW][C]37[/C][C]119[/C][C]116.634329670330[/C][C]2.36567032967029[/C][/ROW]
[ROW][C]38[/C][C]120.6[/C][C]117.120043956044[/C][C]3.47995604395604[/C][/ROW]
[ROW][C]39[/C][C]122.6[/C][C]118.020684981685[/C][C]4.57931501831502[/C][/ROW]
[ROW][C]40[/C][C]122.6[/C][C]118.054018315018[/C][C]4.54598168498168[/C][/ROW]
[ROW][C]41[/C][C]127.4[/C][C]121.604018315018[/C][C]5.7959816849817[/C][/ROW]
[ROW][C]42[/C][C]125.9[/C][C]121.454018315018[/C][C]4.44598168498169[/C][/ROW]
[ROW][C]43[/C][C]121.5[/C][C]120.537351648352[/C][C]0.962648351648354[/C][/ROW]
[ROW][C]44[/C][C]118.8[/C][C]119.904018315018[/C][C]-1.10401831501831[/C][/ROW]
[ROW][C]45[/C][C]121.6[/C][C]120.720684981685[/C][C]0.879315018315018[/C][/ROW]
[ROW][C]46[/C][C]122.3[/C][C]121.804018315018[/C][C]0.495981684981688[/C][/ROW]
[ROW][C]47[/C][C]122.7[/C][C]121.158992673993[/C][C]1.54100732600733[/C][/ROW]
[ROW][C]48[/C][C]120.8[/C][C]120.042326007326[/C][C]0.757673992673993[/C][/ROW]
[ROW][C]49[/C][C]120.1[/C][C]121.362263736264[/C][C]-1.26226373626378[/C][/ROW]
[ROW][C]50[/C][C]120.1[/C][C]121.847978021978[/C][C]-1.74797802197802[/C][/ROW]
[ROW][C]51[/C][C]120.1[/C][C]122.748619047619[/C][C]-2.64861904761905[/C][/ROW]
[ROW][C]52[/C][C]120.1[/C][C]122.781952380952[/C][C]-2.68195238095238[/C][/ROW]
[ROW][C]53[/C][C]128.4[/C][C]126.331952380952[/C][C]2.06804761904763[/C][/ROW]
[ROW][C]54[/C][C]129.8[/C][C]126.181952380952[/C][C]3.61804761904763[/C][/ROW]
[ROW][C]55[/C][C]129.8[/C][C]125.265285714286[/C][C]4.5347142857143[/C][/ROW]
[ROW][C]56[/C][C]128.6[/C][C]124.631952380952[/C][C]3.96804761904762[/C][/ROW]
[ROW][C]57[/C][C]128.6[/C][C]125.448619047619[/C][C]3.15138095238096[/C][/ROW]
[ROW][C]58[/C][C]133.7[/C][C]126.531952380952[/C][C]7.16804761904762[/C][/ROW]
[ROW][C]59[/C][C]130[/C][C]125.886926739927[/C][C]4.11307326007327[/C][/ROW]
[ROW][C]60[/C][C]125.9[/C][C]124.77026007326[/C][C]1.12973992673994[/C][/ROW]
[ROW][C]61[/C][C]129.4[/C][C]126.090197802198[/C][C]3.30980219780217[/C][/ROW]
[ROW][C]62[/C][C]129.4[/C][C]126.575912087912[/C][C]2.82408791208793[/C][/ROW]
[ROW][C]63[/C][C]130.6[/C][C]127.476553113553[/C][C]3.12344688644689[/C][/ROW]
[ROW][C]64[/C][C]130.6[/C][C]127.509886446886[/C][C]3.09011355311356[/C][/ROW]
[ROW][C]65[/C][C]130.6[/C][C]131.059886446886[/C][C]-0.459886446886443[/C][/ROW]
[ROW][C]66[/C][C]130.8[/C][C]130.909886446886[/C][C]-0.109886446886432[/C][/ROW]
[ROW][C]67[/C][C]129.7[/C][C]129.993219780220[/C][C]-0.293219780219784[/C][/ROW]
[ROW][C]68[/C][C]125.8[/C][C]129.359886446886[/C][C]-3.55988644688644[/C][/ROW]
[ROW][C]69[/C][C]126[/C][C]130.176553113553[/C][C]-4.17655311355311[/C][/ROW]
[ROW][C]70[/C][C]125.6[/C][C]131.259886446886[/C][C]-5.65988644688644[/C][/ROW]
[ROW][C]71[/C][C]125.4[/C][C]130.614860805861[/C][C]-5.21486080586079[/C][/ROW]
[ROW][C]72[/C][C]124.7[/C][C]129.498194139194[/C][C]-4.79819413919413[/C][/ROW]
[ROW][C]73[/C][C]126.9[/C][C]130.818131868132[/C][C]-3.9181318681319[/C][/ROW]
[ROW][C]74[/C][C]129.1[/C][C]131.303846153846[/C][C]-2.20384615384615[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4158&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4158&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
1104.3102.0803736263732.2196263736266
2103.9102.5660879120881.33391208791204
3103.9103.4667289377290.43327106227106
4103.9103.5000622710620.399937728937729
5108107.0500622710620.949937728937706
6108106.9000622710621.09993772893772
7108105.9833956043962.01660439560439
8108105.3500622710622.64993772893773
9108106.1667289377291.83327106227105
10108107.2500622710620.749937728937722
11108106.6050366300371.39496336996336
12108105.488369963372.51163003663002
13108106.8083076923081.19169230769226
14108107.2940219780220.705978021978036
15108108.194663003663-0.194663003663008
16108108.227996336996-0.227996336996346
17108111.777996336996-3.77799633699634
18108111.627996336996-3.62799633699635
19108110.711329670330-2.71132967032968
20108110.077996336996-2.07799633699634
21108110.894663003663-2.89466300366301
22108111.977996336996-3.97799633699634
23108111.703124542125-3.70312454212455
24108110.586457875458-2.58645787545788
25108111.906395604396-3.90639560439564
26108112.392109890110-4.39210989010988
27108113.292750915751-5.29275091575092
28108.2113.326084249084-5.12608424908424
29112.3116.876084249084-4.57608424908425
30111.3116.726084249084-5.42608424908425
31111.3115.809417582418-4.50941758241758
32115.3115.1760842490840.123915750915748
33117.2115.9927509157511.20724908424909
34118.3117.0760842490841.22391575091575
35118.3116.4310586080591.86894139194139
36118.3115.3143919413922.98560805860806
37119116.6343296703302.36567032967029
38120.6117.1200439560443.47995604395604
39122.6118.0206849816854.57931501831502
40122.6118.0540183150184.54598168498168
41127.4121.6040183150185.7959816849817
42125.9121.4540183150184.44598168498169
43121.5120.5373516483520.962648351648354
44118.8119.904018315018-1.10401831501831
45121.6120.7206849816850.879315018315018
46122.3121.8040183150180.495981684981688
47122.7121.1589926739931.54100732600733
48120.8120.0423260073260.757673992673993
49120.1121.362263736264-1.26226373626378
50120.1121.847978021978-1.74797802197802
51120.1122.748619047619-2.64861904761905
52120.1122.781952380952-2.68195238095238
53128.4126.3319523809522.06804761904763
54129.8126.1819523809523.61804761904763
55129.8125.2652857142864.5347142857143
56128.6124.6319523809523.96804761904762
57128.6125.4486190476193.15138095238096
58133.7126.5319523809527.16804761904762
59130125.8869267399274.11307326007327
60125.9124.770260073261.12973992673994
61129.4126.0901978021983.30980219780217
62129.4126.5759120879122.82408791208793
63130.6127.4765531135533.12344688644689
64130.6127.5098864468863.09011355311356
65130.6131.059886446886-0.459886446886443
66130.8130.909886446886-0.109886446886432
67129.7129.993219780220-0.293219780219784
68125.8129.359886446886-3.55988644688644
69126130.176553113553-4.17655311355311
70125.6131.259886446886-5.65988644688644
71125.4130.614860805861-5.21486080586079
72124.7129.498194139194-4.79819413919413
73126.9130.818131868132-3.9181318681319
74129.1131.303846153846-2.20384615384615



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