Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationMon, 19 Nov 2007 11:49:31 -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/19/t1195498172p8w6tagwcf5d1iy.htm/, Retrieved Fri, 03 May 2024 05:04:42 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=5762, Retrieved Fri, 03 May 2024 05:04:42 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact171
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [niet zo goed] [2007-11-19 18:49:31] [887c58ec85a2f7f96f5a0ba18e7ae311] [Current]
Feedback Forum

Post a new message
Dataseries X:
6.5	0
6.4	0
6.2	0
6.2	0
6.3	0
7.5	0
7.4	0
7.4	0
7.4	0
7.4	0
7.4	0
7.2	0
7.2	0
7.2	0
7.5	0
7.4	0
7.4	0
8	0
8.1	0
8.1	0
8.1	0
8.1	0
8.1	0
7.9	0
7.9	0
8	0
8.1	0
8.1	0
8.1	0
8.5	0
8.5	0
8.6	0
8.4	1
8.4	1
8.4	1
7.7	1
7.8	1
7.9	1
8.7	1
8.8	1
8.8	1
8.5	1
8.5	1
8.5	1
8.4	1
8.5	1
8.5	1
8.3	1
8.4	1
8.4	1
8.4	1
8.4	1
8.4	1
8.5	1
8.5	1
8.5	1
8.5	1
8.5	1
8.5	1
8.3	1
8.3	1
8.4	1
8.2	1
8.2	1
8.1	1
8.1	1
8	1
7.8	1
7.9	1
7.8	1
7.7	1
7.9	1
7.8	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=5762&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=5762&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5762&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
figures[t] = + 7.1954030122476 + 0.287859980139027dienstencheques[t] -0.0968676605034594M1[t] -0.000589130057849045M2[t] + 0.120934115950253M3[t] + 0.109124028625022M4[t] + 0.0973139412997902M5[t] + 0.418837187307892M6[t] + 0.390360433315994M7[t] + 0.361883679324096M8[t] + 0.268763595309027M9[t] + 0.256953507983796M10[t] + 0.228476753991898M11[t] + 0.0118100873252313t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
figures[t] =  +  7.1954030122476 +  0.287859980139027dienstencheques[t] -0.0968676605034594M1[t] -0.000589130057849045M2[t] +  0.120934115950253M3[t] +  0.109124028625022M4[t] +  0.0973139412997902M5[t] +  0.418837187307892M6[t] +  0.390360433315994M7[t] +  0.361883679324096M8[t] +  0.268763595309027M9[t] +  0.256953507983796M10[t] +  0.228476753991898M11[t] +  0.0118100873252313t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5762&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]figures[t] =  +  7.1954030122476 +  0.287859980139027dienstencheques[t] -0.0968676605034594M1[t] -0.000589130057849045M2[t] +  0.120934115950253M3[t] +  0.109124028625022M4[t] +  0.0973139412997902M5[t] +  0.418837187307892M6[t] +  0.390360433315994M7[t] +  0.361883679324096M8[t] +  0.268763595309027M9[t] +  0.256953507983796M10[t] +  0.228476753991898M11[t] +  0.0118100873252313t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5762&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5762&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
figures[t] = + 7.1954030122476 + 0.287859980139027dienstencheques[t] -0.0968676605034594M1[t] -0.000589130057849045M2[t] + 0.120934115950253M3[t] + 0.109124028625022M4[t] + 0.0973139412997902M5[t] + 0.418837187307892M6[t] + 0.390360433315994M7[t] + 0.361883679324096M8[t] + 0.268763595309027M9[t] + 0.256953507983796M10[t] + 0.228476753991898M11[t] + 0.0118100873252313t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)7.19540301224760.23641130.43600
dienstencheques0.2878599801390270.2309131.24660.2174640.108732
M1-0.09686766050345940.274892-0.35240.7258060.362903
M2-0.0005891300578490450.286364-0.00210.9983650.499183
M30.1209341159502530.2860130.42280.6739590.336979
M40.1091240286250220.2857660.38190.7039330.351967
M50.09731394129979020.2856210.34070.7345320.367266
M60.4188371873078920.285581.46660.1477890.073895
M70.3903604333159940.2856411.36660.1769330.088466
M80.3618836793240960.2858061.26620.2104230.105212
M90.2687635953090270.2853680.94180.3501290.175065
M100.2569535079837960.285110.90120.3711240.185562
M110.2284767539918980.2849550.80180.4258870.212943
t0.01181008732523130.0054282.17560.0336020.016801

\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) & 7.1954030122476 & 0.236411 & 30.436 & 0 & 0 \tabularnewline
dienstencheques & 0.287859980139027 & 0.230913 & 1.2466 & 0.217464 & 0.108732 \tabularnewline
M1 & -0.0968676605034594 & 0.274892 & -0.3524 & 0.725806 & 0.362903 \tabularnewline
M2 & -0.000589130057849045 & 0.286364 & -0.0021 & 0.998365 & 0.499183 \tabularnewline
M3 & 0.120934115950253 & 0.286013 & 0.4228 & 0.673959 & 0.336979 \tabularnewline
M4 & 0.109124028625022 & 0.285766 & 0.3819 & 0.703933 & 0.351967 \tabularnewline
M5 & 0.0973139412997902 & 0.285621 & 0.3407 & 0.734532 & 0.367266 \tabularnewline
M6 & 0.418837187307892 & 0.28558 & 1.4666 & 0.147789 & 0.073895 \tabularnewline
M7 & 0.390360433315994 & 0.285641 & 1.3666 & 0.176933 & 0.088466 \tabularnewline
M8 & 0.361883679324096 & 0.285806 & 1.2662 & 0.210423 & 0.105212 \tabularnewline
M9 & 0.268763595309027 & 0.285368 & 0.9418 & 0.350129 & 0.175065 \tabularnewline
M10 & 0.256953507983796 & 0.28511 & 0.9012 & 0.371124 & 0.185562 \tabularnewline
M11 & 0.228476753991898 & 0.284955 & 0.8018 & 0.425887 & 0.212943 \tabularnewline
t & 0.0118100873252313 & 0.005428 & 2.1756 & 0.033602 & 0.016801 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5762&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]7.1954030122476[/C][C]0.236411[/C][C]30.436[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]dienstencheques[/C][C]0.287859980139027[/C][C]0.230913[/C][C]1.2466[/C][C]0.217464[/C][C]0.108732[/C][/ROW]
[ROW][C]M1[/C][C]-0.0968676605034594[/C][C]0.274892[/C][C]-0.3524[/C][C]0.725806[/C][C]0.362903[/C][/ROW]
[ROW][C]M2[/C][C]-0.000589130057849045[/C][C]0.286364[/C][C]-0.0021[/C][C]0.998365[/C][C]0.499183[/C][/ROW]
[ROW][C]M3[/C][C]0.120934115950253[/C][C]0.286013[/C][C]0.4228[/C][C]0.673959[/C][C]0.336979[/C][/ROW]
[ROW][C]M4[/C][C]0.109124028625022[/C][C]0.285766[/C][C]0.3819[/C][C]0.703933[/C][C]0.351967[/C][/ROW]
[ROW][C]M5[/C][C]0.0973139412997902[/C][C]0.285621[/C][C]0.3407[/C][C]0.734532[/C][C]0.367266[/C][/ROW]
[ROW][C]M6[/C][C]0.418837187307892[/C][C]0.28558[/C][C]1.4666[/C][C]0.147789[/C][C]0.073895[/C][/ROW]
[ROW][C]M7[/C][C]0.390360433315994[/C][C]0.285641[/C][C]1.3666[/C][C]0.176933[/C][C]0.088466[/C][/ROW]
[ROW][C]M8[/C][C]0.361883679324096[/C][C]0.285806[/C][C]1.2662[/C][C]0.210423[/C][C]0.105212[/C][/ROW]
[ROW][C]M9[/C][C]0.268763595309027[/C][C]0.285368[/C][C]0.9418[/C][C]0.350129[/C][C]0.175065[/C][/ROW]
[ROW][C]M10[/C][C]0.256953507983796[/C][C]0.28511[/C][C]0.9012[/C][C]0.371124[/C][C]0.185562[/C][/ROW]
[ROW][C]M11[/C][C]0.228476753991898[/C][C]0.284955[/C][C]0.8018[/C][C]0.425887[/C][C]0.212943[/C][/ROW]
[ROW][C]t[/C][C]0.0118100873252313[/C][C]0.005428[/C][C]2.1756[/C][C]0.033602[/C][C]0.016801[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5762&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5762&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)7.19540301224760.23641130.43600
dienstencheques0.2878599801390270.2309131.24660.2174640.108732
M1-0.09686766050345940.274892-0.35240.7258060.362903
M2-0.0005891300578490450.286364-0.00210.9983650.499183
M30.1209341159502530.2860130.42280.6739590.336979
M40.1091240286250220.2857660.38190.7039330.351967
M50.09731394129979020.2856210.34070.7345320.367266
M60.4188371873078920.285581.46660.1477890.073895
M70.3903604333159940.2856411.36660.1769330.088466
M80.3618836793240960.2858061.26620.2104230.105212
M90.2687635953090270.2853680.94180.3501290.175065
M100.2569535079837960.285110.90120.3711240.185562
M110.2284767539918980.2849550.80180.4258870.212943
t0.01181008732523130.0054282.17560.0336020.016801







Multiple Linear Regression - Regression Statistics
Multiple R0.682191331962567
R-squared0.465385013404862
Adjusted R-squared0.347588490934747
F-TEST (value)3.95075341483811
F-TEST (DF numerator)13
F-TEST (DF denominator)59
p-value0.000131017632757580
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.493467187323147
Sum Squared Residuals14.3670820329125

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.682191331962567 \tabularnewline
R-squared & 0.465385013404862 \tabularnewline
Adjusted R-squared & 0.347588490934747 \tabularnewline
F-TEST (value) & 3.95075341483811 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 59 \tabularnewline
p-value & 0.000131017632757580 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.493467187323147 \tabularnewline
Sum Squared Residuals & 14.3670820329125 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5762&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.682191331962567[/C][/ROW]
[ROW][C]R-squared[/C][C]0.465385013404862[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.347588490934747[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]3.95075341483811[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]59[/C][/ROW]
[ROW][C]p-value[/C][C]0.000131017632757580[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.493467187323147[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]14.3670820329125[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5762&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5762&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.682191331962567
R-squared0.465385013404862
Adjusted R-squared0.347588490934747
F-TEST (value)3.95075341483811
F-TEST (DF numerator)13
F-TEST (DF denominator)59
p-value0.000131017632757580
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.493467187323147
Sum Squared Residuals14.3670820329125







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
16.57.11034543906937-0.610345439069368
26.47.21843405684021-0.818434056840214
36.27.35176739017355-1.15176739017355
46.27.35176739017355-1.15176739017355
56.37.35176739017355-1.05176739017355
67.57.68510072350688-0.185100723506881
77.47.66843405684021-0.268434056840214
87.47.65176739017355-0.251767390173547
97.47.57045739348371-0.170457393483709
107.47.57045739348371-0.170457393483709
117.47.55379072681704-0.153790726817042
127.27.33712406015038-0.137124060150376
137.27.25206648697215-0.0520664869721483
147.27.36015510474299-0.160155104742990
157.57.493488438076320.00651156192367716
167.47.49348843807632-0.0934884380763228
177.47.49348843807632-0.0934884380763225
1887.826821771409660.173178228590344
198.17.810155104742990.28984489525701
208.17.793488438076320.306511561923677
218.17.712178441386490.387821558613514
228.17.712178441386490.387821558613515
238.17.695511774719820.404488225280181
247.97.478845108053150.421154891946849
257.97.393787534874920.506212465125077
2687.501876152645770.498123847354235
278.17.63520948597910.464790514020901
288.17.63520948597910.464790514020901
298.17.63520948597910.464790514020901
308.57.968542819312430.531457180687568
318.57.951876152645760.548123847354235
328.67.93520948597910.664790514020901
338.48.141759469428290.258240530571712
348.48.141759469428290.258240530571712
358.48.125092802761620.274907197238379
367.77.90842613609496-0.208426136094955
377.87.82336856291673-0.023368562916727
387.97.93145718068757-0.0314571806875681
398.78.06479051402090.635209485979098
408.88.06479051402090.7352094859791
418.88.06479051402090.735209485979099
428.58.398123847354230.101876152645765
438.58.381457180687570.118542819312432
448.58.36479051402090.135209485979099
458.48.283480517331060.116519482668937
468.58.283480517331060.216519482668936
478.58.26681385066440.233186149335603
488.38.050147183997730.249852816002270
498.47.96508961081950.434910389180498
508.48.073178228590340.326821771409656
518.48.206511561923680.193488438076323
528.48.206511561923680.193488438076323
538.48.206511561923680.193488438076323
548.58.53984489525701-0.0398448952570104
558.58.52317822859034-0.0231782285903437
568.58.50651156192368-0.006511561923677
578.58.425201565233840.0747984347661607
588.58.425201565233840.0747984347661608
598.58.408534898567170.0914651014328275
608.38.19186823190050.108131768099495
618.38.106810658722280.193189341277723
628.48.214899276493120.185100723506881
638.28.34823260982645-0.148232609826453
648.28.34823260982645-0.148232609826453
658.18.34823260982645-0.248232609826453
668.18.68156594315979-0.581565943159786
6788.66489927649312-0.664899276493119
687.88.64823260982645-0.848232609826453
697.98.56692261313662-0.666922613136614
707.88.56692261313662-0.766922613136615
717.78.55025594646995-0.850255946469948
727.98.33358927980328-0.433589279803281
737.88.24853170662505-0.448531706625054

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 6.5 & 7.11034543906937 & -0.610345439069368 \tabularnewline
2 & 6.4 & 7.21843405684021 & -0.818434056840214 \tabularnewline
3 & 6.2 & 7.35176739017355 & -1.15176739017355 \tabularnewline
4 & 6.2 & 7.35176739017355 & -1.15176739017355 \tabularnewline
5 & 6.3 & 7.35176739017355 & -1.05176739017355 \tabularnewline
6 & 7.5 & 7.68510072350688 & -0.185100723506881 \tabularnewline
7 & 7.4 & 7.66843405684021 & -0.268434056840214 \tabularnewline
8 & 7.4 & 7.65176739017355 & -0.251767390173547 \tabularnewline
9 & 7.4 & 7.57045739348371 & -0.170457393483709 \tabularnewline
10 & 7.4 & 7.57045739348371 & -0.170457393483709 \tabularnewline
11 & 7.4 & 7.55379072681704 & -0.153790726817042 \tabularnewline
12 & 7.2 & 7.33712406015038 & -0.137124060150376 \tabularnewline
13 & 7.2 & 7.25206648697215 & -0.0520664869721483 \tabularnewline
14 & 7.2 & 7.36015510474299 & -0.160155104742990 \tabularnewline
15 & 7.5 & 7.49348843807632 & 0.00651156192367716 \tabularnewline
16 & 7.4 & 7.49348843807632 & -0.0934884380763228 \tabularnewline
17 & 7.4 & 7.49348843807632 & -0.0934884380763225 \tabularnewline
18 & 8 & 7.82682177140966 & 0.173178228590344 \tabularnewline
19 & 8.1 & 7.81015510474299 & 0.28984489525701 \tabularnewline
20 & 8.1 & 7.79348843807632 & 0.306511561923677 \tabularnewline
21 & 8.1 & 7.71217844138649 & 0.387821558613514 \tabularnewline
22 & 8.1 & 7.71217844138649 & 0.387821558613515 \tabularnewline
23 & 8.1 & 7.69551177471982 & 0.404488225280181 \tabularnewline
24 & 7.9 & 7.47884510805315 & 0.421154891946849 \tabularnewline
25 & 7.9 & 7.39378753487492 & 0.506212465125077 \tabularnewline
26 & 8 & 7.50187615264577 & 0.498123847354235 \tabularnewline
27 & 8.1 & 7.6352094859791 & 0.464790514020901 \tabularnewline
28 & 8.1 & 7.6352094859791 & 0.464790514020901 \tabularnewline
29 & 8.1 & 7.6352094859791 & 0.464790514020901 \tabularnewline
30 & 8.5 & 7.96854281931243 & 0.531457180687568 \tabularnewline
31 & 8.5 & 7.95187615264576 & 0.548123847354235 \tabularnewline
32 & 8.6 & 7.9352094859791 & 0.664790514020901 \tabularnewline
33 & 8.4 & 8.14175946942829 & 0.258240530571712 \tabularnewline
34 & 8.4 & 8.14175946942829 & 0.258240530571712 \tabularnewline
35 & 8.4 & 8.12509280276162 & 0.274907197238379 \tabularnewline
36 & 7.7 & 7.90842613609496 & -0.208426136094955 \tabularnewline
37 & 7.8 & 7.82336856291673 & -0.023368562916727 \tabularnewline
38 & 7.9 & 7.93145718068757 & -0.0314571806875681 \tabularnewline
39 & 8.7 & 8.0647905140209 & 0.635209485979098 \tabularnewline
40 & 8.8 & 8.0647905140209 & 0.7352094859791 \tabularnewline
41 & 8.8 & 8.0647905140209 & 0.735209485979099 \tabularnewline
42 & 8.5 & 8.39812384735423 & 0.101876152645765 \tabularnewline
43 & 8.5 & 8.38145718068757 & 0.118542819312432 \tabularnewline
44 & 8.5 & 8.3647905140209 & 0.135209485979099 \tabularnewline
45 & 8.4 & 8.28348051733106 & 0.116519482668937 \tabularnewline
46 & 8.5 & 8.28348051733106 & 0.216519482668936 \tabularnewline
47 & 8.5 & 8.2668138506644 & 0.233186149335603 \tabularnewline
48 & 8.3 & 8.05014718399773 & 0.249852816002270 \tabularnewline
49 & 8.4 & 7.9650896108195 & 0.434910389180498 \tabularnewline
50 & 8.4 & 8.07317822859034 & 0.326821771409656 \tabularnewline
51 & 8.4 & 8.20651156192368 & 0.193488438076323 \tabularnewline
52 & 8.4 & 8.20651156192368 & 0.193488438076323 \tabularnewline
53 & 8.4 & 8.20651156192368 & 0.193488438076323 \tabularnewline
54 & 8.5 & 8.53984489525701 & -0.0398448952570104 \tabularnewline
55 & 8.5 & 8.52317822859034 & -0.0231782285903437 \tabularnewline
56 & 8.5 & 8.50651156192368 & -0.006511561923677 \tabularnewline
57 & 8.5 & 8.42520156523384 & 0.0747984347661607 \tabularnewline
58 & 8.5 & 8.42520156523384 & 0.0747984347661608 \tabularnewline
59 & 8.5 & 8.40853489856717 & 0.0914651014328275 \tabularnewline
60 & 8.3 & 8.1918682319005 & 0.108131768099495 \tabularnewline
61 & 8.3 & 8.10681065872228 & 0.193189341277723 \tabularnewline
62 & 8.4 & 8.21489927649312 & 0.185100723506881 \tabularnewline
63 & 8.2 & 8.34823260982645 & -0.148232609826453 \tabularnewline
64 & 8.2 & 8.34823260982645 & -0.148232609826453 \tabularnewline
65 & 8.1 & 8.34823260982645 & -0.248232609826453 \tabularnewline
66 & 8.1 & 8.68156594315979 & -0.581565943159786 \tabularnewline
67 & 8 & 8.66489927649312 & -0.664899276493119 \tabularnewline
68 & 7.8 & 8.64823260982645 & -0.848232609826453 \tabularnewline
69 & 7.9 & 8.56692261313662 & -0.666922613136614 \tabularnewline
70 & 7.8 & 8.56692261313662 & -0.766922613136615 \tabularnewline
71 & 7.7 & 8.55025594646995 & -0.850255946469948 \tabularnewline
72 & 7.9 & 8.33358927980328 & -0.433589279803281 \tabularnewline
73 & 7.8 & 8.24853170662505 & -0.448531706625054 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5762&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]6.5[/C][C]7.11034543906937[/C][C]-0.610345439069368[/C][/ROW]
[ROW][C]2[/C][C]6.4[/C][C]7.21843405684021[/C][C]-0.818434056840214[/C][/ROW]
[ROW][C]3[/C][C]6.2[/C][C]7.35176739017355[/C][C]-1.15176739017355[/C][/ROW]
[ROW][C]4[/C][C]6.2[/C][C]7.35176739017355[/C][C]-1.15176739017355[/C][/ROW]
[ROW][C]5[/C][C]6.3[/C][C]7.35176739017355[/C][C]-1.05176739017355[/C][/ROW]
[ROW][C]6[/C][C]7.5[/C][C]7.68510072350688[/C][C]-0.185100723506881[/C][/ROW]
[ROW][C]7[/C][C]7.4[/C][C]7.66843405684021[/C][C]-0.268434056840214[/C][/ROW]
[ROW][C]8[/C][C]7.4[/C][C]7.65176739017355[/C][C]-0.251767390173547[/C][/ROW]
[ROW][C]9[/C][C]7.4[/C][C]7.57045739348371[/C][C]-0.170457393483709[/C][/ROW]
[ROW][C]10[/C][C]7.4[/C][C]7.57045739348371[/C][C]-0.170457393483709[/C][/ROW]
[ROW][C]11[/C][C]7.4[/C][C]7.55379072681704[/C][C]-0.153790726817042[/C][/ROW]
[ROW][C]12[/C][C]7.2[/C][C]7.33712406015038[/C][C]-0.137124060150376[/C][/ROW]
[ROW][C]13[/C][C]7.2[/C][C]7.25206648697215[/C][C]-0.0520664869721483[/C][/ROW]
[ROW][C]14[/C][C]7.2[/C][C]7.36015510474299[/C][C]-0.160155104742990[/C][/ROW]
[ROW][C]15[/C][C]7.5[/C][C]7.49348843807632[/C][C]0.00651156192367716[/C][/ROW]
[ROW][C]16[/C][C]7.4[/C][C]7.49348843807632[/C][C]-0.0934884380763228[/C][/ROW]
[ROW][C]17[/C][C]7.4[/C][C]7.49348843807632[/C][C]-0.0934884380763225[/C][/ROW]
[ROW][C]18[/C][C]8[/C][C]7.82682177140966[/C][C]0.173178228590344[/C][/ROW]
[ROW][C]19[/C][C]8.1[/C][C]7.81015510474299[/C][C]0.28984489525701[/C][/ROW]
[ROW][C]20[/C][C]8.1[/C][C]7.79348843807632[/C][C]0.306511561923677[/C][/ROW]
[ROW][C]21[/C][C]8.1[/C][C]7.71217844138649[/C][C]0.387821558613514[/C][/ROW]
[ROW][C]22[/C][C]8.1[/C][C]7.71217844138649[/C][C]0.387821558613515[/C][/ROW]
[ROW][C]23[/C][C]8.1[/C][C]7.69551177471982[/C][C]0.404488225280181[/C][/ROW]
[ROW][C]24[/C][C]7.9[/C][C]7.47884510805315[/C][C]0.421154891946849[/C][/ROW]
[ROW][C]25[/C][C]7.9[/C][C]7.39378753487492[/C][C]0.506212465125077[/C][/ROW]
[ROW][C]26[/C][C]8[/C][C]7.50187615264577[/C][C]0.498123847354235[/C][/ROW]
[ROW][C]27[/C][C]8.1[/C][C]7.6352094859791[/C][C]0.464790514020901[/C][/ROW]
[ROW][C]28[/C][C]8.1[/C][C]7.6352094859791[/C][C]0.464790514020901[/C][/ROW]
[ROW][C]29[/C][C]8.1[/C][C]7.6352094859791[/C][C]0.464790514020901[/C][/ROW]
[ROW][C]30[/C][C]8.5[/C][C]7.96854281931243[/C][C]0.531457180687568[/C][/ROW]
[ROW][C]31[/C][C]8.5[/C][C]7.95187615264576[/C][C]0.548123847354235[/C][/ROW]
[ROW][C]32[/C][C]8.6[/C][C]7.9352094859791[/C][C]0.664790514020901[/C][/ROW]
[ROW][C]33[/C][C]8.4[/C][C]8.14175946942829[/C][C]0.258240530571712[/C][/ROW]
[ROW][C]34[/C][C]8.4[/C][C]8.14175946942829[/C][C]0.258240530571712[/C][/ROW]
[ROW][C]35[/C][C]8.4[/C][C]8.12509280276162[/C][C]0.274907197238379[/C][/ROW]
[ROW][C]36[/C][C]7.7[/C][C]7.90842613609496[/C][C]-0.208426136094955[/C][/ROW]
[ROW][C]37[/C][C]7.8[/C][C]7.82336856291673[/C][C]-0.023368562916727[/C][/ROW]
[ROW][C]38[/C][C]7.9[/C][C]7.93145718068757[/C][C]-0.0314571806875681[/C][/ROW]
[ROW][C]39[/C][C]8.7[/C][C]8.0647905140209[/C][C]0.635209485979098[/C][/ROW]
[ROW][C]40[/C][C]8.8[/C][C]8.0647905140209[/C][C]0.7352094859791[/C][/ROW]
[ROW][C]41[/C][C]8.8[/C][C]8.0647905140209[/C][C]0.735209485979099[/C][/ROW]
[ROW][C]42[/C][C]8.5[/C][C]8.39812384735423[/C][C]0.101876152645765[/C][/ROW]
[ROW][C]43[/C][C]8.5[/C][C]8.38145718068757[/C][C]0.118542819312432[/C][/ROW]
[ROW][C]44[/C][C]8.5[/C][C]8.3647905140209[/C][C]0.135209485979099[/C][/ROW]
[ROW][C]45[/C][C]8.4[/C][C]8.28348051733106[/C][C]0.116519482668937[/C][/ROW]
[ROW][C]46[/C][C]8.5[/C][C]8.28348051733106[/C][C]0.216519482668936[/C][/ROW]
[ROW][C]47[/C][C]8.5[/C][C]8.2668138506644[/C][C]0.233186149335603[/C][/ROW]
[ROW][C]48[/C][C]8.3[/C][C]8.05014718399773[/C][C]0.249852816002270[/C][/ROW]
[ROW][C]49[/C][C]8.4[/C][C]7.9650896108195[/C][C]0.434910389180498[/C][/ROW]
[ROW][C]50[/C][C]8.4[/C][C]8.07317822859034[/C][C]0.326821771409656[/C][/ROW]
[ROW][C]51[/C][C]8.4[/C][C]8.20651156192368[/C][C]0.193488438076323[/C][/ROW]
[ROW][C]52[/C][C]8.4[/C][C]8.20651156192368[/C][C]0.193488438076323[/C][/ROW]
[ROW][C]53[/C][C]8.4[/C][C]8.20651156192368[/C][C]0.193488438076323[/C][/ROW]
[ROW][C]54[/C][C]8.5[/C][C]8.53984489525701[/C][C]-0.0398448952570104[/C][/ROW]
[ROW][C]55[/C][C]8.5[/C][C]8.52317822859034[/C][C]-0.0231782285903437[/C][/ROW]
[ROW][C]56[/C][C]8.5[/C][C]8.50651156192368[/C][C]-0.006511561923677[/C][/ROW]
[ROW][C]57[/C][C]8.5[/C][C]8.42520156523384[/C][C]0.0747984347661607[/C][/ROW]
[ROW][C]58[/C][C]8.5[/C][C]8.42520156523384[/C][C]0.0747984347661608[/C][/ROW]
[ROW][C]59[/C][C]8.5[/C][C]8.40853489856717[/C][C]0.0914651014328275[/C][/ROW]
[ROW][C]60[/C][C]8.3[/C][C]8.1918682319005[/C][C]0.108131768099495[/C][/ROW]
[ROW][C]61[/C][C]8.3[/C][C]8.10681065872228[/C][C]0.193189341277723[/C][/ROW]
[ROW][C]62[/C][C]8.4[/C][C]8.21489927649312[/C][C]0.185100723506881[/C][/ROW]
[ROW][C]63[/C][C]8.2[/C][C]8.34823260982645[/C][C]-0.148232609826453[/C][/ROW]
[ROW][C]64[/C][C]8.2[/C][C]8.34823260982645[/C][C]-0.148232609826453[/C][/ROW]
[ROW][C]65[/C][C]8.1[/C][C]8.34823260982645[/C][C]-0.248232609826453[/C][/ROW]
[ROW][C]66[/C][C]8.1[/C][C]8.68156594315979[/C][C]-0.581565943159786[/C][/ROW]
[ROW][C]67[/C][C]8[/C][C]8.66489927649312[/C][C]-0.664899276493119[/C][/ROW]
[ROW][C]68[/C][C]7.8[/C][C]8.64823260982645[/C][C]-0.848232609826453[/C][/ROW]
[ROW][C]69[/C][C]7.9[/C][C]8.56692261313662[/C][C]-0.666922613136614[/C][/ROW]
[ROW][C]70[/C][C]7.8[/C][C]8.56692261313662[/C][C]-0.766922613136615[/C][/ROW]
[ROW][C]71[/C][C]7.7[/C][C]8.55025594646995[/C][C]-0.850255946469948[/C][/ROW]
[ROW][C]72[/C][C]7.9[/C][C]8.33358927980328[/C][C]-0.433589279803281[/C][/ROW]
[ROW][C]73[/C][C]7.8[/C][C]8.24853170662505[/C][C]-0.448531706625054[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5762&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5762&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
16.57.11034543906937-0.610345439069368
26.47.21843405684021-0.818434056840214
36.27.35176739017355-1.15176739017355
46.27.35176739017355-1.15176739017355
56.37.35176739017355-1.05176739017355
67.57.68510072350688-0.185100723506881
77.47.66843405684021-0.268434056840214
87.47.65176739017355-0.251767390173547
97.47.57045739348371-0.170457393483709
107.47.57045739348371-0.170457393483709
117.47.55379072681704-0.153790726817042
127.27.33712406015038-0.137124060150376
137.27.25206648697215-0.0520664869721483
147.27.36015510474299-0.160155104742990
157.57.493488438076320.00651156192367716
167.47.49348843807632-0.0934884380763228
177.47.49348843807632-0.0934884380763225
1887.826821771409660.173178228590344
198.17.810155104742990.28984489525701
208.17.793488438076320.306511561923677
218.17.712178441386490.387821558613514
228.17.712178441386490.387821558613515
238.17.695511774719820.404488225280181
247.97.478845108053150.421154891946849
257.97.393787534874920.506212465125077
2687.501876152645770.498123847354235
278.17.63520948597910.464790514020901
288.17.63520948597910.464790514020901
298.17.63520948597910.464790514020901
308.57.968542819312430.531457180687568
318.57.951876152645760.548123847354235
328.67.93520948597910.664790514020901
338.48.141759469428290.258240530571712
348.48.141759469428290.258240530571712
358.48.125092802761620.274907197238379
367.77.90842613609496-0.208426136094955
377.87.82336856291673-0.023368562916727
387.97.93145718068757-0.0314571806875681
398.78.06479051402090.635209485979098
408.88.06479051402090.7352094859791
418.88.06479051402090.735209485979099
428.58.398123847354230.101876152645765
438.58.381457180687570.118542819312432
448.58.36479051402090.135209485979099
458.48.283480517331060.116519482668937
468.58.283480517331060.216519482668936
478.58.26681385066440.233186149335603
488.38.050147183997730.249852816002270
498.47.96508961081950.434910389180498
508.48.073178228590340.326821771409656
518.48.206511561923680.193488438076323
528.48.206511561923680.193488438076323
538.48.206511561923680.193488438076323
548.58.53984489525701-0.0398448952570104
558.58.52317822859034-0.0231782285903437
568.58.50651156192368-0.006511561923677
578.58.425201565233840.0747984347661607
588.58.425201565233840.0747984347661608
598.58.408534898567170.0914651014328275
608.38.19186823190050.108131768099495
618.38.106810658722280.193189341277723
628.48.214899276493120.185100723506881
638.28.34823260982645-0.148232609826453
648.28.34823260982645-0.148232609826453
658.18.34823260982645-0.248232609826453
668.18.68156594315979-0.581565943159786
6788.66489927649312-0.664899276493119
687.88.64823260982645-0.848232609826453
697.98.56692261313662-0.666922613136614
707.88.56692261313662-0.766922613136615
717.78.55025594646995-0.850255946469948
727.98.33358927980328-0.433589279803281
737.88.24853170662505-0.448531706625054



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