Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationThu, 22 Nov 2007 11:57:08 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2007/Nov/22/t1195757346531lkp94bv0noip.htm/, Retrieved Thu, 02 May 2024 22:56:18 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=14487, Retrieved Thu, 02 May 2024 22:56:18 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact181
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [rente lening (no ...] [2007-11-22 18:57:08] [da1602171a9f7b7bb3d8a99f41269d2e] [Current]
Feedback Forum

Post a new message
Dataseries X:
5,22	0
5,09	0
4,77	0
4,54	0
4,56	0
4,39	0
4,73	0
4,44	0
4,3	0
4,24	0
4,01	0
3,5	0
3,23	0
3,28	1
3,49	1
3,7	1
3,63	1
3,95	1
3,73	1
3,87	1
3,66	1
3,49	1
3,4	1
3,32	1
3,11	1
3,06	1
2,68	1
2,55	1
2,34	1
2,34	1
2,39	1
2,21	1
2,09	1
2,14	1
2,31	1
2,14	1
2,45	1
2,52	1
2,3	1
2,25	1
2,06	1
1,99	1
2,25	1
2,26	1
2,36	1
2,3	1
2,19	1
2,31	1
2,21	1
2,21	1
2,26	1
2,18	1
2,21	1
2,33	1
2,12	1
2,08	1
1,97	1
2,09	1
2,11	1
2,24	1
2,45	1
2,68	1
2,73	1
2,76	1
2,83	1
3,16	1
3,22	1
3,22	1
3,34	1
3,35	1
3,42	1
3,58	1
3,71	1
3,68	1
3,83	1
3,94	1
3,88	1
4,03	1
4,15	1
4,32	1
4,4	1
4,37	1
4,14	1
4,11	1
4,16	1




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

\begin{tabular}{lllllllll}
\hline
Summary of compuational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 6 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14487&T=0

[TABLE]
[ROW][C]Summary of compuational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]6 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14487&T=0

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
R1j[t] = + 4.26806722689076 -1.44607843137255Ter[t] + 0.133991596638655M1[t] + 0.188571428571428M2[t] + 0.122857142857142M3[t] + 0.102857142857142M4[t] + 0.0442857142857138M5[t] + 0.141428571428571M6[t] + 0.198571428571428M7[t] + 0.171428571428571M8[t] + 0.131428571428571M9[t] + 0.111428571428571M10[t] + 0.0542857142857138M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
R1j[t] =  +  4.26806722689076 -1.44607843137255Ter[t] +  0.133991596638655M1[t] +  0.188571428571428M2[t] +  0.122857142857142M3[t] +  0.102857142857142M4[t] +  0.0442857142857138M5[t] +  0.141428571428571M6[t] +  0.198571428571428M7[t] +  0.171428571428571M8[t] +  0.131428571428571M9[t] +  0.111428571428571M10[t] +  0.0542857142857138M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14487&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]R1j[t] =  +  4.26806722689076 -1.44607843137255Ter[t] +  0.133991596638655M1[t] +  0.188571428571428M2[t] +  0.122857142857142M3[t] +  0.102857142857142M4[t] +  0.0442857142857138M5[t] +  0.141428571428571M6[t] +  0.198571428571428M7[t] +  0.171428571428571M8[t] +  0.131428571428571M9[t] +  0.111428571428571M10[t] +  0.0542857142857138M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14487&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14487&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
R1j[t] = + 4.26806722689076 -1.44607843137255Ter[t] + 0.133991596638655M1[t] + 0.188571428571428M2[t] + 0.122857142857142M3[t] + 0.102857142857142M4[t] + 0.0442857142857138M5[t] + 0.141428571428571M6[t] + 0.198571428571428M7[t] + 0.171428571428571M8[t] + 0.131428571428571M9[t] + 0.111428571428571M10[t] + 0.0542857142857138M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)4.268067226890760.35916911.883200
Ter-1.446078431372550.23704-6.100600
M10.1339915966386550.4063540.32970.7425530.371276
M20.1885714285714280.418860.45020.6539180.326959
M30.1228571428571420.418860.29330.7701260.385063
M40.1028571428571420.418860.24560.8067180.403359
M50.04428571428571380.418860.10570.9160910.458046
M60.1414285714285710.418860.33770.7366080.368304
M70.1985714285714280.418860.47410.636880.31844
M80.1714285714285710.418860.40930.6835530.341777
M90.1314285714285710.418860.31380.7545980.377299
M100.1114285714285710.418860.2660.7909780.395489
M110.05428571428571380.418860.12960.8972410.448621

\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) & 4.26806722689076 & 0.359169 & 11.8832 & 0 & 0 \tabularnewline
Ter & -1.44607843137255 & 0.23704 & -6.1006 & 0 & 0 \tabularnewline
M1 & 0.133991596638655 & 0.406354 & 0.3297 & 0.742553 & 0.371276 \tabularnewline
M2 & 0.188571428571428 & 0.41886 & 0.4502 & 0.653918 & 0.326959 \tabularnewline
M3 & 0.122857142857142 & 0.41886 & 0.2933 & 0.770126 & 0.385063 \tabularnewline
M4 & 0.102857142857142 & 0.41886 & 0.2456 & 0.806718 & 0.403359 \tabularnewline
M5 & 0.0442857142857138 & 0.41886 & 0.1057 & 0.916091 & 0.458046 \tabularnewline
M6 & 0.141428571428571 & 0.41886 & 0.3377 & 0.736608 & 0.368304 \tabularnewline
M7 & 0.198571428571428 & 0.41886 & 0.4741 & 0.63688 & 0.31844 \tabularnewline
M8 & 0.171428571428571 & 0.41886 & 0.4093 & 0.683553 & 0.341777 \tabularnewline
M9 & 0.131428571428571 & 0.41886 & 0.3138 & 0.754598 & 0.377299 \tabularnewline
M10 & 0.111428571428571 & 0.41886 & 0.266 & 0.790978 & 0.395489 \tabularnewline
M11 & 0.0542857142857138 & 0.41886 & 0.1296 & 0.897241 & 0.448621 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14487&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]4.26806722689076[/C][C]0.359169[/C][C]11.8832[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Ter[/C][C]-1.44607843137255[/C][C]0.23704[/C][C]-6.1006[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]0.133991596638655[/C][C]0.406354[/C][C]0.3297[/C][C]0.742553[/C][C]0.371276[/C][/ROW]
[ROW][C]M2[/C][C]0.188571428571428[/C][C]0.41886[/C][C]0.4502[/C][C]0.653918[/C][C]0.326959[/C][/ROW]
[ROW][C]M3[/C][C]0.122857142857142[/C][C]0.41886[/C][C]0.2933[/C][C]0.770126[/C][C]0.385063[/C][/ROW]
[ROW][C]M4[/C][C]0.102857142857142[/C][C]0.41886[/C][C]0.2456[/C][C]0.806718[/C][C]0.403359[/C][/ROW]
[ROW][C]M5[/C][C]0.0442857142857138[/C][C]0.41886[/C][C]0.1057[/C][C]0.916091[/C][C]0.458046[/C][/ROW]
[ROW][C]M6[/C][C]0.141428571428571[/C][C]0.41886[/C][C]0.3377[/C][C]0.736608[/C][C]0.368304[/C][/ROW]
[ROW][C]M7[/C][C]0.198571428571428[/C][C]0.41886[/C][C]0.4741[/C][C]0.63688[/C][C]0.31844[/C][/ROW]
[ROW][C]M8[/C][C]0.171428571428571[/C][C]0.41886[/C][C]0.4093[/C][C]0.683553[/C][C]0.341777[/C][/ROW]
[ROW][C]M9[/C][C]0.131428571428571[/C][C]0.41886[/C][C]0.3138[/C][C]0.754598[/C][C]0.377299[/C][/ROW]
[ROW][C]M10[/C][C]0.111428571428571[/C][C]0.41886[/C][C]0.266[/C][C]0.790978[/C][C]0.395489[/C][/ROW]
[ROW][C]M11[/C][C]0.0542857142857138[/C][C]0.41886[/C][C]0.1296[/C][C]0.897241[/C][C]0.448621[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14487&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14487&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)4.268067226890760.35916911.883200
Ter-1.446078431372550.23704-6.100600
M10.1339915966386550.4063540.32970.7425530.371276
M20.1885714285714280.418860.45020.6539180.326959
M30.1228571428571420.418860.29330.7701260.385063
M40.1028571428571420.418860.24560.8067180.403359
M50.04428571428571380.418860.10570.9160910.458046
M60.1414285714285710.418860.33770.7366080.368304
M70.1985714285714280.418860.47410.636880.31844
M80.1714285714285710.418860.40930.6835530.341777
M90.1314285714285710.418860.31380.7545980.377299
M100.1114285714285710.418860.2660.7909780.395489
M110.05428571428571380.418860.12960.8972410.448621







Multiple Linear Regression - Regression Statistics
Multiple R0.587825781150622
R-squared0.345539148985339
Adjusted R-squared0.236462340482895
F-TEST (value)3.16785166094769
F-TEST (DF numerator)12
F-TEST (DF denominator)72
p-value0.00114284240787388
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.783614974102538
Sum Squared Residuals44.211774789916

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.587825781150622 \tabularnewline
R-squared & 0.345539148985339 \tabularnewline
Adjusted R-squared & 0.236462340482895 \tabularnewline
F-TEST (value) & 3.16785166094769 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 72 \tabularnewline
p-value & 0.00114284240787388 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.783614974102538 \tabularnewline
Sum Squared Residuals & 44.211774789916 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14487&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.587825781150622[/C][/ROW]
[ROW][C]R-squared[/C][C]0.345539148985339[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.236462340482895[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]3.16785166094769[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]72[/C][/ROW]
[ROW][C]p-value[/C][C]0.00114284240787388[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.783614974102538[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]44.211774789916[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14487&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14487&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.587825781150622
R-squared0.345539148985339
Adjusted R-squared0.236462340482895
F-TEST (value)3.16785166094769
F-TEST (DF numerator)12
F-TEST (DF denominator)72
p-value0.00114284240787388
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.783614974102538
Sum Squared Residuals44.211774789916







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
15.224.402058823529420.817941176470584
25.094.456638655462190.633361344537814
34.774.39092436974790.379075630252101
44.544.37092436974790.169075630252101
54.564.312352941176470.247647058823530
64.394.40949579831933-0.0194957983193280
74.734.466638655462180.263361344537816
84.444.439495798319330.000504201680672845
94.34.39949579831933-0.0994957983193275
104.244.37949579831933-0.139495798319327
114.014.32235294117647-0.31235294117647
123.54.26806722689076-0.768067226890757
133.234.40205882352941-1.17205882352941
143.283.010560224089640.269439775910364
153.492.944845938375350.54515406162465
163.72.924845938375350.77515406162465
173.632.866274509803920.763725490196078
183.952.963417366946780.986582633053221
193.733.020560224089640.709439775910364
203.872.993417366946780.876582633053221
213.662.953417366946780.706582633053221
223.492.933417366946780.556582633053221
233.42.876274509803920.523725490196079
243.322.821988795518210.498011204481792
253.112.955980392156860.154019607843138
263.063.010560224089640.0494397759103645
272.682.94484593837535-0.26484593837535
282.552.92484593837535-0.37484593837535
292.342.86627450980392-0.526274509803922
302.342.96341736694678-0.623417366946779
312.393.02056022408964-0.630560224089636
322.212.99341736694678-0.783417366946779
332.092.95341736694678-0.86341736694678
342.142.93341736694678-0.793417366946779
352.312.87627450980392-0.566274509803922
362.142.82198879551821-0.681988795518208
372.452.95598039215686-0.505980392156862
382.523.01056022408964-0.490560224089636
392.32.94484593837535-0.64484593837535
402.252.92484593837535-0.67484593837535
412.062.86627450980392-0.806274509803922
421.992.96341736694678-0.973417366946779
432.253.02056022408964-0.770560224089636
442.262.99341736694678-0.733417366946779
452.362.95341736694678-0.593417366946779
462.32.93341736694678-0.633417366946779
472.192.87627450980392-0.686274509803922
482.312.82198879551821-0.511988795518208
492.212.95598039215686-0.745980392156862
502.213.01056022408964-0.800560224089636
512.262.94484593837535-0.68484593837535
522.182.92484593837535-0.74484593837535
532.212.86627450980392-0.656274509803922
542.332.96341736694678-0.633417366946779
552.123.02056022408964-0.900560224089636
562.082.99341736694678-0.913417366946779
571.972.95341736694678-0.983417366946778
582.092.93341736694678-0.84341736694678
592.112.87627450980392-0.766274509803922
602.242.82198879551821-0.581988795518208
612.452.95598039215686-0.505980392156862
622.683.01056022408964-0.330560224089635
632.732.94484593837535-0.21484593837535
642.762.92484593837535-0.164845938375350
652.832.86627450980392-0.0362745098039214
663.162.963417366946780.196582633053222
673.223.020560224089640.199439775910364
683.222.993417366946780.226582633053221
693.342.953417366946780.386582633053221
703.352.933417366946780.416582633053221
713.422.876274509803920.543725490196079
723.582.821988795518210.758011204481792
733.712.955980392156860.754019607843138
743.683.010560224089640.669439775910364
753.832.944845938375350.88515406162465
763.942.924845938375351.01515406162465
773.882.866274509803921.01372549019608
784.032.963417366946781.06658263305322
794.153.020560224089641.12943977591036
804.322.993417366946781.32658263305322
814.42.953417366946781.44658263305322
824.372.933417366946781.43658263305322
834.142.876274509803921.26372549019608
844.112.821988795518211.28801120448179
854.162.955980392156861.20401960784314

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 5.22 & 4.40205882352942 & 0.817941176470584 \tabularnewline
2 & 5.09 & 4.45663865546219 & 0.633361344537814 \tabularnewline
3 & 4.77 & 4.3909243697479 & 0.379075630252101 \tabularnewline
4 & 4.54 & 4.3709243697479 & 0.169075630252101 \tabularnewline
5 & 4.56 & 4.31235294117647 & 0.247647058823530 \tabularnewline
6 & 4.39 & 4.40949579831933 & -0.0194957983193280 \tabularnewline
7 & 4.73 & 4.46663865546218 & 0.263361344537816 \tabularnewline
8 & 4.44 & 4.43949579831933 & 0.000504201680672845 \tabularnewline
9 & 4.3 & 4.39949579831933 & -0.0994957983193275 \tabularnewline
10 & 4.24 & 4.37949579831933 & -0.139495798319327 \tabularnewline
11 & 4.01 & 4.32235294117647 & -0.31235294117647 \tabularnewline
12 & 3.5 & 4.26806722689076 & -0.768067226890757 \tabularnewline
13 & 3.23 & 4.40205882352941 & -1.17205882352941 \tabularnewline
14 & 3.28 & 3.01056022408964 & 0.269439775910364 \tabularnewline
15 & 3.49 & 2.94484593837535 & 0.54515406162465 \tabularnewline
16 & 3.7 & 2.92484593837535 & 0.77515406162465 \tabularnewline
17 & 3.63 & 2.86627450980392 & 0.763725490196078 \tabularnewline
18 & 3.95 & 2.96341736694678 & 0.986582633053221 \tabularnewline
19 & 3.73 & 3.02056022408964 & 0.709439775910364 \tabularnewline
20 & 3.87 & 2.99341736694678 & 0.876582633053221 \tabularnewline
21 & 3.66 & 2.95341736694678 & 0.706582633053221 \tabularnewline
22 & 3.49 & 2.93341736694678 & 0.556582633053221 \tabularnewline
23 & 3.4 & 2.87627450980392 & 0.523725490196079 \tabularnewline
24 & 3.32 & 2.82198879551821 & 0.498011204481792 \tabularnewline
25 & 3.11 & 2.95598039215686 & 0.154019607843138 \tabularnewline
26 & 3.06 & 3.01056022408964 & 0.0494397759103645 \tabularnewline
27 & 2.68 & 2.94484593837535 & -0.26484593837535 \tabularnewline
28 & 2.55 & 2.92484593837535 & -0.37484593837535 \tabularnewline
29 & 2.34 & 2.86627450980392 & -0.526274509803922 \tabularnewline
30 & 2.34 & 2.96341736694678 & -0.623417366946779 \tabularnewline
31 & 2.39 & 3.02056022408964 & -0.630560224089636 \tabularnewline
32 & 2.21 & 2.99341736694678 & -0.783417366946779 \tabularnewline
33 & 2.09 & 2.95341736694678 & -0.86341736694678 \tabularnewline
34 & 2.14 & 2.93341736694678 & -0.793417366946779 \tabularnewline
35 & 2.31 & 2.87627450980392 & -0.566274509803922 \tabularnewline
36 & 2.14 & 2.82198879551821 & -0.681988795518208 \tabularnewline
37 & 2.45 & 2.95598039215686 & -0.505980392156862 \tabularnewline
38 & 2.52 & 3.01056022408964 & -0.490560224089636 \tabularnewline
39 & 2.3 & 2.94484593837535 & -0.64484593837535 \tabularnewline
40 & 2.25 & 2.92484593837535 & -0.67484593837535 \tabularnewline
41 & 2.06 & 2.86627450980392 & -0.806274509803922 \tabularnewline
42 & 1.99 & 2.96341736694678 & -0.973417366946779 \tabularnewline
43 & 2.25 & 3.02056022408964 & -0.770560224089636 \tabularnewline
44 & 2.26 & 2.99341736694678 & -0.733417366946779 \tabularnewline
45 & 2.36 & 2.95341736694678 & -0.593417366946779 \tabularnewline
46 & 2.3 & 2.93341736694678 & -0.633417366946779 \tabularnewline
47 & 2.19 & 2.87627450980392 & -0.686274509803922 \tabularnewline
48 & 2.31 & 2.82198879551821 & -0.511988795518208 \tabularnewline
49 & 2.21 & 2.95598039215686 & -0.745980392156862 \tabularnewline
50 & 2.21 & 3.01056022408964 & -0.800560224089636 \tabularnewline
51 & 2.26 & 2.94484593837535 & -0.68484593837535 \tabularnewline
52 & 2.18 & 2.92484593837535 & -0.74484593837535 \tabularnewline
53 & 2.21 & 2.86627450980392 & -0.656274509803922 \tabularnewline
54 & 2.33 & 2.96341736694678 & -0.633417366946779 \tabularnewline
55 & 2.12 & 3.02056022408964 & -0.900560224089636 \tabularnewline
56 & 2.08 & 2.99341736694678 & -0.913417366946779 \tabularnewline
57 & 1.97 & 2.95341736694678 & -0.983417366946778 \tabularnewline
58 & 2.09 & 2.93341736694678 & -0.84341736694678 \tabularnewline
59 & 2.11 & 2.87627450980392 & -0.766274509803922 \tabularnewline
60 & 2.24 & 2.82198879551821 & -0.581988795518208 \tabularnewline
61 & 2.45 & 2.95598039215686 & -0.505980392156862 \tabularnewline
62 & 2.68 & 3.01056022408964 & -0.330560224089635 \tabularnewline
63 & 2.73 & 2.94484593837535 & -0.21484593837535 \tabularnewline
64 & 2.76 & 2.92484593837535 & -0.164845938375350 \tabularnewline
65 & 2.83 & 2.86627450980392 & -0.0362745098039214 \tabularnewline
66 & 3.16 & 2.96341736694678 & 0.196582633053222 \tabularnewline
67 & 3.22 & 3.02056022408964 & 0.199439775910364 \tabularnewline
68 & 3.22 & 2.99341736694678 & 0.226582633053221 \tabularnewline
69 & 3.34 & 2.95341736694678 & 0.386582633053221 \tabularnewline
70 & 3.35 & 2.93341736694678 & 0.416582633053221 \tabularnewline
71 & 3.42 & 2.87627450980392 & 0.543725490196079 \tabularnewline
72 & 3.58 & 2.82198879551821 & 0.758011204481792 \tabularnewline
73 & 3.71 & 2.95598039215686 & 0.754019607843138 \tabularnewline
74 & 3.68 & 3.01056022408964 & 0.669439775910364 \tabularnewline
75 & 3.83 & 2.94484593837535 & 0.88515406162465 \tabularnewline
76 & 3.94 & 2.92484593837535 & 1.01515406162465 \tabularnewline
77 & 3.88 & 2.86627450980392 & 1.01372549019608 \tabularnewline
78 & 4.03 & 2.96341736694678 & 1.06658263305322 \tabularnewline
79 & 4.15 & 3.02056022408964 & 1.12943977591036 \tabularnewline
80 & 4.32 & 2.99341736694678 & 1.32658263305322 \tabularnewline
81 & 4.4 & 2.95341736694678 & 1.44658263305322 \tabularnewline
82 & 4.37 & 2.93341736694678 & 1.43658263305322 \tabularnewline
83 & 4.14 & 2.87627450980392 & 1.26372549019608 \tabularnewline
84 & 4.11 & 2.82198879551821 & 1.28801120448179 \tabularnewline
85 & 4.16 & 2.95598039215686 & 1.20401960784314 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14487&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]5.22[/C][C]4.40205882352942[/C][C]0.817941176470584[/C][/ROW]
[ROW][C]2[/C][C]5.09[/C][C]4.45663865546219[/C][C]0.633361344537814[/C][/ROW]
[ROW][C]3[/C][C]4.77[/C][C]4.3909243697479[/C][C]0.379075630252101[/C][/ROW]
[ROW][C]4[/C][C]4.54[/C][C]4.3709243697479[/C][C]0.169075630252101[/C][/ROW]
[ROW][C]5[/C][C]4.56[/C][C]4.31235294117647[/C][C]0.247647058823530[/C][/ROW]
[ROW][C]6[/C][C]4.39[/C][C]4.40949579831933[/C][C]-0.0194957983193280[/C][/ROW]
[ROW][C]7[/C][C]4.73[/C][C]4.46663865546218[/C][C]0.263361344537816[/C][/ROW]
[ROW][C]8[/C][C]4.44[/C][C]4.43949579831933[/C][C]0.000504201680672845[/C][/ROW]
[ROW][C]9[/C][C]4.3[/C][C]4.39949579831933[/C][C]-0.0994957983193275[/C][/ROW]
[ROW][C]10[/C][C]4.24[/C][C]4.37949579831933[/C][C]-0.139495798319327[/C][/ROW]
[ROW][C]11[/C][C]4.01[/C][C]4.32235294117647[/C][C]-0.31235294117647[/C][/ROW]
[ROW][C]12[/C][C]3.5[/C][C]4.26806722689076[/C][C]-0.768067226890757[/C][/ROW]
[ROW][C]13[/C][C]3.23[/C][C]4.40205882352941[/C][C]-1.17205882352941[/C][/ROW]
[ROW][C]14[/C][C]3.28[/C][C]3.01056022408964[/C][C]0.269439775910364[/C][/ROW]
[ROW][C]15[/C][C]3.49[/C][C]2.94484593837535[/C][C]0.54515406162465[/C][/ROW]
[ROW][C]16[/C][C]3.7[/C][C]2.92484593837535[/C][C]0.77515406162465[/C][/ROW]
[ROW][C]17[/C][C]3.63[/C][C]2.86627450980392[/C][C]0.763725490196078[/C][/ROW]
[ROW][C]18[/C][C]3.95[/C][C]2.96341736694678[/C][C]0.986582633053221[/C][/ROW]
[ROW][C]19[/C][C]3.73[/C][C]3.02056022408964[/C][C]0.709439775910364[/C][/ROW]
[ROW][C]20[/C][C]3.87[/C][C]2.99341736694678[/C][C]0.876582633053221[/C][/ROW]
[ROW][C]21[/C][C]3.66[/C][C]2.95341736694678[/C][C]0.706582633053221[/C][/ROW]
[ROW][C]22[/C][C]3.49[/C][C]2.93341736694678[/C][C]0.556582633053221[/C][/ROW]
[ROW][C]23[/C][C]3.4[/C][C]2.87627450980392[/C][C]0.523725490196079[/C][/ROW]
[ROW][C]24[/C][C]3.32[/C][C]2.82198879551821[/C][C]0.498011204481792[/C][/ROW]
[ROW][C]25[/C][C]3.11[/C][C]2.95598039215686[/C][C]0.154019607843138[/C][/ROW]
[ROW][C]26[/C][C]3.06[/C][C]3.01056022408964[/C][C]0.0494397759103645[/C][/ROW]
[ROW][C]27[/C][C]2.68[/C][C]2.94484593837535[/C][C]-0.26484593837535[/C][/ROW]
[ROW][C]28[/C][C]2.55[/C][C]2.92484593837535[/C][C]-0.37484593837535[/C][/ROW]
[ROW][C]29[/C][C]2.34[/C][C]2.86627450980392[/C][C]-0.526274509803922[/C][/ROW]
[ROW][C]30[/C][C]2.34[/C][C]2.96341736694678[/C][C]-0.623417366946779[/C][/ROW]
[ROW][C]31[/C][C]2.39[/C][C]3.02056022408964[/C][C]-0.630560224089636[/C][/ROW]
[ROW][C]32[/C][C]2.21[/C][C]2.99341736694678[/C][C]-0.783417366946779[/C][/ROW]
[ROW][C]33[/C][C]2.09[/C][C]2.95341736694678[/C][C]-0.86341736694678[/C][/ROW]
[ROW][C]34[/C][C]2.14[/C][C]2.93341736694678[/C][C]-0.793417366946779[/C][/ROW]
[ROW][C]35[/C][C]2.31[/C][C]2.87627450980392[/C][C]-0.566274509803922[/C][/ROW]
[ROW][C]36[/C][C]2.14[/C][C]2.82198879551821[/C][C]-0.681988795518208[/C][/ROW]
[ROW][C]37[/C][C]2.45[/C][C]2.95598039215686[/C][C]-0.505980392156862[/C][/ROW]
[ROW][C]38[/C][C]2.52[/C][C]3.01056022408964[/C][C]-0.490560224089636[/C][/ROW]
[ROW][C]39[/C][C]2.3[/C][C]2.94484593837535[/C][C]-0.64484593837535[/C][/ROW]
[ROW][C]40[/C][C]2.25[/C][C]2.92484593837535[/C][C]-0.67484593837535[/C][/ROW]
[ROW][C]41[/C][C]2.06[/C][C]2.86627450980392[/C][C]-0.806274509803922[/C][/ROW]
[ROW][C]42[/C][C]1.99[/C][C]2.96341736694678[/C][C]-0.973417366946779[/C][/ROW]
[ROW][C]43[/C][C]2.25[/C][C]3.02056022408964[/C][C]-0.770560224089636[/C][/ROW]
[ROW][C]44[/C][C]2.26[/C][C]2.99341736694678[/C][C]-0.733417366946779[/C][/ROW]
[ROW][C]45[/C][C]2.36[/C][C]2.95341736694678[/C][C]-0.593417366946779[/C][/ROW]
[ROW][C]46[/C][C]2.3[/C][C]2.93341736694678[/C][C]-0.633417366946779[/C][/ROW]
[ROW][C]47[/C][C]2.19[/C][C]2.87627450980392[/C][C]-0.686274509803922[/C][/ROW]
[ROW][C]48[/C][C]2.31[/C][C]2.82198879551821[/C][C]-0.511988795518208[/C][/ROW]
[ROW][C]49[/C][C]2.21[/C][C]2.95598039215686[/C][C]-0.745980392156862[/C][/ROW]
[ROW][C]50[/C][C]2.21[/C][C]3.01056022408964[/C][C]-0.800560224089636[/C][/ROW]
[ROW][C]51[/C][C]2.26[/C][C]2.94484593837535[/C][C]-0.68484593837535[/C][/ROW]
[ROW][C]52[/C][C]2.18[/C][C]2.92484593837535[/C][C]-0.74484593837535[/C][/ROW]
[ROW][C]53[/C][C]2.21[/C][C]2.86627450980392[/C][C]-0.656274509803922[/C][/ROW]
[ROW][C]54[/C][C]2.33[/C][C]2.96341736694678[/C][C]-0.633417366946779[/C][/ROW]
[ROW][C]55[/C][C]2.12[/C][C]3.02056022408964[/C][C]-0.900560224089636[/C][/ROW]
[ROW][C]56[/C][C]2.08[/C][C]2.99341736694678[/C][C]-0.913417366946779[/C][/ROW]
[ROW][C]57[/C][C]1.97[/C][C]2.95341736694678[/C][C]-0.983417366946778[/C][/ROW]
[ROW][C]58[/C][C]2.09[/C][C]2.93341736694678[/C][C]-0.84341736694678[/C][/ROW]
[ROW][C]59[/C][C]2.11[/C][C]2.87627450980392[/C][C]-0.766274509803922[/C][/ROW]
[ROW][C]60[/C][C]2.24[/C][C]2.82198879551821[/C][C]-0.581988795518208[/C][/ROW]
[ROW][C]61[/C][C]2.45[/C][C]2.95598039215686[/C][C]-0.505980392156862[/C][/ROW]
[ROW][C]62[/C][C]2.68[/C][C]3.01056022408964[/C][C]-0.330560224089635[/C][/ROW]
[ROW][C]63[/C][C]2.73[/C][C]2.94484593837535[/C][C]-0.21484593837535[/C][/ROW]
[ROW][C]64[/C][C]2.76[/C][C]2.92484593837535[/C][C]-0.164845938375350[/C][/ROW]
[ROW][C]65[/C][C]2.83[/C][C]2.86627450980392[/C][C]-0.0362745098039214[/C][/ROW]
[ROW][C]66[/C][C]3.16[/C][C]2.96341736694678[/C][C]0.196582633053222[/C][/ROW]
[ROW][C]67[/C][C]3.22[/C][C]3.02056022408964[/C][C]0.199439775910364[/C][/ROW]
[ROW][C]68[/C][C]3.22[/C][C]2.99341736694678[/C][C]0.226582633053221[/C][/ROW]
[ROW][C]69[/C][C]3.34[/C][C]2.95341736694678[/C][C]0.386582633053221[/C][/ROW]
[ROW][C]70[/C][C]3.35[/C][C]2.93341736694678[/C][C]0.416582633053221[/C][/ROW]
[ROW][C]71[/C][C]3.42[/C][C]2.87627450980392[/C][C]0.543725490196079[/C][/ROW]
[ROW][C]72[/C][C]3.58[/C][C]2.82198879551821[/C][C]0.758011204481792[/C][/ROW]
[ROW][C]73[/C][C]3.71[/C][C]2.95598039215686[/C][C]0.754019607843138[/C][/ROW]
[ROW][C]74[/C][C]3.68[/C][C]3.01056022408964[/C][C]0.669439775910364[/C][/ROW]
[ROW][C]75[/C][C]3.83[/C][C]2.94484593837535[/C][C]0.88515406162465[/C][/ROW]
[ROW][C]76[/C][C]3.94[/C][C]2.92484593837535[/C][C]1.01515406162465[/C][/ROW]
[ROW][C]77[/C][C]3.88[/C][C]2.86627450980392[/C][C]1.01372549019608[/C][/ROW]
[ROW][C]78[/C][C]4.03[/C][C]2.96341736694678[/C][C]1.06658263305322[/C][/ROW]
[ROW][C]79[/C][C]4.15[/C][C]3.02056022408964[/C][C]1.12943977591036[/C][/ROW]
[ROW][C]80[/C][C]4.32[/C][C]2.99341736694678[/C][C]1.32658263305322[/C][/ROW]
[ROW][C]81[/C][C]4.4[/C][C]2.95341736694678[/C][C]1.44658263305322[/C][/ROW]
[ROW][C]82[/C][C]4.37[/C][C]2.93341736694678[/C][C]1.43658263305322[/C][/ROW]
[ROW][C]83[/C][C]4.14[/C][C]2.87627450980392[/C][C]1.26372549019608[/C][/ROW]
[ROW][C]84[/C][C]4.11[/C][C]2.82198879551821[/C][C]1.28801120448179[/C][/ROW]
[ROW][C]85[/C][C]4.16[/C][C]2.95598039215686[/C][C]1.20401960784314[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14487&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14487&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
15.224.402058823529420.817941176470584
25.094.456638655462190.633361344537814
34.774.39092436974790.379075630252101
44.544.37092436974790.169075630252101
54.564.312352941176470.247647058823530
64.394.40949579831933-0.0194957983193280
74.734.466638655462180.263361344537816
84.444.439495798319330.000504201680672845
94.34.39949579831933-0.0994957983193275
104.244.37949579831933-0.139495798319327
114.014.32235294117647-0.31235294117647
123.54.26806722689076-0.768067226890757
133.234.40205882352941-1.17205882352941
143.283.010560224089640.269439775910364
153.492.944845938375350.54515406162465
163.72.924845938375350.77515406162465
173.632.866274509803920.763725490196078
183.952.963417366946780.986582633053221
193.733.020560224089640.709439775910364
203.872.993417366946780.876582633053221
213.662.953417366946780.706582633053221
223.492.933417366946780.556582633053221
233.42.876274509803920.523725490196079
243.322.821988795518210.498011204481792
253.112.955980392156860.154019607843138
263.063.010560224089640.0494397759103645
272.682.94484593837535-0.26484593837535
282.552.92484593837535-0.37484593837535
292.342.86627450980392-0.526274509803922
302.342.96341736694678-0.623417366946779
312.393.02056022408964-0.630560224089636
322.212.99341736694678-0.783417366946779
332.092.95341736694678-0.86341736694678
342.142.93341736694678-0.793417366946779
352.312.87627450980392-0.566274509803922
362.142.82198879551821-0.681988795518208
372.452.95598039215686-0.505980392156862
382.523.01056022408964-0.490560224089636
392.32.94484593837535-0.64484593837535
402.252.92484593837535-0.67484593837535
412.062.86627450980392-0.806274509803922
421.992.96341736694678-0.973417366946779
432.253.02056022408964-0.770560224089636
442.262.99341736694678-0.733417366946779
452.362.95341736694678-0.593417366946779
462.32.93341736694678-0.633417366946779
472.192.87627450980392-0.686274509803922
482.312.82198879551821-0.511988795518208
492.212.95598039215686-0.745980392156862
502.213.01056022408964-0.800560224089636
512.262.94484593837535-0.68484593837535
522.182.92484593837535-0.74484593837535
532.212.86627450980392-0.656274509803922
542.332.96341736694678-0.633417366946779
552.123.02056022408964-0.900560224089636
562.082.99341736694678-0.913417366946779
571.972.95341736694678-0.983417366946778
582.092.93341736694678-0.84341736694678
592.112.87627450980392-0.766274509803922
602.242.82198879551821-0.581988795518208
612.452.95598039215686-0.505980392156862
622.683.01056022408964-0.330560224089635
632.732.94484593837535-0.21484593837535
642.762.92484593837535-0.164845938375350
652.832.86627450980392-0.0362745098039214
663.162.963417366946780.196582633053222
673.223.020560224089640.199439775910364
683.222.993417366946780.226582633053221
693.342.953417366946780.386582633053221
703.352.933417366946780.416582633053221
713.422.876274509803920.543725490196079
723.582.821988795518210.758011204481792
733.712.955980392156860.754019607843138
743.683.010560224089640.669439775910364
753.832.944845938375350.88515406162465
763.942.924845938375351.01515406162465
773.882.866274509803921.01372549019608
784.032.963417366946781.06658263305322
794.153.020560224089641.12943977591036
804.322.993417366946781.32658263305322
814.42.953417366946781.44658263305322
824.372.933417366946781.43658263305322
834.142.876274509803921.26372549019608
844.112.821988795518211.28801120448179
854.162.955980392156861.20401960784314



Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal 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')