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:54:03 -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/t1195404448ve5czyvaqwa9s7u.htm/, Retrieved Sun, 05 May 2024 04:05:42 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=14470, Retrieved Sun, 05 May 2024 04:05:42 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact176
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [WS8 Q3 Monthly] [2007-11-18 16:54:03] [83c5b5dfba5139cca82cca1f21083930] [Current]
Feedback Forum

Post a new message
Dataseries X:
1178	0
2141	0
2238	0
2685	0
4341	0
5376	0
4478	0
6404	0
4617	0
3024	0
1897	0
2075	0
1351	0
2211	0
2453	0
3042	0
4765	0
4992	1
4601	1
6266	1
4812	1
3159	1
1916	1
2237	1
1595	1
2453	1
2226	1
3597	1
4706	1
4974	1
5756	1
5493	1
5004	1
3225	1
2006	1
2291	1
1588	1
2105	1
2191	1
3591	1
4668	1
4885	1
5822	1
5599	1
5340	1
3082	1
2010	1
2301	1
1514	1
1979	1
2480	1
3499	1
4676	1
5585	1
5610	1
5796	1
6199	1
3030	1
1930	1
2552	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=14470&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=14470&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14470&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
Huwelijken[t] = + 2132.44137931034 + 198.448275862069Dummy[t] -806.310344827587M1[t] -73.7103448275845M2[t] + 66.0896551724116M3[t] + 1031.28965517242M4[t] + 2379.68965517241M5[t] + 2871.2M6[t] + 2962.20000000000M7[t] + 3620.4M8[t] + 2903.2M9[t] + 812.8M10[t] -339.4M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Huwelijken[t] =  +  2132.44137931034 +  198.448275862069Dummy[t] -806.310344827587M1[t] -73.7103448275845M2[t] +  66.0896551724116M3[t] +  1031.28965517242M4[t] +  2379.68965517241M5[t] +  2871.2M6[t] +  2962.20000000000M7[t] +  3620.4M8[t] +  2903.2M9[t] +  812.8M10[t] -339.4M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14470&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Huwelijken[t] =  +  2132.44137931034 +  198.448275862069Dummy[t] -806.310344827587M1[t] -73.7103448275845M2[t] +  66.0896551724116M3[t] +  1031.28965517242M4[t] +  2379.68965517241M5[t] +  2871.2M6[t] +  2962.20000000000M7[t] +  3620.4M8[t] +  2903.2M9[t] +  812.8M10[t] -339.4M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14470&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14470&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
Huwelijken[t] = + 2132.44137931034 + 198.448275862069Dummy[t] -806.310344827587M1[t] -73.7103448275845M2[t] + 66.0896551724116M3[t] + 1031.28965517242M4[t] + 2379.68965517241M5[t] + 2871.2M6[t] + 2962.20000000000M7[t] + 3620.4M8[t] + 2903.2M9[t] + 812.8M10[t] -339.4M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)2132.44137931034166.26218612.825800
Dummy198.44827586206996.6379332.05350.0456090.022805
M1-806.310344827587209.059813-3.85680.0003480.000174
M2-73.7103448275845209.059813-0.35260.7259790.36299
M366.0896551724116209.0598130.31610.7533050.376653
M41031.28965517242209.0598134.9331.1e-055e-06
M52379.68965517241209.05981311.382800
M62871.2208.16447813.792900
M72962.20000000000208.16447814.230100
M83620.4208.16447817.39200
M92903.2208.16447813.946700
M10812.8208.1644783.90463e-040.00015
M11-339.4208.164478-1.63040.1096930.054846

\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) & 2132.44137931034 & 166.262186 & 12.8258 & 0 & 0 \tabularnewline
Dummy & 198.448275862069 & 96.637933 & 2.0535 & 0.045609 & 0.022805 \tabularnewline
M1 & -806.310344827587 & 209.059813 & -3.8568 & 0.000348 & 0.000174 \tabularnewline
M2 & -73.7103448275845 & 209.059813 & -0.3526 & 0.725979 & 0.36299 \tabularnewline
M3 & 66.0896551724116 & 209.059813 & 0.3161 & 0.753305 & 0.376653 \tabularnewline
M4 & 1031.28965517242 & 209.059813 & 4.933 & 1.1e-05 & 5e-06 \tabularnewline
M5 & 2379.68965517241 & 209.059813 & 11.3828 & 0 & 0 \tabularnewline
M6 & 2871.2 & 208.164478 & 13.7929 & 0 & 0 \tabularnewline
M7 & 2962.20000000000 & 208.164478 & 14.2301 & 0 & 0 \tabularnewline
M8 & 3620.4 & 208.164478 & 17.392 & 0 & 0 \tabularnewline
M9 & 2903.2 & 208.164478 & 13.9467 & 0 & 0 \tabularnewline
M10 & 812.8 & 208.164478 & 3.9046 & 3e-04 & 0.00015 \tabularnewline
M11 & -339.4 & 208.164478 & -1.6304 & 0.109693 & 0.054846 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14470&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]2132.44137931034[/C][C]166.262186[/C][C]12.8258[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Dummy[/C][C]198.448275862069[/C][C]96.637933[/C][C]2.0535[/C][C]0.045609[/C][C]0.022805[/C][/ROW]
[ROW][C]M1[/C][C]-806.310344827587[/C][C]209.059813[/C][C]-3.8568[/C][C]0.000348[/C][C]0.000174[/C][/ROW]
[ROW][C]M2[/C][C]-73.7103448275845[/C][C]209.059813[/C][C]-0.3526[/C][C]0.725979[/C][C]0.36299[/C][/ROW]
[ROW][C]M3[/C][C]66.0896551724116[/C][C]209.059813[/C][C]0.3161[/C][C]0.753305[/C][C]0.376653[/C][/ROW]
[ROW][C]M4[/C][C]1031.28965517242[/C][C]209.059813[/C][C]4.933[/C][C]1.1e-05[/C][C]5e-06[/C][/ROW]
[ROW][C]M5[/C][C]2379.68965517241[/C][C]209.059813[/C][C]11.3828[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M6[/C][C]2871.2[/C][C]208.164478[/C][C]13.7929[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M7[/C][C]2962.20000000000[/C][C]208.164478[/C][C]14.2301[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M8[/C][C]3620.4[/C][C]208.164478[/C][C]17.392[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M9[/C][C]2903.2[/C][C]208.164478[/C][C]13.9467[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M10[/C][C]812.8[/C][C]208.164478[/C][C]3.9046[/C][C]3e-04[/C][C]0.00015[/C][/ROW]
[ROW][C]M11[/C][C]-339.4[/C][C]208.164478[/C][C]-1.6304[/C][C]0.109693[/C][C]0.054846[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14470&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14470&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)2132.44137931034166.26218612.825800
Dummy198.44827586206996.6379332.05350.0456090.022805
M1-806.310344827587209.059813-3.85680.0003480.000174
M2-73.7103448275845209.059813-0.35260.7259790.36299
M366.0896551724116209.0598130.31610.7533050.376653
M41031.28965517242209.0598134.9331.1e-055e-06
M52379.68965517241209.05981311.382800
M62871.2208.16447813.792900
M72962.20000000000208.16447814.230100
M83620.4208.16447817.39200
M92903.2208.16447813.946700
M10812.8208.1644783.90463e-040.00015
M11-339.4208.164478-1.63040.1096930.054846







Multiple Linear Regression - Regression Statistics
Multiple R0.981844481859706
R-squared0.964018586558354
Adjusted R-squared0.954831842700913
F-TEST (value)104.935829442711
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation329.136939390896
Sum Squared Residuals5091562.86896551

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.981844481859706 \tabularnewline
R-squared & 0.964018586558354 \tabularnewline
Adjusted R-squared & 0.954831842700913 \tabularnewline
F-TEST (value) & 104.935829442711 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 329.136939390896 \tabularnewline
Sum Squared Residuals & 5091562.86896551 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14470&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.981844481859706[/C][/ROW]
[ROW][C]R-squared[/C][C]0.964018586558354[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.954831842700913[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]104.935829442711[/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]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]329.136939390896[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]5091562.86896551[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14470&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14470&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.981844481859706
R-squared0.964018586558354
Adjusted R-squared0.954831842700913
F-TEST (value)104.935829442711
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation329.136939390896
Sum Squared Residuals5091562.86896551







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
111781326.13103448276-148.131034482759
221412058.7310344827682.2689655172425
322382198.5310344827639.4689655172429
426853163.73103448276-478.73103448276
543414512.13103448275-171.131034482752
653765003.64137931035372.358620689652
744785094.64137931034-616.64137931034
864045752.84137931035651.158620689654
946175035.64137931035-418.641379310348
1030242945.2413793103578.7586206896522
1118971793.04137931035103.958620689654
1220752132.44137931034-57.4413793103445
1313511326.1310344827624.8689655172416
1422112058.73103448276152.268965517241
1524532198.53103448276254.468965517241
1630423163.73103448276-121.731034482758
1747654512.13103448276252.86896551724
1849925202.08965517241-210.089655172413
1946015293.08965517242-692.089655172415
2062665951.28965517241314.710344827587
2148125234.08965517241-422.089655172413
2231593143.6896551724115.3103448275869
2319161991.48965517241-75.4896551724136
2422372330.88965517241-93.8896551724135
2515951524.5793103448370.4206896551726
2624532257.17931034483195.820689655172
2722262396.97931034483-170.979310344828
2835973362.17931034483234.820689655173
2947064710.57931034483-4.57931034482927
3049745202.08965517241-228.089655172413
3157565293.08965517241462.910344827585
3254935951.28965517241-458.289655172414
3350045234.08965517241-230.089655172413
3432253143.6896551724181.310344827587
3520061991.4896551724114.5103448275864
3622912330.88965517241-39.8896551724135
3715881524.5793103448363.4206896551726
3821052257.17931034483-152.179310344828
3921912396.97931034483-205.979310344828
4035913362.17931034483228.820689655173
4146684710.57931034483-42.5793103448292
4248855202.08965517241-317.089655172413
4358225293.08965517242528.910344827585
4455995951.28965517241-352.289655172414
4553405234.08965517241105.910344827587
4630823143.68965517241-61.6896551724131
4720101991.4896551724118.5103448275864
4823012330.88965517241-29.8896551724135
4915141524.57931034483-10.5793103448274
5019792257.17931034483-278.179310344828
5124802396.9793103448383.020689655172
5234993362.17931034483136.820689655173
5346764710.57931034483-34.5793103448293
5455855202.08965517241382.910344827586
5556105293.08965517242316.910344827585
5657965951.28965517241-155.289655172414
5761995234.08965517241964.910344827587
5830303143.68965517241-113.689655172413
5919301991.48965517241-61.4896551724136
6025522330.88965517241221.110344827587

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1178 & 1326.13103448276 & -148.131034482759 \tabularnewline
2 & 2141 & 2058.73103448276 & 82.2689655172425 \tabularnewline
3 & 2238 & 2198.53103448276 & 39.4689655172429 \tabularnewline
4 & 2685 & 3163.73103448276 & -478.73103448276 \tabularnewline
5 & 4341 & 4512.13103448275 & -171.131034482752 \tabularnewline
6 & 5376 & 5003.64137931035 & 372.358620689652 \tabularnewline
7 & 4478 & 5094.64137931034 & -616.64137931034 \tabularnewline
8 & 6404 & 5752.84137931035 & 651.158620689654 \tabularnewline
9 & 4617 & 5035.64137931035 & -418.641379310348 \tabularnewline
10 & 3024 & 2945.24137931035 & 78.7586206896522 \tabularnewline
11 & 1897 & 1793.04137931035 & 103.958620689654 \tabularnewline
12 & 2075 & 2132.44137931034 & -57.4413793103445 \tabularnewline
13 & 1351 & 1326.13103448276 & 24.8689655172416 \tabularnewline
14 & 2211 & 2058.73103448276 & 152.268965517241 \tabularnewline
15 & 2453 & 2198.53103448276 & 254.468965517241 \tabularnewline
16 & 3042 & 3163.73103448276 & -121.731034482758 \tabularnewline
17 & 4765 & 4512.13103448276 & 252.86896551724 \tabularnewline
18 & 4992 & 5202.08965517241 & -210.089655172413 \tabularnewline
19 & 4601 & 5293.08965517242 & -692.089655172415 \tabularnewline
20 & 6266 & 5951.28965517241 & 314.710344827587 \tabularnewline
21 & 4812 & 5234.08965517241 & -422.089655172413 \tabularnewline
22 & 3159 & 3143.68965517241 & 15.3103448275869 \tabularnewline
23 & 1916 & 1991.48965517241 & -75.4896551724136 \tabularnewline
24 & 2237 & 2330.88965517241 & -93.8896551724135 \tabularnewline
25 & 1595 & 1524.57931034483 & 70.4206896551726 \tabularnewline
26 & 2453 & 2257.17931034483 & 195.820689655172 \tabularnewline
27 & 2226 & 2396.97931034483 & -170.979310344828 \tabularnewline
28 & 3597 & 3362.17931034483 & 234.820689655173 \tabularnewline
29 & 4706 & 4710.57931034483 & -4.57931034482927 \tabularnewline
30 & 4974 & 5202.08965517241 & -228.089655172413 \tabularnewline
31 & 5756 & 5293.08965517241 & 462.910344827585 \tabularnewline
32 & 5493 & 5951.28965517241 & -458.289655172414 \tabularnewline
33 & 5004 & 5234.08965517241 & -230.089655172413 \tabularnewline
34 & 3225 & 3143.68965517241 & 81.310344827587 \tabularnewline
35 & 2006 & 1991.48965517241 & 14.5103448275864 \tabularnewline
36 & 2291 & 2330.88965517241 & -39.8896551724135 \tabularnewline
37 & 1588 & 1524.57931034483 & 63.4206896551726 \tabularnewline
38 & 2105 & 2257.17931034483 & -152.179310344828 \tabularnewline
39 & 2191 & 2396.97931034483 & -205.979310344828 \tabularnewline
40 & 3591 & 3362.17931034483 & 228.820689655173 \tabularnewline
41 & 4668 & 4710.57931034483 & -42.5793103448292 \tabularnewline
42 & 4885 & 5202.08965517241 & -317.089655172413 \tabularnewline
43 & 5822 & 5293.08965517242 & 528.910344827585 \tabularnewline
44 & 5599 & 5951.28965517241 & -352.289655172414 \tabularnewline
45 & 5340 & 5234.08965517241 & 105.910344827587 \tabularnewline
46 & 3082 & 3143.68965517241 & -61.6896551724131 \tabularnewline
47 & 2010 & 1991.48965517241 & 18.5103448275864 \tabularnewline
48 & 2301 & 2330.88965517241 & -29.8896551724135 \tabularnewline
49 & 1514 & 1524.57931034483 & -10.5793103448274 \tabularnewline
50 & 1979 & 2257.17931034483 & -278.179310344828 \tabularnewline
51 & 2480 & 2396.97931034483 & 83.020689655172 \tabularnewline
52 & 3499 & 3362.17931034483 & 136.820689655173 \tabularnewline
53 & 4676 & 4710.57931034483 & -34.5793103448293 \tabularnewline
54 & 5585 & 5202.08965517241 & 382.910344827586 \tabularnewline
55 & 5610 & 5293.08965517242 & 316.910344827585 \tabularnewline
56 & 5796 & 5951.28965517241 & -155.289655172414 \tabularnewline
57 & 6199 & 5234.08965517241 & 964.910344827587 \tabularnewline
58 & 3030 & 3143.68965517241 & -113.689655172413 \tabularnewline
59 & 1930 & 1991.48965517241 & -61.4896551724136 \tabularnewline
60 & 2552 & 2330.88965517241 & 221.110344827587 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=14470&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]1178[/C][C]1326.13103448276[/C][C]-148.131034482759[/C][/ROW]
[ROW][C]2[/C][C]2141[/C][C]2058.73103448276[/C][C]82.2689655172425[/C][/ROW]
[ROW][C]3[/C][C]2238[/C][C]2198.53103448276[/C][C]39.4689655172429[/C][/ROW]
[ROW][C]4[/C][C]2685[/C][C]3163.73103448276[/C][C]-478.73103448276[/C][/ROW]
[ROW][C]5[/C][C]4341[/C][C]4512.13103448275[/C][C]-171.131034482752[/C][/ROW]
[ROW][C]6[/C][C]5376[/C][C]5003.64137931035[/C][C]372.358620689652[/C][/ROW]
[ROW][C]7[/C][C]4478[/C][C]5094.64137931034[/C][C]-616.64137931034[/C][/ROW]
[ROW][C]8[/C][C]6404[/C][C]5752.84137931035[/C][C]651.158620689654[/C][/ROW]
[ROW][C]9[/C][C]4617[/C][C]5035.64137931035[/C][C]-418.641379310348[/C][/ROW]
[ROW][C]10[/C][C]3024[/C][C]2945.24137931035[/C][C]78.7586206896522[/C][/ROW]
[ROW][C]11[/C][C]1897[/C][C]1793.04137931035[/C][C]103.958620689654[/C][/ROW]
[ROW][C]12[/C][C]2075[/C][C]2132.44137931034[/C][C]-57.4413793103445[/C][/ROW]
[ROW][C]13[/C][C]1351[/C][C]1326.13103448276[/C][C]24.8689655172416[/C][/ROW]
[ROW][C]14[/C][C]2211[/C][C]2058.73103448276[/C][C]152.268965517241[/C][/ROW]
[ROW][C]15[/C][C]2453[/C][C]2198.53103448276[/C][C]254.468965517241[/C][/ROW]
[ROW][C]16[/C][C]3042[/C][C]3163.73103448276[/C][C]-121.731034482758[/C][/ROW]
[ROW][C]17[/C][C]4765[/C][C]4512.13103448276[/C][C]252.86896551724[/C][/ROW]
[ROW][C]18[/C][C]4992[/C][C]5202.08965517241[/C][C]-210.089655172413[/C][/ROW]
[ROW][C]19[/C][C]4601[/C][C]5293.08965517242[/C][C]-692.089655172415[/C][/ROW]
[ROW][C]20[/C][C]6266[/C][C]5951.28965517241[/C][C]314.710344827587[/C][/ROW]
[ROW][C]21[/C][C]4812[/C][C]5234.08965517241[/C][C]-422.089655172413[/C][/ROW]
[ROW][C]22[/C][C]3159[/C][C]3143.68965517241[/C][C]15.3103448275869[/C][/ROW]
[ROW][C]23[/C][C]1916[/C][C]1991.48965517241[/C][C]-75.4896551724136[/C][/ROW]
[ROW][C]24[/C][C]2237[/C][C]2330.88965517241[/C][C]-93.8896551724135[/C][/ROW]
[ROW][C]25[/C][C]1595[/C][C]1524.57931034483[/C][C]70.4206896551726[/C][/ROW]
[ROW][C]26[/C][C]2453[/C][C]2257.17931034483[/C][C]195.820689655172[/C][/ROW]
[ROW][C]27[/C][C]2226[/C][C]2396.97931034483[/C][C]-170.979310344828[/C][/ROW]
[ROW][C]28[/C][C]3597[/C][C]3362.17931034483[/C][C]234.820689655173[/C][/ROW]
[ROW][C]29[/C][C]4706[/C][C]4710.57931034483[/C][C]-4.57931034482927[/C][/ROW]
[ROW][C]30[/C][C]4974[/C][C]5202.08965517241[/C][C]-228.089655172413[/C][/ROW]
[ROW][C]31[/C][C]5756[/C][C]5293.08965517241[/C][C]462.910344827585[/C][/ROW]
[ROW][C]32[/C][C]5493[/C][C]5951.28965517241[/C][C]-458.289655172414[/C][/ROW]
[ROW][C]33[/C][C]5004[/C][C]5234.08965517241[/C][C]-230.089655172413[/C][/ROW]
[ROW][C]34[/C][C]3225[/C][C]3143.68965517241[/C][C]81.310344827587[/C][/ROW]
[ROW][C]35[/C][C]2006[/C][C]1991.48965517241[/C][C]14.5103448275864[/C][/ROW]
[ROW][C]36[/C][C]2291[/C][C]2330.88965517241[/C][C]-39.8896551724135[/C][/ROW]
[ROW][C]37[/C][C]1588[/C][C]1524.57931034483[/C][C]63.4206896551726[/C][/ROW]
[ROW][C]38[/C][C]2105[/C][C]2257.17931034483[/C][C]-152.179310344828[/C][/ROW]
[ROW][C]39[/C][C]2191[/C][C]2396.97931034483[/C][C]-205.979310344828[/C][/ROW]
[ROW][C]40[/C][C]3591[/C][C]3362.17931034483[/C][C]228.820689655173[/C][/ROW]
[ROW][C]41[/C][C]4668[/C][C]4710.57931034483[/C][C]-42.5793103448292[/C][/ROW]
[ROW][C]42[/C][C]4885[/C][C]5202.08965517241[/C][C]-317.089655172413[/C][/ROW]
[ROW][C]43[/C][C]5822[/C][C]5293.08965517242[/C][C]528.910344827585[/C][/ROW]
[ROW][C]44[/C][C]5599[/C][C]5951.28965517241[/C][C]-352.289655172414[/C][/ROW]
[ROW][C]45[/C][C]5340[/C][C]5234.08965517241[/C][C]105.910344827587[/C][/ROW]
[ROW][C]46[/C][C]3082[/C][C]3143.68965517241[/C][C]-61.6896551724131[/C][/ROW]
[ROW][C]47[/C][C]2010[/C][C]1991.48965517241[/C][C]18.5103448275864[/C][/ROW]
[ROW][C]48[/C][C]2301[/C][C]2330.88965517241[/C][C]-29.8896551724135[/C][/ROW]
[ROW][C]49[/C][C]1514[/C][C]1524.57931034483[/C][C]-10.5793103448274[/C][/ROW]
[ROW][C]50[/C][C]1979[/C][C]2257.17931034483[/C][C]-278.179310344828[/C][/ROW]
[ROW][C]51[/C][C]2480[/C][C]2396.97931034483[/C][C]83.020689655172[/C][/ROW]
[ROW][C]52[/C][C]3499[/C][C]3362.17931034483[/C][C]136.820689655173[/C][/ROW]
[ROW][C]53[/C][C]4676[/C][C]4710.57931034483[/C][C]-34.5793103448293[/C][/ROW]
[ROW][C]54[/C][C]5585[/C][C]5202.08965517241[/C][C]382.910344827586[/C][/ROW]
[ROW][C]55[/C][C]5610[/C][C]5293.08965517242[/C][C]316.910344827585[/C][/ROW]
[ROW][C]56[/C][C]5796[/C][C]5951.28965517241[/C][C]-155.289655172414[/C][/ROW]
[ROW][C]57[/C][C]6199[/C][C]5234.08965517241[/C][C]964.910344827587[/C][/ROW]
[ROW][C]58[/C][C]3030[/C][C]3143.68965517241[/C][C]-113.689655172413[/C][/ROW]
[ROW][C]59[/C][C]1930[/C][C]1991.48965517241[/C][C]-61.4896551724136[/C][/ROW]
[ROW][C]60[/C][C]2552[/C][C]2330.88965517241[/C][C]221.110344827587[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=14470&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=14470&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
111781326.13103448276-148.131034482759
221412058.7310344827682.2689655172425
322382198.5310344827639.4689655172429
426853163.73103448276-478.73103448276
543414512.13103448275-171.131034482752
653765003.64137931035372.358620689652
744785094.64137931034-616.64137931034
864045752.84137931035651.158620689654
946175035.64137931035-418.641379310348
1030242945.2413793103578.7586206896522
1118971793.04137931035103.958620689654
1220752132.44137931034-57.4413793103445
1313511326.1310344827624.8689655172416
1422112058.73103448276152.268965517241
1524532198.53103448276254.468965517241
1630423163.73103448276-121.731034482758
1747654512.13103448276252.86896551724
1849925202.08965517241-210.089655172413
1946015293.08965517242-692.089655172415
2062665951.28965517241314.710344827587
2148125234.08965517241-422.089655172413
2231593143.6896551724115.3103448275869
2319161991.48965517241-75.4896551724136
2422372330.88965517241-93.8896551724135
2515951524.5793103448370.4206896551726
2624532257.17931034483195.820689655172
2722262396.97931034483-170.979310344828
2835973362.17931034483234.820689655173
2947064710.57931034483-4.57931034482927
3049745202.08965517241-228.089655172413
3157565293.08965517241462.910344827585
3254935951.28965517241-458.289655172414
3350045234.08965517241-230.089655172413
3432253143.6896551724181.310344827587
3520061991.4896551724114.5103448275864
3622912330.88965517241-39.8896551724135
3715881524.5793103448363.4206896551726
3821052257.17931034483-152.179310344828
3921912396.97931034483-205.979310344828
4035913362.17931034483228.820689655173
4146684710.57931034483-42.5793103448292
4248855202.08965517241-317.089655172413
4358225293.08965517242528.910344827585
4455995951.28965517241-352.289655172414
4553405234.08965517241105.910344827587
4630823143.68965517241-61.6896551724131
4720101991.4896551724118.5103448275864
4823012330.88965517241-29.8896551724135
4915141524.57931034483-10.5793103448274
5019792257.17931034483-278.179310344828
5124802396.9793103448383.020689655172
5234993362.17931034483136.820689655173
5346764710.57931034483-34.5793103448293
5455855202.08965517241382.910344827586
5556105293.08965517242316.910344827585
5657965951.28965517241-155.289655172414
5761995234.08965517241964.910344827587
5830303143.68965517241-113.689655172413
5919301991.48965517241-61.4896551724136
6025522330.88965517241221.110344827587



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