Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationSun, 18 Nov 2007 09:05:02 -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/18/t1195401575rkcxgfio9ctlhge.htm/, Retrieved Sun, 05 May 2024 04:25:20 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=5594, Retrieved Sun, 05 May 2024 04:25:20 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordspaper, wim, dhondt, model
Estimated Impact213
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Paper bouwen model] [2007-11-18 16:05:02] [014bfc073eb4f6c1ae65a07cc44c50c0] [Current]
Feedback Forum

Post a new message
Dataseries X:
0	115.4
0	106.9
0	107.1
0	99.3
0	99.2
0	108.3
0	105.6
0	99.5
0	107.4
0	93.1
0	88.1
0	110.7
0	113.1
0	99.6
0	93.6
0	98.6
0	99.6
0	114.3
1	107.8
1	101.2
1	112.5
1	100.5
1	93.9
1	116.2
1	112
1	106.4
1	95.7
1	96
1	95.8
1	103
1	102.2
1	98.4
1	111.4
1	86.6
1	91.3
1	107.9
1	101.8
1	104.4
1	93.4
1	100.1
1	98.5
1	112.9
1	101.4
1	107.1
1	110.8
1	90.3
1	95.5
1	111.4
1	113
1	107.5
1	95.9
1	106.3
1	105.2
1	117.2
1	106.9
1	108.2
1	110
1	96.1
1	100.6




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=5594&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=5594&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5594&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
B [t] = + 110.608581349206 -1.81894841269841A[t] -0.378570601851804M1[t] -6.55542493386244M2[t] -14.4522792658730M3[t] -11.6091335978836M4[t] -12.0859879298942M5[t] -0.682842261904766M6[t] -6.75590691137567M7[t] -8.73276124338625M8[t] -1.26961557539683M9[t] -18.4464699074074M10[t] -17.963324239418M11[t] + 0.0768543320105817t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
B
[t] =  +  110.608581349206 -1.81894841269841A[t] -0.378570601851804M1[t] -6.55542493386244M2[t] -14.4522792658730M3[t] -11.6091335978836M4[t] -12.0859879298942M5[t] -0.682842261904766M6[t] -6.75590691137567M7[t] -8.73276124338625M8[t] -1.26961557539683M9[t] -18.4464699074074M10[t] -17.963324239418M11[t] +  0.0768543320105817t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5594&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]B
[t] =  +  110.608581349206 -1.81894841269841A[t] -0.378570601851804M1[t] -6.55542493386244M2[t] -14.4522792658730M3[t] -11.6091335978836M4[t] -12.0859879298942M5[t] -0.682842261904766M6[t] -6.75590691137567M7[t] -8.73276124338625M8[t] -1.26961557539683M9[t] -18.4464699074074M10[t] -17.963324239418M11[t] +  0.0768543320105817t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5594&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5594&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
B [t] = + 110.608581349206 -1.81894841269841A[t] -0.378570601851804M1[t] -6.55542493386244M2[t] -14.4522792658730M3[t] -11.6091335978836M4[t] -12.0859879298942M5[t] -0.682842261904766M6[t] -6.75590691137567M7[t] -8.73276124338625M8[t] -1.26961557539683M9[t] -18.4464699074074M10[t] -17.963324239418M11[t] + 0.0768543320105817t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)110.6085813492062.39371746.207900
A-1.818948412698412.063509-0.88150.3827410.19137
M1-0.3785706018518042.904091-0.13040.8968640.448432
M2-6.555424933862442.904031-2.25740.0288860.014443
M3-14.45227926587302.905029-4.97491e-055e-06
M4-11.60913359788362.907084-3.99340.0002380.000119
M5-12.08598792989422.910194-4.1530.0001447.2e-05
M6-0.6828422619047662.914355-0.23430.8158120.407906
M7-6.755906911375672.898667-2.33070.024310.012155
M8-8.732761243386252.898687-3.01270.004240.00212
M9-1.269615575396832.899767-0.43780.6636010.331801
M10-18.44646990740742.901905-6.356700
M11-17.9633242394182.9051-6.183400
t0.07685433201058170.0554321.38650.1724370.086218

\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) & 110.608581349206 & 2.393717 & 46.2079 & 0 & 0 \tabularnewline
A & -1.81894841269841 & 2.063509 & -0.8815 & 0.382741 & 0.19137 \tabularnewline
M1 & -0.378570601851804 & 2.904091 & -0.1304 & 0.896864 & 0.448432 \tabularnewline
M2 & -6.55542493386244 & 2.904031 & -2.2574 & 0.028886 & 0.014443 \tabularnewline
M3 & -14.4522792658730 & 2.905029 & -4.9749 & 1e-05 & 5e-06 \tabularnewline
M4 & -11.6091335978836 & 2.907084 & -3.9934 & 0.000238 & 0.000119 \tabularnewline
M5 & -12.0859879298942 & 2.910194 & -4.153 & 0.000144 & 7.2e-05 \tabularnewline
M6 & -0.682842261904766 & 2.914355 & -0.2343 & 0.815812 & 0.407906 \tabularnewline
M7 & -6.75590691137567 & 2.898667 & -2.3307 & 0.02431 & 0.012155 \tabularnewline
M8 & -8.73276124338625 & 2.898687 & -3.0127 & 0.00424 & 0.00212 \tabularnewline
M9 & -1.26961557539683 & 2.899767 & -0.4378 & 0.663601 & 0.331801 \tabularnewline
M10 & -18.4464699074074 & 2.901905 & -6.3567 & 0 & 0 \tabularnewline
M11 & -17.963324239418 & 2.9051 & -6.1834 & 0 & 0 \tabularnewline
t & 0.0768543320105817 & 0.055432 & 1.3865 & 0.172437 & 0.086218 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5594&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]110.608581349206[/C][C]2.393717[/C][C]46.2079[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]A[/C][C]-1.81894841269841[/C][C]2.063509[/C][C]-0.8815[/C][C]0.382741[/C][C]0.19137[/C][/ROW]
[ROW][C]M1[/C][C]-0.378570601851804[/C][C]2.904091[/C][C]-0.1304[/C][C]0.896864[/C][C]0.448432[/C][/ROW]
[ROW][C]M2[/C][C]-6.55542493386244[/C][C]2.904031[/C][C]-2.2574[/C][C]0.028886[/C][C]0.014443[/C][/ROW]
[ROW][C]M3[/C][C]-14.4522792658730[/C][C]2.905029[/C][C]-4.9749[/C][C]1e-05[/C][C]5e-06[/C][/ROW]
[ROW][C]M4[/C][C]-11.6091335978836[/C][C]2.907084[/C][C]-3.9934[/C][C]0.000238[/C][C]0.000119[/C][/ROW]
[ROW][C]M5[/C][C]-12.0859879298942[/C][C]2.910194[/C][C]-4.153[/C][C]0.000144[/C][C]7.2e-05[/C][/ROW]
[ROW][C]M6[/C][C]-0.682842261904766[/C][C]2.914355[/C][C]-0.2343[/C][C]0.815812[/C][C]0.407906[/C][/ROW]
[ROW][C]M7[/C][C]-6.75590691137567[/C][C]2.898667[/C][C]-2.3307[/C][C]0.02431[/C][C]0.012155[/C][/ROW]
[ROW][C]M8[/C][C]-8.73276124338625[/C][C]2.898687[/C][C]-3.0127[/C][C]0.00424[/C][C]0.00212[/C][/ROW]
[ROW][C]M9[/C][C]-1.26961557539683[/C][C]2.899767[/C][C]-0.4378[/C][C]0.663601[/C][C]0.331801[/C][/ROW]
[ROW][C]M10[/C][C]-18.4464699074074[/C][C]2.901905[/C][C]-6.3567[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M11[/C][C]-17.963324239418[/C][C]2.9051[/C][C]-6.1834[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]t[/C][C]0.0768543320105817[/C][C]0.055432[/C][C]1.3865[/C][C]0.172437[/C][C]0.086218[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5594&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5594&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)110.6085813492062.39371746.207900
A-1.818948412698412.063509-0.88150.3827410.19137
M1-0.3785706018518042.904091-0.13040.8968640.448432
M2-6.555424933862442.904031-2.25740.0288860.014443
M3-14.45227926587302.905029-4.97491e-055e-06
M4-11.60913359788362.907084-3.99340.0002380.000119
M5-12.08598792989422.910194-4.1530.0001447.2e-05
M6-0.6828422619047662.914355-0.23430.8158120.407906
M7-6.755906911375672.898667-2.33070.024310.012155
M8-8.732761243386252.898687-3.01270.004240.00212
M9-1.269615575396832.899767-0.43780.6636010.331801
M10-18.44646990740742.901905-6.356700
M11-17.9633242394182.9051-6.183400
t0.07685433201058170.0554321.38650.1724370.086218







Multiple Linear Regression - Regression Statistics
Multiple R0.862898988561897
R-squared0.744594664461145
Adjusted R-squared0.670810900861031
F-TEST (value)10.0915787990516
F-TEST (DF numerator)13
F-TEST (DF denominator)45
p-value1.94781590856508e-09
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation4.31989105790929
Sum Squared Residuals839.76564384921

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.862898988561897 \tabularnewline
R-squared & 0.744594664461145 \tabularnewline
Adjusted R-squared & 0.670810900861031 \tabularnewline
F-TEST (value) & 10.0915787990516 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 45 \tabularnewline
p-value & 1.94781590856508e-09 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 4.31989105790929 \tabularnewline
Sum Squared Residuals & 839.76564384921 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5594&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.862898988561897[/C][/ROW]
[ROW][C]R-squared[/C][C]0.744594664461145[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.670810900861031[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]10.0915787990516[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]45[/C][/ROW]
[ROW][C]p-value[/C][C]1.94781590856508e-09[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]4.31989105790929[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]839.76564384921[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5594&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5594&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.862898988561897
R-squared0.744594664461145
Adjusted R-squared0.670810900861031
F-TEST (value)10.0915787990516
F-TEST (DF numerator)13
F-TEST (DF denominator)45
p-value1.94781590856508e-09
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation4.31989105790929
Sum Squared Residuals839.76564384921







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1115.4110.3068650793655.09313492063515
2106.9104.2068650793652.69313492063491
3107.196.38686507936510.7131349206349
499.399.306865079365-0.00686507936508507
599.298.9068650793650.293134920634920
6108.3110.386865079365-2.08686507936509
7105.6104.3906547619051.20934523809522
899.5102.490654761905-2.99065476190477
9107.4110.030654761905-2.63065476190477
1093.192.93065476190480.169345238095228
1188.193.4906547619048-5.39065476190477
12110.7111.530833333333-0.830833333333343
13113.1111.2291170634921.87088293650787
1499.6105.129117063492-5.52911706349207
1593.697.309117063492-3.70911706349208
1698.6100.229117063492-1.62911706349207
1799.699.829117063492-0.229117063492073
18114.3111.3091170634922.99088293650793
19107.8103.4939583333334.30604166666666
20101.2101.593958333333-0.393958333333335
21112.5109.1339583333333.36604166666666
22100.592.03395833333338.46604166666667
2393.992.59395833333331.30604166666667
24116.2110.6341369047625.56586309523809
25112110.3324206349211.66757936507931
26106.4104.2324206349212.16757936507937
2795.796.4124206349206-0.712420634920633
289699.3324206349206-3.33242063492063
2995.898.9324206349206-3.13242063492064
30103110.412420634921-7.41242063492064
31102.2104.416210317460-2.21621031746032
3298.4102.516210317460-4.11621031746031
33111.4110.0562103174601.34378968253969
3486.692.9562103174603-6.35621031746032
3591.393.5162103174603-2.21621031746032
36107.9111.556388888889-3.65638888888888
37101.8111.254672619048-9.45467261904767
38104.4105.154672619048-0.75467261904761
3993.497.3346726190476-3.93467261904761
40100.1100.254672619048-0.154672619047616
4198.599.8546726190476-1.35467261904762
42112.9111.3346726190481.56532738095239
43101.4105.338462301587-3.93846230158729
44107.1103.4384623015873.6615376984127
45110.8110.978462301587-0.178462301587302
4690.393.8784623015873-3.57846230158730
4795.594.43846230158731.06153769841270
48111.4112.478640873016-1.07864087301586
49113112.1769246031750.823075396825353
50107.5106.0769246031751.42307539682540
5195.998.2569246031746-2.35692460317459
52106.3101.1769246031755.12307539682541
53105.2100.7769246031754.42307539682541
54117.2112.2569246031754.94307539682541
55106.9106.2607142857140.639285714285728
56108.2104.3607142857143.83928571428572
57110111.900714285714-1.90071428571428
5896.194.80071428571431.29928571428572
59100.695.36071428571435.23928571428572

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 115.4 & 110.306865079365 & 5.09313492063515 \tabularnewline
2 & 106.9 & 104.206865079365 & 2.69313492063491 \tabularnewline
3 & 107.1 & 96.386865079365 & 10.7131349206349 \tabularnewline
4 & 99.3 & 99.306865079365 & -0.00686507936508507 \tabularnewline
5 & 99.2 & 98.906865079365 & 0.293134920634920 \tabularnewline
6 & 108.3 & 110.386865079365 & -2.08686507936509 \tabularnewline
7 & 105.6 & 104.390654761905 & 1.20934523809522 \tabularnewline
8 & 99.5 & 102.490654761905 & -2.99065476190477 \tabularnewline
9 & 107.4 & 110.030654761905 & -2.63065476190477 \tabularnewline
10 & 93.1 & 92.9306547619048 & 0.169345238095228 \tabularnewline
11 & 88.1 & 93.4906547619048 & -5.39065476190477 \tabularnewline
12 & 110.7 & 111.530833333333 & -0.830833333333343 \tabularnewline
13 & 113.1 & 111.229117063492 & 1.87088293650787 \tabularnewline
14 & 99.6 & 105.129117063492 & -5.52911706349207 \tabularnewline
15 & 93.6 & 97.309117063492 & -3.70911706349208 \tabularnewline
16 & 98.6 & 100.229117063492 & -1.62911706349207 \tabularnewline
17 & 99.6 & 99.829117063492 & -0.229117063492073 \tabularnewline
18 & 114.3 & 111.309117063492 & 2.99088293650793 \tabularnewline
19 & 107.8 & 103.493958333333 & 4.30604166666666 \tabularnewline
20 & 101.2 & 101.593958333333 & -0.393958333333335 \tabularnewline
21 & 112.5 & 109.133958333333 & 3.36604166666666 \tabularnewline
22 & 100.5 & 92.0339583333333 & 8.46604166666667 \tabularnewline
23 & 93.9 & 92.5939583333333 & 1.30604166666667 \tabularnewline
24 & 116.2 & 110.634136904762 & 5.56586309523809 \tabularnewline
25 & 112 & 110.332420634921 & 1.66757936507931 \tabularnewline
26 & 106.4 & 104.232420634921 & 2.16757936507937 \tabularnewline
27 & 95.7 & 96.4124206349206 & -0.712420634920633 \tabularnewline
28 & 96 & 99.3324206349206 & -3.33242063492063 \tabularnewline
29 & 95.8 & 98.9324206349206 & -3.13242063492064 \tabularnewline
30 & 103 & 110.412420634921 & -7.41242063492064 \tabularnewline
31 & 102.2 & 104.416210317460 & -2.21621031746032 \tabularnewline
32 & 98.4 & 102.516210317460 & -4.11621031746031 \tabularnewline
33 & 111.4 & 110.056210317460 & 1.34378968253969 \tabularnewline
34 & 86.6 & 92.9562103174603 & -6.35621031746032 \tabularnewline
35 & 91.3 & 93.5162103174603 & -2.21621031746032 \tabularnewline
36 & 107.9 & 111.556388888889 & -3.65638888888888 \tabularnewline
37 & 101.8 & 111.254672619048 & -9.45467261904767 \tabularnewline
38 & 104.4 & 105.154672619048 & -0.75467261904761 \tabularnewline
39 & 93.4 & 97.3346726190476 & -3.93467261904761 \tabularnewline
40 & 100.1 & 100.254672619048 & -0.154672619047616 \tabularnewline
41 & 98.5 & 99.8546726190476 & -1.35467261904762 \tabularnewline
42 & 112.9 & 111.334672619048 & 1.56532738095239 \tabularnewline
43 & 101.4 & 105.338462301587 & -3.93846230158729 \tabularnewline
44 & 107.1 & 103.438462301587 & 3.6615376984127 \tabularnewline
45 & 110.8 & 110.978462301587 & -0.178462301587302 \tabularnewline
46 & 90.3 & 93.8784623015873 & -3.57846230158730 \tabularnewline
47 & 95.5 & 94.4384623015873 & 1.06153769841270 \tabularnewline
48 & 111.4 & 112.478640873016 & -1.07864087301586 \tabularnewline
49 & 113 & 112.176924603175 & 0.823075396825353 \tabularnewline
50 & 107.5 & 106.076924603175 & 1.42307539682540 \tabularnewline
51 & 95.9 & 98.2569246031746 & -2.35692460317459 \tabularnewline
52 & 106.3 & 101.176924603175 & 5.12307539682541 \tabularnewline
53 & 105.2 & 100.776924603175 & 4.42307539682541 \tabularnewline
54 & 117.2 & 112.256924603175 & 4.94307539682541 \tabularnewline
55 & 106.9 & 106.260714285714 & 0.639285714285728 \tabularnewline
56 & 108.2 & 104.360714285714 & 3.83928571428572 \tabularnewline
57 & 110 & 111.900714285714 & -1.90071428571428 \tabularnewline
58 & 96.1 & 94.8007142857143 & 1.29928571428572 \tabularnewline
59 & 100.6 & 95.3607142857143 & 5.23928571428572 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5594&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]115.4[/C][C]110.306865079365[/C][C]5.09313492063515[/C][/ROW]
[ROW][C]2[/C][C]106.9[/C][C]104.206865079365[/C][C]2.69313492063491[/C][/ROW]
[ROW][C]3[/C][C]107.1[/C][C]96.386865079365[/C][C]10.7131349206349[/C][/ROW]
[ROW][C]4[/C][C]99.3[/C][C]99.306865079365[/C][C]-0.00686507936508507[/C][/ROW]
[ROW][C]5[/C][C]99.2[/C][C]98.906865079365[/C][C]0.293134920634920[/C][/ROW]
[ROW][C]6[/C][C]108.3[/C][C]110.386865079365[/C][C]-2.08686507936509[/C][/ROW]
[ROW][C]7[/C][C]105.6[/C][C]104.390654761905[/C][C]1.20934523809522[/C][/ROW]
[ROW][C]8[/C][C]99.5[/C][C]102.490654761905[/C][C]-2.99065476190477[/C][/ROW]
[ROW][C]9[/C][C]107.4[/C][C]110.030654761905[/C][C]-2.63065476190477[/C][/ROW]
[ROW][C]10[/C][C]93.1[/C][C]92.9306547619048[/C][C]0.169345238095228[/C][/ROW]
[ROW][C]11[/C][C]88.1[/C][C]93.4906547619048[/C][C]-5.39065476190477[/C][/ROW]
[ROW][C]12[/C][C]110.7[/C][C]111.530833333333[/C][C]-0.830833333333343[/C][/ROW]
[ROW][C]13[/C][C]113.1[/C][C]111.229117063492[/C][C]1.87088293650787[/C][/ROW]
[ROW][C]14[/C][C]99.6[/C][C]105.129117063492[/C][C]-5.52911706349207[/C][/ROW]
[ROW][C]15[/C][C]93.6[/C][C]97.309117063492[/C][C]-3.70911706349208[/C][/ROW]
[ROW][C]16[/C][C]98.6[/C][C]100.229117063492[/C][C]-1.62911706349207[/C][/ROW]
[ROW][C]17[/C][C]99.6[/C][C]99.829117063492[/C][C]-0.229117063492073[/C][/ROW]
[ROW][C]18[/C][C]114.3[/C][C]111.309117063492[/C][C]2.99088293650793[/C][/ROW]
[ROW][C]19[/C][C]107.8[/C][C]103.493958333333[/C][C]4.30604166666666[/C][/ROW]
[ROW][C]20[/C][C]101.2[/C][C]101.593958333333[/C][C]-0.393958333333335[/C][/ROW]
[ROW][C]21[/C][C]112.5[/C][C]109.133958333333[/C][C]3.36604166666666[/C][/ROW]
[ROW][C]22[/C][C]100.5[/C][C]92.0339583333333[/C][C]8.46604166666667[/C][/ROW]
[ROW][C]23[/C][C]93.9[/C][C]92.5939583333333[/C][C]1.30604166666667[/C][/ROW]
[ROW][C]24[/C][C]116.2[/C][C]110.634136904762[/C][C]5.56586309523809[/C][/ROW]
[ROW][C]25[/C][C]112[/C][C]110.332420634921[/C][C]1.66757936507931[/C][/ROW]
[ROW][C]26[/C][C]106.4[/C][C]104.232420634921[/C][C]2.16757936507937[/C][/ROW]
[ROW][C]27[/C][C]95.7[/C][C]96.4124206349206[/C][C]-0.712420634920633[/C][/ROW]
[ROW][C]28[/C][C]96[/C][C]99.3324206349206[/C][C]-3.33242063492063[/C][/ROW]
[ROW][C]29[/C][C]95.8[/C][C]98.9324206349206[/C][C]-3.13242063492064[/C][/ROW]
[ROW][C]30[/C][C]103[/C][C]110.412420634921[/C][C]-7.41242063492064[/C][/ROW]
[ROW][C]31[/C][C]102.2[/C][C]104.416210317460[/C][C]-2.21621031746032[/C][/ROW]
[ROW][C]32[/C][C]98.4[/C][C]102.516210317460[/C][C]-4.11621031746031[/C][/ROW]
[ROW][C]33[/C][C]111.4[/C][C]110.056210317460[/C][C]1.34378968253969[/C][/ROW]
[ROW][C]34[/C][C]86.6[/C][C]92.9562103174603[/C][C]-6.35621031746032[/C][/ROW]
[ROW][C]35[/C][C]91.3[/C][C]93.5162103174603[/C][C]-2.21621031746032[/C][/ROW]
[ROW][C]36[/C][C]107.9[/C][C]111.556388888889[/C][C]-3.65638888888888[/C][/ROW]
[ROW][C]37[/C][C]101.8[/C][C]111.254672619048[/C][C]-9.45467261904767[/C][/ROW]
[ROW][C]38[/C][C]104.4[/C][C]105.154672619048[/C][C]-0.75467261904761[/C][/ROW]
[ROW][C]39[/C][C]93.4[/C][C]97.3346726190476[/C][C]-3.93467261904761[/C][/ROW]
[ROW][C]40[/C][C]100.1[/C][C]100.254672619048[/C][C]-0.154672619047616[/C][/ROW]
[ROW][C]41[/C][C]98.5[/C][C]99.8546726190476[/C][C]-1.35467261904762[/C][/ROW]
[ROW][C]42[/C][C]112.9[/C][C]111.334672619048[/C][C]1.56532738095239[/C][/ROW]
[ROW][C]43[/C][C]101.4[/C][C]105.338462301587[/C][C]-3.93846230158729[/C][/ROW]
[ROW][C]44[/C][C]107.1[/C][C]103.438462301587[/C][C]3.6615376984127[/C][/ROW]
[ROW][C]45[/C][C]110.8[/C][C]110.978462301587[/C][C]-0.178462301587302[/C][/ROW]
[ROW][C]46[/C][C]90.3[/C][C]93.8784623015873[/C][C]-3.57846230158730[/C][/ROW]
[ROW][C]47[/C][C]95.5[/C][C]94.4384623015873[/C][C]1.06153769841270[/C][/ROW]
[ROW][C]48[/C][C]111.4[/C][C]112.478640873016[/C][C]-1.07864087301586[/C][/ROW]
[ROW][C]49[/C][C]113[/C][C]112.176924603175[/C][C]0.823075396825353[/C][/ROW]
[ROW][C]50[/C][C]107.5[/C][C]106.076924603175[/C][C]1.42307539682540[/C][/ROW]
[ROW][C]51[/C][C]95.9[/C][C]98.2569246031746[/C][C]-2.35692460317459[/C][/ROW]
[ROW][C]52[/C][C]106.3[/C][C]101.176924603175[/C][C]5.12307539682541[/C][/ROW]
[ROW][C]53[/C][C]105.2[/C][C]100.776924603175[/C][C]4.42307539682541[/C][/ROW]
[ROW][C]54[/C][C]117.2[/C][C]112.256924603175[/C][C]4.94307539682541[/C][/ROW]
[ROW][C]55[/C][C]106.9[/C][C]106.260714285714[/C][C]0.639285714285728[/C][/ROW]
[ROW][C]56[/C][C]108.2[/C][C]104.360714285714[/C][C]3.83928571428572[/C][/ROW]
[ROW][C]57[/C][C]110[/C][C]111.900714285714[/C][C]-1.90071428571428[/C][/ROW]
[ROW][C]58[/C][C]96.1[/C][C]94.8007142857143[/C][C]1.29928571428572[/C][/ROW]
[ROW][C]59[/C][C]100.6[/C][C]95.3607142857143[/C][C]5.23928571428572[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5594&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5594&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
1115.4110.3068650793655.09313492063515
2106.9104.2068650793652.69313492063491
3107.196.38686507936510.7131349206349
499.399.306865079365-0.00686507936508507
599.298.9068650793650.293134920634920
6108.3110.386865079365-2.08686507936509
7105.6104.3906547619051.20934523809522
899.5102.490654761905-2.99065476190477
9107.4110.030654761905-2.63065476190477
1093.192.93065476190480.169345238095228
1188.193.4906547619048-5.39065476190477
12110.7111.530833333333-0.830833333333343
13113.1111.2291170634921.87088293650787
1499.6105.129117063492-5.52911706349207
1593.697.309117063492-3.70911706349208
1698.6100.229117063492-1.62911706349207
1799.699.829117063492-0.229117063492073
18114.3111.3091170634922.99088293650793
19107.8103.4939583333334.30604166666666
20101.2101.593958333333-0.393958333333335
21112.5109.1339583333333.36604166666666
22100.592.03395833333338.46604166666667
2393.992.59395833333331.30604166666667
24116.2110.6341369047625.56586309523809
25112110.3324206349211.66757936507931
26106.4104.2324206349212.16757936507937
2795.796.4124206349206-0.712420634920633
289699.3324206349206-3.33242063492063
2995.898.9324206349206-3.13242063492064
30103110.412420634921-7.41242063492064
31102.2104.416210317460-2.21621031746032
3298.4102.516210317460-4.11621031746031
33111.4110.0562103174601.34378968253969
3486.692.9562103174603-6.35621031746032
3591.393.5162103174603-2.21621031746032
36107.9111.556388888889-3.65638888888888
37101.8111.254672619048-9.45467261904767
38104.4105.154672619048-0.75467261904761
3993.497.3346726190476-3.93467261904761
40100.1100.254672619048-0.154672619047616
4198.599.8546726190476-1.35467261904762
42112.9111.3346726190481.56532738095239
43101.4105.338462301587-3.93846230158729
44107.1103.4384623015873.6615376984127
45110.8110.978462301587-0.178462301587302
4690.393.8784623015873-3.57846230158730
4795.594.43846230158731.06153769841270
48111.4112.478640873016-1.07864087301586
49113112.1769246031750.823075396825353
50107.5106.0769246031751.42307539682540
5195.998.2569246031746-2.35692460317459
52106.3101.1769246031755.12307539682541
53105.2100.7769246031754.42307539682541
54117.2112.2569246031754.94307539682541
55106.9106.2607142857140.639285714285728
56108.2104.3607142857143.83928571428572
57110111.900714285714-1.90071428571428
5896.194.80071428571431.29928571428572
59100.695.36071428571435.23928571428572



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