Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationThu, 15 Nov 2007 04:09:04 -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/15/t1195124673x3qmz0ijbeh72y6.htm/, Retrieved Sat, 04 May 2024 06:16:16 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=5422, Retrieved Sat, 04 May 2024 06:16:16 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact235
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [WS 6 Q3 G6 eigen ...] [2007-11-15 11:09:04] [fef19078983b9fa83d10cb717d6f9786] [Current]
Feedback Forum

Post a new message
Dataseries X:
120,3	0
133,4	0
109,4	0
93,2	0
91,2	0
99,2	0
108,2	0
101,5	0
106,9	0
104,4	0
77,9	0
60	0
99,5	0
95	0
105,6	0
102,5	0
93,3	0
97,3	0
127	0
111,7	0
96,4	0
133	0
72,2	0
95,8	0
124,1	0
127,6	0
110,7	0
104,6	0
112,7	0
115,3	0
139,4	0
119	0
97,4	0
154	0
81,5	0
88,8	0
127,7	1
105,1	1
114,9	1
106,4	1
104,5	1
121,6	1
141,4	1
99	1
126,7	1
134,1	1
81,3	1
88,6	1
132,7	1
132,9	1
134,4	1
103,7	1
119,7	1
115	1
132,9	1
108,5	1
113,9	1
142,9	1
95,2	1
93	1




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time10 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 & 10 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=5422&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]10 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=5422&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5422&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 time10 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 81.305 + 9.8375X[t] + 35.62M1[t] + 33.56M2[t] + 29.76M3[t] + 16.84M4[t] + 19.04M5[t] + 24.44M6[t] + 44.54M7[t] + 22.7M8[t] + 23.02M9[t] + 48.44M10[t] -3.61999999999999M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  81.305 +  9.8375X[t] +  35.62M1[t] +  33.56M2[t] +  29.76M3[t] +  16.84M4[t] +  19.04M5[t] +  24.44M6[t] +  44.54M7[t] +  22.7M8[t] +  23.02M9[t] +  48.44M10[t] -3.61999999999999M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5422&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  81.305 +  9.8375X[t] +  35.62M1[t] +  33.56M2[t] +  29.76M3[t] +  16.84M4[t] +  19.04M5[t] +  24.44M6[t] +  44.54M7[t] +  22.7M8[t] +  23.02M9[t] +  48.44M10[t] -3.61999999999999M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5422&T=1

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 81.305 + 9.8375X[t] + 35.62M1[t] + 33.56M2[t] + 29.76M3[t] + 16.84M4[t] + 19.04M5[t] + 24.44M6[t] + 44.54M7[t] + 22.7M8[t] + 23.02M9[t] + 48.44M10[t] -3.61999999999999M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)81.3055.30587615.323600
X9.83753.0431293.23270.0022440.001122
M135.627.3035094.87711.3e-056e-06
M233.567.3035094.59513.3e-051.6e-05
M329.767.3035094.07480.0001768.8e-05
M416.847.3035092.30570.0255850.012792
M519.047.3035092.6070.0122020.006101
M624.447.3035093.34630.0016180.000809
M744.547.3035096.098400
M822.77.3035093.10810.0031930.001596
M923.027.3035093.15190.0028230.001411
M1048.447.3035096.632400
M11-3.619999999999997.303509-0.49570.622450.311225

\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) & 81.305 & 5.305876 & 15.3236 & 0 & 0 \tabularnewline
X & 9.8375 & 3.043129 & 3.2327 & 0.002244 & 0.001122 \tabularnewline
M1 & 35.62 & 7.303509 & 4.8771 & 1.3e-05 & 6e-06 \tabularnewline
M2 & 33.56 & 7.303509 & 4.5951 & 3.3e-05 & 1.6e-05 \tabularnewline
M3 & 29.76 & 7.303509 & 4.0748 & 0.000176 & 8.8e-05 \tabularnewline
M4 & 16.84 & 7.303509 & 2.3057 & 0.025585 & 0.012792 \tabularnewline
M5 & 19.04 & 7.303509 & 2.607 & 0.012202 & 0.006101 \tabularnewline
M6 & 24.44 & 7.303509 & 3.3463 & 0.001618 & 0.000809 \tabularnewline
M7 & 44.54 & 7.303509 & 6.0984 & 0 & 0 \tabularnewline
M8 & 22.7 & 7.303509 & 3.1081 & 0.003193 & 0.001596 \tabularnewline
M9 & 23.02 & 7.303509 & 3.1519 & 0.002823 & 0.001411 \tabularnewline
M10 & 48.44 & 7.303509 & 6.6324 & 0 & 0 \tabularnewline
M11 & -3.61999999999999 & 7.303509 & -0.4957 & 0.62245 & 0.311225 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5422&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]81.305[/C][C]5.305876[/C][C]15.3236[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]9.8375[/C][C]3.043129[/C][C]3.2327[/C][C]0.002244[/C][C]0.001122[/C][/ROW]
[ROW][C]M1[/C][C]35.62[/C][C]7.303509[/C][C]4.8771[/C][C]1.3e-05[/C][C]6e-06[/C][/ROW]
[ROW][C]M2[/C][C]33.56[/C][C]7.303509[/C][C]4.5951[/C][C]3.3e-05[/C][C]1.6e-05[/C][/ROW]
[ROW][C]M3[/C][C]29.76[/C][C]7.303509[/C][C]4.0748[/C][C]0.000176[/C][C]8.8e-05[/C][/ROW]
[ROW][C]M4[/C][C]16.84[/C][C]7.303509[/C][C]2.3057[/C][C]0.025585[/C][C]0.012792[/C][/ROW]
[ROW][C]M5[/C][C]19.04[/C][C]7.303509[/C][C]2.607[/C][C]0.012202[/C][C]0.006101[/C][/ROW]
[ROW][C]M6[/C][C]24.44[/C][C]7.303509[/C][C]3.3463[/C][C]0.001618[/C][C]0.000809[/C][/ROW]
[ROW][C]M7[/C][C]44.54[/C][C]7.303509[/C][C]6.0984[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M8[/C][C]22.7[/C][C]7.303509[/C][C]3.1081[/C][C]0.003193[/C][C]0.001596[/C][/ROW]
[ROW][C]M9[/C][C]23.02[/C][C]7.303509[/C][C]3.1519[/C][C]0.002823[/C][C]0.001411[/C][/ROW]
[ROW][C]M10[/C][C]48.44[/C][C]7.303509[/C][C]6.6324[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M11[/C][C]-3.61999999999999[/C][C]7.303509[/C][C]-0.4957[/C][C]0.62245[/C][C]0.311225[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5422&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5422&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)81.3055.30587615.323600
X9.83753.0431293.23270.0022440.001122
M135.627.3035094.87711.3e-056e-06
M233.567.3035094.59513.3e-051.6e-05
M329.767.3035094.07480.0001768.8e-05
M416.847.3035092.30570.0255850.012792
M519.047.3035092.6070.0122020.006101
M624.447.3035093.34630.0016180.000809
M744.547.3035096.098400
M822.77.3035093.10810.0031930.001596
M923.027.3035093.15190.0028230.001411
M1048.447.3035096.632400
M11-3.619999999999997.303509-0.49570.622450.311225







Multiple Linear Regression - Regression Statistics
Multiple R0.838646213721932
R-squared0.703327471790132
Adjusted R-squared0.627581294374846
F-TEST (value)9.28531967935587
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value8.06306976741666e-09
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation11.5478613199081
Sum Squared Residuals6267.59575

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.838646213721932 \tabularnewline
R-squared & 0.703327471790132 \tabularnewline
Adjusted R-squared & 0.627581294374846 \tabularnewline
F-TEST (value) & 9.28531967935587 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 8.06306976741666e-09 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 11.5478613199081 \tabularnewline
Sum Squared Residuals & 6267.59575 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5422&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.838646213721932[/C][/ROW]
[ROW][C]R-squared[/C][C]0.703327471790132[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.627581294374846[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]9.28531967935587[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]8.06306976741666e-09[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]11.5478613199081[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]6267.59575[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5422&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5422&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.838646213721932
R-squared0.703327471790132
Adjusted R-squared0.627581294374846
F-TEST (value)9.28531967935587
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value8.06306976741666e-09
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation11.5478613199081
Sum Squared Residuals6267.59575







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1120.3116.9250000000003.37499999999987
2133.4114.86518.535
3109.4111.065-1.66500000000000
493.298.145-4.945
591.2100.345-9.14500000000001
699.2105.745-6.54499999999999
7108.2125.845-17.645
8101.5104.005-2.50500000000000
9106.9104.3252.57500000000001
10104.4129.745-25.345
1177.977.6850.215
126081.305-21.305
1399.5116.925-17.4250000000000
1495114.865-19.865
15105.6111.065-5.465
16102.598.1454.355
1793.3100.345-7.045
1897.3105.745-8.445
19127125.8451.15500000000000
20111.7104.0057.695
2196.4104.325-7.925
22133129.7453.25500000000001
2372.277.685-5.48499999999999
2495.881.30514.495
25124.1116.9257.17500000000004
26127.6114.86512.735
27110.7111.065-0.365
28104.698.1456.455
29112.7100.34512.355
30115.3105.7459.555
31139.4125.84513.5550000000000
32119104.00514.995
3397.4104.325-6.925
34154129.74524.255
3581.577.6853.815
3688.881.3057.495
37127.7126.76250.937500000000037
38105.1124.7025-19.6025
39114.9120.9025-6.00249999999999
40106.4107.9825-1.58250000000000
41104.5110.1825-5.6825
42121.6115.58256.01749999999999
43141.4135.68255.71749999999999
4499113.8425-14.8425
45126.7114.162512.5375
46134.1139.5825-5.48250000000002
4781.387.5225-6.22250000000001
4888.691.1425-2.54250000000000
49132.7126.76255.93750000000002
50132.9124.70258.1975
51134.4120.902513.4975
52103.7107.9825-4.2825
53119.7110.18259.5175
54115115.5825-0.582500000000004
55132.9135.6825-2.78250000000001
56108.5113.8425-5.3425
57113.9114.1625-0.262500000000005
58142.9139.58253.31750000000000
5995.287.52257.6775
609391.14251.85750000000000

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 120.3 & 116.925000000000 & 3.37499999999987 \tabularnewline
2 & 133.4 & 114.865 & 18.535 \tabularnewline
3 & 109.4 & 111.065 & -1.66500000000000 \tabularnewline
4 & 93.2 & 98.145 & -4.945 \tabularnewline
5 & 91.2 & 100.345 & -9.14500000000001 \tabularnewline
6 & 99.2 & 105.745 & -6.54499999999999 \tabularnewline
7 & 108.2 & 125.845 & -17.645 \tabularnewline
8 & 101.5 & 104.005 & -2.50500000000000 \tabularnewline
9 & 106.9 & 104.325 & 2.57500000000001 \tabularnewline
10 & 104.4 & 129.745 & -25.345 \tabularnewline
11 & 77.9 & 77.685 & 0.215 \tabularnewline
12 & 60 & 81.305 & -21.305 \tabularnewline
13 & 99.5 & 116.925 & -17.4250000000000 \tabularnewline
14 & 95 & 114.865 & -19.865 \tabularnewline
15 & 105.6 & 111.065 & -5.465 \tabularnewline
16 & 102.5 & 98.145 & 4.355 \tabularnewline
17 & 93.3 & 100.345 & -7.045 \tabularnewline
18 & 97.3 & 105.745 & -8.445 \tabularnewline
19 & 127 & 125.845 & 1.15500000000000 \tabularnewline
20 & 111.7 & 104.005 & 7.695 \tabularnewline
21 & 96.4 & 104.325 & -7.925 \tabularnewline
22 & 133 & 129.745 & 3.25500000000001 \tabularnewline
23 & 72.2 & 77.685 & -5.48499999999999 \tabularnewline
24 & 95.8 & 81.305 & 14.495 \tabularnewline
25 & 124.1 & 116.925 & 7.17500000000004 \tabularnewline
26 & 127.6 & 114.865 & 12.735 \tabularnewline
27 & 110.7 & 111.065 & -0.365 \tabularnewline
28 & 104.6 & 98.145 & 6.455 \tabularnewline
29 & 112.7 & 100.345 & 12.355 \tabularnewline
30 & 115.3 & 105.745 & 9.555 \tabularnewline
31 & 139.4 & 125.845 & 13.5550000000000 \tabularnewline
32 & 119 & 104.005 & 14.995 \tabularnewline
33 & 97.4 & 104.325 & -6.925 \tabularnewline
34 & 154 & 129.745 & 24.255 \tabularnewline
35 & 81.5 & 77.685 & 3.815 \tabularnewline
36 & 88.8 & 81.305 & 7.495 \tabularnewline
37 & 127.7 & 126.7625 & 0.937500000000037 \tabularnewline
38 & 105.1 & 124.7025 & -19.6025 \tabularnewline
39 & 114.9 & 120.9025 & -6.00249999999999 \tabularnewline
40 & 106.4 & 107.9825 & -1.58250000000000 \tabularnewline
41 & 104.5 & 110.1825 & -5.6825 \tabularnewline
42 & 121.6 & 115.5825 & 6.01749999999999 \tabularnewline
43 & 141.4 & 135.6825 & 5.71749999999999 \tabularnewline
44 & 99 & 113.8425 & -14.8425 \tabularnewline
45 & 126.7 & 114.1625 & 12.5375 \tabularnewline
46 & 134.1 & 139.5825 & -5.48250000000002 \tabularnewline
47 & 81.3 & 87.5225 & -6.22250000000001 \tabularnewline
48 & 88.6 & 91.1425 & -2.54250000000000 \tabularnewline
49 & 132.7 & 126.7625 & 5.93750000000002 \tabularnewline
50 & 132.9 & 124.7025 & 8.1975 \tabularnewline
51 & 134.4 & 120.9025 & 13.4975 \tabularnewline
52 & 103.7 & 107.9825 & -4.2825 \tabularnewline
53 & 119.7 & 110.1825 & 9.5175 \tabularnewline
54 & 115 & 115.5825 & -0.582500000000004 \tabularnewline
55 & 132.9 & 135.6825 & -2.78250000000001 \tabularnewline
56 & 108.5 & 113.8425 & -5.3425 \tabularnewline
57 & 113.9 & 114.1625 & -0.262500000000005 \tabularnewline
58 & 142.9 & 139.5825 & 3.31750000000000 \tabularnewline
59 & 95.2 & 87.5225 & 7.6775 \tabularnewline
60 & 93 & 91.1425 & 1.85750000000000 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5422&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]120.3[/C][C]116.925000000000[/C][C]3.37499999999987[/C][/ROW]
[ROW][C]2[/C][C]133.4[/C][C]114.865[/C][C]18.535[/C][/ROW]
[ROW][C]3[/C][C]109.4[/C][C]111.065[/C][C]-1.66500000000000[/C][/ROW]
[ROW][C]4[/C][C]93.2[/C][C]98.145[/C][C]-4.945[/C][/ROW]
[ROW][C]5[/C][C]91.2[/C][C]100.345[/C][C]-9.14500000000001[/C][/ROW]
[ROW][C]6[/C][C]99.2[/C][C]105.745[/C][C]-6.54499999999999[/C][/ROW]
[ROW][C]7[/C][C]108.2[/C][C]125.845[/C][C]-17.645[/C][/ROW]
[ROW][C]8[/C][C]101.5[/C][C]104.005[/C][C]-2.50500000000000[/C][/ROW]
[ROW][C]9[/C][C]106.9[/C][C]104.325[/C][C]2.57500000000001[/C][/ROW]
[ROW][C]10[/C][C]104.4[/C][C]129.745[/C][C]-25.345[/C][/ROW]
[ROW][C]11[/C][C]77.9[/C][C]77.685[/C][C]0.215[/C][/ROW]
[ROW][C]12[/C][C]60[/C][C]81.305[/C][C]-21.305[/C][/ROW]
[ROW][C]13[/C][C]99.5[/C][C]116.925[/C][C]-17.4250000000000[/C][/ROW]
[ROW][C]14[/C][C]95[/C][C]114.865[/C][C]-19.865[/C][/ROW]
[ROW][C]15[/C][C]105.6[/C][C]111.065[/C][C]-5.465[/C][/ROW]
[ROW][C]16[/C][C]102.5[/C][C]98.145[/C][C]4.355[/C][/ROW]
[ROW][C]17[/C][C]93.3[/C][C]100.345[/C][C]-7.045[/C][/ROW]
[ROW][C]18[/C][C]97.3[/C][C]105.745[/C][C]-8.445[/C][/ROW]
[ROW][C]19[/C][C]127[/C][C]125.845[/C][C]1.15500000000000[/C][/ROW]
[ROW][C]20[/C][C]111.7[/C][C]104.005[/C][C]7.695[/C][/ROW]
[ROW][C]21[/C][C]96.4[/C][C]104.325[/C][C]-7.925[/C][/ROW]
[ROW][C]22[/C][C]133[/C][C]129.745[/C][C]3.25500000000001[/C][/ROW]
[ROW][C]23[/C][C]72.2[/C][C]77.685[/C][C]-5.48499999999999[/C][/ROW]
[ROW][C]24[/C][C]95.8[/C][C]81.305[/C][C]14.495[/C][/ROW]
[ROW][C]25[/C][C]124.1[/C][C]116.925[/C][C]7.17500000000004[/C][/ROW]
[ROW][C]26[/C][C]127.6[/C][C]114.865[/C][C]12.735[/C][/ROW]
[ROW][C]27[/C][C]110.7[/C][C]111.065[/C][C]-0.365[/C][/ROW]
[ROW][C]28[/C][C]104.6[/C][C]98.145[/C][C]6.455[/C][/ROW]
[ROW][C]29[/C][C]112.7[/C][C]100.345[/C][C]12.355[/C][/ROW]
[ROW][C]30[/C][C]115.3[/C][C]105.745[/C][C]9.555[/C][/ROW]
[ROW][C]31[/C][C]139.4[/C][C]125.845[/C][C]13.5550000000000[/C][/ROW]
[ROW][C]32[/C][C]119[/C][C]104.005[/C][C]14.995[/C][/ROW]
[ROW][C]33[/C][C]97.4[/C][C]104.325[/C][C]-6.925[/C][/ROW]
[ROW][C]34[/C][C]154[/C][C]129.745[/C][C]24.255[/C][/ROW]
[ROW][C]35[/C][C]81.5[/C][C]77.685[/C][C]3.815[/C][/ROW]
[ROW][C]36[/C][C]88.8[/C][C]81.305[/C][C]7.495[/C][/ROW]
[ROW][C]37[/C][C]127.7[/C][C]126.7625[/C][C]0.937500000000037[/C][/ROW]
[ROW][C]38[/C][C]105.1[/C][C]124.7025[/C][C]-19.6025[/C][/ROW]
[ROW][C]39[/C][C]114.9[/C][C]120.9025[/C][C]-6.00249999999999[/C][/ROW]
[ROW][C]40[/C][C]106.4[/C][C]107.9825[/C][C]-1.58250000000000[/C][/ROW]
[ROW][C]41[/C][C]104.5[/C][C]110.1825[/C][C]-5.6825[/C][/ROW]
[ROW][C]42[/C][C]121.6[/C][C]115.5825[/C][C]6.01749999999999[/C][/ROW]
[ROW][C]43[/C][C]141.4[/C][C]135.6825[/C][C]5.71749999999999[/C][/ROW]
[ROW][C]44[/C][C]99[/C][C]113.8425[/C][C]-14.8425[/C][/ROW]
[ROW][C]45[/C][C]126.7[/C][C]114.1625[/C][C]12.5375[/C][/ROW]
[ROW][C]46[/C][C]134.1[/C][C]139.5825[/C][C]-5.48250000000002[/C][/ROW]
[ROW][C]47[/C][C]81.3[/C][C]87.5225[/C][C]-6.22250000000001[/C][/ROW]
[ROW][C]48[/C][C]88.6[/C][C]91.1425[/C][C]-2.54250000000000[/C][/ROW]
[ROW][C]49[/C][C]132.7[/C][C]126.7625[/C][C]5.93750000000002[/C][/ROW]
[ROW][C]50[/C][C]132.9[/C][C]124.7025[/C][C]8.1975[/C][/ROW]
[ROW][C]51[/C][C]134.4[/C][C]120.9025[/C][C]13.4975[/C][/ROW]
[ROW][C]52[/C][C]103.7[/C][C]107.9825[/C][C]-4.2825[/C][/ROW]
[ROW][C]53[/C][C]119.7[/C][C]110.1825[/C][C]9.5175[/C][/ROW]
[ROW][C]54[/C][C]115[/C][C]115.5825[/C][C]-0.582500000000004[/C][/ROW]
[ROW][C]55[/C][C]132.9[/C][C]135.6825[/C][C]-2.78250000000001[/C][/ROW]
[ROW][C]56[/C][C]108.5[/C][C]113.8425[/C][C]-5.3425[/C][/ROW]
[ROW][C]57[/C][C]113.9[/C][C]114.1625[/C][C]-0.262500000000005[/C][/ROW]
[ROW][C]58[/C][C]142.9[/C][C]139.5825[/C][C]3.31750000000000[/C][/ROW]
[ROW][C]59[/C][C]95.2[/C][C]87.5225[/C][C]7.6775[/C][/ROW]
[ROW][C]60[/C][C]93[/C][C]91.1425[/C][C]1.85750000000000[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5422&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5422&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
1120.3116.9250000000003.37499999999987
2133.4114.86518.535
3109.4111.065-1.66500000000000
493.298.145-4.945
591.2100.345-9.14500000000001
699.2105.745-6.54499999999999
7108.2125.845-17.645
8101.5104.005-2.50500000000000
9106.9104.3252.57500000000001
10104.4129.745-25.345
1177.977.6850.215
126081.305-21.305
1399.5116.925-17.4250000000000
1495114.865-19.865
15105.6111.065-5.465
16102.598.1454.355
1793.3100.345-7.045
1897.3105.745-8.445
19127125.8451.15500000000000
20111.7104.0057.695
2196.4104.325-7.925
22133129.7453.25500000000001
2372.277.685-5.48499999999999
2495.881.30514.495
25124.1116.9257.17500000000004
26127.6114.86512.735
27110.7111.065-0.365
28104.698.1456.455
29112.7100.34512.355
30115.3105.7459.555
31139.4125.84513.5550000000000
32119104.00514.995
3397.4104.325-6.925
34154129.74524.255
3581.577.6853.815
3688.881.3057.495
37127.7126.76250.937500000000037
38105.1124.7025-19.6025
39114.9120.9025-6.00249999999999
40106.4107.9825-1.58250000000000
41104.5110.1825-5.6825
42121.6115.58256.01749999999999
43141.4135.68255.71749999999999
4499113.8425-14.8425
45126.7114.162512.5375
46134.1139.5825-5.48250000000002
4781.387.5225-6.22250000000001
4888.691.1425-2.54250000000000
49132.7126.76255.93750000000002
50132.9124.70258.1975
51134.4120.902513.4975
52103.7107.9825-4.2825
53119.7110.18259.5175
54115115.5825-0.582500000000004
55132.9135.6825-2.78250000000001
56108.5113.8425-5.3425
57113.9114.1625-0.262500000000005
58142.9139.58253.31750000000000
5995.287.52257.6775
609391.14251.85750000000000



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