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 15:07:37 -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/t1195682436ww0ravwr3wza6q8.htm/, Retrieved Tue, 07 May 2024 17:02:05 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=5900, Retrieved Tue, 07 May 2024 17:02:05 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsLinear trend
Estimated Impact206
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 22:07:37] [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 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=5900&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=5900&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5900&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] = + 578.648557692308 -9.9362980769231x[t] -8.35996928418795M1[t] -8.15687767094017M2[t] -27.6535456730769M3[t] -33.3247329059829M4[t] -30.0468816773504M5[t] -36.7435496794872M6[t] -38.5039196047009M7[t] -46.2133279914530M8[t] -58.2972556089744M9[t] -54.6321447649573M10[t] -9.69059161324788M11[t] + 0.709408386752137t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
y[t] =  +  578.648557692308 -9.9362980769231x[t] -8.35996928418795M1[t] -8.15687767094017M2[t] -27.6535456730769M3[t] -33.3247329059829M4[t] -30.0468816773504M5[t] -36.7435496794872M6[t] -38.5039196047009M7[t] -46.2133279914530M8[t] -58.2972556089744M9[t] -54.6321447649573M10[t] -9.69059161324788M11[t] +  0.709408386752137t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5900&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]y[t] =  +  578.648557692308 -9.9362980769231x[t] -8.35996928418795M1[t] -8.15687767094017M2[t] -27.6535456730769M3[t] -33.3247329059829M4[t] -30.0468816773504M5[t] -36.7435496794872M6[t] -38.5039196047009M7[t] -46.2133279914530M8[t] -58.2972556089744M9[t] -54.6321447649573M10[t] -9.69059161324788M11[t] +  0.709408386752137t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5900&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5900&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] = + 578.648557692308 -9.9362980769231x[t] -8.35996928418795M1[t] -8.15687767094017M2[t] -27.6535456730769M3[t] -33.3247329059829M4[t] -30.0468816773504M5[t] -36.7435496794872M6[t] -38.5039196047009M7[t] -46.2133279914530M8[t] -58.2972556089744M9[t] -54.6321447649573M10[t] -9.69059161324788M11[t] + 0.709408386752137t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)578.64855769230816.53474834.995900
x-9.936298076923112.441378-0.79860.4285110.214256
M1-8.3599692841879520.977524-0.39850.6920510.346026
M2-8.1568776709401722.903424-0.35610.7233280.361664
M3-27.653545673076921.796097-1.26870.2107820.105391
M4-33.324732905982920.197267-1.650.1056190.052809
M5-30.046881677350420.393564-1.47340.1473230.073661
M6-36.743549679487220.154952-1.82310.0746590.03733
M7-38.503919604700922.634141-1.70110.0955240.047762
M8-46.213327991453022.588-2.04590.0463820.023191
M9-58.297255608974420.776147-2.8060.0072760.003638
M10-54.632144764957322.503565-2.42770.0190780.009539
M11-9.6905916132478820.101933-0.48210.6319920.315996
t0.7094083867521370.2469462.87270.0060890.003045

\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) & 578.648557692308 & 16.534748 & 34.9959 & 0 & 0 \tabularnewline
x & -9.9362980769231 & 12.441378 & -0.7986 & 0.428511 & 0.214256 \tabularnewline
M1 & -8.35996928418795 & 20.977524 & -0.3985 & 0.692051 & 0.346026 \tabularnewline
M2 & -8.15687767094017 & 22.903424 & -0.3561 & 0.723328 & 0.361664 \tabularnewline
M3 & -27.6535456730769 & 21.796097 & -1.2687 & 0.210782 & 0.105391 \tabularnewline
M4 & -33.3247329059829 & 20.197267 & -1.65 & 0.105619 & 0.052809 \tabularnewline
M5 & -30.0468816773504 & 20.393564 & -1.4734 & 0.147323 & 0.073661 \tabularnewline
M6 & -36.7435496794872 & 20.154952 & -1.8231 & 0.074659 & 0.03733 \tabularnewline
M7 & -38.5039196047009 & 22.634141 & -1.7011 & 0.095524 & 0.047762 \tabularnewline
M8 & -46.2133279914530 & 22.588 & -2.0459 & 0.046382 & 0.023191 \tabularnewline
M9 & -58.2972556089744 & 20.776147 & -2.806 & 0.007276 & 0.003638 \tabularnewline
M10 & -54.6321447649573 & 22.503565 & -2.4277 & 0.019078 & 0.009539 \tabularnewline
M11 & -9.69059161324788 & 20.101933 & -0.4821 & 0.631992 & 0.315996 \tabularnewline
t & 0.709408386752137 & 0.246946 & 2.8727 & 0.006089 & 0.003045 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5900&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]578.648557692308[/C][C]16.534748[/C][C]34.9959[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]x[/C][C]-9.9362980769231[/C][C]12.441378[/C][C]-0.7986[/C][C]0.428511[/C][C]0.214256[/C][/ROW]
[ROW][C]M1[/C][C]-8.35996928418795[/C][C]20.977524[/C][C]-0.3985[/C][C]0.692051[/C][C]0.346026[/C][/ROW]
[ROW][C]M2[/C][C]-8.15687767094017[/C][C]22.903424[/C][C]-0.3561[/C][C]0.723328[/C][C]0.361664[/C][/ROW]
[ROW][C]M3[/C][C]-27.6535456730769[/C][C]21.796097[/C][C]-1.2687[/C][C]0.210782[/C][C]0.105391[/C][/ROW]
[ROW][C]M4[/C][C]-33.3247329059829[/C][C]20.197267[/C][C]-1.65[/C][C]0.105619[/C][C]0.052809[/C][/ROW]
[ROW][C]M5[/C][C]-30.0468816773504[/C][C]20.393564[/C][C]-1.4734[/C][C]0.147323[/C][C]0.073661[/C][/ROW]
[ROW][C]M6[/C][C]-36.7435496794872[/C][C]20.154952[/C][C]-1.8231[/C][C]0.074659[/C][C]0.03733[/C][/ROW]
[ROW][C]M7[/C][C]-38.5039196047009[/C][C]22.634141[/C][C]-1.7011[/C][C]0.095524[/C][C]0.047762[/C][/ROW]
[ROW][C]M8[/C][C]-46.2133279914530[/C][C]22.588[/C][C]-2.0459[/C][C]0.046382[/C][C]0.023191[/C][/ROW]
[ROW][C]M9[/C][C]-58.2972556089744[/C][C]20.776147[/C][C]-2.806[/C][C]0.007276[/C][C]0.003638[/C][/ROW]
[ROW][C]M10[/C][C]-54.6321447649573[/C][C]22.503565[/C][C]-2.4277[/C][C]0.019078[/C][C]0.009539[/C][/ROW]
[ROW][C]M11[/C][C]-9.69059161324788[/C][C]20.101933[/C][C]-0.4821[/C][C]0.631992[/C][C]0.315996[/C][/ROW]
[ROW][C]t[/C][C]0.709408386752137[/C][C]0.246946[/C][C]2.8727[/C][C]0.006089[/C][C]0.003045[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5900&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5900&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)578.64855769230816.53474834.995900
x-9.936298076923112.441378-0.79860.4285110.214256
M1-8.3599692841879520.977524-0.39850.6920510.346026
M2-8.1568776709401722.903424-0.35610.7233280.361664
M3-27.653545673076921.796097-1.26870.2107820.105391
M4-33.324732905982920.197267-1.650.1056190.052809
M5-30.046881677350420.393564-1.47340.1473230.073661
M6-36.743549679487220.154952-1.82310.0746590.03733
M7-38.503919604700922.634141-1.70110.0955240.047762
M8-46.213327991453022.588-2.04590.0463820.023191
M9-58.297255608974420.776147-2.8060.0072760.003638
M10-54.632144764957322.503565-2.42770.0190780.009539
M11-9.6905916132478820.101933-0.48210.6319920.315996
t0.7094083867521370.2469462.87270.0060890.003045







Multiple Linear Regression - Regression Statistics
Multiple R0.63564715575808
R-squared0.404047306623337
Adjusted R-squared0.239209327604260
F-TEST (value)2.45117847857487
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value0.0125067927957605
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation31.7815489584879
Sum Squared Residuals47473.1421474359

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.63564715575808 \tabularnewline
R-squared & 0.404047306623337 \tabularnewline
Adjusted R-squared & 0.239209327604260 \tabularnewline
F-TEST (value) & 2.45117847857487 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0.0125067927957605 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 31.7815489584879 \tabularnewline
Sum Squared Residuals & 47473.1421474359 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5900&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.63564715575808[/C][/ROW]
[ROW][C]R-squared[/C][C]0.404047306623337[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.239209327604260[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]2.45117847857487[/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.0125067927957605[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]31.7815489584879[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]47473.1421474359[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5900&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5900&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.63564715575808
R-squared0.404047306623337
Adjusted R-squared0.239209327604260
F-TEST (value)2.45117847857487
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value0.0125067927957605
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation31.7815489584879
Sum Squared Residuals47473.1421474359







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1523570.997996794872-47.9979967948715
2519561.974198717949-42.9741987179487
3509543.186939102564-34.1869391025641
4512538.22516025641-26.2251602564102
5519552.148717948718-33.148717948718
6517546.161458333333-29.1614583333334
7510535.174198717949-25.1741987179488
8509528.174198717949-19.1741987179487
9501526.735977564103-25.7359775641026
10507521.174198717949-14.1741987179488
11569576.761458333333-7.76145833333337
12580587.161458333333-7.16145833333332
13578569.5745993589748.42540064102559
14565570.487099358974-5.48709935897435
15547561.636137820513-14.6361378205129
16555556.674358974359-1.67435897435899
17562560.6616185897441.3383814102564
18561554.6743589743596.32564102564101
19555543.68709935897411.3129006410257
20544536.6870993589747.31290064102566
21537525.31258012820511.6874198717949
22543529.68709935897413.3129006410257
23594575.33806089743618.6619391025641
24611595.67435897435915.325641025641
25613578.087534.9125000000000
2661157932
27594560.21274038461533.7872596153846
28595565.18725961538529.8127403846154
29591569.17451923076921.8254807692308
30589563.18725961538525.8127403846154
31584552.231.8
32573545.227.8
33567543.76177884615423.2382211538461
34569538.230.8
35621593.78725961538527.2127403846154
36629604.18725961538524.8127403846154
37628586.60040064102641.3995993589743
38612587.51290064102624.4870993589744
39595568.72564102564126.274358974359
40597573.7001602564123.2998397435897
41593567.75112179487225.2488782051282
42590571.7001602564118.2998397435897
43580560.71290064102619.2870993589744
44574553.71290064102620.2870993589744
45573542.33838141025630.6616185897436
46573546.71290064102626.2870993589744
47620602.3001602564117.6998397435897
48626612.7001602564113.2998397435897
49620595.11330128205124.8866987179487
50588596.025801282051-8.02580128205129
51566577.238541666667-11.2385416666667
52557582.213060897436-25.2130608974359
53561576.264022435897-15.2640224358974
54549570.276762820513-21.2767628205128
55532569.225801282051-37.2258012820513
56526562.225801282051-36.2258012820513
57511550.851282051282-39.851282051282
58499555.225801282051-56.2258012820513
59555610.813060897436-55.8130608974359
60565611.276762820513-46.2767628205128
61542603.626201923077-61.626201923077

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 523 & 570.997996794872 & -47.9979967948715 \tabularnewline
2 & 519 & 561.974198717949 & -42.9741987179487 \tabularnewline
3 & 509 & 543.186939102564 & -34.1869391025641 \tabularnewline
4 & 512 & 538.22516025641 & -26.2251602564102 \tabularnewline
5 & 519 & 552.148717948718 & -33.148717948718 \tabularnewline
6 & 517 & 546.161458333333 & -29.1614583333334 \tabularnewline
7 & 510 & 535.174198717949 & -25.1741987179488 \tabularnewline
8 & 509 & 528.174198717949 & -19.1741987179487 \tabularnewline
9 & 501 & 526.735977564103 & -25.7359775641026 \tabularnewline
10 & 507 & 521.174198717949 & -14.1741987179488 \tabularnewline
11 & 569 & 576.761458333333 & -7.76145833333337 \tabularnewline
12 & 580 & 587.161458333333 & -7.16145833333332 \tabularnewline
13 & 578 & 569.574599358974 & 8.42540064102559 \tabularnewline
14 & 565 & 570.487099358974 & -5.48709935897435 \tabularnewline
15 & 547 & 561.636137820513 & -14.6361378205129 \tabularnewline
16 & 555 & 556.674358974359 & -1.67435897435899 \tabularnewline
17 & 562 & 560.661618589744 & 1.3383814102564 \tabularnewline
18 & 561 & 554.674358974359 & 6.32564102564101 \tabularnewline
19 & 555 & 543.687099358974 & 11.3129006410257 \tabularnewline
20 & 544 & 536.687099358974 & 7.31290064102566 \tabularnewline
21 & 537 & 525.312580128205 & 11.6874198717949 \tabularnewline
22 & 543 & 529.687099358974 & 13.3129006410257 \tabularnewline
23 & 594 & 575.338060897436 & 18.6619391025641 \tabularnewline
24 & 611 & 595.674358974359 & 15.325641025641 \tabularnewline
25 & 613 & 578.0875 & 34.9125000000000 \tabularnewline
26 & 611 & 579 & 32 \tabularnewline
27 & 594 & 560.212740384615 & 33.7872596153846 \tabularnewline
28 & 595 & 565.187259615385 & 29.8127403846154 \tabularnewline
29 & 591 & 569.174519230769 & 21.8254807692308 \tabularnewline
30 & 589 & 563.187259615385 & 25.8127403846154 \tabularnewline
31 & 584 & 552.2 & 31.8 \tabularnewline
32 & 573 & 545.2 & 27.8 \tabularnewline
33 & 567 & 543.761778846154 & 23.2382211538461 \tabularnewline
34 & 569 & 538.2 & 30.8 \tabularnewline
35 & 621 & 593.787259615385 & 27.2127403846154 \tabularnewline
36 & 629 & 604.187259615385 & 24.8127403846154 \tabularnewline
37 & 628 & 586.600400641026 & 41.3995993589743 \tabularnewline
38 & 612 & 587.512900641026 & 24.4870993589744 \tabularnewline
39 & 595 & 568.725641025641 & 26.274358974359 \tabularnewline
40 & 597 & 573.70016025641 & 23.2998397435897 \tabularnewline
41 & 593 & 567.751121794872 & 25.2488782051282 \tabularnewline
42 & 590 & 571.70016025641 & 18.2998397435897 \tabularnewline
43 & 580 & 560.712900641026 & 19.2870993589744 \tabularnewline
44 & 574 & 553.712900641026 & 20.2870993589744 \tabularnewline
45 & 573 & 542.338381410256 & 30.6616185897436 \tabularnewline
46 & 573 & 546.712900641026 & 26.2870993589744 \tabularnewline
47 & 620 & 602.30016025641 & 17.6998397435897 \tabularnewline
48 & 626 & 612.70016025641 & 13.2998397435897 \tabularnewline
49 & 620 & 595.113301282051 & 24.8866987179487 \tabularnewline
50 & 588 & 596.025801282051 & -8.02580128205129 \tabularnewline
51 & 566 & 577.238541666667 & -11.2385416666667 \tabularnewline
52 & 557 & 582.213060897436 & -25.2130608974359 \tabularnewline
53 & 561 & 576.264022435897 & -15.2640224358974 \tabularnewline
54 & 549 & 570.276762820513 & -21.2767628205128 \tabularnewline
55 & 532 & 569.225801282051 & -37.2258012820513 \tabularnewline
56 & 526 & 562.225801282051 & -36.2258012820513 \tabularnewline
57 & 511 & 550.851282051282 & -39.851282051282 \tabularnewline
58 & 499 & 555.225801282051 & -56.2258012820513 \tabularnewline
59 & 555 & 610.813060897436 & -55.8130608974359 \tabularnewline
60 & 565 & 611.276762820513 & -46.2767628205128 \tabularnewline
61 & 542 & 603.626201923077 & -61.626201923077 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5900&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]570.997996794872[/C][C]-47.9979967948715[/C][/ROW]
[ROW][C]2[/C][C]519[/C][C]561.974198717949[/C][C]-42.9741987179487[/C][/ROW]
[ROW][C]3[/C][C]509[/C][C]543.186939102564[/C][C]-34.1869391025641[/C][/ROW]
[ROW][C]4[/C][C]512[/C][C]538.22516025641[/C][C]-26.2251602564102[/C][/ROW]
[ROW][C]5[/C][C]519[/C][C]552.148717948718[/C][C]-33.148717948718[/C][/ROW]
[ROW][C]6[/C][C]517[/C][C]546.161458333333[/C][C]-29.1614583333334[/C][/ROW]
[ROW][C]7[/C][C]510[/C][C]535.174198717949[/C][C]-25.1741987179488[/C][/ROW]
[ROW][C]8[/C][C]509[/C][C]528.174198717949[/C][C]-19.1741987179487[/C][/ROW]
[ROW][C]9[/C][C]501[/C][C]526.735977564103[/C][C]-25.7359775641026[/C][/ROW]
[ROW][C]10[/C][C]507[/C][C]521.174198717949[/C][C]-14.1741987179488[/C][/ROW]
[ROW][C]11[/C][C]569[/C][C]576.761458333333[/C][C]-7.76145833333337[/C][/ROW]
[ROW][C]12[/C][C]580[/C][C]587.161458333333[/C][C]-7.16145833333332[/C][/ROW]
[ROW][C]13[/C][C]578[/C][C]569.574599358974[/C][C]8.42540064102559[/C][/ROW]
[ROW][C]14[/C][C]565[/C][C]570.487099358974[/C][C]-5.48709935897435[/C][/ROW]
[ROW][C]15[/C][C]547[/C][C]561.636137820513[/C][C]-14.6361378205129[/C][/ROW]
[ROW][C]16[/C][C]555[/C][C]556.674358974359[/C][C]-1.67435897435899[/C][/ROW]
[ROW][C]17[/C][C]562[/C][C]560.661618589744[/C][C]1.3383814102564[/C][/ROW]
[ROW][C]18[/C][C]561[/C][C]554.674358974359[/C][C]6.32564102564101[/C][/ROW]
[ROW][C]19[/C][C]555[/C][C]543.687099358974[/C][C]11.3129006410257[/C][/ROW]
[ROW][C]20[/C][C]544[/C][C]536.687099358974[/C][C]7.31290064102566[/C][/ROW]
[ROW][C]21[/C][C]537[/C][C]525.312580128205[/C][C]11.6874198717949[/C][/ROW]
[ROW][C]22[/C][C]543[/C][C]529.687099358974[/C][C]13.3129006410257[/C][/ROW]
[ROW][C]23[/C][C]594[/C][C]575.338060897436[/C][C]18.6619391025641[/C][/ROW]
[ROW][C]24[/C][C]611[/C][C]595.674358974359[/C][C]15.325641025641[/C][/ROW]
[ROW][C]25[/C][C]613[/C][C]578.0875[/C][C]34.9125000000000[/C][/ROW]
[ROW][C]26[/C][C]611[/C][C]579[/C][C]32[/C][/ROW]
[ROW][C]27[/C][C]594[/C][C]560.212740384615[/C][C]33.7872596153846[/C][/ROW]
[ROW][C]28[/C][C]595[/C][C]565.187259615385[/C][C]29.8127403846154[/C][/ROW]
[ROW][C]29[/C][C]591[/C][C]569.174519230769[/C][C]21.8254807692308[/C][/ROW]
[ROW][C]30[/C][C]589[/C][C]563.187259615385[/C][C]25.8127403846154[/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]543.761778846154[/C][C]23.2382211538461[/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]593.787259615385[/C][C]27.2127403846154[/C][/ROW]
[ROW][C]36[/C][C]629[/C][C]604.187259615385[/C][C]24.8127403846154[/C][/ROW]
[ROW][C]37[/C][C]628[/C][C]586.600400641026[/C][C]41.3995993589743[/C][/ROW]
[ROW][C]38[/C][C]612[/C][C]587.512900641026[/C][C]24.4870993589744[/C][/ROW]
[ROW][C]39[/C][C]595[/C][C]568.725641025641[/C][C]26.274358974359[/C][/ROW]
[ROW][C]40[/C][C]597[/C][C]573.70016025641[/C][C]23.2998397435897[/C][/ROW]
[ROW][C]41[/C][C]593[/C][C]567.751121794872[/C][C]25.2488782051282[/C][/ROW]
[ROW][C]42[/C][C]590[/C][C]571.70016025641[/C][C]18.2998397435897[/C][/ROW]
[ROW][C]43[/C][C]580[/C][C]560.712900641026[/C][C]19.2870993589744[/C][/ROW]
[ROW][C]44[/C][C]574[/C][C]553.712900641026[/C][C]20.2870993589744[/C][/ROW]
[ROW][C]45[/C][C]573[/C][C]542.338381410256[/C][C]30.6616185897436[/C][/ROW]
[ROW][C]46[/C][C]573[/C][C]546.712900641026[/C][C]26.2870993589744[/C][/ROW]
[ROW][C]47[/C][C]620[/C][C]602.30016025641[/C][C]17.6998397435897[/C][/ROW]
[ROW][C]48[/C][C]626[/C][C]612.70016025641[/C][C]13.2998397435897[/C][/ROW]
[ROW][C]49[/C][C]620[/C][C]595.113301282051[/C][C]24.8866987179487[/C][/ROW]
[ROW][C]50[/C][C]588[/C][C]596.025801282051[/C][C]-8.02580128205129[/C][/ROW]
[ROW][C]51[/C][C]566[/C][C]577.238541666667[/C][C]-11.2385416666667[/C][/ROW]
[ROW][C]52[/C][C]557[/C][C]582.213060897436[/C][C]-25.2130608974359[/C][/ROW]
[ROW][C]53[/C][C]561[/C][C]576.264022435897[/C][C]-15.2640224358974[/C][/ROW]
[ROW][C]54[/C][C]549[/C][C]570.276762820513[/C][C]-21.2767628205128[/C][/ROW]
[ROW][C]55[/C][C]532[/C][C]569.225801282051[/C][C]-37.2258012820513[/C][/ROW]
[ROW][C]56[/C][C]526[/C][C]562.225801282051[/C][C]-36.2258012820513[/C][/ROW]
[ROW][C]57[/C][C]511[/C][C]550.851282051282[/C][C]-39.851282051282[/C][/ROW]
[ROW][C]58[/C][C]499[/C][C]555.225801282051[/C][C]-56.2258012820513[/C][/ROW]
[ROW][C]59[/C][C]555[/C][C]610.813060897436[/C][C]-55.8130608974359[/C][/ROW]
[ROW][C]60[/C][C]565[/C][C]611.276762820513[/C][C]-46.2767628205128[/C][/ROW]
[ROW][C]61[/C][C]542[/C][C]603.626201923077[/C][C]-61.626201923077[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5900&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5900&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
1523570.997996794872-47.9979967948715
2519561.974198717949-42.9741987179487
3509543.186939102564-34.1869391025641
4512538.22516025641-26.2251602564102
5519552.148717948718-33.148717948718
6517546.161458333333-29.1614583333334
7510535.174198717949-25.1741987179488
8509528.174198717949-19.1741987179487
9501526.735977564103-25.7359775641026
10507521.174198717949-14.1741987179488
11569576.761458333333-7.76145833333337
12580587.161458333333-7.16145833333332
13578569.5745993589748.42540064102559
14565570.487099358974-5.48709935897435
15547561.636137820513-14.6361378205129
16555556.674358974359-1.67435897435899
17562560.6616185897441.3383814102564
18561554.6743589743596.32564102564101
19555543.68709935897411.3129006410257
20544536.6870993589747.31290064102566
21537525.31258012820511.6874198717949
22543529.68709935897413.3129006410257
23594575.33806089743618.6619391025641
24611595.67435897435915.325641025641
25613578.087534.9125000000000
2661157932
27594560.21274038461533.7872596153846
28595565.18725961538529.8127403846154
29591569.17451923076921.8254807692308
30589563.18725961538525.8127403846154
31584552.231.8
32573545.227.8
33567543.76177884615423.2382211538461
34569538.230.8
35621593.78725961538527.2127403846154
36629604.18725961538524.8127403846154
37628586.60040064102641.3995993589743
38612587.51290064102624.4870993589744
39595568.72564102564126.274358974359
40597573.7001602564123.2998397435897
41593567.75112179487225.2488782051282
42590571.7001602564118.2998397435897
43580560.71290064102619.2870993589744
44574553.71290064102620.2870993589744
45573542.33838141025630.6616185897436
46573546.71290064102626.2870993589744
47620602.3001602564117.6998397435897
48626612.7001602564113.2998397435897
49620595.11330128205124.8866987179487
50588596.025801282051-8.02580128205129
51566577.238541666667-11.2385416666667
52557582.213060897436-25.2130608974359
53561576.264022435897-15.2640224358974
54549570.276762820513-21.2767628205128
55532569.225801282051-37.2258012820513
56526562.225801282051-36.2258012820513
57511550.851282051282-39.851282051282
58499555.225801282051-56.2258012820513
59555610.813060897436-55.8130608974359
60565611.276762820513-46.2767628205128
61542603.626201923077-61.626201923077



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