Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationFri, 16 Nov 2007 08:39:10 -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/16/t1195227699tmsphp3lww82tgd.htm/, Retrieved Sun, 05 May 2024 21:08:53 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=14463, Retrieved Sun, 05 May 2024 21:08:53 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordswoningen, rente, workshop 8, Q3
Estimated Impact274
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Q3_WS8_Rik_Tim_Giel] [2007-11-16 15:39:10] [9e9b353257fb9cba287819b8c155b30d] [Current]
Feedback Forum

Post a new message
Dataseries X:
3481	0
3592	0
3472	0
2312	0
3322	0
4348	0
3603	0
2700	0
2640	0
2918	0
3181	0
4151	0
4024	0
3431	0
3870	1
2618	0
3577	0
5268	0
3833	0
3442	0
3217	0
3401	0
3973	0
4628	0
4489	0
4130	0
4687	0
3179	0
4280	0
4214	0
4154	0
3938	0
3129	1
3588	1
4169	1
4349	1
4696	1
4714	1
4892	1
3373	1
4453	1
5174	1
4916	1
4690	1
3841	1
4325	1
4559	1
5370	1
4693	0
5177	0
4860	0
3368	0
4796	0
4979	0
5082	0
4815	0
3709	0
3985	0
4117	0
4022	0
4136	0
4341	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=14463&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=14463&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14463&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
Won[t] = + 3620.3186440678 + 287.457627118644`Rente `[t] -76.996233521657M1[t] -120.682297551789M2[t] + 44.3745762711868M3[t] -1305.68662900188M4[t] -211.439359698682M5[t] + 478.207909604521M6[t] -22.1448210922781M7[t] -444.097551789077M8[t] -1132.74180790960M9[t] -817.894538606403M10[t] -482.847269303201M11[t] + 21.3527306967985t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Won[t] =  +  3620.3186440678 +  287.457627118644`Rente
`[t] -76.996233521657M1[t] -120.682297551789M2[t] +  44.3745762711868M3[t] -1305.68662900188M4[t] -211.439359698682M5[t] +  478.207909604521M6[t] -22.1448210922781M7[t] -444.097551789077M8[t] -1132.74180790960M9[t] -817.894538606403M10[t] -482.847269303201M11[t] +  21.3527306967985t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14463&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Won[t] =  +  3620.3186440678 +  287.457627118644`Rente
`[t] -76.996233521657M1[t] -120.682297551789M2[t] +  44.3745762711868M3[t] -1305.68662900188M4[t] -211.439359698682M5[t] +  478.207909604521M6[t] -22.1448210922781M7[t] -444.097551789077M8[t] -1132.74180790960M9[t] -817.894538606403M10[t] -482.847269303201M11[t] +  21.3527306967985t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14463&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14463&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
Won[t] = + 3620.3186440678 + 287.457627118644`Rente `[t] -76.996233521657M1[t] -120.682297551789M2[t] + 44.3745762711868M3[t] -1305.68662900188M4[t] -211.439359698682M5[t] + 478.207909604521M6[t] -22.1448210922781M7[t] -444.097551789077M8[t] -1132.74180790960M9[t] -817.894538606403M10[t] -482.847269303201M11[t] + 21.3527306967985t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)3620.3186440678185.88015619.476600
`Rente `287.457627118644108.3120372.6540.0107570.005378
M1-76.996233521657218.275426-0.35270.7258220.362911
M2-120.682297551789218.20768-0.55310.5827880.291394
M344.3745762711868227.686780.19490.8462990.42315
M4-1305.68662900188227.945405-5.72811e-060
M5-211.439359698682227.777231-0.92830.3579110.178955
M6478.207909604521227.6398622.10070.0409430.020471
M7-22.1448210922781227.533356-0.09730.9228730.461437
M8-444.097551789077227.457755-1.95240.0567310.028366
M9-1132.74180790960226.570857-4.99958e-064e-06
M10-817.894538606403226.493158-3.61110.0007270.000364
M11-482.847269303201226.446526-2.13230.0381280.019064
t21.35273069679852.6533968.047300

\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) & 3620.3186440678 & 185.880156 & 19.4766 & 0 & 0 \tabularnewline
`Rente
` & 287.457627118644 & 108.312037 & 2.654 & 0.010757 & 0.005378 \tabularnewline
M1 & -76.996233521657 & 218.275426 & -0.3527 & 0.725822 & 0.362911 \tabularnewline
M2 & -120.682297551789 & 218.20768 & -0.5531 & 0.582788 & 0.291394 \tabularnewline
M3 & 44.3745762711868 & 227.68678 & 0.1949 & 0.846299 & 0.42315 \tabularnewline
M4 & -1305.68662900188 & 227.945405 & -5.7281 & 1e-06 & 0 \tabularnewline
M5 & -211.439359698682 & 227.777231 & -0.9283 & 0.357911 & 0.178955 \tabularnewline
M6 & 478.207909604521 & 227.639862 & 2.1007 & 0.040943 & 0.020471 \tabularnewline
M7 & -22.1448210922781 & 227.533356 & -0.0973 & 0.922873 & 0.461437 \tabularnewline
M8 & -444.097551789077 & 227.457755 & -1.9524 & 0.056731 & 0.028366 \tabularnewline
M9 & -1132.74180790960 & 226.570857 & -4.9995 & 8e-06 & 4e-06 \tabularnewline
M10 & -817.894538606403 & 226.493158 & -3.6111 & 0.000727 & 0.000364 \tabularnewline
M11 & -482.847269303201 & 226.446526 & -2.1323 & 0.038128 & 0.019064 \tabularnewline
t & 21.3527306967985 & 2.653396 & 8.0473 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14463&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]3620.3186440678[/C][C]185.880156[/C][C]19.4766[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]`Rente
`[/C][C]287.457627118644[/C][C]108.312037[/C][C]2.654[/C][C]0.010757[/C][C]0.005378[/C][/ROW]
[ROW][C]M1[/C][C]-76.996233521657[/C][C]218.275426[/C][C]-0.3527[/C][C]0.725822[/C][C]0.362911[/C][/ROW]
[ROW][C]M2[/C][C]-120.682297551789[/C][C]218.20768[/C][C]-0.5531[/C][C]0.582788[/C][C]0.291394[/C][/ROW]
[ROW][C]M3[/C][C]44.3745762711868[/C][C]227.68678[/C][C]0.1949[/C][C]0.846299[/C][C]0.42315[/C][/ROW]
[ROW][C]M4[/C][C]-1305.68662900188[/C][C]227.945405[/C][C]-5.7281[/C][C]1e-06[/C][C]0[/C][/ROW]
[ROW][C]M5[/C][C]-211.439359698682[/C][C]227.777231[/C][C]-0.9283[/C][C]0.357911[/C][C]0.178955[/C][/ROW]
[ROW][C]M6[/C][C]478.207909604521[/C][C]227.639862[/C][C]2.1007[/C][C]0.040943[/C][C]0.020471[/C][/ROW]
[ROW][C]M7[/C][C]-22.1448210922781[/C][C]227.533356[/C][C]-0.0973[/C][C]0.922873[/C][C]0.461437[/C][/ROW]
[ROW][C]M8[/C][C]-444.097551789077[/C][C]227.457755[/C][C]-1.9524[/C][C]0.056731[/C][C]0.028366[/C][/ROW]
[ROW][C]M9[/C][C]-1132.74180790960[/C][C]226.570857[/C][C]-4.9995[/C][C]8e-06[/C][C]4e-06[/C][/ROW]
[ROW][C]M10[/C][C]-817.894538606403[/C][C]226.493158[/C][C]-3.6111[/C][C]0.000727[/C][C]0.000364[/C][/ROW]
[ROW][C]M11[/C][C]-482.847269303201[/C][C]226.446526[/C][C]-2.1323[/C][C]0.038128[/C][C]0.019064[/C][/ROW]
[ROW][C]t[/C][C]21.3527306967985[/C][C]2.653396[/C][C]8.0473[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14463&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14463&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)3620.3186440678185.88015619.476600
`Rente `287.457627118644108.3120372.6540.0107570.005378
M1-76.996233521657218.275426-0.35270.7258220.362911
M2-120.682297551789218.20768-0.55310.5827880.291394
M344.3745762711868227.686780.19490.8462990.42315
M4-1305.68662900188227.945405-5.72811e-060
M5-211.439359698682227.777231-0.92830.3579110.178955
M6478.207909604521227.6398622.10070.0409430.020471
M7-22.1448210922781227.533356-0.09730.9228730.461437
M8-444.097551789077227.457755-1.95240.0567310.028366
M9-1132.74180790960226.570857-4.99958e-064e-06
M10-817.894538606403226.493158-3.61110.0007270.000364
M11-482.847269303201226.446526-2.13230.0381280.019064
t21.35273069679852.6533968.047300







Multiple Linear Regression - Regression Statistics
Multiple R0.898934045452476
R-squared0.808082418073554
Adjusted R-squared0.756104739635142
F-TEST (value)15.5467200989178
F-TEST (DF numerator)13
F-TEST (DF denominator)48
p-value5.49782441794378e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation358.018814833736
Sum Squared Residuals6152518.64519774

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.898934045452476 \tabularnewline
R-squared & 0.808082418073554 \tabularnewline
Adjusted R-squared & 0.756104739635142 \tabularnewline
F-TEST (value) & 15.5467200989178 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 48 \tabularnewline
p-value & 5.49782441794378e-13 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 358.018814833736 \tabularnewline
Sum Squared Residuals & 6152518.64519774 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14463&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.898934045452476[/C][/ROW]
[ROW][C]R-squared[/C][C]0.808082418073554[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.756104739635142[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]15.5467200989178[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]48[/C][/ROW]
[ROW][C]p-value[/C][C]5.49782441794378e-13[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]358.018814833736[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]6152518.64519774[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14463&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14463&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.898934045452476
R-squared0.808082418073554
Adjusted R-squared0.756104739635142
F-TEST (value)15.5467200989178
F-TEST (DF numerator)13
F-TEST (DF denominator)48
p-value5.49782441794378e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation358.018814833736
Sum Squared Residuals6152518.64519774







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
134813564.67514124294-83.6751412429386
235923542.3418079096049.6581920903955
334723728.75141242938-256.751412429379
423122400.04293785311-88.042937853107
533223515.64293785311-193.642937853107
643484226.64293785311121.357062146893
736033747.64293785311-144.642937853107
827003347.04293785311-647.042937853108
926402679.75141242938-39.7514124293791
1029183015.95141242938-97.9514124293785
1131813372.35141242938-191.351412429378
1241513876.55141242938274.448587570621
1340243820.90790960452203.092090395481
1434313798.57457627119-367.574576271187
1538704272.44180790960-402.441807909605
1626182656.27570621469-38.2757062146893
1735773771.87570621469-194.875706214689
1852684482.87570621469785.12429378531
1938334003.87570621469-170.875706214689
2034423603.27570621469-161.275706214689
2132172935.98418079096281.01581920904
2234013272.18418079096128.815819209040
2339733628.58418079096344.415819209039
2446284132.78418079096495.215819209039
2544894077.1406779661411.859322033898
2641304054.8073446327775.192655367232
2746874241.21694915254445.783050847458
2831792912.50847457627266.491525423729
2942804028.10847457627251.891525423729
3042144739.10847457627-525.108474576272
3141544260.10847457627-106.108474576271
3239383859.5084745762778.491525423729
3331293479.67457627119-350.674576271186
3435883815.87457627119-227.874576271186
3541694172.27457627119-3.2745762711867
3643494676.47457627119-327.474576271186
3746964620.8310734463375.1689265536724
3847144598.497740113115.502259887006
3948924784.90734463277107.092655367232
4033733456.1988700565-83.1988700564972
4144534571.7988700565-118.798870056497
4251745282.7988700565-108.798870056497
4349164803.7988700565112.201129943503
4446904403.19887005650286.801129943503
4538413735.90734463277105.092655367232
4643254072.10734463277252.892655367232
4745594428.50734463277130.492655367231
4853704932.70734463277437.292655367232
4946934589.60621468927103.393785310735
5051774567.27288135593609.727118644068
5148604753.68248587571106.317514124294
5233683424.97401129944-56.9740112994351
5347964540.57401129943255.425988700565
5449795251.57401129944-272.574011299435
5550824772.57401129944309.425988700565
5648154371.97401129944443.025988700565
5737093704.682485875714.31751412429412
5839854040.88248587571-55.8824858757062
5941174397.28248587571-280.282485875707
6040224901.48248587571-879.482485875706
6141364845.83898305085-709.838983050848
6243414823.50564971751-482.505649717514

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 3481 & 3564.67514124294 & -83.6751412429386 \tabularnewline
2 & 3592 & 3542.34180790960 & 49.6581920903955 \tabularnewline
3 & 3472 & 3728.75141242938 & -256.751412429379 \tabularnewline
4 & 2312 & 2400.04293785311 & -88.042937853107 \tabularnewline
5 & 3322 & 3515.64293785311 & -193.642937853107 \tabularnewline
6 & 4348 & 4226.64293785311 & 121.357062146893 \tabularnewline
7 & 3603 & 3747.64293785311 & -144.642937853107 \tabularnewline
8 & 2700 & 3347.04293785311 & -647.042937853108 \tabularnewline
9 & 2640 & 2679.75141242938 & -39.7514124293791 \tabularnewline
10 & 2918 & 3015.95141242938 & -97.9514124293785 \tabularnewline
11 & 3181 & 3372.35141242938 & -191.351412429378 \tabularnewline
12 & 4151 & 3876.55141242938 & 274.448587570621 \tabularnewline
13 & 4024 & 3820.90790960452 & 203.092090395481 \tabularnewline
14 & 3431 & 3798.57457627119 & -367.574576271187 \tabularnewline
15 & 3870 & 4272.44180790960 & -402.441807909605 \tabularnewline
16 & 2618 & 2656.27570621469 & -38.2757062146893 \tabularnewline
17 & 3577 & 3771.87570621469 & -194.875706214689 \tabularnewline
18 & 5268 & 4482.87570621469 & 785.12429378531 \tabularnewline
19 & 3833 & 4003.87570621469 & -170.875706214689 \tabularnewline
20 & 3442 & 3603.27570621469 & -161.275706214689 \tabularnewline
21 & 3217 & 2935.98418079096 & 281.01581920904 \tabularnewline
22 & 3401 & 3272.18418079096 & 128.815819209040 \tabularnewline
23 & 3973 & 3628.58418079096 & 344.415819209039 \tabularnewline
24 & 4628 & 4132.78418079096 & 495.215819209039 \tabularnewline
25 & 4489 & 4077.1406779661 & 411.859322033898 \tabularnewline
26 & 4130 & 4054.80734463277 & 75.192655367232 \tabularnewline
27 & 4687 & 4241.21694915254 & 445.783050847458 \tabularnewline
28 & 3179 & 2912.50847457627 & 266.491525423729 \tabularnewline
29 & 4280 & 4028.10847457627 & 251.891525423729 \tabularnewline
30 & 4214 & 4739.10847457627 & -525.108474576272 \tabularnewline
31 & 4154 & 4260.10847457627 & -106.108474576271 \tabularnewline
32 & 3938 & 3859.50847457627 & 78.491525423729 \tabularnewline
33 & 3129 & 3479.67457627119 & -350.674576271186 \tabularnewline
34 & 3588 & 3815.87457627119 & -227.874576271186 \tabularnewline
35 & 4169 & 4172.27457627119 & -3.2745762711867 \tabularnewline
36 & 4349 & 4676.47457627119 & -327.474576271186 \tabularnewline
37 & 4696 & 4620.83107344633 & 75.1689265536724 \tabularnewline
38 & 4714 & 4598.497740113 & 115.502259887006 \tabularnewline
39 & 4892 & 4784.90734463277 & 107.092655367232 \tabularnewline
40 & 3373 & 3456.1988700565 & -83.1988700564972 \tabularnewline
41 & 4453 & 4571.7988700565 & -118.798870056497 \tabularnewline
42 & 5174 & 5282.7988700565 & -108.798870056497 \tabularnewline
43 & 4916 & 4803.7988700565 & 112.201129943503 \tabularnewline
44 & 4690 & 4403.19887005650 & 286.801129943503 \tabularnewline
45 & 3841 & 3735.90734463277 & 105.092655367232 \tabularnewline
46 & 4325 & 4072.10734463277 & 252.892655367232 \tabularnewline
47 & 4559 & 4428.50734463277 & 130.492655367231 \tabularnewline
48 & 5370 & 4932.70734463277 & 437.292655367232 \tabularnewline
49 & 4693 & 4589.60621468927 & 103.393785310735 \tabularnewline
50 & 5177 & 4567.27288135593 & 609.727118644068 \tabularnewline
51 & 4860 & 4753.68248587571 & 106.317514124294 \tabularnewline
52 & 3368 & 3424.97401129944 & -56.9740112994351 \tabularnewline
53 & 4796 & 4540.57401129943 & 255.425988700565 \tabularnewline
54 & 4979 & 5251.57401129944 & -272.574011299435 \tabularnewline
55 & 5082 & 4772.57401129944 & 309.425988700565 \tabularnewline
56 & 4815 & 4371.97401129944 & 443.025988700565 \tabularnewline
57 & 3709 & 3704.68248587571 & 4.31751412429412 \tabularnewline
58 & 3985 & 4040.88248587571 & -55.8824858757062 \tabularnewline
59 & 4117 & 4397.28248587571 & -280.282485875707 \tabularnewline
60 & 4022 & 4901.48248587571 & -879.482485875706 \tabularnewline
61 & 4136 & 4845.83898305085 & -709.838983050848 \tabularnewline
62 & 4341 & 4823.50564971751 & -482.505649717514 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14463&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]3481[/C][C]3564.67514124294[/C][C]-83.6751412429386[/C][/ROW]
[ROW][C]2[/C][C]3592[/C][C]3542.34180790960[/C][C]49.6581920903955[/C][/ROW]
[ROW][C]3[/C][C]3472[/C][C]3728.75141242938[/C][C]-256.751412429379[/C][/ROW]
[ROW][C]4[/C][C]2312[/C][C]2400.04293785311[/C][C]-88.042937853107[/C][/ROW]
[ROW][C]5[/C][C]3322[/C][C]3515.64293785311[/C][C]-193.642937853107[/C][/ROW]
[ROW][C]6[/C][C]4348[/C][C]4226.64293785311[/C][C]121.357062146893[/C][/ROW]
[ROW][C]7[/C][C]3603[/C][C]3747.64293785311[/C][C]-144.642937853107[/C][/ROW]
[ROW][C]8[/C][C]2700[/C][C]3347.04293785311[/C][C]-647.042937853108[/C][/ROW]
[ROW][C]9[/C][C]2640[/C][C]2679.75141242938[/C][C]-39.7514124293791[/C][/ROW]
[ROW][C]10[/C][C]2918[/C][C]3015.95141242938[/C][C]-97.9514124293785[/C][/ROW]
[ROW][C]11[/C][C]3181[/C][C]3372.35141242938[/C][C]-191.351412429378[/C][/ROW]
[ROW][C]12[/C][C]4151[/C][C]3876.55141242938[/C][C]274.448587570621[/C][/ROW]
[ROW][C]13[/C][C]4024[/C][C]3820.90790960452[/C][C]203.092090395481[/C][/ROW]
[ROW][C]14[/C][C]3431[/C][C]3798.57457627119[/C][C]-367.574576271187[/C][/ROW]
[ROW][C]15[/C][C]3870[/C][C]4272.44180790960[/C][C]-402.441807909605[/C][/ROW]
[ROW][C]16[/C][C]2618[/C][C]2656.27570621469[/C][C]-38.2757062146893[/C][/ROW]
[ROW][C]17[/C][C]3577[/C][C]3771.87570621469[/C][C]-194.875706214689[/C][/ROW]
[ROW][C]18[/C][C]5268[/C][C]4482.87570621469[/C][C]785.12429378531[/C][/ROW]
[ROW][C]19[/C][C]3833[/C][C]4003.87570621469[/C][C]-170.875706214689[/C][/ROW]
[ROW][C]20[/C][C]3442[/C][C]3603.27570621469[/C][C]-161.275706214689[/C][/ROW]
[ROW][C]21[/C][C]3217[/C][C]2935.98418079096[/C][C]281.01581920904[/C][/ROW]
[ROW][C]22[/C][C]3401[/C][C]3272.18418079096[/C][C]128.815819209040[/C][/ROW]
[ROW][C]23[/C][C]3973[/C][C]3628.58418079096[/C][C]344.415819209039[/C][/ROW]
[ROW][C]24[/C][C]4628[/C][C]4132.78418079096[/C][C]495.215819209039[/C][/ROW]
[ROW][C]25[/C][C]4489[/C][C]4077.1406779661[/C][C]411.859322033898[/C][/ROW]
[ROW][C]26[/C][C]4130[/C][C]4054.80734463277[/C][C]75.192655367232[/C][/ROW]
[ROW][C]27[/C][C]4687[/C][C]4241.21694915254[/C][C]445.783050847458[/C][/ROW]
[ROW][C]28[/C][C]3179[/C][C]2912.50847457627[/C][C]266.491525423729[/C][/ROW]
[ROW][C]29[/C][C]4280[/C][C]4028.10847457627[/C][C]251.891525423729[/C][/ROW]
[ROW][C]30[/C][C]4214[/C][C]4739.10847457627[/C][C]-525.108474576272[/C][/ROW]
[ROW][C]31[/C][C]4154[/C][C]4260.10847457627[/C][C]-106.108474576271[/C][/ROW]
[ROW][C]32[/C][C]3938[/C][C]3859.50847457627[/C][C]78.491525423729[/C][/ROW]
[ROW][C]33[/C][C]3129[/C][C]3479.67457627119[/C][C]-350.674576271186[/C][/ROW]
[ROW][C]34[/C][C]3588[/C][C]3815.87457627119[/C][C]-227.874576271186[/C][/ROW]
[ROW][C]35[/C][C]4169[/C][C]4172.27457627119[/C][C]-3.2745762711867[/C][/ROW]
[ROW][C]36[/C][C]4349[/C][C]4676.47457627119[/C][C]-327.474576271186[/C][/ROW]
[ROW][C]37[/C][C]4696[/C][C]4620.83107344633[/C][C]75.1689265536724[/C][/ROW]
[ROW][C]38[/C][C]4714[/C][C]4598.497740113[/C][C]115.502259887006[/C][/ROW]
[ROW][C]39[/C][C]4892[/C][C]4784.90734463277[/C][C]107.092655367232[/C][/ROW]
[ROW][C]40[/C][C]3373[/C][C]3456.1988700565[/C][C]-83.1988700564972[/C][/ROW]
[ROW][C]41[/C][C]4453[/C][C]4571.7988700565[/C][C]-118.798870056497[/C][/ROW]
[ROW][C]42[/C][C]5174[/C][C]5282.7988700565[/C][C]-108.798870056497[/C][/ROW]
[ROW][C]43[/C][C]4916[/C][C]4803.7988700565[/C][C]112.201129943503[/C][/ROW]
[ROW][C]44[/C][C]4690[/C][C]4403.19887005650[/C][C]286.801129943503[/C][/ROW]
[ROW][C]45[/C][C]3841[/C][C]3735.90734463277[/C][C]105.092655367232[/C][/ROW]
[ROW][C]46[/C][C]4325[/C][C]4072.10734463277[/C][C]252.892655367232[/C][/ROW]
[ROW][C]47[/C][C]4559[/C][C]4428.50734463277[/C][C]130.492655367231[/C][/ROW]
[ROW][C]48[/C][C]5370[/C][C]4932.70734463277[/C][C]437.292655367232[/C][/ROW]
[ROW][C]49[/C][C]4693[/C][C]4589.60621468927[/C][C]103.393785310735[/C][/ROW]
[ROW][C]50[/C][C]5177[/C][C]4567.27288135593[/C][C]609.727118644068[/C][/ROW]
[ROW][C]51[/C][C]4860[/C][C]4753.68248587571[/C][C]106.317514124294[/C][/ROW]
[ROW][C]52[/C][C]3368[/C][C]3424.97401129944[/C][C]-56.9740112994351[/C][/ROW]
[ROW][C]53[/C][C]4796[/C][C]4540.57401129943[/C][C]255.425988700565[/C][/ROW]
[ROW][C]54[/C][C]4979[/C][C]5251.57401129944[/C][C]-272.574011299435[/C][/ROW]
[ROW][C]55[/C][C]5082[/C][C]4772.57401129944[/C][C]309.425988700565[/C][/ROW]
[ROW][C]56[/C][C]4815[/C][C]4371.97401129944[/C][C]443.025988700565[/C][/ROW]
[ROW][C]57[/C][C]3709[/C][C]3704.68248587571[/C][C]4.31751412429412[/C][/ROW]
[ROW][C]58[/C][C]3985[/C][C]4040.88248587571[/C][C]-55.8824858757062[/C][/ROW]
[ROW][C]59[/C][C]4117[/C][C]4397.28248587571[/C][C]-280.282485875707[/C][/ROW]
[ROW][C]60[/C][C]4022[/C][C]4901.48248587571[/C][C]-879.482485875706[/C][/ROW]
[ROW][C]61[/C][C]4136[/C][C]4845.83898305085[/C][C]-709.838983050848[/C][/ROW]
[ROW][C]62[/C][C]4341[/C][C]4823.50564971751[/C][C]-482.505649717514[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14463&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14463&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
134813564.67514124294-83.6751412429386
235923542.3418079096049.6581920903955
334723728.75141242938-256.751412429379
423122400.04293785311-88.042937853107
533223515.64293785311-193.642937853107
643484226.64293785311121.357062146893
736033747.64293785311-144.642937853107
827003347.04293785311-647.042937853108
926402679.75141242938-39.7514124293791
1029183015.95141242938-97.9514124293785
1131813372.35141242938-191.351412429378
1241513876.55141242938274.448587570621
1340243820.90790960452203.092090395481
1434313798.57457627119-367.574576271187
1538704272.44180790960-402.441807909605
1626182656.27570621469-38.2757062146893
1735773771.87570621469-194.875706214689
1852684482.87570621469785.12429378531
1938334003.87570621469-170.875706214689
2034423603.27570621469-161.275706214689
2132172935.98418079096281.01581920904
2234013272.18418079096128.815819209040
2339733628.58418079096344.415819209039
2446284132.78418079096495.215819209039
2544894077.1406779661411.859322033898
2641304054.8073446327775.192655367232
2746874241.21694915254445.783050847458
2831792912.50847457627266.491525423729
2942804028.10847457627251.891525423729
3042144739.10847457627-525.108474576272
3141544260.10847457627-106.108474576271
3239383859.5084745762778.491525423729
3331293479.67457627119-350.674576271186
3435883815.87457627119-227.874576271186
3541694172.27457627119-3.2745762711867
3643494676.47457627119-327.474576271186
3746964620.8310734463375.1689265536724
3847144598.497740113115.502259887006
3948924784.90734463277107.092655367232
4033733456.1988700565-83.1988700564972
4144534571.7988700565-118.798870056497
4251745282.7988700565-108.798870056497
4349164803.7988700565112.201129943503
4446904403.19887005650286.801129943503
4538413735.90734463277105.092655367232
4643254072.10734463277252.892655367232
4745594428.50734463277130.492655367231
4853704932.70734463277437.292655367232
4946934589.60621468927103.393785310735
5051774567.27288135593609.727118644068
5148604753.68248587571106.317514124294
5233683424.97401129944-56.9740112994351
5347964540.57401129943255.425988700565
5449795251.57401129944-272.574011299435
5550824772.57401129944309.425988700565
5648154371.97401129944443.025988700565
5737093704.682485875714.31751412429412
5839854040.88248587571-55.8824858757062
5941174397.28248587571-280.282485875707
6040224901.48248587571-879.482485875706
6141364845.83898305085-709.838983050848
6243414823.50564971751-482.505649717514



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