Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationMon, 24 Nov 2008 15:54:13 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Nov/24/t1227567515fz04sc8vwpszszw.htm/, Retrieved Tue, 14 May 2024 08:25:32 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=25556, Retrieved Tue, 14 May 2024 08:25:32 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact130
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F     [Multiple Regression] [] [2007-11-19 19:55:31] [b731da8b544846036771bbf9bf2f34ce]
-    D  [Multiple Regression] [q3] [2008-11-24 22:37:41] [5161246d1ccc1b670cc664d03050f084]
-   PD      [Multiple Regression] [q3] [2008-11-24 22:54:13] [e515c0250d6233b5d2604259ab52cebe] [Current]
Feedback Forum

Post a new message
Dataseries X:
94.5	0
114.2	0
104.9	0
106.2	0
99.9	0
97.6	0
103.6	0
192.4	0
113.4	0
106.5	0
104.1	0
98.8	0
92.2	0
120.8	0
97.1	0
89.7	0
105	0
86.2	0
95.1	0
155	0
116.5	0
92.6	0
96	0
82.9	0
81.7	0
106.5	0
96.2	0
84.9	0
93	0
80.9	0
73.9	0
157.4	0
98.2	0
88.3	0
92.6	0
78.4	0
79.2	0
105.5	0
80.6	0
80.9	0
84.6	0
71.2	0
71.4	0
148	0
83.7	0
83.3	0
92.3	0
74.8	0
82.1	0
100	0
71.7	0
79.1	0
86.8	0
64.2	0
75.4	0
139.3	1
77.3	1
112.4	1
98.6	1
77.3	1
73.5	1
100.1	1
76.5	1
77.7	1
80.4	1
72.2	1
65.4	1
181.2	1
96.3	1
106.4	1
90.9	1
75.3	1
71.2	1
96.1	1
80.6	1
77.7	1
83	1
67.5	1
88.5	1
167.6	1
96.4	1
91	1
90.3	1
92.3	1
84.5	1
100.9	1
90	1
84.2	1
97.4	1
78.2	1
90	1
182.4	1
100.2	1
95.1	1
105	1
86.9	1
80.7	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 3 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25556&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]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25556&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25556&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 time3 seconds
R Server'George Udny Yule' @ 72.249.76.132







Multiple Linear Regression - Estimated Regression Equation
y[t] = + 85.3925591715976 -4.11011834319527x[t] -1.38806213017746M1[t] + 21.6612352071007M2[t] + 3.34873520710063M3[t] + 1.19873520710063M4[t] + 7.41123520710061M5[t] -6.60126479289932M6[t] -0.9387647928994M7[t] + 82.075M8[t] + 14.4125000000000M9[t] + 13.6125000000000M10[t] + 12.8875000000000M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
y[t] =  +  85.3925591715976 -4.11011834319527x[t] -1.38806213017746M1[t] +  21.6612352071007M2[t] +  3.34873520710063M3[t] +  1.19873520710063M4[t] +  7.41123520710061M5[t] -6.60126479289932M6[t] -0.9387647928994M7[t] +  82.075M8[t] +  14.4125000000000M9[t] +  13.6125000000000M10[t] +  12.8875000000000M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25556&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]y[t] =  +  85.3925591715976 -4.11011834319527x[t] -1.38806213017746M1[t] +  21.6612352071007M2[t] +  3.34873520710063M3[t] +  1.19873520710063M4[t] +  7.41123520710061M5[t] -6.60126479289932M6[t] -0.9387647928994M7[t] +  82.075M8[t] +  14.4125000000000M9[t] +  13.6125000000000M10[t] +  12.8875000000000M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25556&T=1

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Estimated Regression Equation
y[t] = + 85.3925591715976 -4.11011834319527x[t] -1.38806213017746M1[t] + 21.6612352071007M2[t] + 3.34873520710063M3[t] + 1.19873520710063M4[t] + 7.41123520710061M5[t] -6.60126479289932M6[t] -0.9387647928994M7[t] + 82.075M8[t] + 14.4125000000000M9[t] + 13.6125000000000M10[t] + 12.8875000000000M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)85.39255917159763.99881921.354400
x-4.110118343195272.241008-1.8340.0701880.035094
M1-1.388062130177465.277151-0.2630.793170.396585
M221.66123520710075.4358553.98490.0001437.2e-05
M33.348735207100635.4358550.6160.539530.269765
M41.198735207100635.4358550.22050.8259980.412999
M57.411235207100615.4358551.36340.17640.0882
M6-6.601264792899325.435855-1.21440.2280010.114
M7-0.93876479289945.435855-0.17270.8633040.431652
M882.0755.42863215.118900
M914.41250000000005.4286322.65490.0094890.004744
M1013.61250000000005.4286322.50750.0140830.007041
M1112.88750000000005.4286322.3740.0198780.009939

\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) & 85.3925591715976 & 3.998819 & 21.3544 & 0 & 0 \tabularnewline
x & -4.11011834319527 & 2.241008 & -1.834 & 0.070188 & 0.035094 \tabularnewline
M1 & -1.38806213017746 & 5.277151 & -0.263 & 0.79317 & 0.396585 \tabularnewline
M2 & 21.6612352071007 & 5.435855 & 3.9849 & 0.000143 & 7.2e-05 \tabularnewline
M3 & 3.34873520710063 & 5.435855 & 0.616 & 0.53953 & 0.269765 \tabularnewline
M4 & 1.19873520710063 & 5.435855 & 0.2205 & 0.825998 & 0.412999 \tabularnewline
M5 & 7.41123520710061 & 5.435855 & 1.3634 & 0.1764 & 0.0882 \tabularnewline
M6 & -6.60126479289932 & 5.435855 & -1.2144 & 0.228001 & 0.114 \tabularnewline
M7 & -0.9387647928994 & 5.435855 & -0.1727 & 0.863304 & 0.431652 \tabularnewline
M8 & 82.075 & 5.428632 & 15.1189 & 0 & 0 \tabularnewline
M9 & 14.4125000000000 & 5.428632 & 2.6549 & 0.009489 & 0.004744 \tabularnewline
M10 & 13.6125000000000 & 5.428632 & 2.5075 & 0.014083 & 0.007041 \tabularnewline
M11 & 12.8875000000000 & 5.428632 & 2.374 & 0.019878 & 0.009939 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25556&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]85.3925591715976[/C][C]3.998819[/C][C]21.3544[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]x[/C][C]-4.11011834319527[/C][C]2.241008[/C][C]-1.834[/C][C]0.070188[/C][C]0.035094[/C][/ROW]
[ROW][C]M1[/C][C]-1.38806213017746[/C][C]5.277151[/C][C]-0.263[/C][C]0.79317[/C][C]0.396585[/C][/ROW]
[ROW][C]M2[/C][C]21.6612352071007[/C][C]5.435855[/C][C]3.9849[/C][C]0.000143[/C][C]7.2e-05[/C][/ROW]
[ROW][C]M3[/C][C]3.34873520710063[/C][C]5.435855[/C][C]0.616[/C][C]0.53953[/C][C]0.269765[/C][/ROW]
[ROW][C]M4[/C][C]1.19873520710063[/C][C]5.435855[/C][C]0.2205[/C][C]0.825998[/C][C]0.412999[/C][/ROW]
[ROW][C]M5[/C][C]7.41123520710061[/C][C]5.435855[/C][C]1.3634[/C][C]0.1764[/C][C]0.0882[/C][/ROW]
[ROW][C]M6[/C][C]-6.60126479289932[/C][C]5.435855[/C][C]-1.2144[/C][C]0.228001[/C][C]0.114[/C][/ROW]
[ROW][C]M7[/C][C]-0.9387647928994[/C][C]5.435855[/C][C]-0.1727[/C][C]0.863304[/C][C]0.431652[/C][/ROW]
[ROW][C]M8[/C][C]82.075[/C][C]5.428632[/C][C]15.1189[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M9[/C][C]14.4125000000000[/C][C]5.428632[/C][C]2.6549[/C][C]0.009489[/C][C]0.004744[/C][/ROW]
[ROW][C]M10[/C][C]13.6125000000000[/C][C]5.428632[/C][C]2.5075[/C][C]0.014083[/C][C]0.007041[/C][/ROW]
[ROW][C]M11[/C][C]12.8875000000000[/C][C]5.428632[/C][C]2.374[/C][C]0.019878[/C][C]0.009939[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25556&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25556&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)85.39255917159763.99881921.354400
x-4.110118343195272.241008-1.8340.0701880.035094
M1-1.388062130177465.277151-0.2630.793170.396585
M221.66123520710075.4358553.98490.0001437.2e-05
M33.348735207100635.4358550.6160.539530.269765
M41.198735207100635.4358550.22050.8259980.412999
M57.411235207100615.4358551.36340.17640.0882
M6-6.601264792899325.435855-1.21440.2280010.114
M7-0.93876479289945.435855-0.17270.8633040.431652
M882.0755.42863215.118900
M914.41250000000005.4286322.65490.0094890.004744
M1013.61250000000005.4286322.50750.0140830.007041
M1112.88750000000005.4286322.3740.0198780.009939







Multiple Linear Regression - Regression Statistics
Multiple R0.911507110576896
R-squared0.83084521263224
Adjusted R-squared0.806680243008275
F-TEST (value)34.382216305716
F-TEST (DF numerator)12
F-TEST (DF denominator)84
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation10.8572646005278
Sum Squared Residuals9901.93634689348

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.911507110576896 \tabularnewline
R-squared & 0.83084521263224 \tabularnewline
Adjusted R-squared & 0.806680243008275 \tabularnewline
F-TEST (value) & 34.382216305716 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 84 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 10.8572646005278 \tabularnewline
Sum Squared Residuals & 9901.93634689348 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25556&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.911507110576896[/C][/ROW]
[ROW][C]R-squared[/C][C]0.83084521263224[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.806680243008275[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]34.382216305716[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]84[/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]10.8572646005278[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]9901.93634689348[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25556&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25556&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.911507110576896
R-squared0.83084521263224
Adjusted R-squared0.806680243008275
F-TEST (value)34.382216305716
F-TEST (DF numerator)12
F-TEST (DF denominator)84
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation10.8572646005278
Sum Squared Residuals9901.93634689348







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
194.584.0044970414210.4955029585801
2114.2107.0537943786987.1462056213018
3104.988.741294378698316.1587056213018
4106.286.591294378698319.6087056213017
599.992.80379437869837.09620562130174
697.678.791294378698318.8087056213017
7103.684.453794378698219.1462056213018
8192.4167.46755917159824.9324408284022
9113.499.805059171597613.5949408284024
10106.599.00505917159767.4949408284024
11104.198.28005917159765.81994082840237
1298.885.392559171597613.4074408284024
1392.284.00449704142028.19550295857985
14120.8107.05379437869813.7462056213018
1597.188.74129437869828.35870562130177
1689.786.59129437869823.10870562130178
1710592.803794378698212.1962056213018
1886.278.79129437869827.40870562130178
1995.184.453794378698210.6462056213018
20155167.467559171598-12.4675591715976
21116.599.805059171597616.6949408284024
2292.699.0050591715976-6.40505917159765
239698.2800591715976-2.28005917159763
2482.985.3925591715976-2.4925591715976
2581.784.0044970414201-2.30449704142013
26106.5107.053794378698-0.553794378698241
2796.288.74129437869827.45870562130178
2884.986.5912943786982-1.69129437869822
299392.80379437869820.196205621301774
3080.978.79129437869822.10870562130179
3173.984.4537943786982-10.5537943786982
32157.4167.467559171598-10.0675591715976
3398.299.8050591715976-1.60505917159764
3488.399.0050591715976-10.7050591715976
3592.698.2800591715976-5.68005917159764
3678.485.3925591715976-6.9925591715976
3779.284.0044970414201-4.80449704142013
38105.5107.053794378698-1.55379437869824
3980.688.7412943786982-8.14129437869823
4080.986.5912943786982-5.69129437869822
4184.692.8037943786982-8.20379437869824
4271.278.7912943786982-7.59129437869822
4371.484.4537943786982-13.0537943786982
44148167.467559171598-19.4675591715976
4583.799.8050591715976-16.1050591715976
4683.399.0050591715976-15.7050591715976
4792.398.2800591715976-5.98005917159764
4874.885.3925591715976-10.5925591715976
4982.184.0044970414201-1.90449704142014
50100107.053794378698-7.05379437869824
5171.788.7412943786982-17.0412943786982
5279.186.5912943786982-7.49129437869823
5386.892.8037943786982-6.00379437869823
5464.278.7912943786982-14.5912943786982
5575.484.4537943786982-9.05379437869822
56139.3163.357440828402-24.0574408284023
5777.395.6949408284024-18.3949408284024
58112.494.894940828402417.5050591715976
5998.694.16994082840244.43005917159762
6077.381.2824408284023-3.98244082840235
6173.579.8943786982249-6.39437869822487
62100.1102.943676035503-2.84367603550298
6376.584.631176035503-8.13117603550296
6477.782.481176035503-4.78117603550296
6580.488.693676035503-8.29367603550296
6672.274.681176035503-2.48117603550295
6765.480.343676035503-14.9436760355030
68181.2163.35744082840217.8425591715976
6996.395.69494082840240.605059171597625
70106.494.894940828402411.5050591715976
7190.994.1699408284024-3.26994082840237
7275.381.2824408284023-5.98244082840235
7371.279.8943786982249-8.69437869822487
7496.1102.943676035503-6.84367603550298
7580.684.631176035503-4.03117603550297
7677.782.481176035503-4.78117603550296
778388.693676035503-5.69367603550296
7867.574.681176035503-7.18117603550295
7988.580.3436760355038.15632396449704
80167.6163.3574408284024.24255917159766
8196.495.69494082840240.705059171597633
829194.8949408284024-3.89494082840238
8390.394.1699408284024-3.86994082840237
8492.381.282440828402311.0175591715977
8584.579.89437869822494.60562130177512
86100.9102.943676035503-2.04367603550296
879084.6311760355035.36882396449704
8884.282.4811760355031.71882396449704
8997.488.6936760355038.70632396449704
9078.274.6811760355033.51882396449705
919080.3436760355039.65632396449704
92182.4163.35744082840219.0425591715977
93100.295.69494082840244.50505917159763
9495.194.89494082840240.205059171597615
9510594.169940828402410.8300591715976
9686.981.28244082840235.61755917159766
9780.779.89437869822490.805621301775132

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 94.5 & 84.00449704142 & 10.4955029585801 \tabularnewline
2 & 114.2 & 107.053794378698 & 7.1462056213018 \tabularnewline
3 & 104.9 & 88.7412943786983 & 16.1587056213018 \tabularnewline
4 & 106.2 & 86.5912943786983 & 19.6087056213017 \tabularnewline
5 & 99.9 & 92.8037943786983 & 7.09620562130174 \tabularnewline
6 & 97.6 & 78.7912943786983 & 18.8087056213017 \tabularnewline
7 & 103.6 & 84.4537943786982 & 19.1462056213018 \tabularnewline
8 & 192.4 & 167.467559171598 & 24.9324408284022 \tabularnewline
9 & 113.4 & 99.8050591715976 & 13.5949408284024 \tabularnewline
10 & 106.5 & 99.0050591715976 & 7.4949408284024 \tabularnewline
11 & 104.1 & 98.2800591715976 & 5.81994082840237 \tabularnewline
12 & 98.8 & 85.3925591715976 & 13.4074408284024 \tabularnewline
13 & 92.2 & 84.0044970414202 & 8.19550295857985 \tabularnewline
14 & 120.8 & 107.053794378698 & 13.7462056213018 \tabularnewline
15 & 97.1 & 88.7412943786982 & 8.35870562130177 \tabularnewline
16 & 89.7 & 86.5912943786982 & 3.10870562130178 \tabularnewline
17 & 105 & 92.8037943786982 & 12.1962056213018 \tabularnewline
18 & 86.2 & 78.7912943786982 & 7.40870562130178 \tabularnewline
19 & 95.1 & 84.4537943786982 & 10.6462056213018 \tabularnewline
20 & 155 & 167.467559171598 & -12.4675591715976 \tabularnewline
21 & 116.5 & 99.8050591715976 & 16.6949408284024 \tabularnewline
22 & 92.6 & 99.0050591715976 & -6.40505917159765 \tabularnewline
23 & 96 & 98.2800591715976 & -2.28005917159763 \tabularnewline
24 & 82.9 & 85.3925591715976 & -2.4925591715976 \tabularnewline
25 & 81.7 & 84.0044970414201 & -2.30449704142013 \tabularnewline
26 & 106.5 & 107.053794378698 & -0.553794378698241 \tabularnewline
27 & 96.2 & 88.7412943786982 & 7.45870562130178 \tabularnewline
28 & 84.9 & 86.5912943786982 & -1.69129437869822 \tabularnewline
29 & 93 & 92.8037943786982 & 0.196205621301774 \tabularnewline
30 & 80.9 & 78.7912943786982 & 2.10870562130179 \tabularnewline
31 & 73.9 & 84.4537943786982 & -10.5537943786982 \tabularnewline
32 & 157.4 & 167.467559171598 & -10.0675591715976 \tabularnewline
33 & 98.2 & 99.8050591715976 & -1.60505917159764 \tabularnewline
34 & 88.3 & 99.0050591715976 & -10.7050591715976 \tabularnewline
35 & 92.6 & 98.2800591715976 & -5.68005917159764 \tabularnewline
36 & 78.4 & 85.3925591715976 & -6.9925591715976 \tabularnewline
37 & 79.2 & 84.0044970414201 & -4.80449704142013 \tabularnewline
38 & 105.5 & 107.053794378698 & -1.55379437869824 \tabularnewline
39 & 80.6 & 88.7412943786982 & -8.14129437869823 \tabularnewline
40 & 80.9 & 86.5912943786982 & -5.69129437869822 \tabularnewline
41 & 84.6 & 92.8037943786982 & -8.20379437869824 \tabularnewline
42 & 71.2 & 78.7912943786982 & -7.59129437869822 \tabularnewline
43 & 71.4 & 84.4537943786982 & -13.0537943786982 \tabularnewline
44 & 148 & 167.467559171598 & -19.4675591715976 \tabularnewline
45 & 83.7 & 99.8050591715976 & -16.1050591715976 \tabularnewline
46 & 83.3 & 99.0050591715976 & -15.7050591715976 \tabularnewline
47 & 92.3 & 98.2800591715976 & -5.98005917159764 \tabularnewline
48 & 74.8 & 85.3925591715976 & -10.5925591715976 \tabularnewline
49 & 82.1 & 84.0044970414201 & -1.90449704142014 \tabularnewline
50 & 100 & 107.053794378698 & -7.05379437869824 \tabularnewline
51 & 71.7 & 88.7412943786982 & -17.0412943786982 \tabularnewline
52 & 79.1 & 86.5912943786982 & -7.49129437869823 \tabularnewline
53 & 86.8 & 92.8037943786982 & -6.00379437869823 \tabularnewline
54 & 64.2 & 78.7912943786982 & -14.5912943786982 \tabularnewline
55 & 75.4 & 84.4537943786982 & -9.05379437869822 \tabularnewline
56 & 139.3 & 163.357440828402 & -24.0574408284023 \tabularnewline
57 & 77.3 & 95.6949408284024 & -18.3949408284024 \tabularnewline
58 & 112.4 & 94.8949408284024 & 17.5050591715976 \tabularnewline
59 & 98.6 & 94.1699408284024 & 4.43005917159762 \tabularnewline
60 & 77.3 & 81.2824408284023 & -3.98244082840235 \tabularnewline
61 & 73.5 & 79.8943786982249 & -6.39437869822487 \tabularnewline
62 & 100.1 & 102.943676035503 & -2.84367603550298 \tabularnewline
63 & 76.5 & 84.631176035503 & -8.13117603550296 \tabularnewline
64 & 77.7 & 82.481176035503 & -4.78117603550296 \tabularnewline
65 & 80.4 & 88.693676035503 & -8.29367603550296 \tabularnewline
66 & 72.2 & 74.681176035503 & -2.48117603550295 \tabularnewline
67 & 65.4 & 80.343676035503 & -14.9436760355030 \tabularnewline
68 & 181.2 & 163.357440828402 & 17.8425591715976 \tabularnewline
69 & 96.3 & 95.6949408284024 & 0.605059171597625 \tabularnewline
70 & 106.4 & 94.8949408284024 & 11.5050591715976 \tabularnewline
71 & 90.9 & 94.1699408284024 & -3.26994082840237 \tabularnewline
72 & 75.3 & 81.2824408284023 & -5.98244082840235 \tabularnewline
73 & 71.2 & 79.8943786982249 & -8.69437869822487 \tabularnewline
74 & 96.1 & 102.943676035503 & -6.84367603550298 \tabularnewline
75 & 80.6 & 84.631176035503 & -4.03117603550297 \tabularnewline
76 & 77.7 & 82.481176035503 & -4.78117603550296 \tabularnewline
77 & 83 & 88.693676035503 & -5.69367603550296 \tabularnewline
78 & 67.5 & 74.681176035503 & -7.18117603550295 \tabularnewline
79 & 88.5 & 80.343676035503 & 8.15632396449704 \tabularnewline
80 & 167.6 & 163.357440828402 & 4.24255917159766 \tabularnewline
81 & 96.4 & 95.6949408284024 & 0.705059171597633 \tabularnewline
82 & 91 & 94.8949408284024 & -3.89494082840238 \tabularnewline
83 & 90.3 & 94.1699408284024 & -3.86994082840237 \tabularnewline
84 & 92.3 & 81.2824408284023 & 11.0175591715977 \tabularnewline
85 & 84.5 & 79.8943786982249 & 4.60562130177512 \tabularnewline
86 & 100.9 & 102.943676035503 & -2.04367603550296 \tabularnewline
87 & 90 & 84.631176035503 & 5.36882396449704 \tabularnewline
88 & 84.2 & 82.481176035503 & 1.71882396449704 \tabularnewline
89 & 97.4 & 88.693676035503 & 8.70632396449704 \tabularnewline
90 & 78.2 & 74.681176035503 & 3.51882396449705 \tabularnewline
91 & 90 & 80.343676035503 & 9.65632396449704 \tabularnewline
92 & 182.4 & 163.357440828402 & 19.0425591715977 \tabularnewline
93 & 100.2 & 95.6949408284024 & 4.50505917159763 \tabularnewline
94 & 95.1 & 94.8949408284024 & 0.205059171597615 \tabularnewline
95 & 105 & 94.1699408284024 & 10.8300591715976 \tabularnewline
96 & 86.9 & 81.2824408284023 & 5.61755917159766 \tabularnewline
97 & 80.7 & 79.8943786982249 & 0.805621301775132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25556&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]94.5[/C][C]84.00449704142[/C][C]10.4955029585801[/C][/ROW]
[ROW][C]2[/C][C]114.2[/C][C]107.053794378698[/C][C]7.1462056213018[/C][/ROW]
[ROW][C]3[/C][C]104.9[/C][C]88.7412943786983[/C][C]16.1587056213018[/C][/ROW]
[ROW][C]4[/C][C]106.2[/C][C]86.5912943786983[/C][C]19.6087056213017[/C][/ROW]
[ROW][C]5[/C][C]99.9[/C][C]92.8037943786983[/C][C]7.09620562130174[/C][/ROW]
[ROW][C]6[/C][C]97.6[/C][C]78.7912943786983[/C][C]18.8087056213017[/C][/ROW]
[ROW][C]7[/C][C]103.6[/C][C]84.4537943786982[/C][C]19.1462056213018[/C][/ROW]
[ROW][C]8[/C][C]192.4[/C][C]167.467559171598[/C][C]24.9324408284022[/C][/ROW]
[ROW][C]9[/C][C]113.4[/C][C]99.8050591715976[/C][C]13.5949408284024[/C][/ROW]
[ROW][C]10[/C][C]106.5[/C][C]99.0050591715976[/C][C]7.4949408284024[/C][/ROW]
[ROW][C]11[/C][C]104.1[/C][C]98.2800591715976[/C][C]5.81994082840237[/C][/ROW]
[ROW][C]12[/C][C]98.8[/C][C]85.3925591715976[/C][C]13.4074408284024[/C][/ROW]
[ROW][C]13[/C][C]92.2[/C][C]84.0044970414202[/C][C]8.19550295857985[/C][/ROW]
[ROW][C]14[/C][C]120.8[/C][C]107.053794378698[/C][C]13.7462056213018[/C][/ROW]
[ROW][C]15[/C][C]97.1[/C][C]88.7412943786982[/C][C]8.35870562130177[/C][/ROW]
[ROW][C]16[/C][C]89.7[/C][C]86.5912943786982[/C][C]3.10870562130178[/C][/ROW]
[ROW][C]17[/C][C]105[/C][C]92.8037943786982[/C][C]12.1962056213018[/C][/ROW]
[ROW][C]18[/C][C]86.2[/C][C]78.7912943786982[/C][C]7.40870562130178[/C][/ROW]
[ROW][C]19[/C][C]95.1[/C][C]84.4537943786982[/C][C]10.6462056213018[/C][/ROW]
[ROW][C]20[/C][C]155[/C][C]167.467559171598[/C][C]-12.4675591715976[/C][/ROW]
[ROW][C]21[/C][C]116.5[/C][C]99.8050591715976[/C][C]16.6949408284024[/C][/ROW]
[ROW][C]22[/C][C]92.6[/C][C]99.0050591715976[/C][C]-6.40505917159765[/C][/ROW]
[ROW][C]23[/C][C]96[/C][C]98.2800591715976[/C][C]-2.28005917159763[/C][/ROW]
[ROW][C]24[/C][C]82.9[/C][C]85.3925591715976[/C][C]-2.4925591715976[/C][/ROW]
[ROW][C]25[/C][C]81.7[/C][C]84.0044970414201[/C][C]-2.30449704142013[/C][/ROW]
[ROW][C]26[/C][C]106.5[/C][C]107.053794378698[/C][C]-0.553794378698241[/C][/ROW]
[ROW][C]27[/C][C]96.2[/C][C]88.7412943786982[/C][C]7.45870562130178[/C][/ROW]
[ROW][C]28[/C][C]84.9[/C][C]86.5912943786982[/C][C]-1.69129437869822[/C][/ROW]
[ROW][C]29[/C][C]93[/C][C]92.8037943786982[/C][C]0.196205621301774[/C][/ROW]
[ROW][C]30[/C][C]80.9[/C][C]78.7912943786982[/C][C]2.10870562130179[/C][/ROW]
[ROW][C]31[/C][C]73.9[/C][C]84.4537943786982[/C][C]-10.5537943786982[/C][/ROW]
[ROW][C]32[/C][C]157.4[/C][C]167.467559171598[/C][C]-10.0675591715976[/C][/ROW]
[ROW][C]33[/C][C]98.2[/C][C]99.8050591715976[/C][C]-1.60505917159764[/C][/ROW]
[ROW][C]34[/C][C]88.3[/C][C]99.0050591715976[/C][C]-10.7050591715976[/C][/ROW]
[ROW][C]35[/C][C]92.6[/C][C]98.2800591715976[/C][C]-5.68005917159764[/C][/ROW]
[ROW][C]36[/C][C]78.4[/C][C]85.3925591715976[/C][C]-6.9925591715976[/C][/ROW]
[ROW][C]37[/C][C]79.2[/C][C]84.0044970414201[/C][C]-4.80449704142013[/C][/ROW]
[ROW][C]38[/C][C]105.5[/C][C]107.053794378698[/C][C]-1.55379437869824[/C][/ROW]
[ROW][C]39[/C][C]80.6[/C][C]88.7412943786982[/C][C]-8.14129437869823[/C][/ROW]
[ROW][C]40[/C][C]80.9[/C][C]86.5912943786982[/C][C]-5.69129437869822[/C][/ROW]
[ROW][C]41[/C][C]84.6[/C][C]92.8037943786982[/C][C]-8.20379437869824[/C][/ROW]
[ROW][C]42[/C][C]71.2[/C][C]78.7912943786982[/C][C]-7.59129437869822[/C][/ROW]
[ROW][C]43[/C][C]71.4[/C][C]84.4537943786982[/C][C]-13.0537943786982[/C][/ROW]
[ROW][C]44[/C][C]148[/C][C]167.467559171598[/C][C]-19.4675591715976[/C][/ROW]
[ROW][C]45[/C][C]83.7[/C][C]99.8050591715976[/C][C]-16.1050591715976[/C][/ROW]
[ROW][C]46[/C][C]83.3[/C][C]99.0050591715976[/C][C]-15.7050591715976[/C][/ROW]
[ROW][C]47[/C][C]92.3[/C][C]98.2800591715976[/C][C]-5.98005917159764[/C][/ROW]
[ROW][C]48[/C][C]74.8[/C][C]85.3925591715976[/C][C]-10.5925591715976[/C][/ROW]
[ROW][C]49[/C][C]82.1[/C][C]84.0044970414201[/C][C]-1.90449704142014[/C][/ROW]
[ROW][C]50[/C][C]100[/C][C]107.053794378698[/C][C]-7.05379437869824[/C][/ROW]
[ROW][C]51[/C][C]71.7[/C][C]88.7412943786982[/C][C]-17.0412943786982[/C][/ROW]
[ROW][C]52[/C][C]79.1[/C][C]86.5912943786982[/C][C]-7.49129437869823[/C][/ROW]
[ROW][C]53[/C][C]86.8[/C][C]92.8037943786982[/C][C]-6.00379437869823[/C][/ROW]
[ROW][C]54[/C][C]64.2[/C][C]78.7912943786982[/C][C]-14.5912943786982[/C][/ROW]
[ROW][C]55[/C][C]75.4[/C][C]84.4537943786982[/C][C]-9.05379437869822[/C][/ROW]
[ROW][C]56[/C][C]139.3[/C][C]163.357440828402[/C][C]-24.0574408284023[/C][/ROW]
[ROW][C]57[/C][C]77.3[/C][C]95.6949408284024[/C][C]-18.3949408284024[/C][/ROW]
[ROW][C]58[/C][C]112.4[/C][C]94.8949408284024[/C][C]17.5050591715976[/C][/ROW]
[ROW][C]59[/C][C]98.6[/C][C]94.1699408284024[/C][C]4.43005917159762[/C][/ROW]
[ROW][C]60[/C][C]77.3[/C][C]81.2824408284023[/C][C]-3.98244082840235[/C][/ROW]
[ROW][C]61[/C][C]73.5[/C][C]79.8943786982249[/C][C]-6.39437869822487[/C][/ROW]
[ROW][C]62[/C][C]100.1[/C][C]102.943676035503[/C][C]-2.84367603550298[/C][/ROW]
[ROW][C]63[/C][C]76.5[/C][C]84.631176035503[/C][C]-8.13117603550296[/C][/ROW]
[ROW][C]64[/C][C]77.7[/C][C]82.481176035503[/C][C]-4.78117603550296[/C][/ROW]
[ROW][C]65[/C][C]80.4[/C][C]88.693676035503[/C][C]-8.29367603550296[/C][/ROW]
[ROW][C]66[/C][C]72.2[/C][C]74.681176035503[/C][C]-2.48117603550295[/C][/ROW]
[ROW][C]67[/C][C]65.4[/C][C]80.343676035503[/C][C]-14.9436760355030[/C][/ROW]
[ROW][C]68[/C][C]181.2[/C][C]163.357440828402[/C][C]17.8425591715976[/C][/ROW]
[ROW][C]69[/C][C]96.3[/C][C]95.6949408284024[/C][C]0.605059171597625[/C][/ROW]
[ROW][C]70[/C][C]106.4[/C][C]94.8949408284024[/C][C]11.5050591715976[/C][/ROW]
[ROW][C]71[/C][C]90.9[/C][C]94.1699408284024[/C][C]-3.26994082840237[/C][/ROW]
[ROW][C]72[/C][C]75.3[/C][C]81.2824408284023[/C][C]-5.98244082840235[/C][/ROW]
[ROW][C]73[/C][C]71.2[/C][C]79.8943786982249[/C][C]-8.69437869822487[/C][/ROW]
[ROW][C]74[/C][C]96.1[/C][C]102.943676035503[/C][C]-6.84367603550298[/C][/ROW]
[ROW][C]75[/C][C]80.6[/C][C]84.631176035503[/C][C]-4.03117603550297[/C][/ROW]
[ROW][C]76[/C][C]77.7[/C][C]82.481176035503[/C][C]-4.78117603550296[/C][/ROW]
[ROW][C]77[/C][C]83[/C][C]88.693676035503[/C][C]-5.69367603550296[/C][/ROW]
[ROW][C]78[/C][C]67.5[/C][C]74.681176035503[/C][C]-7.18117603550295[/C][/ROW]
[ROW][C]79[/C][C]88.5[/C][C]80.343676035503[/C][C]8.15632396449704[/C][/ROW]
[ROW][C]80[/C][C]167.6[/C][C]163.357440828402[/C][C]4.24255917159766[/C][/ROW]
[ROW][C]81[/C][C]96.4[/C][C]95.6949408284024[/C][C]0.705059171597633[/C][/ROW]
[ROW][C]82[/C][C]91[/C][C]94.8949408284024[/C][C]-3.89494082840238[/C][/ROW]
[ROW][C]83[/C][C]90.3[/C][C]94.1699408284024[/C][C]-3.86994082840237[/C][/ROW]
[ROW][C]84[/C][C]92.3[/C][C]81.2824408284023[/C][C]11.0175591715977[/C][/ROW]
[ROW][C]85[/C][C]84.5[/C][C]79.8943786982249[/C][C]4.60562130177512[/C][/ROW]
[ROW][C]86[/C][C]100.9[/C][C]102.943676035503[/C][C]-2.04367603550296[/C][/ROW]
[ROW][C]87[/C][C]90[/C][C]84.631176035503[/C][C]5.36882396449704[/C][/ROW]
[ROW][C]88[/C][C]84.2[/C][C]82.481176035503[/C][C]1.71882396449704[/C][/ROW]
[ROW][C]89[/C][C]97.4[/C][C]88.693676035503[/C][C]8.70632396449704[/C][/ROW]
[ROW][C]90[/C][C]78.2[/C][C]74.681176035503[/C][C]3.51882396449705[/C][/ROW]
[ROW][C]91[/C][C]90[/C][C]80.343676035503[/C][C]9.65632396449704[/C][/ROW]
[ROW][C]92[/C][C]182.4[/C][C]163.357440828402[/C][C]19.0425591715977[/C][/ROW]
[ROW][C]93[/C][C]100.2[/C][C]95.6949408284024[/C][C]4.50505917159763[/C][/ROW]
[ROW][C]94[/C][C]95.1[/C][C]94.8949408284024[/C][C]0.205059171597615[/C][/ROW]
[ROW][C]95[/C][C]105[/C][C]94.1699408284024[/C][C]10.8300591715976[/C][/ROW]
[ROW][C]96[/C][C]86.9[/C][C]81.2824408284023[/C][C]5.61755917159766[/C][/ROW]
[ROW][C]97[/C][C]80.7[/C][C]79.8943786982249[/C][C]0.805621301775132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25556&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25556&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
194.584.0044970414210.4955029585801
2114.2107.0537943786987.1462056213018
3104.988.741294378698316.1587056213018
4106.286.591294378698319.6087056213017
599.992.80379437869837.09620562130174
697.678.791294378698318.8087056213017
7103.684.453794378698219.1462056213018
8192.4167.46755917159824.9324408284022
9113.499.805059171597613.5949408284024
10106.599.00505917159767.4949408284024
11104.198.28005917159765.81994082840237
1298.885.392559171597613.4074408284024
1392.284.00449704142028.19550295857985
14120.8107.05379437869813.7462056213018
1597.188.74129437869828.35870562130177
1689.786.59129437869823.10870562130178
1710592.803794378698212.1962056213018
1886.278.79129437869827.40870562130178
1995.184.453794378698210.6462056213018
20155167.467559171598-12.4675591715976
21116.599.805059171597616.6949408284024
2292.699.0050591715976-6.40505917159765
239698.2800591715976-2.28005917159763
2482.985.3925591715976-2.4925591715976
2581.784.0044970414201-2.30449704142013
26106.5107.053794378698-0.553794378698241
2796.288.74129437869827.45870562130178
2884.986.5912943786982-1.69129437869822
299392.80379437869820.196205621301774
3080.978.79129437869822.10870562130179
3173.984.4537943786982-10.5537943786982
32157.4167.467559171598-10.0675591715976
3398.299.8050591715976-1.60505917159764
3488.399.0050591715976-10.7050591715976
3592.698.2800591715976-5.68005917159764
3678.485.3925591715976-6.9925591715976
3779.284.0044970414201-4.80449704142013
38105.5107.053794378698-1.55379437869824
3980.688.7412943786982-8.14129437869823
4080.986.5912943786982-5.69129437869822
4184.692.8037943786982-8.20379437869824
4271.278.7912943786982-7.59129437869822
4371.484.4537943786982-13.0537943786982
44148167.467559171598-19.4675591715976
4583.799.8050591715976-16.1050591715976
4683.399.0050591715976-15.7050591715976
4792.398.2800591715976-5.98005917159764
4874.885.3925591715976-10.5925591715976
4982.184.0044970414201-1.90449704142014
50100107.053794378698-7.05379437869824
5171.788.7412943786982-17.0412943786982
5279.186.5912943786982-7.49129437869823
5386.892.8037943786982-6.00379437869823
5464.278.7912943786982-14.5912943786982
5575.484.4537943786982-9.05379437869822
56139.3163.357440828402-24.0574408284023
5777.395.6949408284024-18.3949408284024
58112.494.894940828402417.5050591715976
5998.694.16994082840244.43005917159762
6077.381.2824408284023-3.98244082840235
6173.579.8943786982249-6.39437869822487
62100.1102.943676035503-2.84367603550298
6376.584.631176035503-8.13117603550296
6477.782.481176035503-4.78117603550296
6580.488.693676035503-8.29367603550296
6672.274.681176035503-2.48117603550295
6765.480.343676035503-14.9436760355030
68181.2163.35744082840217.8425591715976
6996.395.69494082840240.605059171597625
70106.494.894940828402411.5050591715976
7190.994.1699408284024-3.26994082840237
7275.381.2824408284023-5.98244082840235
7371.279.8943786982249-8.69437869822487
7496.1102.943676035503-6.84367603550298
7580.684.631176035503-4.03117603550297
7677.782.481176035503-4.78117603550296
778388.693676035503-5.69367603550296
7867.574.681176035503-7.18117603550295
7988.580.3436760355038.15632396449704
80167.6163.3574408284024.24255917159766
8196.495.69494082840240.705059171597633
829194.8949408284024-3.89494082840238
8390.394.1699408284024-3.86994082840237
8492.381.282440828402311.0175591715977
8584.579.89437869822494.60562130177512
86100.9102.943676035503-2.04367603550296
879084.6311760355035.36882396449704
8884.282.4811760355031.71882396449704
8997.488.6936760355038.70632396449704
9078.274.6811760355033.51882396449705
919080.3436760355039.65632396449704
92182.4163.35744082840219.0425591715977
93100.295.69494082840244.50505917159763
9495.194.89494082840240.205059171597615
9510594.169940828402410.8300591715976
9686.981.28244082840235.61755917159766
9780.779.89437869822490.805621301775132



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