Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationWed, 19 Dec 2007 03:26:55 -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/Dec/19/t11980597344stk9x0uhr4xz2o.htm/, Retrieved Mon, 06 May 2024 15:05:30 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=4634, Retrieved Mon, 06 May 2024 15:05:30 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordss0650921, s0650125
Estimated Impact235
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [paper_multiplereg...] [2007-12-19 10:26:55] [1232d415564adb2a600743f77b12553a] [Current]
-   PD    [Multiple Regression] [paper_multiplereg...] [2008-01-09 13:25:32] [74be16979710d4c4e7c6647856088456]
Feedback Forum

Post a new message
Dataseries X:
102.7	0	0
103.2	0	0
105.6	0	0
103.9	0	0
107.2	0	0
100.7	0	0
92.1	0	0
90.3	0	0
93.4	0	0
98.5	0	0
100.8	0	0
102.3	0	0
104.7	0	0
101.1	0	0
101.4	0	0
99.5	0	0
98.4	0	0
96.3	0	0
100.7	0	0
101.2	0	0
100.3	0	0
97.8	0	0
97.4	0	0
98.6	0	0
99.7	0	0
99.0	0	0
98.1	0	0
97.0	0	0
98.5	0	0
103.8	0	0
114.4	0	0
124.5	0	0
134.2	0	0
131.8	0	0
125.6	0	0
119.9	0	0
114.9	0	0
115.5	0	0
112.5	0	0
111.4	0	0
115.3	0	0
110.8	0	0
103.7	0	0
111.1	0	1
113.0	0	1
111.2	0	1
117.6	0	1
121.7	0	1
127.3	0	1
129.8	0	1
137.1	0	1
141.4	0	1
137.4	0	1
130.7	0	1
117.2	0	1
110.8	0	-1
111.4	0	-1
108.2	0	-1
108.8	0	-1
110.2	0	-1
109.5	0	-1
109.5	0	-1
116.0	0	-1
111.2	0	-1
112.1	0	-1
114.0	0	-1
119.1	0	-1
114.1	1	-1
115.1	1	-1
115.4	1	-1
110.8	1	0
116.0	1	0
119.2	1	0
126.5	1	0
127.8	1	0
131.3	1	0
140.3	1	0
137.3	1	0
143.0	1	0
134.5	1	0
139.9	1	0
159.3	1	0
170.4	1	0
175.0	1	0
175.8	1	0
180.9	1	0
180.3	1	0
169.6	1	0
172.3	1	0
184.8	1	0
177.7	1	0
184.6	1	0
211.4	1	0
215.3	1	0
215.9	1	0




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

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

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







Multiple Linear Regression - Estimated Regression Equation
prijsindex[t] = + 107.336807736924 + 46.1711729207669ontkoppelde_bedrijfstoeslag[t] + 10.3317727408991oogstomvang[t] + 0.345399032884517M1[t] + 1.80789903288454M2[t] + 3.47039903288455M3[t] + 1.78289903288455M4[t] + 3.80789903288454M5[t] + 3.42039903288454M6[t] + 2.10789903288454M7[t] -1.97202598959894M8[t] + 3.97797401040107M9[t] + 6.32797401040107M10[t] + 6.26150241778868M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
prijsindex[t] =  +  107.336807736924 +  46.1711729207669ontkoppelde_bedrijfstoeslag[t] +  10.3317727408991oogstomvang[t] +  0.345399032884517M1[t] +  1.80789903288454M2[t] +  3.47039903288455M3[t] +  1.78289903288455M4[t] +  3.80789903288454M5[t] +  3.42039903288454M6[t] +  2.10789903288454M7[t] -1.97202598959894M8[t] +  3.97797401040107M9[t] +  6.32797401040107M10[t] +  6.26150241778868M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4634&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]prijsindex[t] =  +  107.336807736924 +  46.1711729207669ontkoppelde_bedrijfstoeslag[t] +  10.3317727408991oogstomvang[t] +  0.345399032884517M1[t] +  1.80789903288454M2[t] +  3.47039903288455M3[t] +  1.78289903288455M4[t] +  3.80789903288454M5[t] +  3.42039903288454M6[t] +  2.10789903288454M7[t] -1.97202598959894M8[t] +  3.97797401040107M9[t] +  6.32797401040107M10[t] +  6.26150241778868M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4634&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4634&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
prijsindex[t] = + 107.336807736924 + 46.1711729207669ontkoppelde_bedrijfstoeslag[t] + 10.3317727408991oogstomvang[t] + 0.345399032884517M1[t] + 1.80789903288454M2[t] + 3.47039903288455M3[t] + 1.78289903288455M4[t] + 3.80789903288454M5[t] + 3.42039903288454M6[t] + 2.10789903288454M7[t] -1.97202598959894M8[t] + 3.97797401040107M9[t] + 6.32797401040107M10[t] + 6.26150241778868M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)107.3368077369247.93330213.529900
ontkoppelde_bedrijfstoeslag46.17117292076694.7089759.804900
oogstomvang10.33177274089914.0225552.56850.0120510.006026
M10.34539903288451710.7070830.03230.9743450.487172
M21.8078990328845410.7070830.16890.8663350.433167
M33.4703990328845510.7070830.32410.7466810.373341
M41.7828990328845510.7070830.16650.8681660.434083
M53.8078990328845410.7070830.35560.7230320.361516
M63.4203990328845410.7070830.31950.7502060.375103
M72.1078990328845410.7070830.19690.8444230.422211
M8-1.9720259895989410.724183-0.18390.8545630.427281
M93.9779740104010710.7241830.37090.7116540.355827
M106.3279740104010710.7241830.59010.5567890.278395
M116.2615024177886810.7140150.58440.5605610.28028

\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) & 107.336807736924 & 7.933302 & 13.5299 & 0 & 0 \tabularnewline
ontkoppelde_bedrijfstoeslag & 46.1711729207669 & 4.708975 & 9.8049 & 0 & 0 \tabularnewline
oogstomvang & 10.3317727408991 & 4.022555 & 2.5685 & 0.012051 & 0.006026 \tabularnewline
M1 & 0.345399032884517 & 10.707083 & 0.0323 & 0.974345 & 0.487172 \tabularnewline
M2 & 1.80789903288454 & 10.707083 & 0.1689 & 0.866335 & 0.433167 \tabularnewline
M3 & 3.47039903288455 & 10.707083 & 0.3241 & 0.746681 & 0.373341 \tabularnewline
M4 & 1.78289903288455 & 10.707083 & 0.1665 & 0.868166 & 0.434083 \tabularnewline
M5 & 3.80789903288454 & 10.707083 & 0.3556 & 0.723032 & 0.361516 \tabularnewline
M6 & 3.42039903288454 & 10.707083 & 0.3195 & 0.750206 & 0.375103 \tabularnewline
M7 & 2.10789903288454 & 10.707083 & 0.1969 & 0.844423 & 0.422211 \tabularnewline
M8 & -1.97202598959894 & 10.724183 & -0.1839 & 0.854563 & 0.427281 \tabularnewline
M9 & 3.97797401040107 & 10.724183 & 0.3709 & 0.711654 & 0.355827 \tabularnewline
M10 & 6.32797401040107 & 10.724183 & 0.5901 & 0.556789 & 0.278395 \tabularnewline
M11 & 6.26150241778868 & 10.714015 & 0.5844 & 0.560561 & 0.28028 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4634&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]107.336807736924[/C][C]7.933302[/C][C]13.5299[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]ontkoppelde_bedrijfstoeslag[/C][C]46.1711729207669[/C][C]4.708975[/C][C]9.8049[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]oogstomvang[/C][C]10.3317727408991[/C][C]4.022555[/C][C]2.5685[/C][C]0.012051[/C][C]0.006026[/C][/ROW]
[ROW][C]M1[/C][C]0.345399032884517[/C][C]10.707083[/C][C]0.0323[/C][C]0.974345[/C][C]0.487172[/C][/ROW]
[ROW][C]M2[/C][C]1.80789903288454[/C][C]10.707083[/C][C]0.1689[/C][C]0.866335[/C][C]0.433167[/C][/ROW]
[ROW][C]M3[/C][C]3.47039903288455[/C][C]10.707083[/C][C]0.3241[/C][C]0.746681[/C][C]0.373341[/C][/ROW]
[ROW][C]M4[/C][C]1.78289903288455[/C][C]10.707083[/C][C]0.1665[/C][C]0.868166[/C][C]0.434083[/C][/ROW]
[ROW][C]M5[/C][C]3.80789903288454[/C][C]10.707083[/C][C]0.3556[/C][C]0.723032[/C][C]0.361516[/C][/ROW]
[ROW][C]M6[/C][C]3.42039903288454[/C][C]10.707083[/C][C]0.3195[/C][C]0.750206[/C][C]0.375103[/C][/ROW]
[ROW][C]M7[/C][C]2.10789903288454[/C][C]10.707083[/C][C]0.1969[/C][C]0.844423[/C][C]0.422211[/C][/ROW]
[ROW][C]M8[/C][C]-1.97202598959894[/C][C]10.724183[/C][C]-0.1839[/C][C]0.854563[/C][C]0.427281[/C][/ROW]
[ROW][C]M9[/C][C]3.97797401040107[/C][C]10.724183[/C][C]0.3709[/C][C]0.711654[/C][C]0.355827[/C][/ROW]
[ROW][C]M10[/C][C]6.32797401040107[/C][C]10.724183[/C][C]0.5901[/C][C]0.556789[/C][C]0.278395[/C][/ROW]
[ROW][C]M11[/C][C]6.26150241778868[/C][C]10.714015[/C][C]0.5844[/C][C]0.560561[/C][C]0.28028[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4634&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4634&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)107.3368077369247.93330213.529900
ontkoppelde_bedrijfstoeslag46.17117292076694.7089759.804900
oogstomvang10.33177274089914.0225552.56850.0120510.006026
M10.34539903288451710.7070830.03230.9743450.487172
M21.8078990328845410.7070830.16890.8663350.433167
M33.4703990328845510.7070830.32410.7466810.373341
M41.7828990328845510.7070830.16650.8681660.434083
M53.8078990328845410.7070830.35560.7230320.361516
M63.4203990328845410.7070830.31950.7502060.375103
M72.1078990328845410.7070830.19690.8444230.422211
M8-1.9720259895989410.724183-0.18390.8545630.427281
M93.9779740104010710.7241830.37090.7116540.355827
M106.3279740104010710.7241830.59010.5567890.278395
M116.2615024177886810.7140150.58440.5605610.28028







Multiple Linear Regression - Regression Statistics
Multiple R0.747080237425642
R-squared0.558128881151954
Adjusted R-squared0.487211294176342
F-TEST (value)7.8701053568544
F-TEST (DF numerator)13
F-TEST (DF denominator)81
p-value7.13105463567842e-10
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation20.6854981640099
Sum Squared Residuals34659.0765777537

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.747080237425642 \tabularnewline
R-squared & 0.558128881151954 \tabularnewline
Adjusted R-squared & 0.487211294176342 \tabularnewline
F-TEST (value) & 7.8701053568544 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 81 \tabularnewline
p-value & 7.13105463567842e-10 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 20.6854981640099 \tabularnewline
Sum Squared Residuals & 34659.0765777537 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4634&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.747080237425642[/C][/ROW]
[ROW][C]R-squared[/C][C]0.558128881151954[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.487211294176342[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]7.8701053568544[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]81[/C][/ROW]
[ROW][C]p-value[/C][C]7.13105463567842e-10[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]20.6854981640099[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]34659.0765777537[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4634&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4634&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.747080237425642
R-squared0.558128881151954
Adjusted R-squared0.487211294176342
F-TEST (value)7.8701053568544
F-TEST (DF numerator)13
F-TEST (DF denominator)81
p-value7.13105463567842e-10
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation20.6854981640099
Sum Squared Residuals34659.0765777537







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1102.7107.682206769808-4.98220676980847
2103.2109.144706769808-5.94470676980827
3105.6110.807206769808-5.20720676980822
4103.9109.119706769808-5.21970676980827
5107.2111.144706769808-3.94470676980828
6100.7110.757206769808-10.0572067698082
792.1109.444706769808-17.3447067698083
890.3105.364781747325-15.0647817473248
993.4111.314781747325-17.9147817473248
1098.5113.664781747325-15.1647817473248
11100.8113.598310154712-12.7983101547124
12102.3107.336807736924-5.03680773692372
13104.7107.682206769808-2.98220676980824
14101.1109.144706769808-8.04470676980827
15101.4110.807206769808-9.40720676980828
1699.5109.119706769808-9.61970676980828
1798.4111.144706769808-12.7447067698083
1896.3110.757206769808-14.4572067698083
19100.7109.444706769808-8.74470676980827
20101.2105.364781747325-4.16478174732478
21100.3111.314781747325-11.0147817473248
2297.8113.664781747325-15.8647817473248
2397.4113.598310154712-16.1983101547124
2498.6107.336807736924-8.73680773692373
2599.7107.682206769808-7.98220676980824
2699109.144706769808-10.1447067698083
2798.1110.807206769808-12.7072067698083
2897109.119706769808-12.1197067698083
2998.5111.144706769808-12.6447067698083
30103.8110.757206769808-6.95720676980827
31114.4109.4447067698084.95529323019174
32124.5105.36478174732519.1352182526752
33134.2111.31478174732522.8852182526752
34131.8113.66478174732518.1352182526752
35125.6113.59831015471212.0016898452876
36119.9107.33680773692412.5631922630763
37114.9107.6822067698087.21779323019176
38115.5109.1447067698086.35529323019173
39112.5110.8072067698081.69279323019172
40111.4109.1197067698082.28029323019173
41115.3111.1447067698084.15529323019172
42110.8110.7572067698080.0427932301917265
43103.7109.444706769808-5.74470676980827
44111.1115.696554488224-4.59655448822387
45113121.646554488224-8.64655448822388
46111.2123.996554488224-12.7965544882239
47117.6123.930082895611-6.3300828956115
48121.7117.6685804778234.0314195221772
49127.3118.0139795107079.28602048929267
50129.8119.47647951070710.3235204892927
51137.1121.13897951070715.9610204892926
52141.4119.45147951070721.9485204892926
53137.4121.47647951070715.9235204892927
54130.7121.0889795107079.61102048929263
55117.2119.776479510707-2.57647951070735
56110.895.033009006425715.7669909935743
57111.4100.98300900642610.4169909935743
58108.2103.3330090064264.86699099357429
59108.8103.2665374138135.53346258618667
60110.297.005034996024613.1949650039754
61109.597.350434028909212.1495659710908
62109.598.812934028909210.6870659710908
63116100.47543402890915.5245659710908
64111.298.787934028909212.4120659710908
65112.1100.81293402890911.2870659710908
66114100.42543402890913.5745659710908
67119.199.112934028909219.9870659710908
68114.1141.204181927193-27.1041819271926
69115.1147.154181927193-32.0541819271926
70115.4149.504181927193-34.1041819271926
71110.8159.769483075479-48.9694830754793
72116153.507980657691-37.5079806576906
73119.2153.853379690575-34.6533796905752
74126.5155.315879690575-28.8158796905752
75127.8156.978379690575-29.1783796905752
76131.3155.290879690575-23.9908796905752
77140.3157.315879690575-17.0158796905752
78137.3156.928379690575-19.6283796905752
79143155.615879690575-12.6158796905752
80134.5151.535954668092-17.0359546680917
81139.9157.485954668092-17.5859546680917
82159.3159.835954668092-0.535954668091706
83170.4159.76948307547910.6305169245207
84175153.50798065769121.4920193423094
85175.8153.85337969057521.9466203094248
86180.9155.31587969057525.5841203094248
87180.3156.97837969057523.3216203094248
88169.6155.29087969057514.3091203094248
89172.3157.31587969057514.9841203094248
90184.8156.92837969057527.8716203094248
91177.7155.61587969057522.0841203094248
92184.6151.53595466809233.0640453319083
93211.4157.48595466809253.9140453319083
94215.3159.83595466809255.4640453319083
95215.9159.76948307547956.1305169245207

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 102.7 & 107.682206769808 & -4.98220676980847 \tabularnewline
2 & 103.2 & 109.144706769808 & -5.94470676980827 \tabularnewline
3 & 105.6 & 110.807206769808 & -5.20720676980822 \tabularnewline
4 & 103.9 & 109.119706769808 & -5.21970676980827 \tabularnewline
5 & 107.2 & 111.144706769808 & -3.94470676980828 \tabularnewline
6 & 100.7 & 110.757206769808 & -10.0572067698082 \tabularnewline
7 & 92.1 & 109.444706769808 & -17.3447067698083 \tabularnewline
8 & 90.3 & 105.364781747325 & -15.0647817473248 \tabularnewline
9 & 93.4 & 111.314781747325 & -17.9147817473248 \tabularnewline
10 & 98.5 & 113.664781747325 & -15.1647817473248 \tabularnewline
11 & 100.8 & 113.598310154712 & -12.7983101547124 \tabularnewline
12 & 102.3 & 107.336807736924 & -5.03680773692372 \tabularnewline
13 & 104.7 & 107.682206769808 & -2.98220676980824 \tabularnewline
14 & 101.1 & 109.144706769808 & -8.04470676980827 \tabularnewline
15 & 101.4 & 110.807206769808 & -9.40720676980828 \tabularnewline
16 & 99.5 & 109.119706769808 & -9.61970676980828 \tabularnewline
17 & 98.4 & 111.144706769808 & -12.7447067698083 \tabularnewline
18 & 96.3 & 110.757206769808 & -14.4572067698083 \tabularnewline
19 & 100.7 & 109.444706769808 & -8.74470676980827 \tabularnewline
20 & 101.2 & 105.364781747325 & -4.16478174732478 \tabularnewline
21 & 100.3 & 111.314781747325 & -11.0147817473248 \tabularnewline
22 & 97.8 & 113.664781747325 & -15.8647817473248 \tabularnewline
23 & 97.4 & 113.598310154712 & -16.1983101547124 \tabularnewline
24 & 98.6 & 107.336807736924 & -8.73680773692373 \tabularnewline
25 & 99.7 & 107.682206769808 & -7.98220676980824 \tabularnewline
26 & 99 & 109.144706769808 & -10.1447067698083 \tabularnewline
27 & 98.1 & 110.807206769808 & -12.7072067698083 \tabularnewline
28 & 97 & 109.119706769808 & -12.1197067698083 \tabularnewline
29 & 98.5 & 111.144706769808 & -12.6447067698083 \tabularnewline
30 & 103.8 & 110.757206769808 & -6.95720676980827 \tabularnewline
31 & 114.4 & 109.444706769808 & 4.95529323019174 \tabularnewline
32 & 124.5 & 105.364781747325 & 19.1352182526752 \tabularnewline
33 & 134.2 & 111.314781747325 & 22.8852182526752 \tabularnewline
34 & 131.8 & 113.664781747325 & 18.1352182526752 \tabularnewline
35 & 125.6 & 113.598310154712 & 12.0016898452876 \tabularnewline
36 & 119.9 & 107.336807736924 & 12.5631922630763 \tabularnewline
37 & 114.9 & 107.682206769808 & 7.21779323019176 \tabularnewline
38 & 115.5 & 109.144706769808 & 6.35529323019173 \tabularnewline
39 & 112.5 & 110.807206769808 & 1.69279323019172 \tabularnewline
40 & 111.4 & 109.119706769808 & 2.28029323019173 \tabularnewline
41 & 115.3 & 111.144706769808 & 4.15529323019172 \tabularnewline
42 & 110.8 & 110.757206769808 & 0.0427932301917265 \tabularnewline
43 & 103.7 & 109.444706769808 & -5.74470676980827 \tabularnewline
44 & 111.1 & 115.696554488224 & -4.59655448822387 \tabularnewline
45 & 113 & 121.646554488224 & -8.64655448822388 \tabularnewline
46 & 111.2 & 123.996554488224 & -12.7965544882239 \tabularnewline
47 & 117.6 & 123.930082895611 & -6.3300828956115 \tabularnewline
48 & 121.7 & 117.668580477823 & 4.0314195221772 \tabularnewline
49 & 127.3 & 118.013979510707 & 9.28602048929267 \tabularnewline
50 & 129.8 & 119.476479510707 & 10.3235204892927 \tabularnewline
51 & 137.1 & 121.138979510707 & 15.9610204892926 \tabularnewline
52 & 141.4 & 119.451479510707 & 21.9485204892926 \tabularnewline
53 & 137.4 & 121.476479510707 & 15.9235204892927 \tabularnewline
54 & 130.7 & 121.088979510707 & 9.61102048929263 \tabularnewline
55 & 117.2 & 119.776479510707 & -2.57647951070735 \tabularnewline
56 & 110.8 & 95.0330090064257 & 15.7669909935743 \tabularnewline
57 & 111.4 & 100.983009006426 & 10.4169909935743 \tabularnewline
58 & 108.2 & 103.333009006426 & 4.86699099357429 \tabularnewline
59 & 108.8 & 103.266537413813 & 5.53346258618667 \tabularnewline
60 & 110.2 & 97.0050349960246 & 13.1949650039754 \tabularnewline
61 & 109.5 & 97.3504340289092 & 12.1495659710908 \tabularnewline
62 & 109.5 & 98.8129340289092 & 10.6870659710908 \tabularnewline
63 & 116 & 100.475434028909 & 15.5245659710908 \tabularnewline
64 & 111.2 & 98.7879340289092 & 12.4120659710908 \tabularnewline
65 & 112.1 & 100.812934028909 & 11.2870659710908 \tabularnewline
66 & 114 & 100.425434028909 & 13.5745659710908 \tabularnewline
67 & 119.1 & 99.1129340289092 & 19.9870659710908 \tabularnewline
68 & 114.1 & 141.204181927193 & -27.1041819271926 \tabularnewline
69 & 115.1 & 147.154181927193 & -32.0541819271926 \tabularnewline
70 & 115.4 & 149.504181927193 & -34.1041819271926 \tabularnewline
71 & 110.8 & 159.769483075479 & -48.9694830754793 \tabularnewline
72 & 116 & 153.507980657691 & -37.5079806576906 \tabularnewline
73 & 119.2 & 153.853379690575 & -34.6533796905752 \tabularnewline
74 & 126.5 & 155.315879690575 & -28.8158796905752 \tabularnewline
75 & 127.8 & 156.978379690575 & -29.1783796905752 \tabularnewline
76 & 131.3 & 155.290879690575 & -23.9908796905752 \tabularnewline
77 & 140.3 & 157.315879690575 & -17.0158796905752 \tabularnewline
78 & 137.3 & 156.928379690575 & -19.6283796905752 \tabularnewline
79 & 143 & 155.615879690575 & -12.6158796905752 \tabularnewline
80 & 134.5 & 151.535954668092 & -17.0359546680917 \tabularnewline
81 & 139.9 & 157.485954668092 & -17.5859546680917 \tabularnewline
82 & 159.3 & 159.835954668092 & -0.535954668091706 \tabularnewline
83 & 170.4 & 159.769483075479 & 10.6305169245207 \tabularnewline
84 & 175 & 153.507980657691 & 21.4920193423094 \tabularnewline
85 & 175.8 & 153.853379690575 & 21.9466203094248 \tabularnewline
86 & 180.9 & 155.315879690575 & 25.5841203094248 \tabularnewline
87 & 180.3 & 156.978379690575 & 23.3216203094248 \tabularnewline
88 & 169.6 & 155.290879690575 & 14.3091203094248 \tabularnewline
89 & 172.3 & 157.315879690575 & 14.9841203094248 \tabularnewline
90 & 184.8 & 156.928379690575 & 27.8716203094248 \tabularnewline
91 & 177.7 & 155.615879690575 & 22.0841203094248 \tabularnewline
92 & 184.6 & 151.535954668092 & 33.0640453319083 \tabularnewline
93 & 211.4 & 157.485954668092 & 53.9140453319083 \tabularnewline
94 & 215.3 & 159.835954668092 & 55.4640453319083 \tabularnewline
95 & 215.9 & 159.769483075479 & 56.1305169245207 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4634&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]102.7[/C][C]107.682206769808[/C][C]-4.98220676980847[/C][/ROW]
[ROW][C]2[/C][C]103.2[/C][C]109.144706769808[/C][C]-5.94470676980827[/C][/ROW]
[ROW][C]3[/C][C]105.6[/C][C]110.807206769808[/C][C]-5.20720676980822[/C][/ROW]
[ROW][C]4[/C][C]103.9[/C][C]109.119706769808[/C][C]-5.21970676980827[/C][/ROW]
[ROW][C]5[/C][C]107.2[/C][C]111.144706769808[/C][C]-3.94470676980828[/C][/ROW]
[ROW][C]6[/C][C]100.7[/C][C]110.757206769808[/C][C]-10.0572067698082[/C][/ROW]
[ROW][C]7[/C][C]92.1[/C][C]109.444706769808[/C][C]-17.3447067698083[/C][/ROW]
[ROW][C]8[/C][C]90.3[/C][C]105.364781747325[/C][C]-15.0647817473248[/C][/ROW]
[ROW][C]9[/C][C]93.4[/C][C]111.314781747325[/C][C]-17.9147817473248[/C][/ROW]
[ROW][C]10[/C][C]98.5[/C][C]113.664781747325[/C][C]-15.1647817473248[/C][/ROW]
[ROW][C]11[/C][C]100.8[/C][C]113.598310154712[/C][C]-12.7983101547124[/C][/ROW]
[ROW][C]12[/C][C]102.3[/C][C]107.336807736924[/C][C]-5.03680773692372[/C][/ROW]
[ROW][C]13[/C][C]104.7[/C][C]107.682206769808[/C][C]-2.98220676980824[/C][/ROW]
[ROW][C]14[/C][C]101.1[/C][C]109.144706769808[/C][C]-8.04470676980827[/C][/ROW]
[ROW][C]15[/C][C]101.4[/C][C]110.807206769808[/C][C]-9.40720676980828[/C][/ROW]
[ROW][C]16[/C][C]99.5[/C][C]109.119706769808[/C][C]-9.61970676980828[/C][/ROW]
[ROW][C]17[/C][C]98.4[/C][C]111.144706769808[/C][C]-12.7447067698083[/C][/ROW]
[ROW][C]18[/C][C]96.3[/C][C]110.757206769808[/C][C]-14.4572067698083[/C][/ROW]
[ROW][C]19[/C][C]100.7[/C][C]109.444706769808[/C][C]-8.74470676980827[/C][/ROW]
[ROW][C]20[/C][C]101.2[/C][C]105.364781747325[/C][C]-4.16478174732478[/C][/ROW]
[ROW][C]21[/C][C]100.3[/C][C]111.314781747325[/C][C]-11.0147817473248[/C][/ROW]
[ROW][C]22[/C][C]97.8[/C][C]113.664781747325[/C][C]-15.8647817473248[/C][/ROW]
[ROW][C]23[/C][C]97.4[/C][C]113.598310154712[/C][C]-16.1983101547124[/C][/ROW]
[ROW][C]24[/C][C]98.6[/C][C]107.336807736924[/C][C]-8.73680773692373[/C][/ROW]
[ROW][C]25[/C][C]99.7[/C][C]107.682206769808[/C][C]-7.98220676980824[/C][/ROW]
[ROW][C]26[/C][C]99[/C][C]109.144706769808[/C][C]-10.1447067698083[/C][/ROW]
[ROW][C]27[/C][C]98.1[/C][C]110.807206769808[/C][C]-12.7072067698083[/C][/ROW]
[ROW][C]28[/C][C]97[/C][C]109.119706769808[/C][C]-12.1197067698083[/C][/ROW]
[ROW][C]29[/C][C]98.5[/C][C]111.144706769808[/C][C]-12.6447067698083[/C][/ROW]
[ROW][C]30[/C][C]103.8[/C][C]110.757206769808[/C][C]-6.95720676980827[/C][/ROW]
[ROW][C]31[/C][C]114.4[/C][C]109.444706769808[/C][C]4.95529323019174[/C][/ROW]
[ROW][C]32[/C][C]124.5[/C][C]105.364781747325[/C][C]19.1352182526752[/C][/ROW]
[ROW][C]33[/C][C]134.2[/C][C]111.314781747325[/C][C]22.8852182526752[/C][/ROW]
[ROW][C]34[/C][C]131.8[/C][C]113.664781747325[/C][C]18.1352182526752[/C][/ROW]
[ROW][C]35[/C][C]125.6[/C][C]113.598310154712[/C][C]12.0016898452876[/C][/ROW]
[ROW][C]36[/C][C]119.9[/C][C]107.336807736924[/C][C]12.5631922630763[/C][/ROW]
[ROW][C]37[/C][C]114.9[/C][C]107.682206769808[/C][C]7.21779323019176[/C][/ROW]
[ROW][C]38[/C][C]115.5[/C][C]109.144706769808[/C][C]6.35529323019173[/C][/ROW]
[ROW][C]39[/C][C]112.5[/C][C]110.807206769808[/C][C]1.69279323019172[/C][/ROW]
[ROW][C]40[/C][C]111.4[/C][C]109.119706769808[/C][C]2.28029323019173[/C][/ROW]
[ROW][C]41[/C][C]115.3[/C][C]111.144706769808[/C][C]4.15529323019172[/C][/ROW]
[ROW][C]42[/C][C]110.8[/C][C]110.757206769808[/C][C]0.0427932301917265[/C][/ROW]
[ROW][C]43[/C][C]103.7[/C][C]109.444706769808[/C][C]-5.74470676980827[/C][/ROW]
[ROW][C]44[/C][C]111.1[/C][C]115.696554488224[/C][C]-4.59655448822387[/C][/ROW]
[ROW][C]45[/C][C]113[/C][C]121.646554488224[/C][C]-8.64655448822388[/C][/ROW]
[ROW][C]46[/C][C]111.2[/C][C]123.996554488224[/C][C]-12.7965544882239[/C][/ROW]
[ROW][C]47[/C][C]117.6[/C][C]123.930082895611[/C][C]-6.3300828956115[/C][/ROW]
[ROW][C]48[/C][C]121.7[/C][C]117.668580477823[/C][C]4.0314195221772[/C][/ROW]
[ROW][C]49[/C][C]127.3[/C][C]118.013979510707[/C][C]9.28602048929267[/C][/ROW]
[ROW][C]50[/C][C]129.8[/C][C]119.476479510707[/C][C]10.3235204892927[/C][/ROW]
[ROW][C]51[/C][C]137.1[/C][C]121.138979510707[/C][C]15.9610204892926[/C][/ROW]
[ROW][C]52[/C][C]141.4[/C][C]119.451479510707[/C][C]21.9485204892926[/C][/ROW]
[ROW][C]53[/C][C]137.4[/C][C]121.476479510707[/C][C]15.9235204892927[/C][/ROW]
[ROW][C]54[/C][C]130.7[/C][C]121.088979510707[/C][C]9.61102048929263[/C][/ROW]
[ROW][C]55[/C][C]117.2[/C][C]119.776479510707[/C][C]-2.57647951070735[/C][/ROW]
[ROW][C]56[/C][C]110.8[/C][C]95.0330090064257[/C][C]15.7669909935743[/C][/ROW]
[ROW][C]57[/C][C]111.4[/C][C]100.983009006426[/C][C]10.4169909935743[/C][/ROW]
[ROW][C]58[/C][C]108.2[/C][C]103.333009006426[/C][C]4.86699099357429[/C][/ROW]
[ROW][C]59[/C][C]108.8[/C][C]103.266537413813[/C][C]5.53346258618667[/C][/ROW]
[ROW][C]60[/C][C]110.2[/C][C]97.0050349960246[/C][C]13.1949650039754[/C][/ROW]
[ROW][C]61[/C][C]109.5[/C][C]97.3504340289092[/C][C]12.1495659710908[/C][/ROW]
[ROW][C]62[/C][C]109.5[/C][C]98.8129340289092[/C][C]10.6870659710908[/C][/ROW]
[ROW][C]63[/C][C]116[/C][C]100.475434028909[/C][C]15.5245659710908[/C][/ROW]
[ROW][C]64[/C][C]111.2[/C][C]98.7879340289092[/C][C]12.4120659710908[/C][/ROW]
[ROW][C]65[/C][C]112.1[/C][C]100.812934028909[/C][C]11.2870659710908[/C][/ROW]
[ROW][C]66[/C][C]114[/C][C]100.425434028909[/C][C]13.5745659710908[/C][/ROW]
[ROW][C]67[/C][C]119.1[/C][C]99.1129340289092[/C][C]19.9870659710908[/C][/ROW]
[ROW][C]68[/C][C]114.1[/C][C]141.204181927193[/C][C]-27.1041819271926[/C][/ROW]
[ROW][C]69[/C][C]115.1[/C][C]147.154181927193[/C][C]-32.0541819271926[/C][/ROW]
[ROW][C]70[/C][C]115.4[/C][C]149.504181927193[/C][C]-34.1041819271926[/C][/ROW]
[ROW][C]71[/C][C]110.8[/C][C]159.769483075479[/C][C]-48.9694830754793[/C][/ROW]
[ROW][C]72[/C][C]116[/C][C]153.507980657691[/C][C]-37.5079806576906[/C][/ROW]
[ROW][C]73[/C][C]119.2[/C][C]153.853379690575[/C][C]-34.6533796905752[/C][/ROW]
[ROW][C]74[/C][C]126.5[/C][C]155.315879690575[/C][C]-28.8158796905752[/C][/ROW]
[ROW][C]75[/C][C]127.8[/C][C]156.978379690575[/C][C]-29.1783796905752[/C][/ROW]
[ROW][C]76[/C][C]131.3[/C][C]155.290879690575[/C][C]-23.9908796905752[/C][/ROW]
[ROW][C]77[/C][C]140.3[/C][C]157.315879690575[/C][C]-17.0158796905752[/C][/ROW]
[ROW][C]78[/C][C]137.3[/C][C]156.928379690575[/C][C]-19.6283796905752[/C][/ROW]
[ROW][C]79[/C][C]143[/C][C]155.615879690575[/C][C]-12.6158796905752[/C][/ROW]
[ROW][C]80[/C][C]134.5[/C][C]151.535954668092[/C][C]-17.0359546680917[/C][/ROW]
[ROW][C]81[/C][C]139.9[/C][C]157.485954668092[/C][C]-17.5859546680917[/C][/ROW]
[ROW][C]82[/C][C]159.3[/C][C]159.835954668092[/C][C]-0.535954668091706[/C][/ROW]
[ROW][C]83[/C][C]170.4[/C][C]159.769483075479[/C][C]10.6305169245207[/C][/ROW]
[ROW][C]84[/C][C]175[/C][C]153.507980657691[/C][C]21.4920193423094[/C][/ROW]
[ROW][C]85[/C][C]175.8[/C][C]153.853379690575[/C][C]21.9466203094248[/C][/ROW]
[ROW][C]86[/C][C]180.9[/C][C]155.315879690575[/C][C]25.5841203094248[/C][/ROW]
[ROW][C]87[/C][C]180.3[/C][C]156.978379690575[/C][C]23.3216203094248[/C][/ROW]
[ROW][C]88[/C][C]169.6[/C][C]155.290879690575[/C][C]14.3091203094248[/C][/ROW]
[ROW][C]89[/C][C]172.3[/C][C]157.315879690575[/C][C]14.9841203094248[/C][/ROW]
[ROW][C]90[/C][C]184.8[/C][C]156.928379690575[/C][C]27.8716203094248[/C][/ROW]
[ROW][C]91[/C][C]177.7[/C][C]155.615879690575[/C][C]22.0841203094248[/C][/ROW]
[ROW][C]92[/C][C]184.6[/C][C]151.535954668092[/C][C]33.0640453319083[/C][/ROW]
[ROW][C]93[/C][C]211.4[/C][C]157.485954668092[/C][C]53.9140453319083[/C][/ROW]
[ROW][C]94[/C][C]215.3[/C][C]159.835954668092[/C][C]55.4640453319083[/C][/ROW]
[ROW][C]95[/C][C]215.9[/C][C]159.769483075479[/C][C]56.1305169245207[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4634&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4634&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
1102.7107.682206769808-4.98220676980847
2103.2109.144706769808-5.94470676980827
3105.6110.807206769808-5.20720676980822
4103.9109.119706769808-5.21970676980827
5107.2111.144706769808-3.94470676980828
6100.7110.757206769808-10.0572067698082
792.1109.444706769808-17.3447067698083
890.3105.364781747325-15.0647817473248
993.4111.314781747325-17.9147817473248
1098.5113.664781747325-15.1647817473248
11100.8113.598310154712-12.7983101547124
12102.3107.336807736924-5.03680773692372
13104.7107.682206769808-2.98220676980824
14101.1109.144706769808-8.04470676980827
15101.4110.807206769808-9.40720676980828
1699.5109.119706769808-9.61970676980828
1798.4111.144706769808-12.7447067698083
1896.3110.757206769808-14.4572067698083
19100.7109.444706769808-8.74470676980827
20101.2105.364781747325-4.16478174732478
21100.3111.314781747325-11.0147817473248
2297.8113.664781747325-15.8647817473248
2397.4113.598310154712-16.1983101547124
2498.6107.336807736924-8.73680773692373
2599.7107.682206769808-7.98220676980824
2699109.144706769808-10.1447067698083
2798.1110.807206769808-12.7072067698083
2897109.119706769808-12.1197067698083
2998.5111.144706769808-12.6447067698083
30103.8110.757206769808-6.95720676980827
31114.4109.4447067698084.95529323019174
32124.5105.36478174732519.1352182526752
33134.2111.31478174732522.8852182526752
34131.8113.66478174732518.1352182526752
35125.6113.59831015471212.0016898452876
36119.9107.33680773692412.5631922630763
37114.9107.6822067698087.21779323019176
38115.5109.1447067698086.35529323019173
39112.5110.8072067698081.69279323019172
40111.4109.1197067698082.28029323019173
41115.3111.1447067698084.15529323019172
42110.8110.7572067698080.0427932301917265
43103.7109.444706769808-5.74470676980827
44111.1115.696554488224-4.59655448822387
45113121.646554488224-8.64655448822388
46111.2123.996554488224-12.7965544882239
47117.6123.930082895611-6.3300828956115
48121.7117.6685804778234.0314195221772
49127.3118.0139795107079.28602048929267
50129.8119.47647951070710.3235204892927
51137.1121.13897951070715.9610204892926
52141.4119.45147951070721.9485204892926
53137.4121.47647951070715.9235204892927
54130.7121.0889795107079.61102048929263
55117.2119.776479510707-2.57647951070735
56110.895.033009006425715.7669909935743
57111.4100.98300900642610.4169909935743
58108.2103.3330090064264.86699099357429
59108.8103.2665374138135.53346258618667
60110.297.005034996024613.1949650039754
61109.597.350434028909212.1495659710908
62109.598.812934028909210.6870659710908
63116100.47543402890915.5245659710908
64111.298.787934028909212.4120659710908
65112.1100.81293402890911.2870659710908
66114100.42543402890913.5745659710908
67119.199.112934028909219.9870659710908
68114.1141.204181927193-27.1041819271926
69115.1147.154181927193-32.0541819271926
70115.4149.504181927193-34.1041819271926
71110.8159.769483075479-48.9694830754793
72116153.507980657691-37.5079806576906
73119.2153.853379690575-34.6533796905752
74126.5155.315879690575-28.8158796905752
75127.8156.978379690575-29.1783796905752
76131.3155.290879690575-23.9908796905752
77140.3157.315879690575-17.0158796905752
78137.3156.928379690575-19.6283796905752
79143155.615879690575-12.6158796905752
80134.5151.535954668092-17.0359546680917
81139.9157.485954668092-17.5859546680917
82159.3159.835954668092-0.535954668091706
83170.4159.76948307547910.6305169245207
84175153.50798065769121.4920193423094
85175.8153.85337969057521.9466203094248
86180.9155.31587969057525.5841203094248
87180.3156.97837969057523.3216203094248
88169.6155.29087969057514.3091203094248
89172.3157.31587969057514.9841203094248
90184.8156.92837969057527.8716203094248
91177.7155.61587969057522.0841203094248
92184.6151.53595466809233.0640453319083
93211.4157.48595466809253.9140453319083
94215.3159.83595466809255.4640453319083
95215.9159.76948307547956.1305169245207



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')