Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationWed, 21 Nov 2007 16:21:43 -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/22/t11956868605u5dau5rq9gytn8.htm/, Retrieved Thu, 02 May 2024 20:37:44 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=5905, Retrieved Thu, 02 May 2024 20:37:44 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordslinear trend
Estimated Impact219
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Workshop Q3 herst...] [2007-11-21 23:21:43] [44cf2be50bc8700e14714598feda9df9] [Current]
Feedback Forum

Post a new message
Dataseries X:
523	0
519	0
509	0
512	0
519	0
517	0
510	0
509	0
501	0
507	0
569	0
580	0
578	1
565	1
547	1
555	0
562	0
561	0
555	0
544	0
537	0
543	0
594	0
611	1
613	1
611	1
594	1
595	1
591	0
589	0
584	0
573	0
567	0
569	0
621	0
629	0
628	0
612	0
595	0
597	0
593	0
590	0
580	0
574	0
573	0
573	0
620	0
626	0
620	0
588	1
566	1
557	1
561	0
549	0
532	0
526	0
511	0
499	0
555	0
565	0
542	0




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\begin{tabular}{lllllllll}
\hline
Summary of compuational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5905&T=0

[TABLE]
[ROW][C]Summary of compuational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5905&T=0

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

As an alternative you can also use a QR Code:  

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

Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
y[t] = + 575.891780821918 + 16.9465753424657x[t] -17.2763622526636M1[t] -23.6122678843226M2[t] -41.0489041095890M3[t] -37.2962252663623M4[t] -29.1542313546423M5[t] -33.7908675799086M6[t] -43.427503805175M7[t] -51.0641400304414M8[t] -59.1007762557077M9[t] -59.3374124809741M10[t] -6.37404870624048M11[t] + 0.636636225266362t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
y[t] =  +  575.891780821918 +  16.9465753424657x[t] -17.2763622526636M1[t] -23.6122678843226M2[t] -41.0489041095890M3[t] -37.2962252663623M4[t] -29.1542313546423M5[t] -33.7908675799086M6[t] -43.427503805175M7[t] -51.0641400304414M8[t] -59.1007762557077M9[t] -59.3374124809741M10[t] -6.37404870624048M11[t] +  0.636636225266362t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5905&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]y[t] =  +  575.891780821918 +  16.9465753424657x[t] -17.2763622526636M1[t] -23.6122678843226M2[t] -41.0489041095890M3[t] -37.2962252663623M4[t] -29.1542313546423M5[t] -33.7908675799086M6[t] -43.427503805175M7[t] -51.0641400304414M8[t] -59.1007762557077M9[t] -59.3374124809741M10[t] -6.37404870624048M11[t] +  0.636636225266362t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5905&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5905&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] = + 575.891780821918 + 16.9465753424657x[t] -17.2763622526636M1[t] -23.6122678843226M2[t] -41.0489041095890M3[t] -37.2962252663623M4[t] -29.1542313546423M5[t] -33.7908675799086M6[t] -43.427503805175M7[t] -51.0641400304414M8[t] -59.1007762557077M9[t] -59.3374124809741M10[t] -6.37404870624048M11[t] + 0.636636225266362t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)575.89178082191816.52068634.858800
x16.946575342465713.1415221.28950.2035190.101759
M1-17.276362252663619.160512-0.90170.3718320.185916
M2-23.612267884322620.723026-1.13940.2603010.130151
M3-41.048904109589020.696107-1.98340.0531810.02659
M4-37.296225266362320.155312-1.85040.0705410.035271
M5-29.154231354642320.118409-1.44910.1539410.07697
M6-33.790867579908620.102101-1.6810.0994050.049703
M7-43.42750380517520.088464-2.16180.0357570.017879
M8-51.064140030441420.077504-2.54340.0143290.007165
M9-59.100776255707720.069226-2.94480.0050110.002505
M10-59.337412480974120.063632-2.95750.0048410.002421
M11-6.3740487062404820.060725-0.31770.7520910.376046
t0.6366362252663620.2322272.74140.0086240.004312

\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) & 575.891780821918 & 16.520686 & 34.8588 & 0 & 0 \tabularnewline
x & 16.9465753424657 & 13.141522 & 1.2895 & 0.203519 & 0.101759 \tabularnewline
M1 & -17.2763622526636 & 19.160512 & -0.9017 & 0.371832 & 0.185916 \tabularnewline
M2 & -23.6122678843226 & 20.723026 & -1.1394 & 0.260301 & 0.130151 \tabularnewline
M3 & -41.0489041095890 & 20.696107 & -1.9834 & 0.053181 & 0.02659 \tabularnewline
M4 & -37.2962252663623 & 20.155312 & -1.8504 & 0.070541 & 0.035271 \tabularnewline
M5 & -29.1542313546423 & 20.118409 & -1.4491 & 0.153941 & 0.07697 \tabularnewline
M6 & -33.7908675799086 & 20.102101 & -1.681 & 0.099405 & 0.049703 \tabularnewline
M7 & -43.427503805175 & 20.088464 & -2.1618 & 0.035757 & 0.017879 \tabularnewline
M8 & -51.0641400304414 & 20.077504 & -2.5434 & 0.014329 & 0.007165 \tabularnewline
M9 & -59.1007762557077 & 20.069226 & -2.9448 & 0.005011 & 0.002505 \tabularnewline
M10 & -59.3374124809741 & 20.063632 & -2.9575 & 0.004841 & 0.002421 \tabularnewline
M11 & -6.37404870624048 & 20.060725 & -0.3177 & 0.752091 & 0.376046 \tabularnewline
t & 0.636636225266362 & 0.232227 & 2.7414 & 0.008624 & 0.004312 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5905&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]575.891780821918[/C][C]16.520686[/C][C]34.8588[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]x[/C][C]16.9465753424657[/C][C]13.141522[/C][C]1.2895[/C][C]0.203519[/C][C]0.101759[/C][/ROW]
[ROW][C]M1[/C][C]-17.2763622526636[/C][C]19.160512[/C][C]-0.9017[/C][C]0.371832[/C][C]0.185916[/C][/ROW]
[ROW][C]M2[/C][C]-23.6122678843226[/C][C]20.723026[/C][C]-1.1394[/C][C]0.260301[/C][C]0.130151[/C][/ROW]
[ROW][C]M3[/C][C]-41.0489041095890[/C][C]20.696107[/C][C]-1.9834[/C][C]0.053181[/C][C]0.02659[/C][/ROW]
[ROW][C]M4[/C][C]-37.2962252663623[/C][C]20.155312[/C][C]-1.8504[/C][C]0.070541[/C][C]0.035271[/C][/ROW]
[ROW][C]M5[/C][C]-29.1542313546423[/C][C]20.118409[/C][C]-1.4491[/C][C]0.153941[/C][C]0.07697[/C][/ROW]
[ROW][C]M6[/C][C]-33.7908675799086[/C][C]20.102101[/C][C]-1.681[/C][C]0.099405[/C][C]0.049703[/C][/ROW]
[ROW][C]M7[/C][C]-43.427503805175[/C][C]20.088464[/C][C]-2.1618[/C][C]0.035757[/C][C]0.017879[/C][/ROW]
[ROW][C]M8[/C][C]-51.0641400304414[/C][C]20.077504[/C][C]-2.5434[/C][C]0.014329[/C][C]0.007165[/C][/ROW]
[ROW][C]M9[/C][C]-59.1007762557077[/C][C]20.069226[/C][C]-2.9448[/C][C]0.005011[/C][C]0.002505[/C][/ROW]
[ROW][C]M10[/C][C]-59.3374124809741[/C][C]20.063632[/C][C]-2.9575[/C][C]0.004841[/C][C]0.002421[/C][/ROW]
[ROW][C]M11[/C][C]-6.37404870624048[/C][C]20.060725[/C][C]-0.3177[/C][C]0.752091[/C][C]0.376046[/C][/ROW]
[ROW][C]t[/C][C]0.636636225266362[/C][C]0.232227[/C][C]2.7414[/C][C]0.008624[/C][C]0.004312[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5905&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5905&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)575.89178082191816.52068634.858800
x16.946575342465713.1415221.28950.2035190.101759
M1-17.276362252663619.160512-0.90170.3718320.185916
M2-23.612267884322620.723026-1.13940.2603010.130151
M3-41.048904109589020.696107-1.98340.0531810.02659
M4-37.296225266362320.155312-1.85040.0705410.035271
M5-29.154231354642320.118409-1.44910.1539410.07697
M6-33.790867579908620.102101-1.6810.0994050.049703
M7-43.42750380517520.088464-2.16180.0357570.017879
M8-51.064140030441420.077504-2.54340.0143290.007165
M9-59.100776255707720.069226-2.94480.0050110.002505
M10-59.337412480974120.063632-2.95750.0048410.002421
M11-6.3740487062404820.060725-0.31770.7520910.376046
t0.6366362252663620.2322272.74140.0086240.004312







Multiple Linear Regression - Regression Statistics
Multiple R0.64544639108762
R-squared0.416601043768033
Adjusted R-squared0.255235375023021
F-TEST (value)2.58172043042402
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value0.00879752481622265
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation31.4450283298445
Sum Squared Residuals46473.120913242

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.64544639108762 \tabularnewline
R-squared & 0.416601043768033 \tabularnewline
Adjusted R-squared & 0.255235375023021 \tabularnewline
F-TEST (value) & 2.58172043042402 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0.00879752481622265 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 31.4450283298445 \tabularnewline
Sum Squared Residuals & 46473.120913242 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5905&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.64544639108762[/C][/ROW]
[ROW][C]R-squared[/C][C]0.416601043768033[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.255235375023021[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]2.58172043042402[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0.00879752481622265[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]31.4450283298445[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]46473.120913242[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5905&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5905&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.64544639108762
R-squared0.416601043768033
Adjusted R-squared0.255235375023021
F-TEST (value)2.58172043042402
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value0.00879752481622265
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation31.4450283298445
Sum Squared Residuals46473.120913242







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1523559.25205479452-36.2520547945203
2519553.552785388128-34.5527853881279
3509536.752785388128-27.7527853881278
4512541.142100456621-29.1421004566211
5519549.920730593607-30.9207305936073
6517545.920730593607-28.9207305936073
7510536.920730593607-26.9207305936073
8509529.920730593607-20.9207305936073
9501522.520730593607-21.5207305936073
10507522.920730593607-15.9207305936073
11569576.520730593607-7.52073059360731
12580583.531415525114-3.53141552511414
13578583.838264840183-5.83826484018271
14565578.13899543379-13.1389954337900
15547561.33899543379-14.3389954337899
16555548.7817351598176.21826484018266
17562557.5603652968044.43963470319635
18561553.5603652968047.43963470319633
19555544.56036529680410.4396347031963
20544537.5603652968046.43963470319635
21537530.1603652968046.83963470319633
22543530.56036529680412.4396347031963
23594584.1603652968049.83963470319635
24611608.1176255707762.88237442922374
25613591.47789954337921.5221004566209
26611585.77863013698625.2213698630137
27594568.97863013698625.0213698630137
28595573.3679452054821.6320547945206
29591565.225.8
30589561.227.8
31584552.231.8
32573545.227.8
33567537.829.2
34569538.230.8
35621591.829.2
36629598.81068493150730.1893150684932
37628582.1709589041145.8290410958903
38612576.47168949771735.5283105022831
39595559.67168949771735.3283105022831
40597564.0610045662132.93899543379
41593572.83963470319620.1603652968037
42590568.83963470319621.1603652968037
43580559.83963470319620.1603652968036
44574552.83963470319621.1603652968037
45573545.43963470319627.5603652968036
46573545.83963470319627.1603652968037
47620599.43963470319620.5603652968036
48626606.45031963470319.5496803652968
49620589.81059360730630.1894063926940
50588601.057899543379-13.0578995433790
51566584.257899543379-18.257899543379
52557588.647214611872-31.6472146118721
53561580.479269406393-19.4792694063927
54549576.479269406393-27.4792694063927
55532567.479269406393-35.4792694063927
56526560.479269406393-34.4792694063927
57511553.079269406393-42.0792694063927
58499553.479269406393-54.4792694063927
59555607.079269406393-52.0792694063927
60565614.0899543379-49.0899543378995
61542597.450228310502-55.4502283105023

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 523 & 559.25205479452 & -36.2520547945203 \tabularnewline
2 & 519 & 553.552785388128 & -34.5527853881279 \tabularnewline
3 & 509 & 536.752785388128 & -27.7527853881278 \tabularnewline
4 & 512 & 541.142100456621 & -29.1421004566211 \tabularnewline
5 & 519 & 549.920730593607 & -30.9207305936073 \tabularnewline
6 & 517 & 545.920730593607 & -28.9207305936073 \tabularnewline
7 & 510 & 536.920730593607 & -26.9207305936073 \tabularnewline
8 & 509 & 529.920730593607 & -20.9207305936073 \tabularnewline
9 & 501 & 522.520730593607 & -21.5207305936073 \tabularnewline
10 & 507 & 522.920730593607 & -15.9207305936073 \tabularnewline
11 & 569 & 576.520730593607 & -7.52073059360731 \tabularnewline
12 & 580 & 583.531415525114 & -3.53141552511414 \tabularnewline
13 & 578 & 583.838264840183 & -5.83826484018271 \tabularnewline
14 & 565 & 578.13899543379 & -13.1389954337900 \tabularnewline
15 & 547 & 561.33899543379 & -14.3389954337899 \tabularnewline
16 & 555 & 548.781735159817 & 6.21826484018266 \tabularnewline
17 & 562 & 557.560365296804 & 4.43963470319635 \tabularnewline
18 & 561 & 553.560365296804 & 7.43963470319633 \tabularnewline
19 & 555 & 544.560365296804 & 10.4396347031963 \tabularnewline
20 & 544 & 537.560365296804 & 6.43963470319635 \tabularnewline
21 & 537 & 530.160365296804 & 6.83963470319633 \tabularnewline
22 & 543 & 530.560365296804 & 12.4396347031963 \tabularnewline
23 & 594 & 584.160365296804 & 9.83963470319635 \tabularnewline
24 & 611 & 608.117625570776 & 2.88237442922374 \tabularnewline
25 & 613 & 591.477899543379 & 21.5221004566209 \tabularnewline
26 & 611 & 585.778630136986 & 25.2213698630137 \tabularnewline
27 & 594 & 568.978630136986 & 25.0213698630137 \tabularnewline
28 & 595 & 573.36794520548 & 21.6320547945206 \tabularnewline
29 & 591 & 565.2 & 25.8 \tabularnewline
30 & 589 & 561.2 & 27.8 \tabularnewline
31 & 584 & 552.2 & 31.8 \tabularnewline
32 & 573 & 545.2 & 27.8 \tabularnewline
33 & 567 & 537.8 & 29.2 \tabularnewline
34 & 569 & 538.2 & 30.8 \tabularnewline
35 & 621 & 591.8 & 29.2 \tabularnewline
36 & 629 & 598.810684931507 & 30.1893150684932 \tabularnewline
37 & 628 & 582.17095890411 & 45.8290410958903 \tabularnewline
38 & 612 & 576.471689497717 & 35.5283105022831 \tabularnewline
39 & 595 & 559.671689497717 & 35.3283105022831 \tabularnewline
40 & 597 & 564.06100456621 & 32.93899543379 \tabularnewline
41 & 593 & 572.839634703196 & 20.1603652968037 \tabularnewline
42 & 590 & 568.839634703196 & 21.1603652968037 \tabularnewline
43 & 580 & 559.839634703196 & 20.1603652968036 \tabularnewline
44 & 574 & 552.839634703196 & 21.1603652968037 \tabularnewline
45 & 573 & 545.439634703196 & 27.5603652968036 \tabularnewline
46 & 573 & 545.839634703196 & 27.1603652968037 \tabularnewline
47 & 620 & 599.439634703196 & 20.5603652968036 \tabularnewline
48 & 626 & 606.450319634703 & 19.5496803652968 \tabularnewline
49 & 620 & 589.810593607306 & 30.1894063926940 \tabularnewline
50 & 588 & 601.057899543379 & -13.0578995433790 \tabularnewline
51 & 566 & 584.257899543379 & -18.257899543379 \tabularnewline
52 & 557 & 588.647214611872 & -31.6472146118721 \tabularnewline
53 & 561 & 580.479269406393 & -19.4792694063927 \tabularnewline
54 & 549 & 576.479269406393 & -27.4792694063927 \tabularnewline
55 & 532 & 567.479269406393 & -35.4792694063927 \tabularnewline
56 & 526 & 560.479269406393 & -34.4792694063927 \tabularnewline
57 & 511 & 553.079269406393 & -42.0792694063927 \tabularnewline
58 & 499 & 553.479269406393 & -54.4792694063927 \tabularnewline
59 & 555 & 607.079269406393 & -52.0792694063927 \tabularnewline
60 & 565 & 614.0899543379 & -49.0899543378995 \tabularnewline
61 & 542 & 597.450228310502 & -55.4502283105023 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5905&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]523[/C][C]559.25205479452[/C][C]-36.2520547945203[/C][/ROW]
[ROW][C]2[/C][C]519[/C][C]553.552785388128[/C][C]-34.5527853881279[/C][/ROW]
[ROW][C]3[/C][C]509[/C][C]536.752785388128[/C][C]-27.7527853881278[/C][/ROW]
[ROW][C]4[/C][C]512[/C][C]541.142100456621[/C][C]-29.1421004566211[/C][/ROW]
[ROW][C]5[/C][C]519[/C][C]549.920730593607[/C][C]-30.9207305936073[/C][/ROW]
[ROW][C]6[/C][C]517[/C][C]545.920730593607[/C][C]-28.9207305936073[/C][/ROW]
[ROW][C]7[/C][C]510[/C][C]536.920730593607[/C][C]-26.9207305936073[/C][/ROW]
[ROW][C]8[/C][C]509[/C][C]529.920730593607[/C][C]-20.9207305936073[/C][/ROW]
[ROW][C]9[/C][C]501[/C][C]522.520730593607[/C][C]-21.5207305936073[/C][/ROW]
[ROW][C]10[/C][C]507[/C][C]522.920730593607[/C][C]-15.9207305936073[/C][/ROW]
[ROW][C]11[/C][C]569[/C][C]576.520730593607[/C][C]-7.52073059360731[/C][/ROW]
[ROW][C]12[/C][C]580[/C][C]583.531415525114[/C][C]-3.53141552511414[/C][/ROW]
[ROW][C]13[/C][C]578[/C][C]583.838264840183[/C][C]-5.83826484018271[/C][/ROW]
[ROW][C]14[/C][C]565[/C][C]578.13899543379[/C][C]-13.1389954337900[/C][/ROW]
[ROW][C]15[/C][C]547[/C][C]561.33899543379[/C][C]-14.3389954337899[/C][/ROW]
[ROW][C]16[/C][C]555[/C][C]548.781735159817[/C][C]6.21826484018266[/C][/ROW]
[ROW][C]17[/C][C]562[/C][C]557.560365296804[/C][C]4.43963470319635[/C][/ROW]
[ROW][C]18[/C][C]561[/C][C]553.560365296804[/C][C]7.43963470319633[/C][/ROW]
[ROW][C]19[/C][C]555[/C][C]544.560365296804[/C][C]10.4396347031963[/C][/ROW]
[ROW][C]20[/C][C]544[/C][C]537.560365296804[/C][C]6.43963470319635[/C][/ROW]
[ROW][C]21[/C][C]537[/C][C]530.160365296804[/C][C]6.83963470319633[/C][/ROW]
[ROW][C]22[/C][C]543[/C][C]530.560365296804[/C][C]12.4396347031963[/C][/ROW]
[ROW][C]23[/C][C]594[/C][C]584.160365296804[/C][C]9.83963470319635[/C][/ROW]
[ROW][C]24[/C][C]611[/C][C]608.117625570776[/C][C]2.88237442922374[/C][/ROW]
[ROW][C]25[/C][C]613[/C][C]591.477899543379[/C][C]21.5221004566209[/C][/ROW]
[ROW][C]26[/C][C]611[/C][C]585.778630136986[/C][C]25.2213698630137[/C][/ROW]
[ROW][C]27[/C][C]594[/C][C]568.978630136986[/C][C]25.0213698630137[/C][/ROW]
[ROW][C]28[/C][C]595[/C][C]573.36794520548[/C][C]21.6320547945206[/C][/ROW]
[ROW][C]29[/C][C]591[/C][C]565.2[/C][C]25.8[/C][/ROW]
[ROW][C]30[/C][C]589[/C][C]561.2[/C][C]27.8[/C][/ROW]
[ROW][C]31[/C][C]584[/C][C]552.2[/C][C]31.8[/C][/ROW]
[ROW][C]32[/C][C]573[/C][C]545.2[/C][C]27.8[/C][/ROW]
[ROW][C]33[/C][C]567[/C][C]537.8[/C][C]29.2[/C][/ROW]
[ROW][C]34[/C][C]569[/C][C]538.2[/C][C]30.8[/C][/ROW]
[ROW][C]35[/C][C]621[/C][C]591.8[/C][C]29.2[/C][/ROW]
[ROW][C]36[/C][C]629[/C][C]598.810684931507[/C][C]30.1893150684932[/C][/ROW]
[ROW][C]37[/C][C]628[/C][C]582.17095890411[/C][C]45.8290410958903[/C][/ROW]
[ROW][C]38[/C][C]612[/C][C]576.471689497717[/C][C]35.5283105022831[/C][/ROW]
[ROW][C]39[/C][C]595[/C][C]559.671689497717[/C][C]35.3283105022831[/C][/ROW]
[ROW][C]40[/C][C]597[/C][C]564.06100456621[/C][C]32.93899543379[/C][/ROW]
[ROW][C]41[/C][C]593[/C][C]572.839634703196[/C][C]20.1603652968037[/C][/ROW]
[ROW][C]42[/C][C]590[/C][C]568.839634703196[/C][C]21.1603652968037[/C][/ROW]
[ROW][C]43[/C][C]580[/C][C]559.839634703196[/C][C]20.1603652968036[/C][/ROW]
[ROW][C]44[/C][C]574[/C][C]552.839634703196[/C][C]21.1603652968037[/C][/ROW]
[ROW][C]45[/C][C]573[/C][C]545.439634703196[/C][C]27.5603652968036[/C][/ROW]
[ROW][C]46[/C][C]573[/C][C]545.839634703196[/C][C]27.1603652968037[/C][/ROW]
[ROW][C]47[/C][C]620[/C][C]599.439634703196[/C][C]20.5603652968036[/C][/ROW]
[ROW][C]48[/C][C]626[/C][C]606.450319634703[/C][C]19.5496803652968[/C][/ROW]
[ROW][C]49[/C][C]620[/C][C]589.810593607306[/C][C]30.1894063926940[/C][/ROW]
[ROW][C]50[/C][C]588[/C][C]601.057899543379[/C][C]-13.0578995433790[/C][/ROW]
[ROW][C]51[/C][C]566[/C][C]584.257899543379[/C][C]-18.257899543379[/C][/ROW]
[ROW][C]52[/C][C]557[/C][C]588.647214611872[/C][C]-31.6472146118721[/C][/ROW]
[ROW][C]53[/C][C]561[/C][C]580.479269406393[/C][C]-19.4792694063927[/C][/ROW]
[ROW][C]54[/C][C]549[/C][C]576.479269406393[/C][C]-27.4792694063927[/C][/ROW]
[ROW][C]55[/C][C]532[/C][C]567.479269406393[/C][C]-35.4792694063927[/C][/ROW]
[ROW][C]56[/C][C]526[/C][C]560.479269406393[/C][C]-34.4792694063927[/C][/ROW]
[ROW][C]57[/C][C]511[/C][C]553.079269406393[/C][C]-42.0792694063927[/C][/ROW]
[ROW][C]58[/C][C]499[/C][C]553.479269406393[/C][C]-54.4792694063927[/C][/ROW]
[ROW][C]59[/C][C]555[/C][C]607.079269406393[/C][C]-52.0792694063927[/C][/ROW]
[ROW][C]60[/C][C]565[/C][C]614.0899543379[/C][C]-49.0899543378995[/C][/ROW]
[ROW][C]61[/C][C]542[/C][C]597.450228310502[/C][C]-55.4502283105023[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5905&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5905&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
1523559.25205479452-36.2520547945203
2519553.552785388128-34.5527853881279
3509536.752785388128-27.7527853881278
4512541.142100456621-29.1421004566211
5519549.920730593607-30.9207305936073
6517545.920730593607-28.9207305936073
7510536.920730593607-26.9207305936073
8509529.920730593607-20.9207305936073
9501522.520730593607-21.5207305936073
10507522.920730593607-15.9207305936073
11569576.520730593607-7.52073059360731
12580583.531415525114-3.53141552511414
13578583.838264840183-5.83826484018271
14565578.13899543379-13.1389954337900
15547561.33899543379-14.3389954337899
16555548.7817351598176.21826484018266
17562557.5603652968044.43963470319635
18561553.5603652968047.43963470319633
19555544.56036529680410.4396347031963
20544537.5603652968046.43963470319635
21537530.1603652968046.83963470319633
22543530.56036529680412.4396347031963
23594584.1603652968049.83963470319635
24611608.1176255707762.88237442922374
25613591.47789954337921.5221004566209
26611585.77863013698625.2213698630137
27594568.97863013698625.0213698630137
28595573.3679452054821.6320547945206
29591565.225.8
30589561.227.8
31584552.231.8
32573545.227.8
33567537.829.2
34569538.230.8
35621591.829.2
36629598.81068493150730.1893150684932
37628582.1709589041145.8290410958903
38612576.47168949771735.5283105022831
39595559.67168949771735.3283105022831
40597564.0610045662132.93899543379
41593572.83963470319620.1603652968037
42590568.83963470319621.1603652968037
43580559.83963470319620.1603652968036
44574552.83963470319621.1603652968037
45573545.43963470319627.5603652968036
46573545.83963470319627.1603652968037
47620599.43963470319620.5603652968036
48626606.45031963470319.5496803652968
49620589.81059360730630.1894063926940
50588601.057899543379-13.0578995433790
51566584.257899543379-18.257899543379
52557588.647214611872-31.6472146118721
53561580.479269406393-19.4792694063927
54549576.479269406393-27.4792694063927
55532567.479269406393-35.4792694063927
56526560.479269406393-34.4792694063927
57511553.079269406393-42.0792694063927
58499553.479269406393-54.4792694063927
59555607.079269406393-52.0792694063927
60565614.0899543379-49.0899543378995
61542597.450228310502-55.4502283105023



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