Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationSat, 22 Dec 2007 05:21:34 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2007/Dec/22/t1198325019mhaxxeolg80zkcx.htm/, Retrieved Sun, 05 May 2024 07:22:59 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=4819, Retrieved Sun, 05 May 2024 07:22:59 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact276
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Multiple lineaire...] [2007-12-22 12:21:34] [44cf2be50bc8700e14714598feda9df9] [Current]
Feedback Forum

Post a new message
Dataseries X:
106,5	0
112,3	0
102,8	0
96,5	0
101,0	0
98,9	0
105,1	0
103,0	0
99,0	0
104,3	0
94,6	0
90,4	0
108,9	0
111,4	0
100,8	0
102,5	0
98,2	0
98,7	0
113,3	0
104,6	0
99,3	0
111,8	0
97,3	0
97,7	0
115,6	0
111,9	0
107,0	0
107,1	0
100,6	0
99,2	0
108,4	0
103,0	0
99,8	0
115,0	0
90,8	0
95,9	0
114,4	0
108,2	0
112,6	0
109,1	0
105,0	1
105,0	1
118,5	1
103,7	1
112,5	1
116,6	1
96,6	1
101,9	1
116,5	1
119,3	1
115,4	1
108,5	1
111,5	1
108,8	1
121,8	1
109,6	1
112,2	1
119,6	1
103,4	1
105,3	1
113,5	1




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4819&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
Industriële_productie[t] = + 103.9375 + 6.78630952380952x[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Industriële_productie[t] =  +  103.9375 +  6.78630952380952x[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4819&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Industriële_productie[t] =  +  103.9375 +  6.78630952380952x[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4819&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4819&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
Industriële_productie[t] = + 103.9375 + 6.78630952380952x[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)103.93751.0645597.635100
x6.786309523809521.8143523.74030.0004180.000209

\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) & 103.9375 & 1.06455 & 97.6351 & 0 & 0 \tabularnewline
x & 6.78630952380952 & 1.814352 & 3.7403 & 0.000418 & 0.000209 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4819&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]103.9375[/C][C]1.06455[/C][C]97.6351[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]x[/C][C]6.78630952380952[/C][C]1.814352[/C][C]3.7403[/C][C]0.000418[/C][C]0.000209[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4819&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4819&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)103.93751.0645597.635100
x6.786309523809521.8143523.74030.0004180.000209







Multiple Linear Regression - Regression Statistics
Multiple R0.43780409846228
R-squared0.19167242863037
Adjusted R-squared0.177971961319020
F-TEST (value)13.9902110106555
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value0.000417895249223532
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation6.73280842155216
Sum Squared Residuals2674.51184523810

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.43780409846228 \tabularnewline
R-squared & 0.19167242863037 \tabularnewline
Adjusted R-squared & 0.177971961319020 \tabularnewline
F-TEST (value) & 13.9902110106555 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 59 \tabularnewline
p-value & 0.000417895249223532 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 6.73280842155216 \tabularnewline
Sum Squared Residuals & 2674.51184523810 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4819&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.43780409846228[/C][/ROW]
[ROW][C]R-squared[/C][C]0.19167242863037[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.177971961319020[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]13.9902110106555[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]59[/C][/ROW]
[ROW][C]p-value[/C][C]0.000417895249223532[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]6.73280842155216[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]2674.51184523810[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4819&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4819&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.43780409846228
R-squared0.19167242863037
Adjusted R-squared0.177971961319020
F-TEST (value)13.9902110106555
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value0.000417895249223532
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation6.73280842155216
Sum Squared Residuals2674.51184523810







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1106.5103.93752.56250000000008
2112.3103.93758.3625
3102.8103.9375-1.13750000000000
496.5103.9375-7.4375
5101103.9375-2.9375
698.9103.9375-5.0375
7105.1103.93751.16249999999999
8103103.9375-0.937500000000001
999103.9375-4.9375
10104.3103.93750.362499999999996
1194.6103.9375-9.3375
1290.4103.9375-13.5375
13108.9103.93754.9625
14111.4103.93757.4625
15100.8103.9375-3.13750000000000
16102.5103.9375-1.43750000000000
1798.2103.9375-5.7375
1898.7103.9375-5.2375
19113.3103.93759.3625
20104.6103.93750.662499999999993
2199.3103.9375-4.6375
22111.8103.93757.8625
2397.3103.9375-6.6375
2497.7103.9375-6.2375
25115.6103.937511.6625
26111.9103.93757.9625
27107103.93753.0625
28107.1103.93753.16249999999999
29100.6103.9375-3.33750000000001
3099.2103.9375-4.7375
31108.4103.93754.4625
32103103.9375-0.937500000000001
3399.8103.9375-4.13750000000000
34115103.937511.0625
3590.8103.9375-13.1375
3695.9103.9375-8.0375
37114.4103.937510.4625
38108.2103.93754.2625
39112.6103.93758.6625
40109.1103.93755.16249999999999
41105110.723809523810-5.72380952380952
42105110.723809523810-5.72380952380952
43118.5110.7238095238107.77619047619048
44103.7110.723809523810-7.02380952380952
45112.5110.7238095238101.77619047619048
46116.6110.7238095238105.87619047619047
4796.6110.723809523810-14.1238095238095
48101.9110.723809523810-8.82380952380952
49116.5110.7238095238105.77619047619048
50119.3110.7238095238108.57619047619047
51115.4110.7238095238104.67619047619048
52108.5110.723809523810-2.22380952380952
53111.5110.7238095238100.776190476190478
54108.8110.723809523810-1.92380952380952
55121.8110.72380952381011.0761904761905
56109.6110.723809523810-1.12380952380953
57112.2110.7238095238101.47619047619048
58119.6110.7238095238108.87619047619047
59103.4110.723809523810-7.32380952380952
60105.3110.723809523810-5.42380952380953
61113.5110.7238095238102.77619047619048

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 106.5 & 103.9375 & 2.56250000000008 \tabularnewline
2 & 112.3 & 103.9375 & 8.3625 \tabularnewline
3 & 102.8 & 103.9375 & -1.13750000000000 \tabularnewline
4 & 96.5 & 103.9375 & -7.4375 \tabularnewline
5 & 101 & 103.9375 & -2.9375 \tabularnewline
6 & 98.9 & 103.9375 & -5.0375 \tabularnewline
7 & 105.1 & 103.9375 & 1.16249999999999 \tabularnewline
8 & 103 & 103.9375 & -0.937500000000001 \tabularnewline
9 & 99 & 103.9375 & -4.9375 \tabularnewline
10 & 104.3 & 103.9375 & 0.362499999999996 \tabularnewline
11 & 94.6 & 103.9375 & -9.3375 \tabularnewline
12 & 90.4 & 103.9375 & -13.5375 \tabularnewline
13 & 108.9 & 103.9375 & 4.9625 \tabularnewline
14 & 111.4 & 103.9375 & 7.4625 \tabularnewline
15 & 100.8 & 103.9375 & -3.13750000000000 \tabularnewline
16 & 102.5 & 103.9375 & -1.43750000000000 \tabularnewline
17 & 98.2 & 103.9375 & -5.7375 \tabularnewline
18 & 98.7 & 103.9375 & -5.2375 \tabularnewline
19 & 113.3 & 103.9375 & 9.3625 \tabularnewline
20 & 104.6 & 103.9375 & 0.662499999999993 \tabularnewline
21 & 99.3 & 103.9375 & -4.6375 \tabularnewline
22 & 111.8 & 103.9375 & 7.8625 \tabularnewline
23 & 97.3 & 103.9375 & -6.6375 \tabularnewline
24 & 97.7 & 103.9375 & -6.2375 \tabularnewline
25 & 115.6 & 103.9375 & 11.6625 \tabularnewline
26 & 111.9 & 103.9375 & 7.9625 \tabularnewline
27 & 107 & 103.9375 & 3.0625 \tabularnewline
28 & 107.1 & 103.9375 & 3.16249999999999 \tabularnewline
29 & 100.6 & 103.9375 & -3.33750000000001 \tabularnewline
30 & 99.2 & 103.9375 & -4.7375 \tabularnewline
31 & 108.4 & 103.9375 & 4.4625 \tabularnewline
32 & 103 & 103.9375 & -0.937500000000001 \tabularnewline
33 & 99.8 & 103.9375 & -4.13750000000000 \tabularnewline
34 & 115 & 103.9375 & 11.0625 \tabularnewline
35 & 90.8 & 103.9375 & -13.1375 \tabularnewline
36 & 95.9 & 103.9375 & -8.0375 \tabularnewline
37 & 114.4 & 103.9375 & 10.4625 \tabularnewline
38 & 108.2 & 103.9375 & 4.2625 \tabularnewline
39 & 112.6 & 103.9375 & 8.6625 \tabularnewline
40 & 109.1 & 103.9375 & 5.16249999999999 \tabularnewline
41 & 105 & 110.723809523810 & -5.72380952380952 \tabularnewline
42 & 105 & 110.723809523810 & -5.72380952380952 \tabularnewline
43 & 118.5 & 110.723809523810 & 7.77619047619048 \tabularnewline
44 & 103.7 & 110.723809523810 & -7.02380952380952 \tabularnewline
45 & 112.5 & 110.723809523810 & 1.77619047619048 \tabularnewline
46 & 116.6 & 110.723809523810 & 5.87619047619047 \tabularnewline
47 & 96.6 & 110.723809523810 & -14.1238095238095 \tabularnewline
48 & 101.9 & 110.723809523810 & -8.82380952380952 \tabularnewline
49 & 116.5 & 110.723809523810 & 5.77619047619048 \tabularnewline
50 & 119.3 & 110.723809523810 & 8.57619047619047 \tabularnewline
51 & 115.4 & 110.723809523810 & 4.67619047619048 \tabularnewline
52 & 108.5 & 110.723809523810 & -2.22380952380952 \tabularnewline
53 & 111.5 & 110.723809523810 & 0.776190476190478 \tabularnewline
54 & 108.8 & 110.723809523810 & -1.92380952380952 \tabularnewline
55 & 121.8 & 110.723809523810 & 11.0761904761905 \tabularnewline
56 & 109.6 & 110.723809523810 & -1.12380952380953 \tabularnewline
57 & 112.2 & 110.723809523810 & 1.47619047619048 \tabularnewline
58 & 119.6 & 110.723809523810 & 8.87619047619047 \tabularnewline
59 & 103.4 & 110.723809523810 & -7.32380952380952 \tabularnewline
60 & 105.3 & 110.723809523810 & -5.42380952380953 \tabularnewline
61 & 113.5 & 110.723809523810 & 2.77619047619048 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4819&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]106.5[/C][C]103.9375[/C][C]2.56250000000008[/C][/ROW]
[ROW][C]2[/C][C]112.3[/C][C]103.9375[/C][C]8.3625[/C][/ROW]
[ROW][C]3[/C][C]102.8[/C][C]103.9375[/C][C]-1.13750000000000[/C][/ROW]
[ROW][C]4[/C][C]96.5[/C][C]103.9375[/C][C]-7.4375[/C][/ROW]
[ROW][C]5[/C][C]101[/C][C]103.9375[/C][C]-2.9375[/C][/ROW]
[ROW][C]6[/C][C]98.9[/C][C]103.9375[/C][C]-5.0375[/C][/ROW]
[ROW][C]7[/C][C]105.1[/C][C]103.9375[/C][C]1.16249999999999[/C][/ROW]
[ROW][C]8[/C][C]103[/C][C]103.9375[/C][C]-0.937500000000001[/C][/ROW]
[ROW][C]9[/C][C]99[/C][C]103.9375[/C][C]-4.9375[/C][/ROW]
[ROW][C]10[/C][C]104.3[/C][C]103.9375[/C][C]0.362499999999996[/C][/ROW]
[ROW][C]11[/C][C]94.6[/C][C]103.9375[/C][C]-9.3375[/C][/ROW]
[ROW][C]12[/C][C]90.4[/C][C]103.9375[/C][C]-13.5375[/C][/ROW]
[ROW][C]13[/C][C]108.9[/C][C]103.9375[/C][C]4.9625[/C][/ROW]
[ROW][C]14[/C][C]111.4[/C][C]103.9375[/C][C]7.4625[/C][/ROW]
[ROW][C]15[/C][C]100.8[/C][C]103.9375[/C][C]-3.13750000000000[/C][/ROW]
[ROW][C]16[/C][C]102.5[/C][C]103.9375[/C][C]-1.43750000000000[/C][/ROW]
[ROW][C]17[/C][C]98.2[/C][C]103.9375[/C][C]-5.7375[/C][/ROW]
[ROW][C]18[/C][C]98.7[/C][C]103.9375[/C][C]-5.2375[/C][/ROW]
[ROW][C]19[/C][C]113.3[/C][C]103.9375[/C][C]9.3625[/C][/ROW]
[ROW][C]20[/C][C]104.6[/C][C]103.9375[/C][C]0.662499999999993[/C][/ROW]
[ROW][C]21[/C][C]99.3[/C][C]103.9375[/C][C]-4.6375[/C][/ROW]
[ROW][C]22[/C][C]111.8[/C][C]103.9375[/C][C]7.8625[/C][/ROW]
[ROW][C]23[/C][C]97.3[/C][C]103.9375[/C][C]-6.6375[/C][/ROW]
[ROW][C]24[/C][C]97.7[/C][C]103.9375[/C][C]-6.2375[/C][/ROW]
[ROW][C]25[/C][C]115.6[/C][C]103.9375[/C][C]11.6625[/C][/ROW]
[ROW][C]26[/C][C]111.9[/C][C]103.9375[/C][C]7.9625[/C][/ROW]
[ROW][C]27[/C][C]107[/C][C]103.9375[/C][C]3.0625[/C][/ROW]
[ROW][C]28[/C][C]107.1[/C][C]103.9375[/C][C]3.16249999999999[/C][/ROW]
[ROW][C]29[/C][C]100.6[/C][C]103.9375[/C][C]-3.33750000000001[/C][/ROW]
[ROW][C]30[/C][C]99.2[/C][C]103.9375[/C][C]-4.7375[/C][/ROW]
[ROW][C]31[/C][C]108.4[/C][C]103.9375[/C][C]4.4625[/C][/ROW]
[ROW][C]32[/C][C]103[/C][C]103.9375[/C][C]-0.937500000000001[/C][/ROW]
[ROW][C]33[/C][C]99.8[/C][C]103.9375[/C][C]-4.13750000000000[/C][/ROW]
[ROW][C]34[/C][C]115[/C][C]103.9375[/C][C]11.0625[/C][/ROW]
[ROW][C]35[/C][C]90.8[/C][C]103.9375[/C][C]-13.1375[/C][/ROW]
[ROW][C]36[/C][C]95.9[/C][C]103.9375[/C][C]-8.0375[/C][/ROW]
[ROW][C]37[/C][C]114.4[/C][C]103.9375[/C][C]10.4625[/C][/ROW]
[ROW][C]38[/C][C]108.2[/C][C]103.9375[/C][C]4.2625[/C][/ROW]
[ROW][C]39[/C][C]112.6[/C][C]103.9375[/C][C]8.6625[/C][/ROW]
[ROW][C]40[/C][C]109.1[/C][C]103.9375[/C][C]5.16249999999999[/C][/ROW]
[ROW][C]41[/C][C]105[/C][C]110.723809523810[/C][C]-5.72380952380952[/C][/ROW]
[ROW][C]42[/C][C]105[/C][C]110.723809523810[/C][C]-5.72380952380952[/C][/ROW]
[ROW][C]43[/C][C]118.5[/C][C]110.723809523810[/C][C]7.77619047619048[/C][/ROW]
[ROW][C]44[/C][C]103.7[/C][C]110.723809523810[/C][C]-7.02380952380952[/C][/ROW]
[ROW][C]45[/C][C]112.5[/C][C]110.723809523810[/C][C]1.77619047619048[/C][/ROW]
[ROW][C]46[/C][C]116.6[/C][C]110.723809523810[/C][C]5.87619047619047[/C][/ROW]
[ROW][C]47[/C][C]96.6[/C][C]110.723809523810[/C][C]-14.1238095238095[/C][/ROW]
[ROW][C]48[/C][C]101.9[/C][C]110.723809523810[/C][C]-8.82380952380952[/C][/ROW]
[ROW][C]49[/C][C]116.5[/C][C]110.723809523810[/C][C]5.77619047619048[/C][/ROW]
[ROW][C]50[/C][C]119.3[/C][C]110.723809523810[/C][C]8.57619047619047[/C][/ROW]
[ROW][C]51[/C][C]115.4[/C][C]110.723809523810[/C][C]4.67619047619048[/C][/ROW]
[ROW][C]52[/C][C]108.5[/C][C]110.723809523810[/C][C]-2.22380952380952[/C][/ROW]
[ROW][C]53[/C][C]111.5[/C][C]110.723809523810[/C][C]0.776190476190478[/C][/ROW]
[ROW][C]54[/C][C]108.8[/C][C]110.723809523810[/C][C]-1.92380952380952[/C][/ROW]
[ROW][C]55[/C][C]121.8[/C][C]110.723809523810[/C][C]11.0761904761905[/C][/ROW]
[ROW][C]56[/C][C]109.6[/C][C]110.723809523810[/C][C]-1.12380952380953[/C][/ROW]
[ROW][C]57[/C][C]112.2[/C][C]110.723809523810[/C][C]1.47619047619048[/C][/ROW]
[ROW][C]58[/C][C]119.6[/C][C]110.723809523810[/C][C]8.87619047619047[/C][/ROW]
[ROW][C]59[/C][C]103.4[/C][C]110.723809523810[/C][C]-7.32380952380952[/C][/ROW]
[ROW][C]60[/C][C]105.3[/C][C]110.723809523810[/C][C]-5.42380952380953[/C][/ROW]
[ROW][C]61[/C][C]113.5[/C][C]110.723809523810[/C][C]2.77619047619048[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4819&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4819&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
1106.5103.93752.56250000000008
2112.3103.93758.3625
3102.8103.9375-1.13750000000000
496.5103.9375-7.4375
5101103.9375-2.9375
698.9103.9375-5.0375
7105.1103.93751.16249999999999
8103103.9375-0.937500000000001
999103.9375-4.9375
10104.3103.93750.362499999999996
1194.6103.9375-9.3375
1290.4103.9375-13.5375
13108.9103.93754.9625
14111.4103.93757.4625
15100.8103.9375-3.13750000000000
16102.5103.9375-1.43750000000000
1798.2103.9375-5.7375
1898.7103.9375-5.2375
19113.3103.93759.3625
20104.6103.93750.662499999999993
2199.3103.9375-4.6375
22111.8103.93757.8625
2397.3103.9375-6.6375
2497.7103.9375-6.2375
25115.6103.937511.6625
26111.9103.93757.9625
27107103.93753.0625
28107.1103.93753.16249999999999
29100.6103.9375-3.33750000000001
3099.2103.9375-4.7375
31108.4103.93754.4625
32103103.9375-0.937500000000001
3399.8103.9375-4.13750000000000
34115103.937511.0625
3590.8103.9375-13.1375
3695.9103.9375-8.0375
37114.4103.937510.4625
38108.2103.93754.2625
39112.6103.93758.6625
40109.1103.93755.16249999999999
41105110.723809523810-5.72380952380952
42105110.723809523810-5.72380952380952
43118.5110.7238095238107.77619047619048
44103.7110.723809523810-7.02380952380952
45112.5110.7238095238101.77619047619048
46116.6110.7238095238105.87619047619047
4796.6110.723809523810-14.1238095238095
48101.9110.723809523810-8.82380952380952
49116.5110.7238095238105.77619047619048
50119.3110.7238095238108.57619047619047
51115.4110.7238095238104.67619047619048
52108.5110.723809523810-2.22380952380952
53111.5110.7238095238100.776190476190478
54108.8110.723809523810-1.92380952380952
55121.8110.72380952381011.0761904761905
56109.6110.723809523810-1.12380952380953
57112.2110.7238095238101.47619047619048
58119.6110.7238095238108.87619047619047
59103.4110.723809523810-7.32380952380952
60105.3110.723809523810-5.42380952380953
61113.5110.7238095238102.77619047619048



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