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:25:16 +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/t1290349923wx1tz6cbvxk4aid.htm/, Retrieved Thu, 02 May 2024 01:47:12 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=98360, Retrieved Thu, 02 May 2024 01:47:12 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact165
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:19:38] [014d8fd34510847ca01b2f9638bbe8e5]
-  MPD    [Multiple Regression] [] [2010-11-21 14:25:16] [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'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 4 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=98360&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]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=98360&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=98360&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'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Multiple Linear Regression - Estimated Regression Equation
us/ch[t] = + 2.12223630074824 -0.739709174515459`eu/us`[t] -0.00576694633241188M1[t] -0.00420520137950503M2[t] -0.00751996652078331M3[t] -0.00491705826593794M4[t] -0.0139582215678761M5[t] -0.00208836698061838M6[t] -0.00284200229917509M7[t] -0.00643763991690697M8[t] -0.00719127523546378M9[t] -0.0134927293628865M10[t] + 0.00520581650969082M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
us/ch[t] =  +  2.12223630074824 -0.739709174515459`eu/us`[t] -0.00576694633241188M1[t] -0.00420520137950503M2[t] -0.00751996652078331M3[t] -0.00491705826593794M4[t] -0.0139582215678761M5[t] -0.00208836698061838M6[t] -0.00284200229917509M7[t] -0.00643763991690697M8[t] -0.00719127523546378M9[t] -0.0134927293628865M10[t] +  0.00520581650969082M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=98360&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]us/ch[t] =  +  2.12223630074824 -0.739709174515459`eu/us`[t] -0.00576694633241188M1[t] -0.00420520137950503M2[t] -0.00751996652078331M3[t] -0.00491705826593794M4[t] -0.0139582215678761M5[t] -0.00208836698061838M6[t] -0.00284200229917509M7[t] -0.00643763991690697M8[t] -0.00719127523546378M9[t] -0.0134927293628865M10[t] +  0.00520581650969082M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=98360&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=98360&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.12223630074824 -0.739709174515459`eu/us`[t] -0.00576694633241188M1[t] -0.00420520137950503M2[t] -0.00751996652078331M3[t] -0.00491705826593794M4[t] -0.0139582215678761M5[t] -0.00208836698061838M6[t] -0.00284200229917509M7[t] -0.00643763991690697M8[t] -0.00719127523546378M9[t] -0.0134927293628865M10[t] + 0.00520581650969082M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)2.122236300748240.02914372.822400
`eu/us`-0.7397091745154590.02018-36.655200
M1-0.005766946332411880.006744-0.85520.3975540.198777
M2-0.004205201379505030.006749-0.62310.536740.26837
M3-0.007519966520783310.006776-1.10980.273730.136865
M4-0.004917058265937940.0068-0.72310.4738220.236911
M5-0.01395822156787610.00679-2.05580.046370.023185
M6-0.002088366980618380.007151-0.29210.7717560.385878
M7-0.002842002299175090.007127-0.39880.692170.346085
M8-0.006437639916906970.007157-0.89950.3737450.186873
M9-0.007191275235463780.007131-1.00850.3192790.15964
M10-0.01349272936288650.007123-1.89430.0654330.032717
M110.005205816509690820.0071160.73150.4687240.234362

\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.12223630074824 & 0.029143 & 72.8224 & 0 & 0 \tabularnewline
`eu/us` & -0.739709174515459 & 0.02018 & -36.6552 & 0 & 0 \tabularnewline
M1 & -0.00576694633241188 & 0.006744 & -0.8552 & 0.397554 & 0.198777 \tabularnewline
M2 & -0.00420520137950503 & 0.006749 & -0.6231 & 0.53674 & 0.26837 \tabularnewline
M3 & -0.00751996652078331 & 0.006776 & -1.1098 & 0.27373 & 0.136865 \tabularnewline
M4 & -0.00491705826593794 & 0.0068 & -0.7231 & 0.473822 & 0.236911 \tabularnewline
M5 & -0.0139582215678761 & 0.00679 & -2.0558 & 0.04637 & 0.023185 \tabularnewline
M6 & -0.00208836698061838 & 0.007151 & -0.2921 & 0.771756 & 0.385878 \tabularnewline
M7 & -0.00284200229917509 & 0.007127 & -0.3988 & 0.69217 & 0.346085 \tabularnewline
M8 & -0.00643763991690697 & 0.007157 & -0.8995 & 0.373745 & 0.186873 \tabularnewline
M9 & -0.00719127523546378 & 0.007131 & -1.0085 & 0.319279 & 0.15964 \tabularnewline
M10 & -0.0134927293628865 & 0.007123 & -1.8943 & 0.065433 & 0.032717 \tabularnewline
M11 & 0.00520581650969082 & 0.007116 & 0.7315 & 0.468724 & 0.234362 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=98360&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.12223630074824[/C][C]0.029143[/C][C]72.8224[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]`eu/us`[/C][C]-0.739709174515459[/C][C]0.02018[/C][C]-36.6552[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]-0.00576694633241188[/C][C]0.006744[/C][C]-0.8552[/C][C]0.397554[/C][C]0.198777[/C][/ROW]
[ROW][C]M2[/C][C]-0.00420520137950503[/C][C]0.006749[/C][C]-0.6231[/C][C]0.53674[/C][C]0.26837[/C][/ROW]
[ROW][C]M3[/C][C]-0.00751996652078331[/C][C]0.006776[/C][C]-1.1098[/C][C]0.27373[/C][C]0.136865[/C][/ROW]
[ROW][C]M4[/C][C]-0.00491705826593794[/C][C]0.0068[/C][C]-0.7231[/C][C]0.473822[/C][C]0.236911[/C][/ROW]
[ROW][C]M5[/C][C]-0.0139582215678761[/C][C]0.00679[/C][C]-2.0558[/C][C]0.04637[/C][C]0.023185[/C][/ROW]
[ROW][C]M6[/C][C]-0.00208836698061838[/C][C]0.007151[/C][C]-0.2921[/C][C]0.771756[/C][C]0.385878[/C][/ROW]
[ROW][C]M7[/C][C]-0.00284200229917509[/C][C]0.007127[/C][C]-0.3988[/C][C]0.69217[/C][C]0.346085[/C][/ROW]
[ROW][C]M8[/C][C]-0.00643763991690697[/C][C]0.007157[/C][C]-0.8995[/C][C]0.373745[/C][C]0.186873[/C][/ROW]
[ROW][C]M9[/C][C]-0.00719127523546378[/C][C]0.007131[/C][C]-1.0085[/C][C]0.319279[/C][C]0.15964[/C][/ROW]
[ROW][C]M10[/C][C]-0.0134927293628865[/C][C]0.007123[/C][C]-1.8943[/C][C]0.065433[/C][C]0.032717[/C][/ROW]
[ROW][C]M11[/C][C]0.00520581650969082[/C][C]0.007116[/C][C]0.7315[/C][C]0.468724[/C][C]0.234362[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=98360&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=98360&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.122236300748240.02914372.822400
`eu/us`-0.7397091745154590.02018-36.655200
M1-0.005766946332411880.006744-0.85520.3975540.198777
M2-0.004205201379505030.006749-0.62310.536740.26837
M3-0.007519966520783310.006776-1.10980.273730.136865
M4-0.004917058265937940.0068-0.72310.4738220.236911
M5-0.01395822156787610.00679-2.05580.046370.023185
M6-0.002088366980618380.007151-0.29210.7717560.385878
M7-0.002842002299175090.007127-0.39880.692170.346085
M8-0.006437639916906970.007157-0.89950.3737450.186873
M9-0.007191275235463780.007131-1.00850.3192790.15964
M10-0.01349272936288650.007123-1.89430.0654330.032717
M110.005205816509690820.0071160.73150.4687240.234362







Multiple Linear Regression - Regression Statistics
Multiple R0.985890236124104
R-squared0.971979557684841
Adjusted R-squared0.963573424990293
F-TEST (value)115.627434517572
F-TEST (DF numerator)12
F-TEST (DF denominator)40
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.0100479264421602
Sum Squared Residuals0.00403843303148252

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.985890236124104 \tabularnewline
R-squared & 0.971979557684841 \tabularnewline
Adjusted R-squared & 0.963573424990293 \tabularnewline
F-TEST (value) & 115.627434517572 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 40 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.0100479264421602 \tabularnewline
Sum Squared Residuals & 0.00403843303148252 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=98360&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.985890236124104[/C][/ROW]
[ROW][C]R-squared[/C][C]0.971979557684841[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.963573424990293[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]115.627434517572[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]40[/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.0100479264421602[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]0.00403843303148252[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=98360&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=98360&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.985890236124104
R-squared0.971979557684841
Adjusted R-squared0.963573424990293
F-TEST (value)115.627434517572
F-TEST (DF numerator)12
F-TEST (DF denominator)40
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.0100479264421602
Sum Squared Residuals0.00403843303148252







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11.081.08827360183934-0.0082736018393383
21.121.12682080551802-0.00682080551802011
31.121.13090313212190-0.0109031321218965
41.161.155697315612210.00430268438779416
51.161.16145033580058-0.00145033580057686
61.161.16592309864268-0.00592309864267999
71.161.16516946332412-0.00516946332412329
81.151.16897091745155-0.018970917451546
91.171.17561437387814-0.00561437387814378
101.161.17671001149588-0.0167100114958757
111.191.173217282132990.0167827178670108
121.131.116231823407220.0137681765927838
131.141.132656152310270.00734384768973188
141.131.119423713772870.0105762862271342
151.161.145697315612210.0143026843877941
161.171.155697315612210.0143026843877942
171.141.131861968819960.00813803118004152
181.141.136334731662060.00366526833793838
191.111.11338982110804-0.00338982110804092
201.121.117191275235460.00280872476453638
211.081.079452181191130.000547818808865961
221.071.065753635318560.00424636468144326
231.091.09184927293629-0.00184927293628863
241.081.08664345642660-0.00664345642659782
251.081.08087651009419-0.000876510094185937
261.081.075041163301940.00495883669806181
271.091.079123489905810.0108765100941855
281.081.08912348990581-0.00912348990581447
291.071.065288143113570.00471185688643288
301.071.069760905955670.000239094044329747
311.071.061610178891960.00838982110804105
321.081.065411633019380.0145883669806184
331.071.064657997700820.00534200229917514
341.061.050959451828250.00904054817175244
351.061.06965799770082-0.00965799770082486
361.061.06445218119113-0.00445218119113405
371.041.036493959623260.0035060403767416
381.031.03065861283101-0.000658612831010659
391.031.027343847689730.00265615231026762
401.041.037343847689730.00265615231026766
411.031.020905592642640.00909440735736042
421.021.017981263739590.00201873626041187
431.011.009830536675880.000169463324123155
441.031.028426174293610.00157382570639128
451.021.02027544722990-0.000275447229897334
461.011.006576901357320.00342309864267997
471.021.02527544722990-0.00527544722989733
481.011.01267253897505-0.00267253897505193
491.021.02169977613295-0.00169977613294923
501.031.03805570457617-0.00805570457616526
511.041.05693221467035-0.0169322146703508
521.041.05213803118004-0.0121380311800415
531.031.05049395962326-0.0204939596232580

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1.08 & 1.08827360183934 & -0.0082736018393383 \tabularnewline
2 & 1.12 & 1.12682080551802 & -0.00682080551802011 \tabularnewline
3 & 1.12 & 1.13090313212190 & -0.0109031321218965 \tabularnewline
4 & 1.16 & 1.15569731561221 & 0.00430268438779416 \tabularnewline
5 & 1.16 & 1.16145033580058 & -0.00145033580057686 \tabularnewline
6 & 1.16 & 1.16592309864268 & -0.00592309864267999 \tabularnewline
7 & 1.16 & 1.16516946332412 & -0.00516946332412329 \tabularnewline
8 & 1.15 & 1.16897091745155 & -0.018970917451546 \tabularnewline
9 & 1.17 & 1.17561437387814 & -0.00561437387814378 \tabularnewline
10 & 1.16 & 1.17671001149588 & -0.0167100114958757 \tabularnewline
11 & 1.19 & 1.17321728213299 & 0.0167827178670108 \tabularnewline
12 & 1.13 & 1.11623182340722 & 0.0137681765927838 \tabularnewline
13 & 1.14 & 1.13265615231027 & 0.00734384768973188 \tabularnewline
14 & 1.13 & 1.11942371377287 & 0.0105762862271342 \tabularnewline
15 & 1.16 & 1.14569731561221 & 0.0143026843877941 \tabularnewline
16 & 1.17 & 1.15569731561221 & 0.0143026843877942 \tabularnewline
17 & 1.14 & 1.13186196881996 & 0.00813803118004152 \tabularnewline
18 & 1.14 & 1.13633473166206 & 0.00366526833793838 \tabularnewline
19 & 1.11 & 1.11338982110804 & -0.00338982110804092 \tabularnewline
20 & 1.12 & 1.11719127523546 & 0.00280872476453638 \tabularnewline
21 & 1.08 & 1.07945218119113 & 0.000547818808865961 \tabularnewline
22 & 1.07 & 1.06575363531856 & 0.00424636468144326 \tabularnewline
23 & 1.09 & 1.09184927293629 & -0.00184927293628863 \tabularnewline
24 & 1.08 & 1.08664345642660 & -0.00664345642659782 \tabularnewline
25 & 1.08 & 1.08087651009419 & -0.000876510094185937 \tabularnewline
26 & 1.08 & 1.07504116330194 & 0.00495883669806181 \tabularnewline
27 & 1.09 & 1.07912348990581 & 0.0108765100941855 \tabularnewline
28 & 1.08 & 1.08912348990581 & -0.00912348990581447 \tabularnewline
29 & 1.07 & 1.06528814311357 & 0.00471185688643288 \tabularnewline
30 & 1.07 & 1.06976090595567 & 0.000239094044329747 \tabularnewline
31 & 1.07 & 1.06161017889196 & 0.00838982110804105 \tabularnewline
32 & 1.08 & 1.06541163301938 & 0.0145883669806184 \tabularnewline
33 & 1.07 & 1.06465799770082 & 0.00534200229917514 \tabularnewline
34 & 1.06 & 1.05095945182825 & 0.00904054817175244 \tabularnewline
35 & 1.06 & 1.06965799770082 & -0.00965799770082486 \tabularnewline
36 & 1.06 & 1.06445218119113 & -0.00445218119113405 \tabularnewline
37 & 1.04 & 1.03649395962326 & 0.0035060403767416 \tabularnewline
38 & 1.03 & 1.03065861283101 & -0.000658612831010659 \tabularnewline
39 & 1.03 & 1.02734384768973 & 0.00265615231026762 \tabularnewline
40 & 1.04 & 1.03734384768973 & 0.00265615231026766 \tabularnewline
41 & 1.03 & 1.02090559264264 & 0.00909440735736042 \tabularnewline
42 & 1.02 & 1.01798126373959 & 0.00201873626041187 \tabularnewline
43 & 1.01 & 1.00983053667588 & 0.000169463324123155 \tabularnewline
44 & 1.03 & 1.02842617429361 & 0.00157382570639128 \tabularnewline
45 & 1.02 & 1.02027544722990 & -0.000275447229897334 \tabularnewline
46 & 1.01 & 1.00657690135732 & 0.00342309864267997 \tabularnewline
47 & 1.02 & 1.02527544722990 & -0.00527544722989733 \tabularnewline
48 & 1.01 & 1.01267253897505 & -0.00267253897505193 \tabularnewline
49 & 1.02 & 1.02169977613295 & -0.00169977613294923 \tabularnewline
50 & 1.03 & 1.03805570457617 & -0.00805570457616526 \tabularnewline
51 & 1.04 & 1.05693221467035 & -0.0169322146703508 \tabularnewline
52 & 1.04 & 1.05213803118004 & -0.0121380311800415 \tabularnewline
53 & 1.03 & 1.05049395962326 & -0.0204939596232580 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=98360&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.08827360183934[/C][C]-0.0082736018393383[/C][/ROW]
[ROW][C]2[/C][C]1.12[/C][C]1.12682080551802[/C][C]-0.00682080551802011[/C][/ROW]
[ROW][C]3[/C][C]1.12[/C][C]1.13090313212190[/C][C]-0.0109031321218965[/C][/ROW]
[ROW][C]4[/C][C]1.16[/C][C]1.15569731561221[/C][C]0.00430268438779416[/C][/ROW]
[ROW][C]5[/C][C]1.16[/C][C]1.16145033580058[/C][C]-0.00145033580057686[/C][/ROW]
[ROW][C]6[/C][C]1.16[/C][C]1.16592309864268[/C][C]-0.00592309864267999[/C][/ROW]
[ROW][C]7[/C][C]1.16[/C][C]1.16516946332412[/C][C]-0.00516946332412329[/C][/ROW]
[ROW][C]8[/C][C]1.15[/C][C]1.16897091745155[/C][C]-0.018970917451546[/C][/ROW]
[ROW][C]9[/C][C]1.17[/C][C]1.17561437387814[/C][C]-0.00561437387814378[/C][/ROW]
[ROW][C]10[/C][C]1.16[/C][C]1.17671001149588[/C][C]-0.0167100114958757[/C][/ROW]
[ROW][C]11[/C][C]1.19[/C][C]1.17321728213299[/C][C]0.0167827178670108[/C][/ROW]
[ROW][C]12[/C][C]1.13[/C][C]1.11623182340722[/C][C]0.0137681765927838[/C][/ROW]
[ROW][C]13[/C][C]1.14[/C][C]1.13265615231027[/C][C]0.00734384768973188[/C][/ROW]
[ROW][C]14[/C][C]1.13[/C][C]1.11942371377287[/C][C]0.0105762862271342[/C][/ROW]
[ROW][C]15[/C][C]1.16[/C][C]1.14569731561221[/C][C]0.0143026843877941[/C][/ROW]
[ROW][C]16[/C][C]1.17[/C][C]1.15569731561221[/C][C]0.0143026843877942[/C][/ROW]
[ROW][C]17[/C][C]1.14[/C][C]1.13186196881996[/C][C]0.00813803118004152[/C][/ROW]
[ROW][C]18[/C][C]1.14[/C][C]1.13633473166206[/C][C]0.00366526833793838[/C][/ROW]
[ROW][C]19[/C][C]1.11[/C][C]1.11338982110804[/C][C]-0.00338982110804092[/C][/ROW]
[ROW][C]20[/C][C]1.12[/C][C]1.11719127523546[/C][C]0.00280872476453638[/C][/ROW]
[ROW][C]21[/C][C]1.08[/C][C]1.07945218119113[/C][C]0.000547818808865961[/C][/ROW]
[ROW][C]22[/C][C]1.07[/C][C]1.06575363531856[/C][C]0.00424636468144326[/C][/ROW]
[ROW][C]23[/C][C]1.09[/C][C]1.09184927293629[/C][C]-0.00184927293628863[/C][/ROW]
[ROW][C]24[/C][C]1.08[/C][C]1.08664345642660[/C][C]-0.00664345642659782[/C][/ROW]
[ROW][C]25[/C][C]1.08[/C][C]1.08087651009419[/C][C]-0.000876510094185937[/C][/ROW]
[ROW][C]26[/C][C]1.08[/C][C]1.07504116330194[/C][C]0.00495883669806181[/C][/ROW]
[ROW][C]27[/C][C]1.09[/C][C]1.07912348990581[/C][C]0.0108765100941855[/C][/ROW]
[ROW][C]28[/C][C]1.08[/C][C]1.08912348990581[/C][C]-0.00912348990581447[/C][/ROW]
[ROW][C]29[/C][C]1.07[/C][C]1.06528814311357[/C][C]0.00471185688643288[/C][/ROW]
[ROW][C]30[/C][C]1.07[/C][C]1.06976090595567[/C][C]0.000239094044329747[/C][/ROW]
[ROW][C]31[/C][C]1.07[/C][C]1.06161017889196[/C][C]0.00838982110804105[/C][/ROW]
[ROW][C]32[/C][C]1.08[/C][C]1.06541163301938[/C][C]0.0145883669806184[/C][/ROW]
[ROW][C]33[/C][C]1.07[/C][C]1.06465799770082[/C][C]0.00534200229917514[/C][/ROW]
[ROW][C]34[/C][C]1.06[/C][C]1.05095945182825[/C][C]0.00904054817175244[/C][/ROW]
[ROW][C]35[/C][C]1.06[/C][C]1.06965799770082[/C][C]-0.00965799770082486[/C][/ROW]
[ROW][C]36[/C][C]1.06[/C][C]1.06445218119113[/C][C]-0.00445218119113405[/C][/ROW]
[ROW][C]37[/C][C]1.04[/C][C]1.03649395962326[/C][C]0.0035060403767416[/C][/ROW]
[ROW][C]38[/C][C]1.03[/C][C]1.03065861283101[/C][C]-0.000658612831010659[/C][/ROW]
[ROW][C]39[/C][C]1.03[/C][C]1.02734384768973[/C][C]0.00265615231026762[/C][/ROW]
[ROW][C]40[/C][C]1.04[/C][C]1.03734384768973[/C][C]0.00265615231026766[/C][/ROW]
[ROW][C]41[/C][C]1.03[/C][C]1.02090559264264[/C][C]0.00909440735736042[/C][/ROW]
[ROW][C]42[/C][C]1.02[/C][C]1.01798126373959[/C][C]0.00201873626041187[/C][/ROW]
[ROW][C]43[/C][C]1.01[/C][C]1.00983053667588[/C][C]0.000169463324123155[/C][/ROW]
[ROW][C]44[/C][C]1.03[/C][C]1.02842617429361[/C][C]0.00157382570639128[/C][/ROW]
[ROW][C]45[/C][C]1.02[/C][C]1.02027544722990[/C][C]-0.000275447229897334[/C][/ROW]
[ROW][C]46[/C][C]1.01[/C][C]1.00657690135732[/C][C]0.00342309864267997[/C][/ROW]
[ROW][C]47[/C][C]1.02[/C][C]1.02527544722990[/C][C]-0.00527544722989733[/C][/ROW]
[ROW][C]48[/C][C]1.01[/C][C]1.01267253897505[/C][C]-0.00267253897505193[/C][/ROW]
[ROW][C]49[/C][C]1.02[/C][C]1.02169977613295[/C][C]-0.00169977613294923[/C][/ROW]
[ROW][C]50[/C][C]1.03[/C][C]1.03805570457617[/C][C]-0.00805570457616526[/C][/ROW]
[ROW][C]51[/C][C]1.04[/C][C]1.05693221467035[/C][C]-0.0169322146703508[/C][/ROW]
[ROW][C]52[/C][C]1.04[/C][C]1.05213803118004[/C][C]-0.0121380311800415[/C][/ROW]
[ROW][C]53[/C][C]1.03[/C][C]1.05049395962326[/C][C]-0.0204939596232580[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=98360&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=98360&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.08827360183934-0.0082736018393383
21.121.12682080551802-0.00682080551802011
31.121.13090313212190-0.0109031321218965
41.161.155697315612210.00430268438779416
51.161.16145033580058-0.00145033580057686
61.161.16592309864268-0.00592309864267999
71.161.16516946332412-0.00516946332412329
81.151.16897091745155-0.018970917451546
91.171.17561437387814-0.00561437387814378
101.161.17671001149588-0.0167100114958757
111.191.173217282132990.0167827178670108
121.131.116231823407220.0137681765927838
131.141.132656152310270.00734384768973188
141.131.119423713772870.0105762862271342
151.161.145697315612210.0143026843877941
161.171.155697315612210.0143026843877942
171.141.131861968819960.00813803118004152
181.141.136334731662060.00366526833793838
191.111.11338982110804-0.00338982110804092
201.121.117191275235460.00280872476453638
211.081.079452181191130.000547818808865961
221.071.065753635318560.00424636468144326
231.091.09184927293629-0.00184927293628863
241.081.08664345642660-0.00664345642659782
251.081.08087651009419-0.000876510094185937
261.081.075041163301940.00495883669806181
271.091.079123489905810.0108765100941855
281.081.08912348990581-0.00912348990581447
291.071.065288143113570.00471185688643288
301.071.069760905955670.000239094044329747
311.071.061610178891960.00838982110804105
321.081.065411633019380.0145883669806184
331.071.064657997700820.00534200229917514
341.061.050959451828250.00904054817175244
351.061.06965799770082-0.00965799770082486
361.061.06445218119113-0.00445218119113405
371.041.036493959623260.0035060403767416
381.031.03065861283101-0.000658612831010659
391.031.027343847689730.00265615231026762
401.041.037343847689730.00265615231026766
411.031.020905592642640.00909440735736042
421.021.017981263739590.00201873626041187
431.011.009830536675880.000169463324123155
441.031.028426174293610.00157382570639128
451.021.02027544722990-0.000275447229897334
461.011.006576901357320.00342309864267997
471.021.02527544722990-0.00527544722989733
481.011.01267253897505-0.00267253897505193
491.021.02169977613295-0.00169977613294923
501.031.03805570457617-0.00805570457616526
511.041.05693221467035-0.0169322146703508
521.041.05213803118004-0.0121380311800415
531.031.05049395962326-0.0204939596232580



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