Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationSun, 18 Nov 2007 09:57:19 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2007/Nov/18/t119540472010rd2vwg8swheib.htm/, Retrieved Sun, 05 May 2024 00:07:59 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=14471, Retrieved Sun, 05 May 2024 00:07:59 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact182
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [WS8 Q3 trend] [2007-11-18 16:57:19] [83c5b5dfba5139cca82cca1f21083930] [Current]
Feedback Forum

Post a new message
Dataseries X:
1178	0
2141	0
2238	0
2685	0
4341	0
5376	0
4478	0
6404	0
4617	0
3024	0
1897	0
2075	0
1351	0
2211	0
2453	0
3042	0
4765	0
4992	1
4601	1
6266	1
4812	1
3159	1
1916	1
2237	1
1595	1
2453	1
2226	1
3597	1
4706	1
4974	1
5756	1
5493	1
5004	1
3225	1
2006	1
2291	1
1588	1
2105	1
2191	1
3591	1
4668	1
4885	1
5822	1
5599	1
5340	1
3082	1
2010	1
2301	1
1514	1
1979	1
2480	1
3499	1
4676	1
5585	1
5610	1
5796	1
6199	1
3030	1
1930	1
2552	1




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001

\begin{tabular}{lllllllll}
\hline
Summary of compuational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 5 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14471&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]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14471&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14471&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 time5 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Multiple Linear Regression - Estimated Regression Equation
Huwelijken[t] = + 3192.41014977826 + 511.912993560917Dummy[t] + 0.0328591749644455t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Huwelijken[t] =  +  3192.41014977826 +  511.912993560917Dummy[t] +  0.0328591749644455t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14471&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Huwelijken[t] =  +  3192.41014977826 +  511.912993560917Dummy[t] +  0.0328591749644455t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14471&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14471&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
Huwelijken[t] = + 3192.41014977826 + 511.912993560917Dummy[t] + 0.0328591749644455t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)3192.41014977826413.1355817.727300
Dummy511.912993560917713.9855120.7170.4763150.238157
t0.032859174964445518.5778960.00180.9985950.499297

\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) & 3192.41014977826 & 413.135581 & 7.7273 & 0 & 0 \tabularnewline
Dummy & 511.912993560917 & 713.985512 & 0.717 & 0.476315 & 0.238157 \tabularnewline
t & 0.0328591749644455 & 18.577896 & 0.0018 & 0.998595 & 0.499297 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14471&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]3192.41014977826[/C][C]413.135581[/C][C]7.7273[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Dummy[/C][C]511.912993560917[/C][C]713.985512[/C][C]0.717[/C][C]0.476315[/C][C]0.238157[/C][/ROW]
[ROW][C]t[/C][C]0.0328591749644455[/C][C]18.577896[/C][C]0.0018[/C][C]0.998595[/C][C]0.499297[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14471&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14471&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)3192.41014977826413.1355817.727300
Dummy511.912993560917713.9855120.7170.4763150.238157
t0.032859174964445518.5778960.00180.9985950.499297







Multiple Linear Regression - Regression Statistics
Multiple R0.150497327732756
R-squared0.0226494456547004
Adjusted R-squared-0.0116435562521524
F-TEST (value)0.660468445317833
F-TEST (DF numerator)2
F-TEST (DF denominator)57
p-value0.520517533744738
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1557.66549467415
Sum Squared Residuals138300342.218012

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.150497327732756 \tabularnewline
R-squared & 0.0226494456547004 \tabularnewline
Adjusted R-squared & -0.0116435562521524 \tabularnewline
F-TEST (value) & 0.660468445317833 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 57 \tabularnewline
p-value & 0.520517533744738 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1557.66549467415 \tabularnewline
Sum Squared Residuals & 138300342.218012 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14471&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.150497327732756[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0226494456547004[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]-0.0116435562521524[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]0.660468445317833[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]2[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]57[/C][/ROW]
[ROW][C]p-value[/C][C]0.520517533744738[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]1557.66549467415[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]138300342.218012[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14471&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14471&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.150497327732756
R-squared0.0226494456547004
Adjusted R-squared-0.0116435562521524
F-TEST (value)0.660468445317833
F-TEST (DF numerator)2
F-TEST (DF denominator)57
p-value0.520517533744738
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1557.66549467415
Sum Squared Residuals138300342.218012







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
111783192.44300895323-2014.44300895323
221413192.47586812819-1051.47586812819
322383192.50872730315-954.508727303154
426853192.54158647812-507.541586478118
543413192.574445653081148.42555434692
653763192.607304828052183.39269517195
744783192.640164003011285.35983599699
864043192.673023177983211.32697682202
946173192.705882352941424.29411764706
1030243192.73874152791-168.738741527905
1118973192.77160070287-1295.77160070287
1220753192.80445987783-1117.80445987783
1313513192.8373190528-1841.8373190528
1422113192.87017822776-981.870178227763
1524533192.90303740273-739.903037402727
1630423192.93589657769-150.935896577692
1747653192.968755752661572.03124424734
1849923704.914608488541287.08539151146
1946013704.9474676635896.052532336498
2062663704.980326838472561.01967316153
2148123705.013186013431106.98681398657
2231593705.04604518840-546.046045188395
2319163705.07890436336-1789.07890436336
2422373705.11176353832-1468.11176353832
2515953705.14462271329-2110.14462271329
2624533705.17748188825-1252.17748188825
2722263705.21034106322-1479.21034106322
2835973705.24320023818-108.243200238182
2947063705.276059413151000.72394058685
3049743705.308918588111268.69108141189
3157563705.341777763082050.65822223692
3254933705.374636938041787.62536306196
3350043705.407496113001298.59250388700
3432253705.44035528797-480.440355287968
3520063705.47321446293-1699.47321446293
3622913705.5060736379-1414.50607363790
3715883705.53893281286-2117.53893281286
3821053705.57179198783-1600.57179198783
3921913705.60465116279-1514.60465116279
4035913705.63751033775-114.637510337755
4146683705.67036951272962.32963048728
4248853705.703228687681179.29677131232
4358223705.736087862652116.26391213735
4455993705.768947037611893.23105296239
4553403705.801806212581634.19819378742
4630823705.83466538754-623.834665387542
4720103705.86752456251-1695.86752456251
4823013705.90038373747-1404.90038373747
4915143705.93324291244-2191.93324291244
5019793705.9661020874-1726.9661020874
5124803705.99896126236-1225.99896126236
5234993706.03182043733-207.031820437328
5346763706.06467961229969.935320387707
5455853706.097538787261878.90246121274
5556103706.130397962221903.86960203778
5657963706.163257137192089.83674286281
5761993706.196116312152492.80388368785
5830303706.22897548712-676.228975487115
5919303706.26183466208-1776.26183466208
6025523706.29469383704-1154.29469383704

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1178 & 3192.44300895323 & -2014.44300895323 \tabularnewline
2 & 2141 & 3192.47586812819 & -1051.47586812819 \tabularnewline
3 & 2238 & 3192.50872730315 & -954.508727303154 \tabularnewline
4 & 2685 & 3192.54158647812 & -507.541586478118 \tabularnewline
5 & 4341 & 3192.57444565308 & 1148.42555434692 \tabularnewline
6 & 5376 & 3192.60730482805 & 2183.39269517195 \tabularnewline
7 & 4478 & 3192.64016400301 & 1285.35983599699 \tabularnewline
8 & 6404 & 3192.67302317798 & 3211.32697682202 \tabularnewline
9 & 4617 & 3192.70588235294 & 1424.29411764706 \tabularnewline
10 & 3024 & 3192.73874152791 & -168.738741527905 \tabularnewline
11 & 1897 & 3192.77160070287 & -1295.77160070287 \tabularnewline
12 & 2075 & 3192.80445987783 & -1117.80445987783 \tabularnewline
13 & 1351 & 3192.8373190528 & -1841.8373190528 \tabularnewline
14 & 2211 & 3192.87017822776 & -981.870178227763 \tabularnewline
15 & 2453 & 3192.90303740273 & -739.903037402727 \tabularnewline
16 & 3042 & 3192.93589657769 & -150.935896577692 \tabularnewline
17 & 4765 & 3192.96875575266 & 1572.03124424734 \tabularnewline
18 & 4992 & 3704.91460848854 & 1287.08539151146 \tabularnewline
19 & 4601 & 3704.9474676635 & 896.052532336498 \tabularnewline
20 & 6266 & 3704.98032683847 & 2561.01967316153 \tabularnewline
21 & 4812 & 3705.01318601343 & 1106.98681398657 \tabularnewline
22 & 3159 & 3705.04604518840 & -546.046045188395 \tabularnewline
23 & 1916 & 3705.07890436336 & -1789.07890436336 \tabularnewline
24 & 2237 & 3705.11176353832 & -1468.11176353832 \tabularnewline
25 & 1595 & 3705.14462271329 & -2110.14462271329 \tabularnewline
26 & 2453 & 3705.17748188825 & -1252.17748188825 \tabularnewline
27 & 2226 & 3705.21034106322 & -1479.21034106322 \tabularnewline
28 & 3597 & 3705.24320023818 & -108.243200238182 \tabularnewline
29 & 4706 & 3705.27605941315 & 1000.72394058685 \tabularnewline
30 & 4974 & 3705.30891858811 & 1268.69108141189 \tabularnewline
31 & 5756 & 3705.34177776308 & 2050.65822223692 \tabularnewline
32 & 5493 & 3705.37463693804 & 1787.62536306196 \tabularnewline
33 & 5004 & 3705.40749611300 & 1298.59250388700 \tabularnewline
34 & 3225 & 3705.44035528797 & -480.440355287968 \tabularnewline
35 & 2006 & 3705.47321446293 & -1699.47321446293 \tabularnewline
36 & 2291 & 3705.5060736379 & -1414.50607363790 \tabularnewline
37 & 1588 & 3705.53893281286 & -2117.53893281286 \tabularnewline
38 & 2105 & 3705.57179198783 & -1600.57179198783 \tabularnewline
39 & 2191 & 3705.60465116279 & -1514.60465116279 \tabularnewline
40 & 3591 & 3705.63751033775 & -114.637510337755 \tabularnewline
41 & 4668 & 3705.67036951272 & 962.32963048728 \tabularnewline
42 & 4885 & 3705.70322868768 & 1179.29677131232 \tabularnewline
43 & 5822 & 3705.73608786265 & 2116.26391213735 \tabularnewline
44 & 5599 & 3705.76894703761 & 1893.23105296239 \tabularnewline
45 & 5340 & 3705.80180621258 & 1634.19819378742 \tabularnewline
46 & 3082 & 3705.83466538754 & -623.834665387542 \tabularnewline
47 & 2010 & 3705.86752456251 & -1695.86752456251 \tabularnewline
48 & 2301 & 3705.90038373747 & -1404.90038373747 \tabularnewline
49 & 1514 & 3705.93324291244 & -2191.93324291244 \tabularnewline
50 & 1979 & 3705.9661020874 & -1726.9661020874 \tabularnewline
51 & 2480 & 3705.99896126236 & -1225.99896126236 \tabularnewline
52 & 3499 & 3706.03182043733 & -207.031820437328 \tabularnewline
53 & 4676 & 3706.06467961229 & 969.935320387707 \tabularnewline
54 & 5585 & 3706.09753878726 & 1878.90246121274 \tabularnewline
55 & 5610 & 3706.13039796222 & 1903.86960203778 \tabularnewline
56 & 5796 & 3706.16325713719 & 2089.83674286281 \tabularnewline
57 & 6199 & 3706.19611631215 & 2492.80388368785 \tabularnewline
58 & 3030 & 3706.22897548712 & -676.228975487115 \tabularnewline
59 & 1930 & 3706.26183466208 & -1776.26183466208 \tabularnewline
60 & 2552 & 3706.29469383704 & -1154.29469383704 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14471&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]1178[/C][C]3192.44300895323[/C][C]-2014.44300895323[/C][/ROW]
[ROW][C]2[/C][C]2141[/C][C]3192.47586812819[/C][C]-1051.47586812819[/C][/ROW]
[ROW][C]3[/C][C]2238[/C][C]3192.50872730315[/C][C]-954.508727303154[/C][/ROW]
[ROW][C]4[/C][C]2685[/C][C]3192.54158647812[/C][C]-507.541586478118[/C][/ROW]
[ROW][C]5[/C][C]4341[/C][C]3192.57444565308[/C][C]1148.42555434692[/C][/ROW]
[ROW][C]6[/C][C]5376[/C][C]3192.60730482805[/C][C]2183.39269517195[/C][/ROW]
[ROW][C]7[/C][C]4478[/C][C]3192.64016400301[/C][C]1285.35983599699[/C][/ROW]
[ROW][C]8[/C][C]6404[/C][C]3192.67302317798[/C][C]3211.32697682202[/C][/ROW]
[ROW][C]9[/C][C]4617[/C][C]3192.70588235294[/C][C]1424.29411764706[/C][/ROW]
[ROW][C]10[/C][C]3024[/C][C]3192.73874152791[/C][C]-168.738741527905[/C][/ROW]
[ROW][C]11[/C][C]1897[/C][C]3192.77160070287[/C][C]-1295.77160070287[/C][/ROW]
[ROW][C]12[/C][C]2075[/C][C]3192.80445987783[/C][C]-1117.80445987783[/C][/ROW]
[ROW][C]13[/C][C]1351[/C][C]3192.8373190528[/C][C]-1841.8373190528[/C][/ROW]
[ROW][C]14[/C][C]2211[/C][C]3192.87017822776[/C][C]-981.870178227763[/C][/ROW]
[ROW][C]15[/C][C]2453[/C][C]3192.90303740273[/C][C]-739.903037402727[/C][/ROW]
[ROW][C]16[/C][C]3042[/C][C]3192.93589657769[/C][C]-150.935896577692[/C][/ROW]
[ROW][C]17[/C][C]4765[/C][C]3192.96875575266[/C][C]1572.03124424734[/C][/ROW]
[ROW][C]18[/C][C]4992[/C][C]3704.91460848854[/C][C]1287.08539151146[/C][/ROW]
[ROW][C]19[/C][C]4601[/C][C]3704.9474676635[/C][C]896.052532336498[/C][/ROW]
[ROW][C]20[/C][C]6266[/C][C]3704.98032683847[/C][C]2561.01967316153[/C][/ROW]
[ROW][C]21[/C][C]4812[/C][C]3705.01318601343[/C][C]1106.98681398657[/C][/ROW]
[ROW][C]22[/C][C]3159[/C][C]3705.04604518840[/C][C]-546.046045188395[/C][/ROW]
[ROW][C]23[/C][C]1916[/C][C]3705.07890436336[/C][C]-1789.07890436336[/C][/ROW]
[ROW][C]24[/C][C]2237[/C][C]3705.11176353832[/C][C]-1468.11176353832[/C][/ROW]
[ROW][C]25[/C][C]1595[/C][C]3705.14462271329[/C][C]-2110.14462271329[/C][/ROW]
[ROW][C]26[/C][C]2453[/C][C]3705.17748188825[/C][C]-1252.17748188825[/C][/ROW]
[ROW][C]27[/C][C]2226[/C][C]3705.21034106322[/C][C]-1479.21034106322[/C][/ROW]
[ROW][C]28[/C][C]3597[/C][C]3705.24320023818[/C][C]-108.243200238182[/C][/ROW]
[ROW][C]29[/C][C]4706[/C][C]3705.27605941315[/C][C]1000.72394058685[/C][/ROW]
[ROW][C]30[/C][C]4974[/C][C]3705.30891858811[/C][C]1268.69108141189[/C][/ROW]
[ROW][C]31[/C][C]5756[/C][C]3705.34177776308[/C][C]2050.65822223692[/C][/ROW]
[ROW][C]32[/C][C]5493[/C][C]3705.37463693804[/C][C]1787.62536306196[/C][/ROW]
[ROW][C]33[/C][C]5004[/C][C]3705.40749611300[/C][C]1298.59250388700[/C][/ROW]
[ROW][C]34[/C][C]3225[/C][C]3705.44035528797[/C][C]-480.440355287968[/C][/ROW]
[ROW][C]35[/C][C]2006[/C][C]3705.47321446293[/C][C]-1699.47321446293[/C][/ROW]
[ROW][C]36[/C][C]2291[/C][C]3705.5060736379[/C][C]-1414.50607363790[/C][/ROW]
[ROW][C]37[/C][C]1588[/C][C]3705.53893281286[/C][C]-2117.53893281286[/C][/ROW]
[ROW][C]38[/C][C]2105[/C][C]3705.57179198783[/C][C]-1600.57179198783[/C][/ROW]
[ROW][C]39[/C][C]2191[/C][C]3705.60465116279[/C][C]-1514.60465116279[/C][/ROW]
[ROW][C]40[/C][C]3591[/C][C]3705.63751033775[/C][C]-114.637510337755[/C][/ROW]
[ROW][C]41[/C][C]4668[/C][C]3705.67036951272[/C][C]962.32963048728[/C][/ROW]
[ROW][C]42[/C][C]4885[/C][C]3705.70322868768[/C][C]1179.29677131232[/C][/ROW]
[ROW][C]43[/C][C]5822[/C][C]3705.73608786265[/C][C]2116.26391213735[/C][/ROW]
[ROW][C]44[/C][C]5599[/C][C]3705.76894703761[/C][C]1893.23105296239[/C][/ROW]
[ROW][C]45[/C][C]5340[/C][C]3705.80180621258[/C][C]1634.19819378742[/C][/ROW]
[ROW][C]46[/C][C]3082[/C][C]3705.83466538754[/C][C]-623.834665387542[/C][/ROW]
[ROW][C]47[/C][C]2010[/C][C]3705.86752456251[/C][C]-1695.86752456251[/C][/ROW]
[ROW][C]48[/C][C]2301[/C][C]3705.90038373747[/C][C]-1404.90038373747[/C][/ROW]
[ROW][C]49[/C][C]1514[/C][C]3705.93324291244[/C][C]-2191.93324291244[/C][/ROW]
[ROW][C]50[/C][C]1979[/C][C]3705.9661020874[/C][C]-1726.9661020874[/C][/ROW]
[ROW][C]51[/C][C]2480[/C][C]3705.99896126236[/C][C]-1225.99896126236[/C][/ROW]
[ROW][C]52[/C][C]3499[/C][C]3706.03182043733[/C][C]-207.031820437328[/C][/ROW]
[ROW][C]53[/C][C]4676[/C][C]3706.06467961229[/C][C]969.935320387707[/C][/ROW]
[ROW][C]54[/C][C]5585[/C][C]3706.09753878726[/C][C]1878.90246121274[/C][/ROW]
[ROW][C]55[/C][C]5610[/C][C]3706.13039796222[/C][C]1903.86960203778[/C][/ROW]
[ROW][C]56[/C][C]5796[/C][C]3706.16325713719[/C][C]2089.83674286281[/C][/ROW]
[ROW][C]57[/C][C]6199[/C][C]3706.19611631215[/C][C]2492.80388368785[/C][/ROW]
[ROW][C]58[/C][C]3030[/C][C]3706.22897548712[/C][C]-676.228975487115[/C][/ROW]
[ROW][C]59[/C][C]1930[/C][C]3706.26183466208[/C][C]-1776.26183466208[/C][/ROW]
[ROW][C]60[/C][C]2552[/C][C]3706.29469383704[/C][C]-1154.29469383704[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14471&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14471&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
111783192.44300895323-2014.44300895323
221413192.47586812819-1051.47586812819
322383192.50872730315-954.508727303154
426853192.54158647812-507.541586478118
543413192.574445653081148.42555434692
653763192.607304828052183.39269517195
744783192.640164003011285.35983599699
864043192.673023177983211.32697682202
946173192.705882352941424.29411764706
1030243192.73874152791-168.738741527905
1118973192.77160070287-1295.77160070287
1220753192.80445987783-1117.80445987783
1313513192.8373190528-1841.8373190528
1422113192.87017822776-981.870178227763
1524533192.90303740273-739.903037402727
1630423192.93589657769-150.935896577692
1747653192.968755752661572.03124424734
1849923704.914608488541287.08539151146
1946013704.9474676635896.052532336498
2062663704.980326838472561.01967316153
2148123705.013186013431106.98681398657
2231593705.04604518840-546.046045188395
2319163705.07890436336-1789.07890436336
2422373705.11176353832-1468.11176353832
2515953705.14462271329-2110.14462271329
2624533705.17748188825-1252.17748188825
2722263705.21034106322-1479.21034106322
2835973705.24320023818-108.243200238182
2947063705.276059413151000.72394058685
3049743705.308918588111268.69108141189
3157563705.341777763082050.65822223692
3254933705.374636938041787.62536306196
3350043705.407496113001298.59250388700
3432253705.44035528797-480.440355287968
3520063705.47321446293-1699.47321446293
3622913705.5060736379-1414.50607363790
3715883705.53893281286-2117.53893281286
3821053705.57179198783-1600.57179198783
3921913705.60465116279-1514.60465116279
4035913705.63751033775-114.637510337755
4146683705.67036951272962.32963048728
4248853705.703228687681179.29677131232
4358223705.736087862652116.26391213735
4455993705.768947037611893.23105296239
4553403705.801806212581634.19819378742
4630823705.83466538754-623.834665387542
4720103705.86752456251-1695.86752456251
4823013705.90038373747-1404.90038373747
4915143705.93324291244-2191.93324291244
5019793705.9661020874-1726.9661020874
5124803705.99896126236-1225.99896126236
5234993706.03182043733-207.031820437328
5346763706.06467961229969.935320387707
5455853706.097538787261878.90246121274
5556103706.130397962221903.86960203778
5657963706.163257137192089.83674286281
5761993706.196116312152492.80388368785
5830303706.22897548712-676.228975487115
5919303706.26183466208-1776.26183466208
6025523706.29469383704-1154.29469383704



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal 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')