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 06:36:57 -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/t1195738658pr04x52dhbikwj5.htm/, Retrieved Thu, 02 May 2024 16:35:55 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=5991, Retrieved Thu, 02 May 2024 16:35:55 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsChristel Stuer, Steven Coomans
Estimated Impact185
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [WS_03: Q3] [2007-11-22 13:36:57] [2d443d719c26b75b5a69a7433280dbf3] [Current]
Feedback Forum

Post a new message
Dataseries X:
527	0
516	0
503	0
489	0
479	0
475	0
524	0
552	0
532	0
511	0
492	0
492	0
493	0
481	0
462	0
457	0
442	0
439	0
488	0
521	0
501	0
485	0
464	0
460	0
467	0
460	0
448	0
443	0
436	0
431	0
484	0
510	0
513	0
503	0
471	0
471	1
476	1
475	1
470	1
461	1
455	1
456	1
517	1
525	1
523	1
519	1
509	1
512	1
519	1
517	1
510	1
509	1
501	1
507	1
569	1
580	1
578	1
565	1
547	1
555	1
562	1
561	1
555	1
544	1
537	1
543	1
594	1
611	1
613	1
611	1
594	1
595	1
591	1
589	1
584	1
573	1
567	1
569	1
621	1
629	1
628	1
612	1
595	1
597	1
593	1
590	1
580	1
574	1
573	1
573	1
620	1
626	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=5991&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=5991&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5991&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
y[t] = + 448.89250965251 -7.84630630630631x[t] + 10.4152697340197M1[t] + 3.81710317460317M2[t] -7.53106338481338M3[t] -17.0042299442299M4[t] -26.2273965036465M5[t] -27.5755630630631M6[t] + 23.7012703775204M7[t] + 39.1031038181038M8[t] + 33.4771702059202M9[t] + 20.0397179322179M10[t] -0.826305770055772M11[t] + 1.72316655941656t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
y[t] =  +  448.89250965251 -7.84630630630631x[t] +  10.4152697340197M1[t] +  3.81710317460317M2[t] -7.53106338481338M3[t] -17.0042299442299M4[t] -26.2273965036465M5[t] -27.5755630630631M6[t] +  23.7012703775204M7[t] +  39.1031038181038M8[t] +  33.4771702059202M9[t] +  20.0397179322179M10[t] -0.826305770055772M11[t] +  1.72316655941656t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5991&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]y[t] =  +  448.89250965251 -7.84630630630631x[t] +  10.4152697340197M1[t] +  3.81710317460317M2[t] -7.53106338481338M3[t] -17.0042299442299M4[t] -26.2273965036465M5[t] -27.5755630630631M6[t] +  23.7012703775204M7[t] +  39.1031038181038M8[t] +  33.4771702059202M9[t] +  20.0397179322179M10[t] -0.826305770055772M11[t] +  1.72316655941656t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5991&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5991&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] = + 448.89250965251 -7.84630630630631x[t] + 10.4152697340197M1[t] + 3.81710317460317M2[t] -7.53106338481338M3[t] -17.0042299442299M4[t] -26.2273965036465M5[t] -27.5755630630631M6[t] + 23.7012703775204M7[t] + 39.1031038181038M8[t] + 33.4771702059202M9[t] + 20.0397179322179M10[t] -0.826305770055772M11[t] + 1.72316655941656t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)448.8925096525111.84819337.88700
x-7.8463063063063111.26193-0.69670.4880550.244028
M110.415269734019714.5174380.71740.4752510.237625
M23.8171031746031714.5163350.2630.7932810.39664
M3-7.5310633848133814.518154-0.51870.6054150.302707
M4-17.004229944229914.522893-1.17090.2452210.12261
M5-26.227396503646514.530549-1.8050.0749360.037468
M6-27.575563063063114.541118-1.89640.0616120.030806
M723.701270377520414.5545931.62840.1074650.053732
M839.103103818103814.5709672.68360.008890.004445
M933.477170205920215.0250972.22810.0287560.014378
M1020.039717932217915.0366541.33270.1865020.093251
M11-0.82630577005577215.05102-0.05490.9563580.478179
t1.723166559416560.2059368.367500

\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) & 448.89250965251 & 11.848193 & 37.887 & 0 & 0 \tabularnewline
x & -7.84630630630631 & 11.26193 & -0.6967 & 0.488055 & 0.244028 \tabularnewline
M1 & 10.4152697340197 & 14.517438 & 0.7174 & 0.475251 & 0.237625 \tabularnewline
M2 & 3.81710317460317 & 14.516335 & 0.263 & 0.793281 & 0.39664 \tabularnewline
M3 & -7.53106338481338 & 14.518154 & -0.5187 & 0.605415 & 0.302707 \tabularnewline
M4 & -17.0042299442299 & 14.522893 & -1.1709 & 0.245221 & 0.12261 \tabularnewline
M5 & -26.2273965036465 & 14.530549 & -1.805 & 0.074936 & 0.037468 \tabularnewline
M6 & -27.5755630630631 & 14.541118 & -1.8964 & 0.061612 & 0.030806 \tabularnewline
M7 & 23.7012703775204 & 14.554593 & 1.6284 & 0.107465 & 0.053732 \tabularnewline
M8 & 39.1031038181038 & 14.570967 & 2.6836 & 0.00889 & 0.004445 \tabularnewline
M9 & 33.4771702059202 & 15.025097 & 2.2281 & 0.028756 & 0.014378 \tabularnewline
M10 & 20.0397179322179 & 15.036654 & 1.3327 & 0.186502 & 0.093251 \tabularnewline
M11 & -0.826305770055772 & 15.05102 & -0.0549 & 0.956358 & 0.478179 \tabularnewline
t & 1.72316655941656 & 0.205936 & 8.3675 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5991&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]448.89250965251[/C][C]11.848193[/C][C]37.887[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]x[/C][C]-7.84630630630631[/C][C]11.26193[/C][C]-0.6967[/C][C]0.488055[/C][C]0.244028[/C][/ROW]
[ROW][C]M1[/C][C]10.4152697340197[/C][C]14.517438[/C][C]0.7174[/C][C]0.475251[/C][C]0.237625[/C][/ROW]
[ROW][C]M2[/C][C]3.81710317460317[/C][C]14.516335[/C][C]0.263[/C][C]0.793281[/C][C]0.39664[/C][/ROW]
[ROW][C]M3[/C][C]-7.53106338481338[/C][C]14.518154[/C][C]-0.5187[/C][C]0.605415[/C][C]0.302707[/C][/ROW]
[ROW][C]M4[/C][C]-17.0042299442299[/C][C]14.522893[/C][C]-1.1709[/C][C]0.245221[/C][C]0.12261[/C][/ROW]
[ROW][C]M5[/C][C]-26.2273965036465[/C][C]14.530549[/C][C]-1.805[/C][C]0.074936[/C][C]0.037468[/C][/ROW]
[ROW][C]M6[/C][C]-27.5755630630631[/C][C]14.541118[/C][C]-1.8964[/C][C]0.061612[/C][C]0.030806[/C][/ROW]
[ROW][C]M7[/C][C]23.7012703775204[/C][C]14.554593[/C][C]1.6284[/C][C]0.107465[/C][C]0.053732[/C][/ROW]
[ROW][C]M8[/C][C]39.1031038181038[/C][C]14.570967[/C][C]2.6836[/C][C]0.00889[/C][C]0.004445[/C][/ROW]
[ROW][C]M9[/C][C]33.4771702059202[/C][C]15.025097[/C][C]2.2281[/C][C]0.028756[/C][C]0.014378[/C][/ROW]
[ROW][C]M10[/C][C]20.0397179322179[/C][C]15.036654[/C][C]1.3327[/C][C]0.186502[/C][C]0.093251[/C][/ROW]
[ROW][C]M11[/C][C]-0.826305770055772[/C][C]15.05102[/C][C]-0.0549[/C][C]0.956358[/C][C]0.478179[/C][/ROW]
[ROW][C]t[/C][C]1.72316655941656[/C][C]0.205936[/C][C]8.3675[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5991&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5991&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)448.8925096525111.84819337.88700
x-7.8463063063063111.26193-0.69670.4880550.244028
M110.415269734019714.5174380.71740.4752510.237625
M23.8171031746031714.5163350.2630.7932810.39664
M3-7.5310633848133814.518154-0.51870.6054150.302707
M4-17.004229944229914.522893-1.17090.2452210.12261
M5-26.227396503646514.530549-1.8050.0749360.037468
M6-27.575563063063114.541118-1.89640.0616120.030806
M723.701270377520414.5545931.62840.1074650.053732
M839.103103818103814.5709672.68360.008890.004445
M933.477170205920215.0250972.22810.0287560.014378
M1020.039717932217915.0366541.33270.1865020.093251
M11-0.82630577005577215.05102-0.05490.9563580.478179
t1.723166559416560.2059368.367500







Multiple Linear Regression - Regression Statistics
Multiple R0.880000929800104
R-squared0.774401636449048
Adjusted R-squared0.736801909190556
F-TEST (value)20.5959376014928
F-TEST (DF numerator)13
F-TEST (DF denominator)78
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation28.0288528529369
Sum Squared Residuals61278.0941956242

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.880000929800104 \tabularnewline
R-squared & 0.774401636449048 \tabularnewline
Adjusted R-squared & 0.736801909190556 \tabularnewline
F-TEST (value) & 20.5959376014928 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 78 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 28.0288528529369 \tabularnewline
Sum Squared Residuals & 61278.0941956242 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5991&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.880000929800104[/C][/ROW]
[ROW][C]R-squared[/C][C]0.774401636449048[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.736801909190556[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]20.5959376014928[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]78[/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]28.0288528529369[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]61278.0941956242[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5991&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5991&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.880000929800104
R-squared0.774401636449048
Adjusted R-squared0.736801909190556
F-TEST (value)20.5959376014928
F-TEST (DF numerator)13
F-TEST (DF denominator)78
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation28.0288528529369
Sum Squared Residuals61278.0941956242







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1527461.03094594594665.9690540540539
2516456.15594594594659.844054054054
3503446.53094594594656.469054054054
4489438.78094594594650.2190540540541
5479431.28094594594647.7190540540541
6475431.65594594594643.344054054054
7524484.65594594594639.3440540540541
8552501.78094594594650.219054054054
9532497.87817889317934.1218211068211
10511486.16389317889324.8361068211068
11492467.02103603603624.978963963964
12492469.57050836550822.4294916344916
13493481.70894465894511.2910553410554
14481476.8339446589454.16605534105536
15462467.208944658945-5.20894465894465
16457459.458944658945-2.45894465894465
17442451.958944658945-9.95894465894465
18439452.333944658945-13.3339446589447
19488505.333944658945-17.3339446589447
20521522.458944658945-1.45894465894465
21501518.556177606178-17.5561776061776
22485506.841891891892-21.8418918918919
23464487.699034749035-23.6990347490347
24460490.248507078507-30.2485070785071
25467502.386943371943-35.3869433719434
26460497.511943371943-37.5119433719434
27448487.886943371943-39.8869433719434
28443480.136943371943-37.1369433719434
29436472.636943371943-36.6369433719434
30431473.011943371943-42.0119433719434
31484526.011943371943-42.0119433719434
32510543.136943371943-33.1369433719434
33513539.234176319176-26.2341763191763
34503527.519890604891-24.5198906048906
35471508.377033462033-37.3770334620335
36471503.080199485199-32.0801994851994
37476515.218635778636-39.2186357786358
38475510.343635778636-35.3436357786358
39470500.718635778636-30.7186357786358
40461492.968635778636-31.9686357786358
41455485.468635778636-30.4686357786357
42456485.843635778636-29.8436357786357
43517538.843635778636-21.8436357786358
44525555.968635778636-30.9686357786358
45523552.065868725869-29.0658687258687
46519540.351583011583-21.351583011583
47509521.208725868726-12.2087258687259
48512523.758198198198-11.7581981981982
49519535.896634491634-16.8966344916345
50517531.021634491634-14.0216344916345
51510521.396634491634-11.3966344916345
52509513.646634491634-4.64663449163449
53501506.146634491634-5.14663449163449
54507506.5216344916340.478365508365511
55569559.5216344916349.4783655083655
56580576.6466344916343.35336550836551
57578572.7438674388675.25613256113256
58565561.0295817245823.97041827541827
59547541.8867245817255.11327541827542
60555544.43619691119710.5638030888031
61562556.5746332046335.42536679536681
62561551.6996332046339.3003667953668
63555542.07463320463312.9253667953668
64544534.3246332046339.6753667953668
65537526.82463320463310.1753667953668
66543527.19963320463315.8003667953668
67594580.19963320463313.8003667953668
68611597.32463320463313.6753667953668
69613593.42186615186619.5781338481338
70611581.7075804375829.2924195624195
71594562.56472329472331.4352767052767
72595565.11419562419629.8858043758044
73591577.25263191763213.7473680823681
74589572.37763191763216.6223680823681
75584562.75263191763221.2473680823681
76573555.00263191763217.9973680823681
77567547.50263191763219.4973680823681
78569547.87763191763221.1223680823681
79621600.87763191763220.1223680823681
80629618.00263191763210.9973680823681
81628614.09986486486513.9001351351352
82612602.3855791505799.61442084942083
83595583.24272200772211.7572779922780
84597585.79219433719411.2078056628057
85593597.930630630631-4.93063063063063
86590593.055630630631-3.05563063063066
87580583.430630630631-3.43063063063064
88574575.680630630631-1.68063063063065
89573568.1806306306314.81936936936935
90573568.5556306306314.44436936936936
91620621.55563063063-1.55563063063065
92626638.68063063063-12.6806306306306

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 527 & 461.030945945946 & 65.9690540540539 \tabularnewline
2 & 516 & 456.155945945946 & 59.844054054054 \tabularnewline
3 & 503 & 446.530945945946 & 56.469054054054 \tabularnewline
4 & 489 & 438.780945945946 & 50.2190540540541 \tabularnewline
5 & 479 & 431.280945945946 & 47.7190540540541 \tabularnewline
6 & 475 & 431.655945945946 & 43.344054054054 \tabularnewline
7 & 524 & 484.655945945946 & 39.3440540540541 \tabularnewline
8 & 552 & 501.780945945946 & 50.219054054054 \tabularnewline
9 & 532 & 497.878178893179 & 34.1218211068211 \tabularnewline
10 & 511 & 486.163893178893 & 24.8361068211068 \tabularnewline
11 & 492 & 467.021036036036 & 24.978963963964 \tabularnewline
12 & 492 & 469.570508365508 & 22.4294916344916 \tabularnewline
13 & 493 & 481.708944658945 & 11.2910553410554 \tabularnewline
14 & 481 & 476.833944658945 & 4.16605534105536 \tabularnewline
15 & 462 & 467.208944658945 & -5.20894465894465 \tabularnewline
16 & 457 & 459.458944658945 & -2.45894465894465 \tabularnewline
17 & 442 & 451.958944658945 & -9.95894465894465 \tabularnewline
18 & 439 & 452.333944658945 & -13.3339446589447 \tabularnewline
19 & 488 & 505.333944658945 & -17.3339446589447 \tabularnewline
20 & 521 & 522.458944658945 & -1.45894465894465 \tabularnewline
21 & 501 & 518.556177606178 & -17.5561776061776 \tabularnewline
22 & 485 & 506.841891891892 & -21.8418918918919 \tabularnewline
23 & 464 & 487.699034749035 & -23.6990347490347 \tabularnewline
24 & 460 & 490.248507078507 & -30.2485070785071 \tabularnewline
25 & 467 & 502.386943371943 & -35.3869433719434 \tabularnewline
26 & 460 & 497.511943371943 & -37.5119433719434 \tabularnewline
27 & 448 & 487.886943371943 & -39.8869433719434 \tabularnewline
28 & 443 & 480.136943371943 & -37.1369433719434 \tabularnewline
29 & 436 & 472.636943371943 & -36.6369433719434 \tabularnewline
30 & 431 & 473.011943371943 & -42.0119433719434 \tabularnewline
31 & 484 & 526.011943371943 & -42.0119433719434 \tabularnewline
32 & 510 & 543.136943371943 & -33.1369433719434 \tabularnewline
33 & 513 & 539.234176319176 & -26.2341763191763 \tabularnewline
34 & 503 & 527.519890604891 & -24.5198906048906 \tabularnewline
35 & 471 & 508.377033462033 & -37.3770334620335 \tabularnewline
36 & 471 & 503.080199485199 & -32.0801994851994 \tabularnewline
37 & 476 & 515.218635778636 & -39.2186357786358 \tabularnewline
38 & 475 & 510.343635778636 & -35.3436357786358 \tabularnewline
39 & 470 & 500.718635778636 & -30.7186357786358 \tabularnewline
40 & 461 & 492.968635778636 & -31.9686357786358 \tabularnewline
41 & 455 & 485.468635778636 & -30.4686357786357 \tabularnewline
42 & 456 & 485.843635778636 & -29.8436357786357 \tabularnewline
43 & 517 & 538.843635778636 & -21.8436357786358 \tabularnewline
44 & 525 & 555.968635778636 & -30.9686357786358 \tabularnewline
45 & 523 & 552.065868725869 & -29.0658687258687 \tabularnewline
46 & 519 & 540.351583011583 & -21.351583011583 \tabularnewline
47 & 509 & 521.208725868726 & -12.2087258687259 \tabularnewline
48 & 512 & 523.758198198198 & -11.7581981981982 \tabularnewline
49 & 519 & 535.896634491634 & -16.8966344916345 \tabularnewline
50 & 517 & 531.021634491634 & -14.0216344916345 \tabularnewline
51 & 510 & 521.396634491634 & -11.3966344916345 \tabularnewline
52 & 509 & 513.646634491634 & -4.64663449163449 \tabularnewline
53 & 501 & 506.146634491634 & -5.14663449163449 \tabularnewline
54 & 507 & 506.521634491634 & 0.478365508365511 \tabularnewline
55 & 569 & 559.521634491634 & 9.4783655083655 \tabularnewline
56 & 580 & 576.646634491634 & 3.35336550836551 \tabularnewline
57 & 578 & 572.743867438867 & 5.25613256113256 \tabularnewline
58 & 565 & 561.029581724582 & 3.97041827541827 \tabularnewline
59 & 547 & 541.886724581725 & 5.11327541827542 \tabularnewline
60 & 555 & 544.436196911197 & 10.5638030888031 \tabularnewline
61 & 562 & 556.574633204633 & 5.42536679536681 \tabularnewline
62 & 561 & 551.699633204633 & 9.3003667953668 \tabularnewline
63 & 555 & 542.074633204633 & 12.9253667953668 \tabularnewline
64 & 544 & 534.324633204633 & 9.6753667953668 \tabularnewline
65 & 537 & 526.824633204633 & 10.1753667953668 \tabularnewline
66 & 543 & 527.199633204633 & 15.8003667953668 \tabularnewline
67 & 594 & 580.199633204633 & 13.8003667953668 \tabularnewline
68 & 611 & 597.324633204633 & 13.6753667953668 \tabularnewline
69 & 613 & 593.421866151866 & 19.5781338481338 \tabularnewline
70 & 611 & 581.70758043758 & 29.2924195624195 \tabularnewline
71 & 594 & 562.564723294723 & 31.4352767052767 \tabularnewline
72 & 595 & 565.114195624196 & 29.8858043758044 \tabularnewline
73 & 591 & 577.252631917632 & 13.7473680823681 \tabularnewline
74 & 589 & 572.377631917632 & 16.6223680823681 \tabularnewline
75 & 584 & 562.752631917632 & 21.2473680823681 \tabularnewline
76 & 573 & 555.002631917632 & 17.9973680823681 \tabularnewline
77 & 567 & 547.502631917632 & 19.4973680823681 \tabularnewline
78 & 569 & 547.877631917632 & 21.1223680823681 \tabularnewline
79 & 621 & 600.877631917632 & 20.1223680823681 \tabularnewline
80 & 629 & 618.002631917632 & 10.9973680823681 \tabularnewline
81 & 628 & 614.099864864865 & 13.9001351351352 \tabularnewline
82 & 612 & 602.385579150579 & 9.61442084942083 \tabularnewline
83 & 595 & 583.242722007722 & 11.7572779922780 \tabularnewline
84 & 597 & 585.792194337194 & 11.2078056628057 \tabularnewline
85 & 593 & 597.930630630631 & -4.93063063063063 \tabularnewline
86 & 590 & 593.055630630631 & -3.05563063063066 \tabularnewline
87 & 580 & 583.430630630631 & -3.43063063063064 \tabularnewline
88 & 574 & 575.680630630631 & -1.68063063063065 \tabularnewline
89 & 573 & 568.180630630631 & 4.81936936936935 \tabularnewline
90 & 573 & 568.555630630631 & 4.44436936936936 \tabularnewline
91 & 620 & 621.55563063063 & -1.55563063063065 \tabularnewline
92 & 626 & 638.68063063063 & -12.6806306306306 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5991&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]527[/C][C]461.030945945946[/C][C]65.9690540540539[/C][/ROW]
[ROW][C]2[/C][C]516[/C][C]456.155945945946[/C][C]59.844054054054[/C][/ROW]
[ROW][C]3[/C][C]503[/C][C]446.530945945946[/C][C]56.469054054054[/C][/ROW]
[ROW][C]4[/C][C]489[/C][C]438.780945945946[/C][C]50.2190540540541[/C][/ROW]
[ROW][C]5[/C][C]479[/C][C]431.280945945946[/C][C]47.7190540540541[/C][/ROW]
[ROW][C]6[/C][C]475[/C][C]431.655945945946[/C][C]43.344054054054[/C][/ROW]
[ROW][C]7[/C][C]524[/C][C]484.655945945946[/C][C]39.3440540540541[/C][/ROW]
[ROW][C]8[/C][C]552[/C][C]501.780945945946[/C][C]50.219054054054[/C][/ROW]
[ROW][C]9[/C][C]532[/C][C]497.878178893179[/C][C]34.1218211068211[/C][/ROW]
[ROW][C]10[/C][C]511[/C][C]486.163893178893[/C][C]24.8361068211068[/C][/ROW]
[ROW][C]11[/C][C]492[/C][C]467.021036036036[/C][C]24.978963963964[/C][/ROW]
[ROW][C]12[/C][C]492[/C][C]469.570508365508[/C][C]22.4294916344916[/C][/ROW]
[ROW][C]13[/C][C]493[/C][C]481.708944658945[/C][C]11.2910553410554[/C][/ROW]
[ROW][C]14[/C][C]481[/C][C]476.833944658945[/C][C]4.16605534105536[/C][/ROW]
[ROW][C]15[/C][C]462[/C][C]467.208944658945[/C][C]-5.20894465894465[/C][/ROW]
[ROW][C]16[/C][C]457[/C][C]459.458944658945[/C][C]-2.45894465894465[/C][/ROW]
[ROW][C]17[/C][C]442[/C][C]451.958944658945[/C][C]-9.95894465894465[/C][/ROW]
[ROW][C]18[/C][C]439[/C][C]452.333944658945[/C][C]-13.3339446589447[/C][/ROW]
[ROW][C]19[/C][C]488[/C][C]505.333944658945[/C][C]-17.3339446589447[/C][/ROW]
[ROW][C]20[/C][C]521[/C][C]522.458944658945[/C][C]-1.45894465894465[/C][/ROW]
[ROW][C]21[/C][C]501[/C][C]518.556177606178[/C][C]-17.5561776061776[/C][/ROW]
[ROW][C]22[/C][C]485[/C][C]506.841891891892[/C][C]-21.8418918918919[/C][/ROW]
[ROW][C]23[/C][C]464[/C][C]487.699034749035[/C][C]-23.6990347490347[/C][/ROW]
[ROW][C]24[/C][C]460[/C][C]490.248507078507[/C][C]-30.2485070785071[/C][/ROW]
[ROW][C]25[/C][C]467[/C][C]502.386943371943[/C][C]-35.3869433719434[/C][/ROW]
[ROW][C]26[/C][C]460[/C][C]497.511943371943[/C][C]-37.5119433719434[/C][/ROW]
[ROW][C]27[/C][C]448[/C][C]487.886943371943[/C][C]-39.8869433719434[/C][/ROW]
[ROW][C]28[/C][C]443[/C][C]480.136943371943[/C][C]-37.1369433719434[/C][/ROW]
[ROW][C]29[/C][C]436[/C][C]472.636943371943[/C][C]-36.6369433719434[/C][/ROW]
[ROW][C]30[/C][C]431[/C][C]473.011943371943[/C][C]-42.0119433719434[/C][/ROW]
[ROW][C]31[/C][C]484[/C][C]526.011943371943[/C][C]-42.0119433719434[/C][/ROW]
[ROW][C]32[/C][C]510[/C][C]543.136943371943[/C][C]-33.1369433719434[/C][/ROW]
[ROW][C]33[/C][C]513[/C][C]539.234176319176[/C][C]-26.2341763191763[/C][/ROW]
[ROW][C]34[/C][C]503[/C][C]527.519890604891[/C][C]-24.5198906048906[/C][/ROW]
[ROW][C]35[/C][C]471[/C][C]508.377033462033[/C][C]-37.3770334620335[/C][/ROW]
[ROW][C]36[/C][C]471[/C][C]503.080199485199[/C][C]-32.0801994851994[/C][/ROW]
[ROW][C]37[/C][C]476[/C][C]515.218635778636[/C][C]-39.2186357786358[/C][/ROW]
[ROW][C]38[/C][C]475[/C][C]510.343635778636[/C][C]-35.3436357786358[/C][/ROW]
[ROW][C]39[/C][C]470[/C][C]500.718635778636[/C][C]-30.7186357786358[/C][/ROW]
[ROW][C]40[/C][C]461[/C][C]492.968635778636[/C][C]-31.9686357786358[/C][/ROW]
[ROW][C]41[/C][C]455[/C][C]485.468635778636[/C][C]-30.4686357786357[/C][/ROW]
[ROW][C]42[/C][C]456[/C][C]485.843635778636[/C][C]-29.8436357786357[/C][/ROW]
[ROW][C]43[/C][C]517[/C][C]538.843635778636[/C][C]-21.8436357786358[/C][/ROW]
[ROW][C]44[/C][C]525[/C][C]555.968635778636[/C][C]-30.9686357786358[/C][/ROW]
[ROW][C]45[/C][C]523[/C][C]552.065868725869[/C][C]-29.0658687258687[/C][/ROW]
[ROW][C]46[/C][C]519[/C][C]540.351583011583[/C][C]-21.351583011583[/C][/ROW]
[ROW][C]47[/C][C]509[/C][C]521.208725868726[/C][C]-12.2087258687259[/C][/ROW]
[ROW][C]48[/C][C]512[/C][C]523.758198198198[/C][C]-11.7581981981982[/C][/ROW]
[ROW][C]49[/C][C]519[/C][C]535.896634491634[/C][C]-16.8966344916345[/C][/ROW]
[ROW][C]50[/C][C]517[/C][C]531.021634491634[/C][C]-14.0216344916345[/C][/ROW]
[ROW][C]51[/C][C]510[/C][C]521.396634491634[/C][C]-11.3966344916345[/C][/ROW]
[ROW][C]52[/C][C]509[/C][C]513.646634491634[/C][C]-4.64663449163449[/C][/ROW]
[ROW][C]53[/C][C]501[/C][C]506.146634491634[/C][C]-5.14663449163449[/C][/ROW]
[ROW][C]54[/C][C]507[/C][C]506.521634491634[/C][C]0.478365508365511[/C][/ROW]
[ROW][C]55[/C][C]569[/C][C]559.521634491634[/C][C]9.4783655083655[/C][/ROW]
[ROW][C]56[/C][C]580[/C][C]576.646634491634[/C][C]3.35336550836551[/C][/ROW]
[ROW][C]57[/C][C]578[/C][C]572.743867438867[/C][C]5.25613256113256[/C][/ROW]
[ROW][C]58[/C][C]565[/C][C]561.029581724582[/C][C]3.97041827541827[/C][/ROW]
[ROW][C]59[/C][C]547[/C][C]541.886724581725[/C][C]5.11327541827542[/C][/ROW]
[ROW][C]60[/C][C]555[/C][C]544.436196911197[/C][C]10.5638030888031[/C][/ROW]
[ROW][C]61[/C][C]562[/C][C]556.574633204633[/C][C]5.42536679536681[/C][/ROW]
[ROW][C]62[/C][C]561[/C][C]551.699633204633[/C][C]9.3003667953668[/C][/ROW]
[ROW][C]63[/C][C]555[/C][C]542.074633204633[/C][C]12.9253667953668[/C][/ROW]
[ROW][C]64[/C][C]544[/C][C]534.324633204633[/C][C]9.6753667953668[/C][/ROW]
[ROW][C]65[/C][C]537[/C][C]526.824633204633[/C][C]10.1753667953668[/C][/ROW]
[ROW][C]66[/C][C]543[/C][C]527.199633204633[/C][C]15.8003667953668[/C][/ROW]
[ROW][C]67[/C][C]594[/C][C]580.199633204633[/C][C]13.8003667953668[/C][/ROW]
[ROW][C]68[/C][C]611[/C][C]597.324633204633[/C][C]13.6753667953668[/C][/ROW]
[ROW][C]69[/C][C]613[/C][C]593.421866151866[/C][C]19.5781338481338[/C][/ROW]
[ROW][C]70[/C][C]611[/C][C]581.70758043758[/C][C]29.2924195624195[/C][/ROW]
[ROW][C]71[/C][C]594[/C][C]562.564723294723[/C][C]31.4352767052767[/C][/ROW]
[ROW][C]72[/C][C]595[/C][C]565.114195624196[/C][C]29.8858043758044[/C][/ROW]
[ROW][C]73[/C][C]591[/C][C]577.252631917632[/C][C]13.7473680823681[/C][/ROW]
[ROW][C]74[/C][C]589[/C][C]572.377631917632[/C][C]16.6223680823681[/C][/ROW]
[ROW][C]75[/C][C]584[/C][C]562.752631917632[/C][C]21.2473680823681[/C][/ROW]
[ROW][C]76[/C][C]573[/C][C]555.002631917632[/C][C]17.9973680823681[/C][/ROW]
[ROW][C]77[/C][C]567[/C][C]547.502631917632[/C][C]19.4973680823681[/C][/ROW]
[ROW][C]78[/C][C]569[/C][C]547.877631917632[/C][C]21.1223680823681[/C][/ROW]
[ROW][C]79[/C][C]621[/C][C]600.877631917632[/C][C]20.1223680823681[/C][/ROW]
[ROW][C]80[/C][C]629[/C][C]618.002631917632[/C][C]10.9973680823681[/C][/ROW]
[ROW][C]81[/C][C]628[/C][C]614.099864864865[/C][C]13.9001351351352[/C][/ROW]
[ROW][C]82[/C][C]612[/C][C]602.385579150579[/C][C]9.61442084942083[/C][/ROW]
[ROW][C]83[/C][C]595[/C][C]583.242722007722[/C][C]11.7572779922780[/C][/ROW]
[ROW][C]84[/C][C]597[/C][C]585.792194337194[/C][C]11.2078056628057[/C][/ROW]
[ROW][C]85[/C][C]593[/C][C]597.930630630631[/C][C]-4.93063063063063[/C][/ROW]
[ROW][C]86[/C][C]590[/C][C]593.055630630631[/C][C]-3.05563063063066[/C][/ROW]
[ROW][C]87[/C][C]580[/C][C]583.430630630631[/C][C]-3.43063063063064[/C][/ROW]
[ROW][C]88[/C][C]574[/C][C]575.680630630631[/C][C]-1.68063063063065[/C][/ROW]
[ROW][C]89[/C][C]573[/C][C]568.180630630631[/C][C]4.81936936936935[/C][/ROW]
[ROW][C]90[/C][C]573[/C][C]568.555630630631[/C][C]4.44436936936936[/C][/ROW]
[ROW][C]91[/C][C]620[/C][C]621.55563063063[/C][C]-1.55563063063065[/C][/ROW]
[ROW][C]92[/C][C]626[/C][C]638.68063063063[/C][C]-12.6806306306306[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5991&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5991&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
1527461.03094594594665.9690540540539
2516456.15594594594659.844054054054
3503446.53094594594656.469054054054
4489438.78094594594650.2190540540541
5479431.28094594594647.7190540540541
6475431.65594594594643.344054054054
7524484.65594594594639.3440540540541
8552501.78094594594650.219054054054
9532497.87817889317934.1218211068211
10511486.16389317889324.8361068211068
11492467.02103603603624.978963963964
12492469.57050836550822.4294916344916
13493481.70894465894511.2910553410554
14481476.8339446589454.16605534105536
15462467.208944658945-5.20894465894465
16457459.458944658945-2.45894465894465
17442451.958944658945-9.95894465894465
18439452.333944658945-13.3339446589447
19488505.333944658945-17.3339446589447
20521522.458944658945-1.45894465894465
21501518.556177606178-17.5561776061776
22485506.841891891892-21.8418918918919
23464487.699034749035-23.6990347490347
24460490.248507078507-30.2485070785071
25467502.386943371943-35.3869433719434
26460497.511943371943-37.5119433719434
27448487.886943371943-39.8869433719434
28443480.136943371943-37.1369433719434
29436472.636943371943-36.6369433719434
30431473.011943371943-42.0119433719434
31484526.011943371943-42.0119433719434
32510543.136943371943-33.1369433719434
33513539.234176319176-26.2341763191763
34503527.519890604891-24.5198906048906
35471508.377033462033-37.3770334620335
36471503.080199485199-32.0801994851994
37476515.218635778636-39.2186357786358
38475510.343635778636-35.3436357786358
39470500.718635778636-30.7186357786358
40461492.968635778636-31.9686357786358
41455485.468635778636-30.4686357786357
42456485.843635778636-29.8436357786357
43517538.843635778636-21.8436357786358
44525555.968635778636-30.9686357786358
45523552.065868725869-29.0658687258687
46519540.351583011583-21.351583011583
47509521.208725868726-12.2087258687259
48512523.758198198198-11.7581981981982
49519535.896634491634-16.8966344916345
50517531.021634491634-14.0216344916345
51510521.396634491634-11.3966344916345
52509513.646634491634-4.64663449163449
53501506.146634491634-5.14663449163449
54507506.5216344916340.478365508365511
55569559.5216344916349.4783655083655
56580576.6466344916343.35336550836551
57578572.7438674388675.25613256113256
58565561.0295817245823.97041827541827
59547541.8867245817255.11327541827542
60555544.43619691119710.5638030888031
61562556.5746332046335.42536679536681
62561551.6996332046339.3003667953668
63555542.07463320463312.9253667953668
64544534.3246332046339.6753667953668
65537526.82463320463310.1753667953668
66543527.19963320463315.8003667953668
67594580.19963320463313.8003667953668
68611597.32463320463313.6753667953668
69613593.42186615186619.5781338481338
70611581.7075804375829.2924195624195
71594562.56472329472331.4352767052767
72595565.11419562419629.8858043758044
73591577.25263191763213.7473680823681
74589572.37763191763216.6223680823681
75584562.75263191763221.2473680823681
76573555.00263191763217.9973680823681
77567547.50263191763219.4973680823681
78569547.87763191763221.1223680823681
79621600.87763191763220.1223680823681
80629618.00263191763210.9973680823681
81628614.09986486486513.9001351351352
82612602.3855791505799.61442084942083
83595583.24272200772211.7572779922780
84597585.79219433719411.2078056628057
85593597.930630630631-4.93063063063063
86590593.055630630631-3.05563063063066
87580583.430630630631-3.43063063063064
88574575.680630630631-1.68063063063065
89573568.1806306306314.81936936936935
90573568.5556306306314.44436936936936
91620621.55563063063-1.55563063063065
92626638.68063063063-12.6806306306306



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
R code (references can be found in the software module):
library(lattice)
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT
H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation
Forecast', 1, TRUE)
a<-table.element(a, 'Residuals
Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')