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:42:23 -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/t1195403747arphob345s0f2ho.htm/, Retrieved Sat, 04 May 2024 22:39:32 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=5598, Retrieved Sat, 04 May 2024 22:39:32 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact190
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [WS8 Q3 incl month...] [2007-11-18 16:42:23] [d66dce91cbb8b108f7114f1eb0c2faa2] [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 time5 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 & 5 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5598&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]5 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=5598&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5598&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 time5 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
Huwelijken[t] = + 2039.51506352087 -33.8675136116152Dummy[t] -767.591046581972M1[t] -42.7349062310934M2[t] + 89.3212341197802M3[t] + 1046.77737447066M4[t] + 2387.43351482154M5[t] + 2917.66315789474M6[t] + 3000.91929824562M7[t] + 3651.37543859649M8[t] + 2926.43157894737M9[t] + 828.287719298245M10[t] -331.656140350877M11[t] + 7.7438596491228t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Huwelijken[t] =  +  2039.51506352087 -33.8675136116152Dummy[t] -767.591046581972M1[t] -42.7349062310934M2[t] +  89.3212341197802M3[t] +  1046.77737447066M4[t] +  2387.43351482154M5[t] +  2917.66315789474M6[t] +  3000.91929824562M7[t] +  3651.37543859649M8[t] +  2926.43157894737M9[t] +  828.287719298245M10[t] -331.656140350877M11[t] +  7.7438596491228t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5598&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Huwelijken[t] =  +  2039.51506352087 -33.8675136116152Dummy[t] -767.591046581972M1[t] -42.7349062310934M2[t] +  89.3212341197802M3[t] +  1046.77737447066M4[t] +  2387.43351482154M5[t] +  2917.66315789474M6[t] +  3000.91929824562M7[t] +  3651.37543859649M8[t] +  2926.43157894737M9[t] +  828.287719298245M10[t] -331.656140350877M11[t] +  7.7438596491228t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5598&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5598&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] = + 2039.51506352087 -33.8675136116152Dummy[t] -767.591046581972M1[t] -42.7349062310934M2[t] + 89.3212341197802M3[t] + 1046.77737447066M4[t] + 2387.43351482154M5[t] + 2917.66315789474M6[t] + 3000.91929824562M7[t] + 3651.37543859649M8[t] + 2926.43157894737M9[t] + 828.287719298245M10[t] -331.656140350877M11[t] + 7.7438596491228t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)2039.51506352087167.66400712.164300
Dummy-33.8675136116152148.875468-0.22750.8210520.410526
M1-767.591046581972203.545075-3.77110.0004630.000231
M2-42.7349062310934203.215872-0.21030.8343680.417184
M389.3212341197802202.9594560.44010.661930.330965
M41046.77737447066202.7761035.16225e-063e-06
M52387.43351482154202.66601211.780100
M62917.66315789474203.08454614.366700
M73000.91929824562202.681214.806100
M83651.37543859649202.35059218.044800
M92926.43157894737202.09307814.480600
M10828.287719298245201.9089394.10230.0001658.3e-05
M11-331.656140350877201.798374-1.64350.1070980.053549
t7.74385964912283.8572722.00760.0505810.02529

\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) & 2039.51506352087 & 167.664007 & 12.1643 & 0 & 0 \tabularnewline
Dummy & -33.8675136116152 & 148.875468 & -0.2275 & 0.821052 & 0.410526 \tabularnewline
M1 & -767.591046581972 & 203.545075 & -3.7711 & 0.000463 & 0.000231 \tabularnewline
M2 & -42.7349062310934 & 203.215872 & -0.2103 & 0.834368 & 0.417184 \tabularnewline
M3 & 89.3212341197802 & 202.959456 & 0.4401 & 0.66193 & 0.330965 \tabularnewline
M4 & 1046.77737447066 & 202.776103 & 5.1622 & 5e-06 & 3e-06 \tabularnewline
M5 & 2387.43351482154 & 202.666012 & 11.7801 & 0 & 0 \tabularnewline
M6 & 2917.66315789474 & 203.084546 & 14.3667 & 0 & 0 \tabularnewline
M7 & 3000.91929824562 & 202.6812 & 14.8061 & 0 & 0 \tabularnewline
M8 & 3651.37543859649 & 202.350592 & 18.0448 & 0 & 0 \tabularnewline
M9 & 2926.43157894737 & 202.093078 & 14.4806 & 0 & 0 \tabularnewline
M10 & 828.287719298245 & 201.908939 & 4.1023 & 0.000165 & 8.3e-05 \tabularnewline
M11 & -331.656140350877 & 201.798374 & -1.6435 & 0.107098 & 0.053549 \tabularnewline
t & 7.7438596491228 & 3.857272 & 2.0076 & 0.050581 & 0.02529 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5598&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]2039.51506352087[/C][C]167.664007[/C][C]12.1643[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Dummy[/C][C]-33.8675136116152[/C][C]148.875468[/C][C]-0.2275[/C][C]0.821052[/C][C]0.410526[/C][/ROW]
[ROW][C]M1[/C][C]-767.591046581972[/C][C]203.545075[/C][C]-3.7711[/C][C]0.000463[/C][C]0.000231[/C][/ROW]
[ROW][C]M2[/C][C]-42.7349062310934[/C][C]203.215872[/C][C]-0.2103[/C][C]0.834368[/C][C]0.417184[/C][/ROW]
[ROW][C]M3[/C][C]89.3212341197802[/C][C]202.959456[/C][C]0.4401[/C][C]0.66193[/C][C]0.330965[/C][/ROW]
[ROW][C]M4[/C][C]1046.77737447066[/C][C]202.776103[/C][C]5.1622[/C][C]5e-06[/C][C]3e-06[/C][/ROW]
[ROW][C]M5[/C][C]2387.43351482154[/C][C]202.666012[/C][C]11.7801[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M6[/C][C]2917.66315789474[/C][C]203.084546[/C][C]14.3667[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M7[/C][C]3000.91929824562[/C][C]202.6812[/C][C]14.8061[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M8[/C][C]3651.37543859649[/C][C]202.350592[/C][C]18.0448[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M9[/C][C]2926.43157894737[/C][C]202.093078[/C][C]14.4806[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M10[/C][C]828.287719298245[/C][C]201.908939[/C][C]4.1023[/C][C]0.000165[/C][C]8.3e-05[/C][/ROW]
[ROW][C]M11[/C][C]-331.656140350877[/C][C]201.798374[/C][C]-1.6435[/C][C]0.107098[/C][C]0.053549[/C][/ROW]
[ROW][C]t[/C][C]7.7438596491228[/C][C]3.857272[/C][C]2.0076[/C][C]0.050581[/C][C]0.02529[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5598&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5598&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)2039.51506352087167.66400712.164300
Dummy-33.8675136116152148.875468-0.22750.8210520.410526
M1-767.591046581972203.545075-3.77110.0004630.000231
M2-42.7349062310934203.215872-0.21030.8343680.417184
M389.3212341197802202.9594560.44010.661930.330965
M41046.77737447066202.7761035.16225e-063e-06
M52387.43351482154202.66601211.780100
M62917.66315789474203.08454614.366700
M73000.91929824562202.681214.806100
M83651.37543859649202.35059218.044800
M92926.43157894737202.09307814.480600
M10828.287719298245201.9089394.10230.0001658.3e-05
M11-331.656140350877201.798374-1.64350.1070980.053549
t7.74385964912283.8572722.00760.0505810.02529







Multiple Linear Regression - Regression Statistics
Multiple R0.983319506786941
R-squared0.966917252427713
Adjusted R-squared0.957567780287719
F-TEST (value)103.419448493946
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation319.012951593109
Sum Squared Residuals4681386.11107077

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.983319506786941 \tabularnewline
R-squared & 0.966917252427713 \tabularnewline
Adjusted R-squared & 0.957567780287719 \tabularnewline
F-TEST (value) & 103.419448493946 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 319.012951593109 \tabularnewline
Sum Squared Residuals & 4681386.11107077 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5598&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.983319506786941[/C][/ROW]
[ROW][C]R-squared[/C][C]0.966917252427713[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.957567780287719[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]103.419448493946[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]46[/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]319.012951593109[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]4681386.11107077[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5598&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5598&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.983319506786941
R-squared0.966917252427713
Adjusted R-squared0.957567780287719
F-TEST (value)103.419448493946
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation319.012951593109
Sum Squared Residuals4681386.11107077







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
111781279.66787658802-101.667876588022
221412012.26787658802128.732123411979
322382152.0678765880285.93212341198
426853117.26787658802-432.267876588023
543414465.66787658802-124.667876588015
653765003.64137931035372.358620689652
744785094.64137931034-616.64137931034
864045752.84137931035651.158620689654
946175035.64137931035-418.641379310348
1030242945.2413793103578.7586206896523
1118971793.04137931035103.958620689654
1220752132.44137931034-57.4413793103445
1313511372.59419237750-21.5941923774956
1422112105.19419237750105.805807622505
1524532244.99419237750208.005807622504
1630423210.19419237749-168.194192377495
1747654558.5941923775206.405807622503
1849925062.7001814882-70.7001814882028
1946015153.7001814882-552.700181488204
2062665811.9001814882454.099818511798
2148125094.7001814882-282.700181488202
2231593004.30018148820154.699818511797
2319161852.1001814882063.8998185117969
2422372191.5001814882045.499818511797
2515951431.65299455535163.347005444646
2624532164.25299455535288.747005444646
2722262304.05299455535-78.0529945553543
2835973269.25299455535327.747005444646
2947064617.6529945553688.3470054446444
3049745155.62649727768-181.626497277676
3157565246.62649727768509.373502722322
3254935904.82649727768-411.826497277677
3350045187.62649727768-183.626497277676
3432253097.22649727768127.773502722324
3520061945.0264972776860.9735027223232
3622912284.426497277686.57350272232332
3715881524.5793103448363.4206896551723
3821052257.17931034483-152.179310344828
3921912396.97931034483-205.979310344828
4035913362.17931034483228.820689655173
4146684710.57931034483-42.5793103448292
4248855248.55281306715-363.55281306715
4358225339.55281306715482.447186932848
4455995997.75281306715-398.75281306715
4553405280.5528130671559.4471869328502
4630823190.15281306715-108.15281306715
4720102037.95281306715-27.9528130671504
4823012377.35281306715-76.3528130671503
4915141617.5056261343-103.505626134301
5019792350.1056261343-371.105626134301
5124802489.9056261343-9.90562613430169
5234993455.105626134343.8943738656991
5346764803.5056261343-127.505626134303
5455855341.47912885662243.520871143376
5556105432.47912885663177.520871143374
5657966090.67912885662-294.679128856624
5761995373.47912885662825.520871143377
5830303283.07912885662-253.079128856624
5919302130.87912885662-200.879128856624
6025522470.2791288566281.720871143376

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1178 & 1279.66787658802 & -101.667876588022 \tabularnewline
2 & 2141 & 2012.26787658802 & 128.732123411979 \tabularnewline
3 & 2238 & 2152.06787658802 & 85.93212341198 \tabularnewline
4 & 2685 & 3117.26787658802 & -432.267876588023 \tabularnewline
5 & 4341 & 4465.66787658802 & -124.667876588015 \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.7586206896523 \tabularnewline
11 & 1897 & 1793.04137931035 & 103.958620689654 \tabularnewline
12 & 2075 & 2132.44137931034 & -57.4413793103445 \tabularnewline
13 & 1351 & 1372.59419237750 & -21.5941923774956 \tabularnewline
14 & 2211 & 2105.19419237750 & 105.805807622505 \tabularnewline
15 & 2453 & 2244.99419237750 & 208.005807622504 \tabularnewline
16 & 3042 & 3210.19419237749 & -168.194192377495 \tabularnewline
17 & 4765 & 4558.5941923775 & 206.405807622503 \tabularnewline
18 & 4992 & 5062.7001814882 & -70.7001814882028 \tabularnewline
19 & 4601 & 5153.7001814882 & -552.700181488204 \tabularnewline
20 & 6266 & 5811.9001814882 & 454.099818511798 \tabularnewline
21 & 4812 & 5094.7001814882 & -282.700181488202 \tabularnewline
22 & 3159 & 3004.30018148820 & 154.699818511797 \tabularnewline
23 & 1916 & 1852.10018148820 & 63.8998185117969 \tabularnewline
24 & 2237 & 2191.50018148820 & 45.499818511797 \tabularnewline
25 & 1595 & 1431.65299455535 & 163.347005444646 \tabularnewline
26 & 2453 & 2164.25299455535 & 288.747005444646 \tabularnewline
27 & 2226 & 2304.05299455535 & -78.0529945553543 \tabularnewline
28 & 3597 & 3269.25299455535 & 327.747005444646 \tabularnewline
29 & 4706 & 4617.65299455536 & 88.3470054446444 \tabularnewline
30 & 4974 & 5155.62649727768 & -181.626497277676 \tabularnewline
31 & 5756 & 5246.62649727768 & 509.373502722322 \tabularnewline
32 & 5493 & 5904.82649727768 & -411.826497277677 \tabularnewline
33 & 5004 & 5187.62649727768 & -183.626497277676 \tabularnewline
34 & 3225 & 3097.22649727768 & 127.773502722324 \tabularnewline
35 & 2006 & 1945.02649727768 & 60.9735027223232 \tabularnewline
36 & 2291 & 2284.42649727768 & 6.57350272232332 \tabularnewline
37 & 1588 & 1524.57931034483 & 63.4206896551723 \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 & 5248.55281306715 & -363.55281306715 \tabularnewline
43 & 5822 & 5339.55281306715 & 482.447186932848 \tabularnewline
44 & 5599 & 5997.75281306715 & -398.75281306715 \tabularnewline
45 & 5340 & 5280.55281306715 & 59.4471869328502 \tabularnewline
46 & 3082 & 3190.15281306715 & -108.15281306715 \tabularnewline
47 & 2010 & 2037.95281306715 & -27.9528130671504 \tabularnewline
48 & 2301 & 2377.35281306715 & -76.3528130671503 \tabularnewline
49 & 1514 & 1617.5056261343 & -103.505626134301 \tabularnewline
50 & 1979 & 2350.1056261343 & -371.105626134301 \tabularnewline
51 & 2480 & 2489.9056261343 & -9.90562613430169 \tabularnewline
52 & 3499 & 3455.1056261343 & 43.8943738656991 \tabularnewline
53 & 4676 & 4803.5056261343 & -127.505626134303 \tabularnewline
54 & 5585 & 5341.47912885662 & 243.520871143376 \tabularnewline
55 & 5610 & 5432.47912885663 & 177.520871143374 \tabularnewline
56 & 5796 & 6090.67912885662 & -294.679128856624 \tabularnewline
57 & 6199 & 5373.47912885662 & 825.520871143377 \tabularnewline
58 & 3030 & 3283.07912885662 & -253.079128856624 \tabularnewline
59 & 1930 & 2130.87912885662 & -200.879128856624 \tabularnewline
60 & 2552 & 2470.27912885662 & 81.720871143376 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5598&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]1279.66787658802[/C][C]-101.667876588022[/C][/ROW]
[ROW][C]2[/C][C]2141[/C][C]2012.26787658802[/C][C]128.732123411979[/C][/ROW]
[ROW][C]3[/C][C]2238[/C][C]2152.06787658802[/C][C]85.93212341198[/C][/ROW]
[ROW][C]4[/C][C]2685[/C][C]3117.26787658802[/C][C]-432.267876588023[/C][/ROW]
[ROW][C]5[/C][C]4341[/C][C]4465.66787658802[/C][C]-124.667876588015[/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.7586206896523[/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]1372.59419237750[/C][C]-21.5941923774956[/C][/ROW]
[ROW][C]14[/C][C]2211[/C][C]2105.19419237750[/C][C]105.805807622505[/C][/ROW]
[ROW][C]15[/C][C]2453[/C][C]2244.99419237750[/C][C]208.005807622504[/C][/ROW]
[ROW][C]16[/C][C]3042[/C][C]3210.19419237749[/C][C]-168.194192377495[/C][/ROW]
[ROW][C]17[/C][C]4765[/C][C]4558.5941923775[/C][C]206.405807622503[/C][/ROW]
[ROW][C]18[/C][C]4992[/C][C]5062.7001814882[/C][C]-70.7001814882028[/C][/ROW]
[ROW][C]19[/C][C]4601[/C][C]5153.7001814882[/C][C]-552.700181488204[/C][/ROW]
[ROW][C]20[/C][C]6266[/C][C]5811.9001814882[/C][C]454.099818511798[/C][/ROW]
[ROW][C]21[/C][C]4812[/C][C]5094.7001814882[/C][C]-282.700181488202[/C][/ROW]
[ROW][C]22[/C][C]3159[/C][C]3004.30018148820[/C][C]154.699818511797[/C][/ROW]
[ROW][C]23[/C][C]1916[/C][C]1852.10018148820[/C][C]63.8998185117969[/C][/ROW]
[ROW][C]24[/C][C]2237[/C][C]2191.50018148820[/C][C]45.499818511797[/C][/ROW]
[ROW][C]25[/C][C]1595[/C][C]1431.65299455535[/C][C]163.347005444646[/C][/ROW]
[ROW][C]26[/C][C]2453[/C][C]2164.25299455535[/C][C]288.747005444646[/C][/ROW]
[ROW][C]27[/C][C]2226[/C][C]2304.05299455535[/C][C]-78.0529945553543[/C][/ROW]
[ROW][C]28[/C][C]3597[/C][C]3269.25299455535[/C][C]327.747005444646[/C][/ROW]
[ROW][C]29[/C][C]4706[/C][C]4617.65299455536[/C][C]88.3470054446444[/C][/ROW]
[ROW][C]30[/C][C]4974[/C][C]5155.62649727768[/C][C]-181.626497277676[/C][/ROW]
[ROW][C]31[/C][C]5756[/C][C]5246.62649727768[/C][C]509.373502722322[/C][/ROW]
[ROW][C]32[/C][C]5493[/C][C]5904.82649727768[/C][C]-411.826497277677[/C][/ROW]
[ROW][C]33[/C][C]5004[/C][C]5187.62649727768[/C][C]-183.626497277676[/C][/ROW]
[ROW][C]34[/C][C]3225[/C][C]3097.22649727768[/C][C]127.773502722324[/C][/ROW]
[ROW][C]35[/C][C]2006[/C][C]1945.02649727768[/C][C]60.9735027223232[/C][/ROW]
[ROW][C]36[/C][C]2291[/C][C]2284.42649727768[/C][C]6.57350272232332[/C][/ROW]
[ROW][C]37[/C][C]1588[/C][C]1524.57931034483[/C][C]63.4206896551723[/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]5248.55281306715[/C][C]-363.55281306715[/C][/ROW]
[ROW][C]43[/C][C]5822[/C][C]5339.55281306715[/C][C]482.447186932848[/C][/ROW]
[ROW][C]44[/C][C]5599[/C][C]5997.75281306715[/C][C]-398.75281306715[/C][/ROW]
[ROW][C]45[/C][C]5340[/C][C]5280.55281306715[/C][C]59.4471869328502[/C][/ROW]
[ROW][C]46[/C][C]3082[/C][C]3190.15281306715[/C][C]-108.15281306715[/C][/ROW]
[ROW][C]47[/C][C]2010[/C][C]2037.95281306715[/C][C]-27.9528130671504[/C][/ROW]
[ROW][C]48[/C][C]2301[/C][C]2377.35281306715[/C][C]-76.3528130671503[/C][/ROW]
[ROW][C]49[/C][C]1514[/C][C]1617.5056261343[/C][C]-103.505626134301[/C][/ROW]
[ROW][C]50[/C][C]1979[/C][C]2350.1056261343[/C][C]-371.105626134301[/C][/ROW]
[ROW][C]51[/C][C]2480[/C][C]2489.9056261343[/C][C]-9.90562613430169[/C][/ROW]
[ROW][C]52[/C][C]3499[/C][C]3455.1056261343[/C][C]43.8943738656991[/C][/ROW]
[ROW][C]53[/C][C]4676[/C][C]4803.5056261343[/C][C]-127.505626134303[/C][/ROW]
[ROW][C]54[/C][C]5585[/C][C]5341.47912885662[/C][C]243.520871143376[/C][/ROW]
[ROW][C]55[/C][C]5610[/C][C]5432.47912885663[/C][C]177.520871143374[/C][/ROW]
[ROW][C]56[/C][C]5796[/C][C]6090.67912885662[/C][C]-294.679128856624[/C][/ROW]
[ROW][C]57[/C][C]6199[/C][C]5373.47912885662[/C][C]825.520871143377[/C][/ROW]
[ROW][C]58[/C][C]3030[/C][C]3283.07912885662[/C][C]-253.079128856624[/C][/ROW]
[ROW][C]59[/C][C]1930[/C][C]2130.87912885662[/C][C]-200.879128856624[/C][/ROW]
[ROW][C]60[/C][C]2552[/C][C]2470.27912885662[/C][C]81.720871143376[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5598&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5598&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
111781279.66787658802-101.667876588022
221412012.26787658802128.732123411979
322382152.0678765880285.93212341198
426853117.26787658802-432.267876588023
543414465.66787658802-124.667876588015
653765003.64137931035372.358620689652
744785094.64137931034-616.64137931034
864045752.84137931035651.158620689654
946175035.64137931035-418.641379310348
1030242945.2413793103578.7586206896523
1118971793.04137931035103.958620689654
1220752132.44137931034-57.4413793103445
1313511372.59419237750-21.5941923774956
1422112105.19419237750105.805807622505
1524532244.99419237750208.005807622504
1630423210.19419237749-168.194192377495
1747654558.5941923775206.405807622503
1849925062.7001814882-70.7001814882028
1946015153.7001814882-552.700181488204
2062665811.9001814882454.099818511798
2148125094.7001814882-282.700181488202
2231593004.30018148820154.699818511797
2319161852.1001814882063.8998185117969
2422372191.5001814882045.499818511797
2515951431.65299455535163.347005444646
2624532164.25299455535288.747005444646
2722262304.05299455535-78.0529945553543
2835973269.25299455535327.747005444646
2947064617.6529945553688.3470054446444
3049745155.62649727768-181.626497277676
3157565246.62649727768509.373502722322
3254935904.82649727768-411.826497277677
3350045187.62649727768-183.626497277676
3432253097.22649727768127.773502722324
3520061945.0264972776860.9735027223232
3622912284.426497277686.57350272232332
3715881524.5793103448363.4206896551723
3821052257.17931034483-152.179310344828
3921912396.97931034483-205.979310344828
4035913362.17931034483228.820689655173
4146684710.57931034483-42.5793103448292
4248855248.55281306715-363.55281306715
4358225339.55281306715482.447186932848
4455995997.75281306715-398.75281306715
4553405280.5528130671559.4471869328502
4630823190.15281306715-108.15281306715
4720102037.95281306715-27.9528130671504
4823012377.35281306715-76.3528130671503
4915141617.5056261343-103.505626134301
5019792350.1056261343-371.105626134301
5124802489.9056261343-9.90562613430169
5234993455.105626134343.8943738656991
5346764803.5056261343-127.505626134303
5455855341.47912885662243.520871143376
5556105432.47912885663177.520871143374
5657966090.67912885662-294.679128856624
5761995373.47912885662825.520871143377
5830303283.07912885662-253.079128856624
5919302130.87912885662-200.879128856624
6025522470.2791288566281.720871143376



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
R code (references can be found in the software module):
library(lattice)
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT
H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation
Forecast', 1, TRUE)
a<-table.element(a, 'Residuals
Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')