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 14:57:39 -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/21/t119568186360sra0o7cs9ihf5.htm/, Retrieved Tue, 07 May 2024 20:23:23 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=5895, Retrieved Tue, 07 May 2024 20:23:23 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsDummy
Estimated Impact199
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Workshop 3 Q3] [2007-11-21 21:57:39] [44cf2be50bc8700e14714598feda9df9] [Current]
Feedback Forum

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




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 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 & 2 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5895&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]2 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=5895&T=0

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







Multiple Linear Regression - Estimated Regression Equation
y[t] = + 573.130434782609 -12.2620137299771x[t] + e[t]

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

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

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







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)573.1304347826097.55744275.836600
x-12.26201372997719.575201-1.28060.2053450.102673

\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) & 573.130434782609 & 7.557442 & 75.8366 & 0 & 0 \tabularnewline
x & -12.2620137299771 & 9.575201 & -1.2806 & 0.205345 & 0.102673 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5895&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]573.130434782609[/C][C]7.557442[/C][C]75.8366[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]x[/C][C]-12.2620137299771[/C][C]9.575201[/C][C]-1.2806[/C][C]0.205345[/C][C]0.102673[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5895&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5895&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)573.1304347826097.55744275.836600
x-12.26201372997719.575201-1.28060.2053450.102673







Multiple Linear Regression - Regression Statistics
Multiple R0.164450236155504
R-squared0.027043880171601
Adjusted R-squared0.0105530984795943
F-TEST (value)1.63993925070935
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value0.205345298596878
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation36.2442165581465
Sum Squared Residuals77504.9508009153

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.164450236155504 \tabularnewline
R-squared & 0.027043880171601 \tabularnewline
Adjusted R-squared & 0.0105530984795943 \tabularnewline
F-TEST (value) & 1.63993925070935 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 59 \tabularnewline
p-value & 0.205345298596878 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 36.2442165581465 \tabularnewline
Sum Squared Residuals & 77504.9508009153 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5895&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.164450236155504[/C][/ROW]
[ROW][C]R-squared[/C][C]0.027043880171601[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.0105530984795943[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]1.63993925070935[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]59[/C][/ROW]
[ROW][C]p-value[/C][C]0.205345298596878[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]36.2442165581465[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]77504.9508009153[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5895&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5895&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.164450236155504
R-squared0.027043880171601
Adjusted R-squared0.0105530984795943
F-TEST (value)1.63993925070935
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value0.205345298596878
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation36.2442165581465
Sum Squared Residuals77504.9508009153







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1523573.130434782608-50.1304347826084
2519560.868421052632-41.8684210526316
3509560.868421052632-51.8684210526316
4512560.868421052632-48.8684210526316
5519573.130434782609-54.1304347826087
6517573.130434782609-56.1304347826087
7510560.868421052632-50.8684210526316
8509560.868421052632-51.8684210526316
9501573.130434782609-72.1304347826087
10507560.868421052632-53.8684210526316
11569573.130434782609-4.13043478260871
12580573.1304347826096.86956521739129
13578560.86842105263217.1315789473684
14565560.8684210526324.13157894736843
15547573.130434782609-26.1304347826087
16555573.130434782609-18.1304347826087
17562573.130434782609-11.1304347826087
18561573.130434782609-12.1304347826087
19555560.868421052632-5.86842105263157
20544560.868421052632-16.8684210526316
21537560.868421052632-23.8684210526316
22543560.868421052632-17.8684210526316
23594560.86842105263233.1315789473684
24611573.13043478260937.8695652173913
25613560.86842105263252.1315789473684
26611560.86842105263250.1315789473684
27594560.86842105263233.1315789473684
28595573.13043478260921.8695652173913
29591573.13043478260917.8695652173913
30589573.13043478260915.8695652173913
31584560.86842105263223.1315789473684
32573560.86842105263212.1315789473684
33567573.130434782609-6.13043478260871
34569560.8684210526328.13157894736843
35621573.13043478260947.8695652173913
36629573.13043478260955.8695652173913
37628560.86842105263267.1315789473684
38612560.86842105263251.1315789473684
39595560.86842105263234.1315789473684
40597573.13043478260923.8695652173913
41593560.86842105263232.1315789473684
42590573.13043478260916.8695652173913
43580560.86842105263219.1315789473684
44574560.86842105263213.1315789473684
45573560.86842105263212.1315789473684
46573560.86842105263212.1315789473684
47620573.13043478260946.8695652173913
48626573.13043478260952.8695652173913
49620560.86842105263259.1315789473684
50588560.86842105263227.1315789473684
51566560.8684210526325.13157894736843
52557573.130434782609-16.1304347826087
53561560.8684210526320.131578947368428
54549560.868421052632-11.8684210526316
55532560.868421052632-28.8684210526316
56526560.868421052632-34.8684210526316
57511560.868421052632-49.8684210526316
58499560.868421052632-61.8684210526316
59555573.130434782609-18.1304347826087
60565560.8684210526324.13157894736843
61542560.868421052632-18.8684210526316

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 523 & 573.130434782608 & -50.1304347826084 \tabularnewline
2 & 519 & 560.868421052632 & -41.8684210526316 \tabularnewline
3 & 509 & 560.868421052632 & -51.8684210526316 \tabularnewline
4 & 512 & 560.868421052632 & -48.8684210526316 \tabularnewline
5 & 519 & 573.130434782609 & -54.1304347826087 \tabularnewline
6 & 517 & 573.130434782609 & -56.1304347826087 \tabularnewline
7 & 510 & 560.868421052632 & -50.8684210526316 \tabularnewline
8 & 509 & 560.868421052632 & -51.8684210526316 \tabularnewline
9 & 501 & 573.130434782609 & -72.1304347826087 \tabularnewline
10 & 507 & 560.868421052632 & -53.8684210526316 \tabularnewline
11 & 569 & 573.130434782609 & -4.13043478260871 \tabularnewline
12 & 580 & 573.130434782609 & 6.86956521739129 \tabularnewline
13 & 578 & 560.868421052632 & 17.1315789473684 \tabularnewline
14 & 565 & 560.868421052632 & 4.13157894736843 \tabularnewline
15 & 547 & 573.130434782609 & -26.1304347826087 \tabularnewline
16 & 555 & 573.130434782609 & -18.1304347826087 \tabularnewline
17 & 562 & 573.130434782609 & -11.1304347826087 \tabularnewline
18 & 561 & 573.130434782609 & -12.1304347826087 \tabularnewline
19 & 555 & 560.868421052632 & -5.86842105263157 \tabularnewline
20 & 544 & 560.868421052632 & -16.8684210526316 \tabularnewline
21 & 537 & 560.868421052632 & -23.8684210526316 \tabularnewline
22 & 543 & 560.868421052632 & -17.8684210526316 \tabularnewline
23 & 594 & 560.868421052632 & 33.1315789473684 \tabularnewline
24 & 611 & 573.130434782609 & 37.8695652173913 \tabularnewline
25 & 613 & 560.868421052632 & 52.1315789473684 \tabularnewline
26 & 611 & 560.868421052632 & 50.1315789473684 \tabularnewline
27 & 594 & 560.868421052632 & 33.1315789473684 \tabularnewline
28 & 595 & 573.130434782609 & 21.8695652173913 \tabularnewline
29 & 591 & 573.130434782609 & 17.8695652173913 \tabularnewline
30 & 589 & 573.130434782609 & 15.8695652173913 \tabularnewline
31 & 584 & 560.868421052632 & 23.1315789473684 \tabularnewline
32 & 573 & 560.868421052632 & 12.1315789473684 \tabularnewline
33 & 567 & 573.130434782609 & -6.13043478260871 \tabularnewline
34 & 569 & 560.868421052632 & 8.13157894736843 \tabularnewline
35 & 621 & 573.130434782609 & 47.8695652173913 \tabularnewline
36 & 629 & 573.130434782609 & 55.8695652173913 \tabularnewline
37 & 628 & 560.868421052632 & 67.1315789473684 \tabularnewline
38 & 612 & 560.868421052632 & 51.1315789473684 \tabularnewline
39 & 595 & 560.868421052632 & 34.1315789473684 \tabularnewline
40 & 597 & 573.130434782609 & 23.8695652173913 \tabularnewline
41 & 593 & 560.868421052632 & 32.1315789473684 \tabularnewline
42 & 590 & 573.130434782609 & 16.8695652173913 \tabularnewline
43 & 580 & 560.868421052632 & 19.1315789473684 \tabularnewline
44 & 574 & 560.868421052632 & 13.1315789473684 \tabularnewline
45 & 573 & 560.868421052632 & 12.1315789473684 \tabularnewline
46 & 573 & 560.868421052632 & 12.1315789473684 \tabularnewline
47 & 620 & 573.130434782609 & 46.8695652173913 \tabularnewline
48 & 626 & 573.130434782609 & 52.8695652173913 \tabularnewline
49 & 620 & 560.868421052632 & 59.1315789473684 \tabularnewline
50 & 588 & 560.868421052632 & 27.1315789473684 \tabularnewline
51 & 566 & 560.868421052632 & 5.13157894736843 \tabularnewline
52 & 557 & 573.130434782609 & -16.1304347826087 \tabularnewline
53 & 561 & 560.868421052632 & 0.131578947368428 \tabularnewline
54 & 549 & 560.868421052632 & -11.8684210526316 \tabularnewline
55 & 532 & 560.868421052632 & -28.8684210526316 \tabularnewline
56 & 526 & 560.868421052632 & -34.8684210526316 \tabularnewline
57 & 511 & 560.868421052632 & -49.8684210526316 \tabularnewline
58 & 499 & 560.868421052632 & -61.8684210526316 \tabularnewline
59 & 555 & 573.130434782609 & -18.1304347826087 \tabularnewline
60 & 565 & 560.868421052632 & 4.13157894736843 \tabularnewline
61 & 542 & 560.868421052632 & -18.8684210526316 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5895&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]573.130434782608[/C][C]-50.1304347826084[/C][/ROW]
[ROW][C]2[/C][C]519[/C][C]560.868421052632[/C][C]-41.8684210526316[/C][/ROW]
[ROW][C]3[/C][C]509[/C][C]560.868421052632[/C][C]-51.8684210526316[/C][/ROW]
[ROW][C]4[/C][C]512[/C][C]560.868421052632[/C][C]-48.8684210526316[/C][/ROW]
[ROW][C]5[/C][C]519[/C][C]573.130434782609[/C][C]-54.1304347826087[/C][/ROW]
[ROW][C]6[/C][C]517[/C][C]573.130434782609[/C][C]-56.1304347826087[/C][/ROW]
[ROW][C]7[/C][C]510[/C][C]560.868421052632[/C][C]-50.8684210526316[/C][/ROW]
[ROW][C]8[/C][C]509[/C][C]560.868421052632[/C][C]-51.8684210526316[/C][/ROW]
[ROW][C]9[/C][C]501[/C][C]573.130434782609[/C][C]-72.1304347826087[/C][/ROW]
[ROW][C]10[/C][C]507[/C][C]560.868421052632[/C][C]-53.8684210526316[/C][/ROW]
[ROW][C]11[/C][C]569[/C][C]573.130434782609[/C][C]-4.13043478260871[/C][/ROW]
[ROW][C]12[/C][C]580[/C][C]573.130434782609[/C][C]6.86956521739129[/C][/ROW]
[ROW][C]13[/C][C]578[/C][C]560.868421052632[/C][C]17.1315789473684[/C][/ROW]
[ROW][C]14[/C][C]565[/C][C]560.868421052632[/C][C]4.13157894736843[/C][/ROW]
[ROW][C]15[/C][C]547[/C][C]573.130434782609[/C][C]-26.1304347826087[/C][/ROW]
[ROW][C]16[/C][C]555[/C][C]573.130434782609[/C][C]-18.1304347826087[/C][/ROW]
[ROW][C]17[/C][C]562[/C][C]573.130434782609[/C][C]-11.1304347826087[/C][/ROW]
[ROW][C]18[/C][C]561[/C][C]573.130434782609[/C][C]-12.1304347826087[/C][/ROW]
[ROW][C]19[/C][C]555[/C][C]560.868421052632[/C][C]-5.86842105263157[/C][/ROW]
[ROW][C]20[/C][C]544[/C][C]560.868421052632[/C][C]-16.8684210526316[/C][/ROW]
[ROW][C]21[/C][C]537[/C][C]560.868421052632[/C][C]-23.8684210526316[/C][/ROW]
[ROW][C]22[/C][C]543[/C][C]560.868421052632[/C][C]-17.8684210526316[/C][/ROW]
[ROW][C]23[/C][C]594[/C][C]560.868421052632[/C][C]33.1315789473684[/C][/ROW]
[ROW][C]24[/C][C]611[/C][C]573.130434782609[/C][C]37.8695652173913[/C][/ROW]
[ROW][C]25[/C][C]613[/C][C]560.868421052632[/C][C]52.1315789473684[/C][/ROW]
[ROW][C]26[/C][C]611[/C][C]560.868421052632[/C][C]50.1315789473684[/C][/ROW]
[ROW][C]27[/C][C]594[/C][C]560.868421052632[/C][C]33.1315789473684[/C][/ROW]
[ROW][C]28[/C][C]595[/C][C]573.130434782609[/C][C]21.8695652173913[/C][/ROW]
[ROW][C]29[/C][C]591[/C][C]573.130434782609[/C][C]17.8695652173913[/C][/ROW]
[ROW][C]30[/C][C]589[/C][C]573.130434782609[/C][C]15.8695652173913[/C][/ROW]
[ROW][C]31[/C][C]584[/C][C]560.868421052632[/C][C]23.1315789473684[/C][/ROW]
[ROW][C]32[/C][C]573[/C][C]560.868421052632[/C][C]12.1315789473684[/C][/ROW]
[ROW][C]33[/C][C]567[/C][C]573.130434782609[/C][C]-6.13043478260871[/C][/ROW]
[ROW][C]34[/C][C]569[/C][C]560.868421052632[/C][C]8.13157894736843[/C][/ROW]
[ROW][C]35[/C][C]621[/C][C]573.130434782609[/C][C]47.8695652173913[/C][/ROW]
[ROW][C]36[/C][C]629[/C][C]573.130434782609[/C][C]55.8695652173913[/C][/ROW]
[ROW][C]37[/C][C]628[/C][C]560.868421052632[/C][C]67.1315789473684[/C][/ROW]
[ROW][C]38[/C][C]612[/C][C]560.868421052632[/C][C]51.1315789473684[/C][/ROW]
[ROW][C]39[/C][C]595[/C][C]560.868421052632[/C][C]34.1315789473684[/C][/ROW]
[ROW][C]40[/C][C]597[/C][C]573.130434782609[/C][C]23.8695652173913[/C][/ROW]
[ROW][C]41[/C][C]593[/C][C]560.868421052632[/C][C]32.1315789473684[/C][/ROW]
[ROW][C]42[/C][C]590[/C][C]573.130434782609[/C][C]16.8695652173913[/C][/ROW]
[ROW][C]43[/C][C]580[/C][C]560.868421052632[/C][C]19.1315789473684[/C][/ROW]
[ROW][C]44[/C][C]574[/C][C]560.868421052632[/C][C]13.1315789473684[/C][/ROW]
[ROW][C]45[/C][C]573[/C][C]560.868421052632[/C][C]12.1315789473684[/C][/ROW]
[ROW][C]46[/C][C]573[/C][C]560.868421052632[/C][C]12.1315789473684[/C][/ROW]
[ROW][C]47[/C][C]620[/C][C]573.130434782609[/C][C]46.8695652173913[/C][/ROW]
[ROW][C]48[/C][C]626[/C][C]573.130434782609[/C][C]52.8695652173913[/C][/ROW]
[ROW][C]49[/C][C]620[/C][C]560.868421052632[/C][C]59.1315789473684[/C][/ROW]
[ROW][C]50[/C][C]588[/C][C]560.868421052632[/C][C]27.1315789473684[/C][/ROW]
[ROW][C]51[/C][C]566[/C][C]560.868421052632[/C][C]5.13157894736843[/C][/ROW]
[ROW][C]52[/C][C]557[/C][C]573.130434782609[/C][C]-16.1304347826087[/C][/ROW]
[ROW][C]53[/C][C]561[/C][C]560.868421052632[/C][C]0.131578947368428[/C][/ROW]
[ROW][C]54[/C][C]549[/C][C]560.868421052632[/C][C]-11.8684210526316[/C][/ROW]
[ROW][C]55[/C][C]532[/C][C]560.868421052632[/C][C]-28.8684210526316[/C][/ROW]
[ROW][C]56[/C][C]526[/C][C]560.868421052632[/C][C]-34.8684210526316[/C][/ROW]
[ROW][C]57[/C][C]511[/C][C]560.868421052632[/C][C]-49.8684210526316[/C][/ROW]
[ROW][C]58[/C][C]499[/C][C]560.868421052632[/C][C]-61.8684210526316[/C][/ROW]
[ROW][C]59[/C][C]555[/C][C]573.130434782609[/C][C]-18.1304347826087[/C][/ROW]
[ROW][C]60[/C][C]565[/C][C]560.868421052632[/C][C]4.13157894736843[/C][/ROW]
[ROW][C]61[/C][C]542[/C][C]560.868421052632[/C][C]-18.8684210526316[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5895&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5895&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
1523573.130434782608-50.1304347826084
2519560.868421052632-41.8684210526316
3509560.868421052632-51.8684210526316
4512560.868421052632-48.8684210526316
5519573.130434782609-54.1304347826087
6517573.130434782609-56.1304347826087
7510560.868421052632-50.8684210526316
8509560.868421052632-51.8684210526316
9501573.130434782609-72.1304347826087
10507560.868421052632-53.8684210526316
11569573.130434782609-4.13043478260871
12580573.1304347826096.86956521739129
13578560.86842105263217.1315789473684
14565560.8684210526324.13157894736843
15547573.130434782609-26.1304347826087
16555573.130434782609-18.1304347826087
17562573.130434782609-11.1304347826087
18561573.130434782609-12.1304347826087
19555560.868421052632-5.86842105263157
20544560.868421052632-16.8684210526316
21537560.868421052632-23.8684210526316
22543560.868421052632-17.8684210526316
23594560.86842105263233.1315789473684
24611573.13043478260937.8695652173913
25613560.86842105263252.1315789473684
26611560.86842105263250.1315789473684
27594560.86842105263233.1315789473684
28595573.13043478260921.8695652173913
29591573.13043478260917.8695652173913
30589573.13043478260915.8695652173913
31584560.86842105263223.1315789473684
32573560.86842105263212.1315789473684
33567573.130434782609-6.13043478260871
34569560.8684210526328.13157894736843
35621573.13043478260947.8695652173913
36629573.13043478260955.8695652173913
37628560.86842105263267.1315789473684
38612560.86842105263251.1315789473684
39595560.86842105263234.1315789473684
40597573.13043478260923.8695652173913
41593560.86842105263232.1315789473684
42590573.13043478260916.8695652173913
43580560.86842105263219.1315789473684
44574560.86842105263213.1315789473684
45573560.86842105263212.1315789473684
46573560.86842105263212.1315789473684
47620573.13043478260946.8695652173913
48626573.13043478260952.8695652173913
49620560.86842105263259.1315789473684
50588560.86842105263227.1315789473684
51566560.8684210526325.13157894736843
52557573.130434782609-16.1304347826087
53561560.8684210526320.131578947368428
54549560.868421052632-11.8684210526316
55532560.868421052632-28.8684210526316
56526560.868421052632-34.8684210526316
57511560.868421052632-49.8684210526316
58499560.868421052632-61.8684210526316
59555573.130434782609-18.1304347826087
60565560.8684210526324.13157894736843
61542560.868421052632-18.8684210526316



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