Free Statistics

of Irreproducible Research!

Author's title

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

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact175
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Workshop 3 Q3 ass...] [2007-11-25 14:15:47] [44cf2be50bc8700e14714598feda9df9] [Current]
Feedback Forum

Post a new message
Dataseries X:
15761.3	0
16943.0	0
15070.3	0
13659.6	0
14768.9	0
14725.1	0
15998.1	0
15370.6	0
14956.9	0
15469.7	0
15101.8	0
11703.7	0
16283.6	0
16726.5	0
14968.9	0
14861.0	1
14583.3	1
15305.8	1
17903.9	1
16379.4	0
15420.3	0
17870.5	1
15912.8	1
13866.5	1
17823.2	1
17872.0	1
17420.4	1
16704.4	1
15991.2	1
16583.6	1
19123.5	1
17838.7	1
17209.4	1
18586.5	1
16258.1	1
15141.6	1
19202.1	1
17746.5	1
19090.1	0
18040.3	0
17515.5	1
17751.8	0
21072.4	0
17170.0	1
19439.5	1
19795.4	1
17574.9	1
16165.4	1
19464.6	1
19932.1	1
19961.2	1
17343.4	1
18924.2	1
18574.1	1
21350.6	1
18840.1	1
20304.8	1
21132.4	1
19753.9	1
18009.9	1
20390.4	1




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001

\begin{tabular}{lllllllll}
\hline
Summary of compuational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 6 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6462&T=0

[TABLE]
[ROW][C]Summary of compuational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]6 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6462&T=0

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

As an alternative you can also use a QR Code:  

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

Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Multiple Linear Regression - Estimated Regression Equation
y[t] = + 14459.5894260997 -381.304728660039x[t] + 97.2643755443243t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
y[t] =  +  14459.5894260997 -381.304728660039x[t] +  97.2643755443243t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6462&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]y[t] =  +  14459.5894260997 -381.304728660039x[t] +  97.2643755443243t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6462&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6462&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] = + 14459.5894260997 -381.304728660039x[t] + 97.2643755443243t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)14459.5894260997344.91459741.922200
x-381.304728660039459.873859-0.82920.4104190.205209
t97.264375544324312.4098837.837700

\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) & 14459.5894260997 & 344.914597 & 41.9222 & 0 & 0 \tabularnewline
x & -381.304728660039 & 459.873859 & -0.8292 & 0.410419 & 0.205209 \tabularnewline
t & 97.2643755443243 & 12.409883 & 7.8377 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6462&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]14459.5894260997[/C][C]344.914597[/C][C]41.9222[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]x[/C][C]-381.304728660039[/C][C]459.873859[/C][C]-0.8292[/C][C]0.410419[/C][C]0.205209[/C][/ROW]
[ROW][C]t[/C][C]97.2643755443243[/C][C]12.409883[/C][C]7.8377[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6462&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6462&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)14459.5894260997344.91459741.922200
x-381.304728660039459.873859-0.82920.4104190.205209
t97.264375544324312.4098837.837700







Multiple Linear Regression - Regression Statistics
Multiple R0.781363387391381
R-squared0.610528743155733
Adjusted R-squared0.597098699816276
F-TEST (value)45.4599235254885
F-TEST (DF numerator)2
F-TEST (DF denominator)58
p-value1.32982513889601e-12
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1312.88925657213
Sum Squared Residuals99973335.601307

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.781363387391381 \tabularnewline
R-squared & 0.610528743155733 \tabularnewline
Adjusted R-squared & 0.597098699816276 \tabularnewline
F-TEST (value) & 45.4599235254885 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 1.32982513889601e-12 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1312.88925657213 \tabularnewline
Sum Squared Residuals & 99973335.601307 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6462&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.781363387391381[/C][/ROW]
[ROW][C]R-squared[/C][C]0.610528743155733[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.597098699816276[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]45.4599235254885[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]2[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]58[/C][/ROW]
[ROW][C]p-value[/C][C]1.32982513889601e-12[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]1312.88925657213[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]99973335.601307[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6462&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6462&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.781363387391381
R-squared0.610528743155733
Adjusted R-squared0.597098699816276
F-TEST (value)45.4599235254885
F-TEST (DF numerator)2
F-TEST (DF denominator)58
p-value1.32982513889601e-12
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1312.88925657213
Sum Squared Residuals99973335.601307







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
115761.314556.85380164411204.44619835593
21694314654.11817718842288.88182281161
315070.314751.3825527327318.917447267284
413659.614848.6469282770-1189.04692827704
514768.914945.9113038214-177.011303821364
614725.115043.1756793657-318.075679365688
715998.115140.44005491857.659945089988
815370.615237.7044304543132.895569545664
914956.915334.9688059987-378.068805998662
1015469.715432.23318154337.4668184570153
1115101.815529.4975570873-427.697557087310
1211703.715626.7619326316-3923.06193263163
1316283.615724.0263081760559.573691824042
1416726.515821.2906837203905.209316279717
1514968.915918.5550592646-949.655059264607
161486115634.5147061489-773.514706148892
1714583.315731.7790816932-1148.47908169322
1815305.815829.0434572375-523.243457237541
1917903.915926.30783278191977.59216721814
2016379.416404.8769369862-25.476936986229
2115420.316502.1413125306-1081.84131253055
2217870.516218.10095941481652.39904058516
2315912.816315.3653349592-402.565334959163
2413866.516412.6297105035-2546.12971050349
2517823.216509.89408604781313.30591395219
261787216607.15846159211264.84153840787
2717420.416704.4228371365715.977162863542
2816704.416801.6872126808-97.2872126807823
2915991.216898.9515882251-907.751588225107
3016583.616996.2159637694-412.615963769434
3119123.517093.48033931382030.01966068624
3217838.717190.7447148581647.95528514192
3317209.417288.0090904024-78.609090402404
3418586.517385.27346594671201.22653405327
3516258.117482.5378414911-1224.43784149105
3615141.617579.8022170354-2438.20221703538
3719202.117677.06659257971525.03340742030
3817746.517774.3309681240-27.8309681240271
3919090.118252.9000723284837.199927671607
4018040.318350.1644478727-309.864447872716
4117515.518066.124094757-550.624094757
4217751.818544.6931989614-792.893198961365
4321072.418641.95757450572430.44242549431
441717018357.9172213900-1187.91722138997
4519439.518455.1815969343984.318403065702
4619795.418552.44597247861242.95402752138
4717574.918649.7103480229-1074.81034802294
4816165.418746.9747235673-2581.57472356727
4919464.618844.2390991116620.360900888404
5019932.118941.5034746559990.59652534408
5119961.219038.7678502002922.432149799757
5217343.419136.0322257446-1792.63222574457
5318924.219233.2966012889-309.096601288891
5418574.119330.5609768332-756.460976833218
5521350.619427.82535237751922.77464762246
5618840.119525.0897279219-684.989727921866
5720304.819622.3541034662682.44589653381
5821132.419719.61847901051412.78152098949
5919753.919816.8828545548-62.9828545548366
6018009.919914.1472300992-1904.24723009916
6120390.420011.4116056435378.988394356515

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 15761.3 & 14556.8538016441 & 1204.44619835593 \tabularnewline
2 & 16943 & 14654.1181771884 & 2288.88182281161 \tabularnewline
3 & 15070.3 & 14751.3825527327 & 318.917447267284 \tabularnewline
4 & 13659.6 & 14848.6469282770 & -1189.04692827704 \tabularnewline
5 & 14768.9 & 14945.9113038214 & -177.011303821364 \tabularnewline
6 & 14725.1 & 15043.1756793657 & -318.075679365688 \tabularnewline
7 & 15998.1 & 15140.44005491 & 857.659945089988 \tabularnewline
8 & 15370.6 & 15237.7044304543 & 132.895569545664 \tabularnewline
9 & 14956.9 & 15334.9688059987 & -378.068805998662 \tabularnewline
10 & 15469.7 & 15432.233181543 & 37.4668184570153 \tabularnewline
11 & 15101.8 & 15529.4975570873 & -427.697557087310 \tabularnewline
12 & 11703.7 & 15626.7619326316 & -3923.06193263163 \tabularnewline
13 & 16283.6 & 15724.0263081760 & 559.573691824042 \tabularnewline
14 & 16726.5 & 15821.2906837203 & 905.209316279717 \tabularnewline
15 & 14968.9 & 15918.5550592646 & -949.655059264607 \tabularnewline
16 & 14861 & 15634.5147061489 & -773.514706148892 \tabularnewline
17 & 14583.3 & 15731.7790816932 & -1148.47908169322 \tabularnewline
18 & 15305.8 & 15829.0434572375 & -523.243457237541 \tabularnewline
19 & 17903.9 & 15926.3078327819 & 1977.59216721814 \tabularnewline
20 & 16379.4 & 16404.8769369862 & -25.476936986229 \tabularnewline
21 & 15420.3 & 16502.1413125306 & -1081.84131253055 \tabularnewline
22 & 17870.5 & 16218.1009594148 & 1652.39904058516 \tabularnewline
23 & 15912.8 & 16315.3653349592 & -402.565334959163 \tabularnewline
24 & 13866.5 & 16412.6297105035 & -2546.12971050349 \tabularnewline
25 & 17823.2 & 16509.8940860478 & 1313.30591395219 \tabularnewline
26 & 17872 & 16607.1584615921 & 1264.84153840787 \tabularnewline
27 & 17420.4 & 16704.4228371365 & 715.977162863542 \tabularnewline
28 & 16704.4 & 16801.6872126808 & -97.2872126807823 \tabularnewline
29 & 15991.2 & 16898.9515882251 & -907.751588225107 \tabularnewline
30 & 16583.6 & 16996.2159637694 & -412.615963769434 \tabularnewline
31 & 19123.5 & 17093.4803393138 & 2030.01966068624 \tabularnewline
32 & 17838.7 & 17190.7447148581 & 647.95528514192 \tabularnewline
33 & 17209.4 & 17288.0090904024 & -78.609090402404 \tabularnewline
34 & 18586.5 & 17385.2734659467 & 1201.22653405327 \tabularnewline
35 & 16258.1 & 17482.5378414911 & -1224.43784149105 \tabularnewline
36 & 15141.6 & 17579.8022170354 & -2438.20221703538 \tabularnewline
37 & 19202.1 & 17677.0665925797 & 1525.03340742030 \tabularnewline
38 & 17746.5 & 17774.3309681240 & -27.8309681240271 \tabularnewline
39 & 19090.1 & 18252.9000723284 & 837.199927671607 \tabularnewline
40 & 18040.3 & 18350.1644478727 & -309.864447872716 \tabularnewline
41 & 17515.5 & 18066.124094757 & -550.624094757 \tabularnewline
42 & 17751.8 & 18544.6931989614 & -792.893198961365 \tabularnewline
43 & 21072.4 & 18641.9575745057 & 2430.44242549431 \tabularnewline
44 & 17170 & 18357.9172213900 & -1187.91722138997 \tabularnewline
45 & 19439.5 & 18455.1815969343 & 984.318403065702 \tabularnewline
46 & 19795.4 & 18552.4459724786 & 1242.95402752138 \tabularnewline
47 & 17574.9 & 18649.7103480229 & -1074.81034802294 \tabularnewline
48 & 16165.4 & 18746.9747235673 & -2581.57472356727 \tabularnewline
49 & 19464.6 & 18844.2390991116 & 620.360900888404 \tabularnewline
50 & 19932.1 & 18941.5034746559 & 990.59652534408 \tabularnewline
51 & 19961.2 & 19038.7678502002 & 922.432149799757 \tabularnewline
52 & 17343.4 & 19136.0322257446 & -1792.63222574457 \tabularnewline
53 & 18924.2 & 19233.2966012889 & -309.096601288891 \tabularnewline
54 & 18574.1 & 19330.5609768332 & -756.460976833218 \tabularnewline
55 & 21350.6 & 19427.8253523775 & 1922.77464762246 \tabularnewline
56 & 18840.1 & 19525.0897279219 & -684.989727921866 \tabularnewline
57 & 20304.8 & 19622.3541034662 & 682.44589653381 \tabularnewline
58 & 21132.4 & 19719.6184790105 & 1412.78152098949 \tabularnewline
59 & 19753.9 & 19816.8828545548 & -62.9828545548366 \tabularnewline
60 & 18009.9 & 19914.1472300992 & -1904.24723009916 \tabularnewline
61 & 20390.4 & 20011.4116056435 & 378.988394356515 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=6462&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]15761.3[/C][C]14556.8538016441[/C][C]1204.44619835593[/C][/ROW]
[ROW][C]2[/C][C]16943[/C][C]14654.1181771884[/C][C]2288.88182281161[/C][/ROW]
[ROW][C]3[/C][C]15070.3[/C][C]14751.3825527327[/C][C]318.917447267284[/C][/ROW]
[ROW][C]4[/C][C]13659.6[/C][C]14848.6469282770[/C][C]-1189.04692827704[/C][/ROW]
[ROW][C]5[/C][C]14768.9[/C][C]14945.9113038214[/C][C]-177.011303821364[/C][/ROW]
[ROW][C]6[/C][C]14725.1[/C][C]15043.1756793657[/C][C]-318.075679365688[/C][/ROW]
[ROW][C]7[/C][C]15998.1[/C][C]15140.44005491[/C][C]857.659945089988[/C][/ROW]
[ROW][C]8[/C][C]15370.6[/C][C]15237.7044304543[/C][C]132.895569545664[/C][/ROW]
[ROW][C]9[/C][C]14956.9[/C][C]15334.9688059987[/C][C]-378.068805998662[/C][/ROW]
[ROW][C]10[/C][C]15469.7[/C][C]15432.233181543[/C][C]37.4668184570153[/C][/ROW]
[ROW][C]11[/C][C]15101.8[/C][C]15529.4975570873[/C][C]-427.697557087310[/C][/ROW]
[ROW][C]12[/C][C]11703.7[/C][C]15626.7619326316[/C][C]-3923.06193263163[/C][/ROW]
[ROW][C]13[/C][C]16283.6[/C][C]15724.0263081760[/C][C]559.573691824042[/C][/ROW]
[ROW][C]14[/C][C]16726.5[/C][C]15821.2906837203[/C][C]905.209316279717[/C][/ROW]
[ROW][C]15[/C][C]14968.9[/C][C]15918.5550592646[/C][C]-949.655059264607[/C][/ROW]
[ROW][C]16[/C][C]14861[/C][C]15634.5147061489[/C][C]-773.514706148892[/C][/ROW]
[ROW][C]17[/C][C]14583.3[/C][C]15731.7790816932[/C][C]-1148.47908169322[/C][/ROW]
[ROW][C]18[/C][C]15305.8[/C][C]15829.0434572375[/C][C]-523.243457237541[/C][/ROW]
[ROW][C]19[/C][C]17903.9[/C][C]15926.3078327819[/C][C]1977.59216721814[/C][/ROW]
[ROW][C]20[/C][C]16379.4[/C][C]16404.8769369862[/C][C]-25.476936986229[/C][/ROW]
[ROW][C]21[/C][C]15420.3[/C][C]16502.1413125306[/C][C]-1081.84131253055[/C][/ROW]
[ROW][C]22[/C][C]17870.5[/C][C]16218.1009594148[/C][C]1652.39904058516[/C][/ROW]
[ROW][C]23[/C][C]15912.8[/C][C]16315.3653349592[/C][C]-402.565334959163[/C][/ROW]
[ROW][C]24[/C][C]13866.5[/C][C]16412.6297105035[/C][C]-2546.12971050349[/C][/ROW]
[ROW][C]25[/C][C]17823.2[/C][C]16509.8940860478[/C][C]1313.30591395219[/C][/ROW]
[ROW][C]26[/C][C]17872[/C][C]16607.1584615921[/C][C]1264.84153840787[/C][/ROW]
[ROW][C]27[/C][C]17420.4[/C][C]16704.4228371365[/C][C]715.977162863542[/C][/ROW]
[ROW][C]28[/C][C]16704.4[/C][C]16801.6872126808[/C][C]-97.2872126807823[/C][/ROW]
[ROW][C]29[/C][C]15991.2[/C][C]16898.9515882251[/C][C]-907.751588225107[/C][/ROW]
[ROW][C]30[/C][C]16583.6[/C][C]16996.2159637694[/C][C]-412.615963769434[/C][/ROW]
[ROW][C]31[/C][C]19123.5[/C][C]17093.4803393138[/C][C]2030.01966068624[/C][/ROW]
[ROW][C]32[/C][C]17838.7[/C][C]17190.7447148581[/C][C]647.95528514192[/C][/ROW]
[ROW][C]33[/C][C]17209.4[/C][C]17288.0090904024[/C][C]-78.609090402404[/C][/ROW]
[ROW][C]34[/C][C]18586.5[/C][C]17385.2734659467[/C][C]1201.22653405327[/C][/ROW]
[ROW][C]35[/C][C]16258.1[/C][C]17482.5378414911[/C][C]-1224.43784149105[/C][/ROW]
[ROW][C]36[/C][C]15141.6[/C][C]17579.8022170354[/C][C]-2438.20221703538[/C][/ROW]
[ROW][C]37[/C][C]19202.1[/C][C]17677.0665925797[/C][C]1525.03340742030[/C][/ROW]
[ROW][C]38[/C][C]17746.5[/C][C]17774.3309681240[/C][C]-27.8309681240271[/C][/ROW]
[ROW][C]39[/C][C]19090.1[/C][C]18252.9000723284[/C][C]837.199927671607[/C][/ROW]
[ROW][C]40[/C][C]18040.3[/C][C]18350.1644478727[/C][C]-309.864447872716[/C][/ROW]
[ROW][C]41[/C][C]17515.5[/C][C]18066.124094757[/C][C]-550.624094757[/C][/ROW]
[ROW][C]42[/C][C]17751.8[/C][C]18544.6931989614[/C][C]-792.893198961365[/C][/ROW]
[ROW][C]43[/C][C]21072.4[/C][C]18641.9575745057[/C][C]2430.44242549431[/C][/ROW]
[ROW][C]44[/C][C]17170[/C][C]18357.9172213900[/C][C]-1187.91722138997[/C][/ROW]
[ROW][C]45[/C][C]19439.5[/C][C]18455.1815969343[/C][C]984.318403065702[/C][/ROW]
[ROW][C]46[/C][C]19795.4[/C][C]18552.4459724786[/C][C]1242.95402752138[/C][/ROW]
[ROW][C]47[/C][C]17574.9[/C][C]18649.7103480229[/C][C]-1074.81034802294[/C][/ROW]
[ROW][C]48[/C][C]16165.4[/C][C]18746.9747235673[/C][C]-2581.57472356727[/C][/ROW]
[ROW][C]49[/C][C]19464.6[/C][C]18844.2390991116[/C][C]620.360900888404[/C][/ROW]
[ROW][C]50[/C][C]19932.1[/C][C]18941.5034746559[/C][C]990.59652534408[/C][/ROW]
[ROW][C]51[/C][C]19961.2[/C][C]19038.7678502002[/C][C]922.432149799757[/C][/ROW]
[ROW][C]52[/C][C]17343.4[/C][C]19136.0322257446[/C][C]-1792.63222574457[/C][/ROW]
[ROW][C]53[/C][C]18924.2[/C][C]19233.2966012889[/C][C]-309.096601288891[/C][/ROW]
[ROW][C]54[/C][C]18574.1[/C][C]19330.5609768332[/C][C]-756.460976833218[/C][/ROW]
[ROW][C]55[/C][C]21350.6[/C][C]19427.8253523775[/C][C]1922.77464762246[/C][/ROW]
[ROW][C]56[/C][C]18840.1[/C][C]19525.0897279219[/C][C]-684.989727921866[/C][/ROW]
[ROW][C]57[/C][C]20304.8[/C][C]19622.3541034662[/C][C]682.44589653381[/C][/ROW]
[ROW][C]58[/C][C]21132.4[/C][C]19719.6184790105[/C][C]1412.78152098949[/C][/ROW]
[ROW][C]59[/C][C]19753.9[/C][C]19816.8828545548[/C][C]-62.9828545548366[/C][/ROW]
[ROW][C]60[/C][C]18009.9[/C][C]19914.1472300992[/C][C]-1904.24723009916[/C][/ROW]
[ROW][C]61[/C][C]20390.4[/C][C]20011.4116056435[/C][C]378.988394356515[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=6462&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=6462&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
115761.314556.85380164411204.44619835593
21694314654.11817718842288.88182281161
315070.314751.3825527327318.917447267284
413659.614848.6469282770-1189.04692827704
514768.914945.9113038214-177.011303821364
614725.115043.1756793657-318.075679365688
715998.115140.44005491857.659945089988
815370.615237.7044304543132.895569545664
914956.915334.9688059987-378.068805998662
1015469.715432.23318154337.4668184570153
1115101.815529.4975570873-427.697557087310
1211703.715626.7619326316-3923.06193263163
1316283.615724.0263081760559.573691824042
1416726.515821.2906837203905.209316279717
1514968.915918.5550592646-949.655059264607
161486115634.5147061489-773.514706148892
1714583.315731.7790816932-1148.47908169322
1815305.815829.0434572375-523.243457237541
1917903.915926.30783278191977.59216721814
2016379.416404.8769369862-25.476936986229
2115420.316502.1413125306-1081.84131253055
2217870.516218.10095941481652.39904058516
2315912.816315.3653349592-402.565334959163
2413866.516412.6297105035-2546.12971050349
2517823.216509.89408604781313.30591395219
261787216607.15846159211264.84153840787
2717420.416704.4228371365715.977162863542
2816704.416801.6872126808-97.2872126807823
2915991.216898.9515882251-907.751588225107
3016583.616996.2159637694-412.615963769434
3119123.517093.48033931382030.01966068624
3217838.717190.7447148581647.95528514192
3317209.417288.0090904024-78.609090402404
3418586.517385.27346594671201.22653405327
3516258.117482.5378414911-1224.43784149105
3615141.617579.8022170354-2438.20221703538
3719202.117677.06659257971525.03340742030
3817746.517774.3309681240-27.8309681240271
3919090.118252.9000723284837.199927671607
4018040.318350.1644478727-309.864447872716
4117515.518066.124094757-550.624094757
4217751.818544.6931989614-792.893198961365
4321072.418641.95757450572430.44242549431
441717018357.9172213900-1187.91722138997
4519439.518455.1815969343984.318403065702
4619795.418552.44597247861242.95402752138
4717574.918649.7103480229-1074.81034802294
4816165.418746.9747235673-2581.57472356727
4919464.618844.2390991116620.360900888404
5019932.118941.5034746559990.59652534408
5119961.219038.7678502002922.432149799757
5217343.419136.0322257446-1792.63222574457
5318924.219233.2966012889-309.096601288891
5418574.119330.5609768332-756.460976833218
5521350.619427.82535237751922.77464762246
5618840.119525.0897279219-684.989727921866
5720304.819622.3541034662682.44589653381
5821132.419719.61847901051412.78152098949
5919753.919816.8828545548-62.9828545548366
6018009.919914.1472300992-1904.24723009916
6120390.420011.4116056435378.988394356515



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