Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationSun, 21 Nov 2010 14:26:52 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Nov/21/t1290349957br52t6l8f97mboa.htm/, Retrieved Thu, 02 May 2024 12:43:07 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=98361, Retrieved Thu, 02 May 2024 12:43:07 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact164
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Workshop 6, quest...] [2007-11-15 12:23:03] [014d8fd34510847ca01b2f9638bbe8e5]
-  MPD    [Multiple Regression] [] [2010-11-21 14:26:52] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
1.39	1.08
1.34	1.12
1.33	1.12
1.3	1.16
1.28	1.16
1.29	1.16
1.29	1.16
1.28	1.15
1.27	1.17
1.26	1.16
1.29	1.19
1.36	1.13
1.33	1.14
1.35	1.13
1.31	1.16
1.3	1.17
1.32	1.14
1.33	1.14
1.36	1.11
1.35	1.12
1.4	1.08
1.41	1.07
1.4	1.09
1.4	1.08
1.4	1.08
1.41	1.08
1.4	1.09
1.39	1.08
1.41	1.07
1.42	1.07
1.43	1.07
1.42	1.08
1.42	1.07
1.43	1.06
1.43	1.06
1.43	1.06
1.46	1.04
1.47	1.03
1.47	1.03
1.46	1.04
1.47	1.03
1.49	1.02
1.5	1.01
1.47	1.03
1.48	1.02
1.49	1.01
1.49	1.02
1.5	1.01
1.48	1.02
1.46	1.03
1.43	1.04
1.44	1.04
1.43	1.03




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

\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 & 4 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=98361&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]4 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=98361&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=98361&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 time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
us/ch[t] = + 2.02985011486707 -0.667154578273706`eu/us`[t] -0.00680891095066132M1[t] -0.00445108084454656M2[t] -0.00609910567771565M3[t] -0.00240989388469514M4[t] -0.0113805179958427M5[t] -0.00135072858549389M6[t] -0.00265053878131491M7[t] -0.0047970998796629M8[t] -0.006096910075484M9[t] -0.0124003796083579M10[t] + 0.00629615085876827M11[t] -0.000360757575757605t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
us/ch[t] =  +  2.02985011486707 -0.667154578273706`eu/us`[t] -0.00680891095066132M1[t] -0.00445108084454656M2[t] -0.00609910567771565M3[t] -0.00240989388469514M4[t] -0.0113805179958427M5[t] -0.00135072858549389M6[t] -0.00265053878131491M7[t] -0.0047970998796629M8[t] -0.006096910075484M9[t] -0.0124003796083579M10[t] +  0.00629615085876827M11[t] -0.000360757575757605t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=98361&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]us/ch[t] =  +  2.02985011486707 -0.667154578273706`eu/us`[t] -0.00680891095066132M1[t] -0.00445108084454656M2[t] -0.00609910567771565M3[t] -0.00240989388469514M4[t] -0.0113805179958427M5[t] -0.00135072858549389M6[t] -0.00265053878131491M7[t] -0.0047970998796629M8[t] -0.006096910075484M9[t] -0.0124003796083579M10[t] +  0.00629615085876827M11[t] -0.000360757575757605t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=98361&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=98361&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
us/ch[t] = + 2.02985011486707 -0.667154578273706`eu/us`[t] -0.00680891095066132M1[t] -0.00445108084454656M2[t] -0.00609910567771565M3[t] -0.00240989388469514M4[t] -0.0113805179958427M5[t] -0.00135072858549389M6[t] -0.00265053878131491M7[t] -0.0047970998796629M8[t] -0.006096910075484M9[t] -0.0124003796083579M10[t] + 0.00629615085876827M11[t] -0.000360757575757605t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)2.029850114867070.06049633.553500
`eu/us`-0.6671545782737060.046327-14.401100
M1-0.006808910950661320.006609-1.03020.309250.154625
M2-0.004451080844546560.006588-0.67560.5032550.251628
M3-0.006099105677715650.006664-0.91520.3657060.182853
M4-0.002409893884695140.006793-0.35480.7246740.362337
M5-0.01138051799584270.006792-1.67560.101820.05091
M6-0.001350728585493890.006992-0.19320.8478160.423908
M7-0.002650538781314910.006956-0.3810.7052480.352624
M8-0.00479709987966290.007049-0.68060.5001630.250081
M9-0.0060969100754840.006988-0.87250.3882870.194144
M10-0.01240037960835790.00698-1.77650.0834550.041727
M110.006296150858768270.0069740.90280.3721680.186084
t-0.0003607575757576050.000208-1.73030.0914820.045741

\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) & 2.02985011486707 & 0.060496 & 33.5535 & 0 & 0 \tabularnewline
`eu/us` & -0.667154578273706 & 0.046327 & -14.4011 & 0 & 0 \tabularnewline
M1 & -0.00680891095066132 & 0.006609 & -1.0302 & 0.30925 & 0.154625 \tabularnewline
M2 & -0.00445108084454656 & 0.006588 & -0.6756 & 0.503255 & 0.251628 \tabularnewline
M3 & -0.00609910567771565 & 0.006664 & -0.9152 & 0.365706 & 0.182853 \tabularnewline
M4 & -0.00240989388469514 & 0.006793 & -0.3548 & 0.724674 & 0.362337 \tabularnewline
M5 & -0.0113805179958427 & 0.006792 & -1.6756 & 0.10182 & 0.05091 \tabularnewline
M6 & -0.00135072858549389 & 0.006992 & -0.1932 & 0.847816 & 0.423908 \tabularnewline
M7 & -0.00265053878131491 & 0.006956 & -0.381 & 0.705248 & 0.352624 \tabularnewline
M8 & -0.0047970998796629 & 0.007049 & -0.6806 & 0.500163 & 0.250081 \tabularnewline
M9 & -0.006096910075484 & 0.006988 & -0.8725 & 0.388287 & 0.194144 \tabularnewline
M10 & -0.0124003796083579 & 0.00698 & -1.7765 & 0.083455 & 0.041727 \tabularnewline
M11 & 0.00629615085876827 & 0.006974 & 0.9028 & 0.372168 & 0.186084 \tabularnewline
t & -0.000360757575757605 & 0.000208 & -1.7303 & 0.091482 & 0.045741 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=98361&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]2.02985011486707[/C][C]0.060496[/C][C]33.5535[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]`eu/us`[/C][C]-0.667154578273706[/C][C]0.046327[/C][C]-14.4011[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]-0.00680891095066132[/C][C]0.006609[/C][C]-1.0302[/C][C]0.30925[/C][C]0.154625[/C][/ROW]
[ROW][C]M2[/C][C]-0.00445108084454656[/C][C]0.006588[/C][C]-0.6756[/C][C]0.503255[/C][C]0.251628[/C][/ROW]
[ROW][C]M3[/C][C]-0.00609910567771565[/C][C]0.006664[/C][C]-0.9152[/C][C]0.365706[/C][C]0.182853[/C][/ROW]
[ROW][C]M4[/C][C]-0.00240989388469514[/C][C]0.006793[/C][C]-0.3548[/C][C]0.724674[/C][C]0.362337[/C][/ROW]
[ROW][C]M5[/C][C]-0.0113805179958427[/C][C]0.006792[/C][C]-1.6756[/C][C]0.10182[/C][C]0.05091[/C][/ROW]
[ROW][C]M6[/C][C]-0.00135072858549389[/C][C]0.006992[/C][C]-0.1932[/C][C]0.847816[/C][C]0.423908[/C][/ROW]
[ROW][C]M7[/C][C]-0.00265053878131491[/C][C]0.006956[/C][C]-0.381[/C][C]0.705248[/C][C]0.352624[/C][/ROW]
[ROW][C]M8[/C][C]-0.0047970998796629[/C][C]0.007049[/C][C]-0.6806[/C][C]0.500163[/C][C]0.250081[/C][/ROW]
[ROW][C]M9[/C][C]-0.006096910075484[/C][C]0.006988[/C][C]-0.8725[/C][C]0.388287[/C][C]0.194144[/C][/ROW]
[ROW][C]M10[/C][C]-0.0124003796083579[/C][C]0.00698[/C][C]-1.7765[/C][C]0.083455[/C][C]0.041727[/C][/ROW]
[ROW][C]M11[/C][C]0.00629615085876827[/C][C]0.006974[/C][C]0.9028[/C][C]0.372168[/C][C]0.186084[/C][/ROW]
[ROW][C]t[/C][C]-0.000360757575757605[/C][C]0.000208[/C][C]-1.7303[/C][C]0.091482[/C][C]0.045741[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=98361&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=98361&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)2.029850114867070.06049633.553500
`eu/us`-0.6671545782737060.046327-14.401100
M1-0.006808910950661320.006609-1.03020.309250.154625
M2-0.004451080844546560.006588-0.67560.5032550.251628
M3-0.006099105677715650.006664-0.91520.3657060.182853
M4-0.002409893884695140.006793-0.35480.7246740.362337
M5-0.01138051799584270.006792-1.67560.101820.05091
M6-0.001350728585493890.006992-0.19320.8478160.423908
M7-0.002650538781314910.006956-0.3810.7052480.352624
M8-0.00479709987966290.007049-0.68060.5001630.250081
M9-0.0060969100754840.006988-0.87250.3882870.194144
M10-0.01240037960835790.00698-1.77650.0834550.041727
M110.006296150858768270.0069740.90280.3721680.186084
t-0.0003607575757576050.000208-1.73030.0914820.045741







Multiple Linear Regression - Regression Statistics
Multiple R0.986902872755255
R-squared0.973977280252575
Adjusted R-squared0.965303040336767
F-TEST (value)112.283876132773
F-TEST (DF numerator)13
F-TEST (DF denominator)39
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.00980647641668609
Sum Squared Residuals0.0037505122087298

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.986902872755255 \tabularnewline
R-squared & 0.973977280252575 \tabularnewline
Adjusted R-squared & 0.965303040336767 \tabularnewline
F-TEST (value) & 112.283876132773 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 39 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.00980647641668609 \tabularnewline
Sum Squared Residuals & 0.0037505122087298 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=98361&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.986902872755255[/C][/ROW]
[ROW][C]R-squared[/C][C]0.973977280252575[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.965303040336767[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]112.283876132773[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]39[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.00980647641668609[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]0.0037505122087298[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=98361&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=98361&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.986902872755255
R-squared0.973977280252575
Adjusted R-squared0.965303040336767
F-TEST (value)112.283876132773
F-TEST (DF numerator)13
F-TEST (DF denominator)39
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.00980647641668609
Sum Squared Residuals0.0037505122087298







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11.081.09533558254020-0.0153355825402015
21.121.13069038398425-0.0106903839842470
31.121.13535314735806-0.0153531473580573
41.161.158696238923530.00130376107646838
51.161.16270794880210-0.00270794880210057
61.161.16570543485395-0.00570543485395473
71.161.16404486708238-0.00404486708237612
81.151.16820909419101-0.0182090941910076
91.171.17322007220217-0.00322007220216594
101.161.17322739087627-0.0132273908762715
111.191.171548526419430.0184514735805711
121.131.118190797505740.0118092024942564
131.141.131035766327540.00896423367246417
141.131.119689747292420.0103102527075811
151.161.144367148014440.0156328519855596
161.171.154367148014440.0156328519855596
171.141.131692674762060.00830732523793893
181.141.134690160813920.00530983918608477
191.111.11301495569413-0.00301495569412521
201.121.117179182802760.00282081719724333
211.081.08216088611749-0.00216088611749282
221.071.068825113226120.00117488677387572
231.091.09383243190023-0.00383243190022987
241.081.08717552346570-0.007175523465704
251.081.08000585493929-5.85493928507703e-06
261.081.075331381686910.00466861831309483
271.091.079994145060720.0100058549392845
281.081.08999414506072-0.00999414506071551
291.071.067319671808340.0026803281916638
301.071.07031715786019-0.000317157860190356
311.071.061985044305870.00801495569412533
321.081.066149271414510.0138507285854939
331.071.064488703642930.00551129635707257
341.061.051152930751560.0088470692484411
351.061.06948870364293-0.00948870364292744
361.061.06283179520840-0.00283179520840156
371.041.035647489333770.00435251066622854
381.031.03097301608139-0.000973016081391561
391.031.028964233672460.00103576632753514
401.041.038964233672460.00103576632753518
411.031.022961306202820.00703869379717742
421.021.019287246471940.00071275352806032
431.011.01095513291762-0.00095513291762400
441.031.028462451591730.00153754840827041
451.021.02013033803741-0.000130338037413814
461.011.006794565146050.00320543485395472
471.021.02513033803741-0.00513033803741382
481.011.01180188382015-0.00180188382015088
491.021.017975306859210.00202469314079392
501.031.03331547095504-0.00331547095503737
511.041.05132132589432-0.0113213258943219
521.041.04797823432885-0.00797823432884769
531.031.04531839842468-0.0153183984246796

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1.08 & 1.09533558254020 & -0.0153355825402015 \tabularnewline
2 & 1.12 & 1.13069038398425 & -0.0106903839842470 \tabularnewline
3 & 1.12 & 1.13535314735806 & -0.0153531473580573 \tabularnewline
4 & 1.16 & 1.15869623892353 & 0.00130376107646838 \tabularnewline
5 & 1.16 & 1.16270794880210 & -0.00270794880210057 \tabularnewline
6 & 1.16 & 1.16570543485395 & -0.00570543485395473 \tabularnewline
7 & 1.16 & 1.16404486708238 & -0.00404486708237612 \tabularnewline
8 & 1.15 & 1.16820909419101 & -0.0182090941910076 \tabularnewline
9 & 1.17 & 1.17322007220217 & -0.00322007220216594 \tabularnewline
10 & 1.16 & 1.17322739087627 & -0.0132273908762715 \tabularnewline
11 & 1.19 & 1.17154852641943 & 0.0184514735805711 \tabularnewline
12 & 1.13 & 1.11819079750574 & 0.0118092024942564 \tabularnewline
13 & 1.14 & 1.13103576632754 & 0.00896423367246417 \tabularnewline
14 & 1.13 & 1.11968974729242 & 0.0103102527075811 \tabularnewline
15 & 1.16 & 1.14436714801444 & 0.0156328519855596 \tabularnewline
16 & 1.17 & 1.15436714801444 & 0.0156328519855596 \tabularnewline
17 & 1.14 & 1.13169267476206 & 0.00830732523793893 \tabularnewline
18 & 1.14 & 1.13469016081392 & 0.00530983918608477 \tabularnewline
19 & 1.11 & 1.11301495569413 & -0.00301495569412521 \tabularnewline
20 & 1.12 & 1.11717918280276 & 0.00282081719724333 \tabularnewline
21 & 1.08 & 1.08216088611749 & -0.00216088611749282 \tabularnewline
22 & 1.07 & 1.06882511322612 & 0.00117488677387572 \tabularnewline
23 & 1.09 & 1.09383243190023 & -0.00383243190022987 \tabularnewline
24 & 1.08 & 1.08717552346570 & -0.007175523465704 \tabularnewline
25 & 1.08 & 1.08000585493929 & -5.85493928507703e-06 \tabularnewline
26 & 1.08 & 1.07533138168691 & 0.00466861831309483 \tabularnewline
27 & 1.09 & 1.07999414506072 & 0.0100058549392845 \tabularnewline
28 & 1.08 & 1.08999414506072 & -0.00999414506071551 \tabularnewline
29 & 1.07 & 1.06731967180834 & 0.0026803281916638 \tabularnewline
30 & 1.07 & 1.07031715786019 & -0.000317157860190356 \tabularnewline
31 & 1.07 & 1.06198504430587 & 0.00801495569412533 \tabularnewline
32 & 1.08 & 1.06614927141451 & 0.0138507285854939 \tabularnewline
33 & 1.07 & 1.06448870364293 & 0.00551129635707257 \tabularnewline
34 & 1.06 & 1.05115293075156 & 0.0088470692484411 \tabularnewline
35 & 1.06 & 1.06948870364293 & -0.00948870364292744 \tabularnewline
36 & 1.06 & 1.06283179520840 & -0.00283179520840156 \tabularnewline
37 & 1.04 & 1.03564748933377 & 0.00435251066622854 \tabularnewline
38 & 1.03 & 1.03097301608139 & -0.000973016081391561 \tabularnewline
39 & 1.03 & 1.02896423367246 & 0.00103576632753514 \tabularnewline
40 & 1.04 & 1.03896423367246 & 0.00103576632753518 \tabularnewline
41 & 1.03 & 1.02296130620282 & 0.00703869379717742 \tabularnewline
42 & 1.02 & 1.01928724647194 & 0.00071275352806032 \tabularnewline
43 & 1.01 & 1.01095513291762 & -0.00095513291762400 \tabularnewline
44 & 1.03 & 1.02846245159173 & 0.00153754840827041 \tabularnewline
45 & 1.02 & 1.02013033803741 & -0.000130338037413814 \tabularnewline
46 & 1.01 & 1.00679456514605 & 0.00320543485395472 \tabularnewline
47 & 1.02 & 1.02513033803741 & -0.00513033803741382 \tabularnewline
48 & 1.01 & 1.01180188382015 & -0.00180188382015088 \tabularnewline
49 & 1.02 & 1.01797530685921 & 0.00202469314079392 \tabularnewline
50 & 1.03 & 1.03331547095504 & -0.00331547095503737 \tabularnewline
51 & 1.04 & 1.05132132589432 & -0.0113213258943219 \tabularnewline
52 & 1.04 & 1.04797823432885 & -0.00797823432884769 \tabularnewline
53 & 1.03 & 1.04531839842468 & -0.0153183984246796 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=98361&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]1.08[/C][C]1.09533558254020[/C][C]-0.0153355825402015[/C][/ROW]
[ROW][C]2[/C][C]1.12[/C][C]1.13069038398425[/C][C]-0.0106903839842470[/C][/ROW]
[ROW][C]3[/C][C]1.12[/C][C]1.13535314735806[/C][C]-0.0153531473580573[/C][/ROW]
[ROW][C]4[/C][C]1.16[/C][C]1.15869623892353[/C][C]0.00130376107646838[/C][/ROW]
[ROW][C]5[/C][C]1.16[/C][C]1.16270794880210[/C][C]-0.00270794880210057[/C][/ROW]
[ROW][C]6[/C][C]1.16[/C][C]1.16570543485395[/C][C]-0.00570543485395473[/C][/ROW]
[ROW][C]7[/C][C]1.16[/C][C]1.16404486708238[/C][C]-0.00404486708237612[/C][/ROW]
[ROW][C]8[/C][C]1.15[/C][C]1.16820909419101[/C][C]-0.0182090941910076[/C][/ROW]
[ROW][C]9[/C][C]1.17[/C][C]1.17322007220217[/C][C]-0.00322007220216594[/C][/ROW]
[ROW][C]10[/C][C]1.16[/C][C]1.17322739087627[/C][C]-0.0132273908762715[/C][/ROW]
[ROW][C]11[/C][C]1.19[/C][C]1.17154852641943[/C][C]0.0184514735805711[/C][/ROW]
[ROW][C]12[/C][C]1.13[/C][C]1.11819079750574[/C][C]0.0118092024942564[/C][/ROW]
[ROW][C]13[/C][C]1.14[/C][C]1.13103576632754[/C][C]0.00896423367246417[/C][/ROW]
[ROW][C]14[/C][C]1.13[/C][C]1.11968974729242[/C][C]0.0103102527075811[/C][/ROW]
[ROW][C]15[/C][C]1.16[/C][C]1.14436714801444[/C][C]0.0156328519855596[/C][/ROW]
[ROW][C]16[/C][C]1.17[/C][C]1.15436714801444[/C][C]0.0156328519855596[/C][/ROW]
[ROW][C]17[/C][C]1.14[/C][C]1.13169267476206[/C][C]0.00830732523793893[/C][/ROW]
[ROW][C]18[/C][C]1.14[/C][C]1.13469016081392[/C][C]0.00530983918608477[/C][/ROW]
[ROW][C]19[/C][C]1.11[/C][C]1.11301495569413[/C][C]-0.00301495569412521[/C][/ROW]
[ROW][C]20[/C][C]1.12[/C][C]1.11717918280276[/C][C]0.00282081719724333[/C][/ROW]
[ROW][C]21[/C][C]1.08[/C][C]1.08216088611749[/C][C]-0.00216088611749282[/C][/ROW]
[ROW][C]22[/C][C]1.07[/C][C]1.06882511322612[/C][C]0.00117488677387572[/C][/ROW]
[ROW][C]23[/C][C]1.09[/C][C]1.09383243190023[/C][C]-0.00383243190022987[/C][/ROW]
[ROW][C]24[/C][C]1.08[/C][C]1.08717552346570[/C][C]-0.007175523465704[/C][/ROW]
[ROW][C]25[/C][C]1.08[/C][C]1.08000585493929[/C][C]-5.85493928507703e-06[/C][/ROW]
[ROW][C]26[/C][C]1.08[/C][C]1.07533138168691[/C][C]0.00466861831309483[/C][/ROW]
[ROW][C]27[/C][C]1.09[/C][C]1.07999414506072[/C][C]0.0100058549392845[/C][/ROW]
[ROW][C]28[/C][C]1.08[/C][C]1.08999414506072[/C][C]-0.00999414506071551[/C][/ROW]
[ROW][C]29[/C][C]1.07[/C][C]1.06731967180834[/C][C]0.0026803281916638[/C][/ROW]
[ROW][C]30[/C][C]1.07[/C][C]1.07031715786019[/C][C]-0.000317157860190356[/C][/ROW]
[ROW][C]31[/C][C]1.07[/C][C]1.06198504430587[/C][C]0.00801495569412533[/C][/ROW]
[ROW][C]32[/C][C]1.08[/C][C]1.06614927141451[/C][C]0.0138507285854939[/C][/ROW]
[ROW][C]33[/C][C]1.07[/C][C]1.06448870364293[/C][C]0.00551129635707257[/C][/ROW]
[ROW][C]34[/C][C]1.06[/C][C]1.05115293075156[/C][C]0.0088470692484411[/C][/ROW]
[ROW][C]35[/C][C]1.06[/C][C]1.06948870364293[/C][C]-0.00948870364292744[/C][/ROW]
[ROW][C]36[/C][C]1.06[/C][C]1.06283179520840[/C][C]-0.00283179520840156[/C][/ROW]
[ROW][C]37[/C][C]1.04[/C][C]1.03564748933377[/C][C]0.00435251066622854[/C][/ROW]
[ROW][C]38[/C][C]1.03[/C][C]1.03097301608139[/C][C]-0.000973016081391561[/C][/ROW]
[ROW][C]39[/C][C]1.03[/C][C]1.02896423367246[/C][C]0.00103576632753514[/C][/ROW]
[ROW][C]40[/C][C]1.04[/C][C]1.03896423367246[/C][C]0.00103576632753518[/C][/ROW]
[ROW][C]41[/C][C]1.03[/C][C]1.02296130620282[/C][C]0.00703869379717742[/C][/ROW]
[ROW][C]42[/C][C]1.02[/C][C]1.01928724647194[/C][C]0.00071275352806032[/C][/ROW]
[ROW][C]43[/C][C]1.01[/C][C]1.01095513291762[/C][C]-0.00095513291762400[/C][/ROW]
[ROW][C]44[/C][C]1.03[/C][C]1.02846245159173[/C][C]0.00153754840827041[/C][/ROW]
[ROW][C]45[/C][C]1.02[/C][C]1.02013033803741[/C][C]-0.000130338037413814[/C][/ROW]
[ROW][C]46[/C][C]1.01[/C][C]1.00679456514605[/C][C]0.00320543485395472[/C][/ROW]
[ROW][C]47[/C][C]1.02[/C][C]1.02513033803741[/C][C]-0.00513033803741382[/C][/ROW]
[ROW][C]48[/C][C]1.01[/C][C]1.01180188382015[/C][C]-0.00180188382015088[/C][/ROW]
[ROW][C]49[/C][C]1.02[/C][C]1.01797530685921[/C][C]0.00202469314079392[/C][/ROW]
[ROW][C]50[/C][C]1.03[/C][C]1.03331547095504[/C][C]-0.00331547095503737[/C][/ROW]
[ROW][C]51[/C][C]1.04[/C][C]1.05132132589432[/C][C]-0.0113213258943219[/C][/ROW]
[ROW][C]52[/C][C]1.04[/C][C]1.04797823432885[/C][C]-0.00797823432884769[/C][/ROW]
[ROW][C]53[/C][C]1.03[/C][C]1.04531839842468[/C][C]-0.0153183984246796[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=98361&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=98361&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
11.081.09533558254020-0.0153355825402015
21.121.13069038398425-0.0106903839842470
31.121.13535314735806-0.0153531473580573
41.161.158696238923530.00130376107646838
51.161.16270794880210-0.00270794880210057
61.161.16570543485395-0.00570543485395473
71.161.16404486708238-0.00404486708237612
81.151.16820909419101-0.0182090941910076
91.171.17322007220217-0.00322007220216594
101.161.17322739087627-0.0132273908762715
111.191.171548526419430.0184514735805711
121.131.118190797505740.0118092024942564
131.141.131035766327540.00896423367246417
141.131.119689747292420.0103102527075811
151.161.144367148014440.0156328519855596
161.171.154367148014440.0156328519855596
171.141.131692674762060.00830732523793893
181.141.134690160813920.00530983918608477
191.111.11301495569413-0.00301495569412521
201.121.117179182802760.00282081719724333
211.081.08216088611749-0.00216088611749282
221.071.068825113226120.00117488677387572
231.091.09383243190023-0.00383243190022987
241.081.08717552346570-0.007175523465704
251.081.08000585493929-5.85493928507703e-06
261.081.075331381686910.00466861831309483
271.091.079994145060720.0100058549392845
281.081.08999414506072-0.00999414506071551
291.071.067319671808340.0026803281916638
301.071.07031715786019-0.000317157860190356
311.071.061985044305870.00801495569412533
321.081.066149271414510.0138507285854939
331.071.064488703642930.00551129635707257
341.061.051152930751560.0088470692484411
351.061.06948870364293-0.00948870364292744
361.061.06283179520840-0.00283179520840156
371.041.035647489333770.00435251066622854
381.031.03097301608139-0.000973016081391561
391.031.028964233672460.00103576632753514
401.041.038964233672460.00103576632753518
411.031.022961306202820.00703869379717742
421.021.019287246471940.00071275352806032
431.011.01095513291762-0.00095513291762400
441.031.028462451591730.00153754840827041
451.021.02013033803741-0.000130338037413814
461.011.006794565146050.00320543485395472
471.021.02513033803741-0.00513033803741382
481.011.01180188382015-0.00180188382015088
491.021.017975306859210.00202469314079392
501.031.03331547095504-0.00331547095503737
511.041.05132132589432-0.0113213258943219
521.041.04797823432885-0.00797823432884769
531.031.04531839842468-0.0153183984246796



Parameters (Session):
par1 = 2 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 2 ; 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')