Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationMon, 19 Nov 2007 03:22:35 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2007/Nov/19/t119546743378pvz4yc6df7viu.htm/, Retrieved Fri, 03 May 2024 05:32:47 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=5663, Retrieved Fri, 03 May 2024 05:32:47 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact211
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [] [2007-11-19 10:22:35] [22d719c250b0837edaa2d173fd414084] [Current]
Feedback Forum

Post a new message
Dataseries X:
112.1	0
104.2	0
102.4	0
100.3	0
102.6	0
101.5	0
103.4	0
99.4	0
97.9	0
98	0
90.2	0
87.1	0
91.8	0
94.8	0
91.8	0
89.3	0
91.7	0
86.2	0
82.8	0
82.3	0
79.8	0
79.4	0
85.3	0
87.5	0
88.3	0
88.6	0
94.9	0
94.7	0
92.6	0
91.8	0
96.4	0
96.4	0
107.1	0
111.9	0
107.8	0
109.2	0
115.3	0
119.2	0
107.8	0
106.8	0
104.2	0
94.8	0
97.5	0
98.3	0
100.6	1
94.9	1
93.6	1
98	1
104.3	1
103.9	1
105.3	1
102.6	1
103.3	1
107.9	1
107.8	1
109.8	1
110.6	1
110.8	1
119.3	1
128.1	1
127.6	1
137.9	1
151.4	1
143.6	1
143.4	1
141.9	1
135.2	1
133.1	1
129.6	1
134.1	1
136.8	1
143.5	1
162.5	1
163.1	1
157.2	1
158.8	1
155.4	1
148.5	1
154.2	1
153.3	1
149.4	1
147.9	1
156	1
163	1
159.1	1
159.5	1
157.3	1
156.4	1
156.6	1
162.4	1
166.8	1
162.6	1
168.1	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=5663&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=5663&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5663&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
Suiker[t] = + 75.5132381823562 -4.9594561794693Fluctuatie[t] + 0.952340929269015t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Suiker[t] =  +  75.5132381823562 -4.9594561794693Fluctuatie[t] +  0.952340929269015t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5663&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Suiker[t] =  +  75.5132381823562 -4.9594561794693Fluctuatie[t] +  0.952340929269015t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5663&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5663&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
Suiker[t] = + 75.5132381823562 -4.9594561794693Fluctuatie[t] + 0.952340929269015t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)75.51323818235622.98649625.284900
Fluctuatie-4.95945617946935.381921-0.92150.3592510.179626
t0.9523409292690150.1000959.514400

\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) & 75.5132381823562 & 2.986496 & 25.2849 & 0 & 0 \tabularnewline
Fluctuatie & -4.9594561794693 & 5.381921 & -0.9215 & 0.359251 & 0.179626 \tabularnewline
t & 0.952340929269015 & 0.100095 & 9.5144 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5663&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]75.5132381823562[/C][C]2.986496[/C][C]25.2849[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Fluctuatie[/C][C]-4.9594561794693[/C][C]5.381921[/C][C]-0.9215[/C][C]0.359251[/C][C]0.179626[/C][/ROW]
[ROW][C]t[/C][C]0.952340929269015[/C][C]0.100095[/C][C]9.5144[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5663&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5663&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)75.51323818235622.98649625.284900
Fluctuatie-4.95945617946935.381921-0.92150.3592510.179626
t0.9523409292690150.1000959.514400







Multiple Linear Regression - Regression Statistics
Multiple R0.877834062380164
R-squared0.770592641074862
Adjusted R-squared0.765494699765415
F-TEST (value)151.157613299078
F-TEST (DF numerator)2
F-TEST (DF denominator)90
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation13.0103985336055
Sum Squared Residuals15234.3423002919

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.877834062380164 \tabularnewline
R-squared & 0.770592641074862 \tabularnewline
Adjusted R-squared & 0.765494699765415 \tabularnewline
F-TEST (value) & 151.157613299078 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 90 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 13.0103985336055 \tabularnewline
Sum Squared Residuals & 15234.3423002919 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5663&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.877834062380164[/C][/ROW]
[ROW][C]R-squared[/C][C]0.770592641074862[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.765494699765415[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]151.157613299078[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]2[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]90[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]13.0103985336055[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]15234.3423002919[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5663&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5663&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.877834062380164
R-squared0.770592641074862
Adjusted R-squared0.765494699765415
F-TEST (value)151.157613299078
F-TEST (DF numerator)2
F-TEST (DF denominator)90
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation13.0103985336055
Sum Squared Residuals15234.3423002919







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1112.176.465579111625535.6344208883745
2104.277.417920040894226.7820799591058
3102.478.370260970163324.0297390298367
4100.379.322601899432320.9773981005677
5102.680.274942828701322.3250571712987
6101.581.227283757970320.2727162420297
7103.482.179624687239421.2203753127607
899.483.131965616508416.2680343834916
997.984.084306545777413.8156934542226
109885.036647475046412.9633525249536
1190.285.98898840431544.21101159568459
1287.186.94132933358440.158670666415566
1391.887.89367026285343.90632973714655
1494.888.84601119212255.95398880787754
1591.889.79835212139152.00164787860852
1689.390.7506930506605-1.45069305066049
1791.791.7030339799295-0.00303397992949916
1886.292.6553749091985-6.45537490919851
1982.893.6077158384675-10.8077158384675
2082.394.5600567677366-12.2600567677366
2179.895.5123976970056-15.7123976970056
2279.496.4647386262746-17.0647386262746
2385.397.4170795555436-12.1170795555436
2487.598.3694204848126-10.8694204848126
2588.399.3217614140816-11.0217614140816
2688.6100.274102343351-11.6741023433506
2794.9101.226443272620-6.32644327261965
2894.7102.178784201889-7.47878420188866
2992.6103.131125131158-10.5311251311577
3091.8104.083466060427-12.2834660604267
3196.4105.035806989696-8.6358069896957
3296.4105.988147918965-9.58814791896472
33107.1106.9404888482340.159511151766253
34111.9107.8928297775034.00717022249725
35107.8108.845170706772-1.04517070677177
36109.2109.797511636041-0.597511636040781
37115.3110.7498525653104.5501474346902
38119.2111.7021934945797.49780650542119
39107.8112.654534423848-4.85453442384783
40106.8113.606875353117-6.80687535311685
41104.2114.559216282386-10.3592162823859
4294.8115.511557211655-20.7115572116549
4397.5116.463898140924-18.9638981409239
4498.3117.416239070193-19.1162390701929
45100.6113.409123819993-12.8091238199926
4694.9114.361464749262-19.4614647492616
4793.6115.313805678531-21.7138056785307
4898116.266146607800-18.2661466077997
49104.3117.218487537069-12.9184875370687
50103.9118.170828466338-14.2708284663377
51105.3119.123169395607-13.8231693956067
52102.6120.075510324876-17.4755103248757
53103.3121.027851254145-17.7278512541447
54107.9121.980192183414-14.0801921834137
55107.8122.932533112683-15.1325331126828
56109.8123.884874041952-14.0848740419518
57110.6124.837214971221-14.2372149712208
58110.8125.789555900490-14.9895559004898
59119.3126.741896829759-7.44189682975883
60128.1127.6942377590280.405762240972151
61127.6128.646578688297-1.04657868829686
62137.9129.5989196175668.30108038243413
63151.4130.55126054683520.8487394531651
64143.6131.50360147610412.0963985238961
65143.4132.45594240537310.9440575946271
66141.9133.4082833346428.49171666535807
67135.2134.3606242639110.839375736089042
68133.1135.31296519318-2.21296519317997
69129.6136.265306122449-6.66530612244898
70134.1137.217647051718-3.117647051718
71136.8138.169987980987-1.36998798098700
72143.5139.1223289102564.37767108974398
73162.5140.07466983952522.4253301604750
74163.1141.02701076879422.0729892312059
75157.2141.97935169806315.2206483019369
76158.8142.93169262733215.8683073726679
77155.4143.88403355660111.5159664433989
78148.5144.836374485873.66362551412989
79154.2145.7887154151398.41128458486086
80153.3146.7410563444086.55894365559187
81149.4147.6933972736771.70660272632285
82147.9148.645738202946-0.745738202946165
83156149.5980791322156.40192086778482
84163150.55042006148412.4495799385158
85159.1151.5027609907537.59723900924678
86159.5152.4551019200227.04489807997777
87157.3153.4074428492913.89255715070877
88156.4154.3597837785602.04021622143975
89156.6155.3121247078291.28787529217072
90162.4156.2644656370986.13553436290172
91166.8157.2168065663679.5831934336327
92162.6158.1691474956364.43085250436367
93168.1159.1214884249058.97851157509466

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 112.1 & 76.4655791116255 & 35.6344208883745 \tabularnewline
2 & 104.2 & 77.4179200408942 & 26.7820799591058 \tabularnewline
3 & 102.4 & 78.3702609701633 & 24.0297390298367 \tabularnewline
4 & 100.3 & 79.3226018994323 & 20.9773981005677 \tabularnewline
5 & 102.6 & 80.2749428287013 & 22.3250571712987 \tabularnewline
6 & 101.5 & 81.2272837579703 & 20.2727162420297 \tabularnewline
7 & 103.4 & 82.1796246872394 & 21.2203753127607 \tabularnewline
8 & 99.4 & 83.1319656165084 & 16.2680343834916 \tabularnewline
9 & 97.9 & 84.0843065457774 & 13.8156934542226 \tabularnewline
10 & 98 & 85.0366474750464 & 12.9633525249536 \tabularnewline
11 & 90.2 & 85.9889884043154 & 4.21101159568459 \tabularnewline
12 & 87.1 & 86.9413293335844 & 0.158670666415566 \tabularnewline
13 & 91.8 & 87.8936702628534 & 3.90632973714655 \tabularnewline
14 & 94.8 & 88.8460111921225 & 5.95398880787754 \tabularnewline
15 & 91.8 & 89.7983521213915 & 2.00164787860852 \tabularnewline
16 & 89.3 & 90.7506930506605 & -1.45069305066049 \tabularnewline
17 & 91.7 & 91.7030339799295 & -0.00303397992949916 \tabularnewline
18 & 86.2 & 92.6553749091985 & -6.45537490919851 \tabularnewline
19 & 82.8 & 93.6077158384675 & -10.8077158384675 \tabularnewline
20 & 82.3 & 94.5600567677366 & -12.2600567677366 \tabularnewline
21 & 79.8 & 95.5123976970056 & -15.7123976970056 \tabularnewline
22 & 79.4 & 96.4647386262746 & -17.0647386262746 \tabularnewline
23 & 85.3 & 97.4170795555436 & -12.1170795555436 \tabularnewline
24 & 87.5 & 98.3694204848126 & -10.8694204848126 \tabularnewline
25 & 88.3 & 99.3217614140816 & -11.0217614140816 \tabularnewline
26 & 88.6 & 100.274102343351 & -11.6741023433506 \tabularnewline
27 & 94.9 & 101.226443272620 & -6.32644327261965 \tabularnewline
28 & 94.7 & 102.178784201889 & -7.47878420188866 \tabularnewline
29 & 92.6 & 103.131125131158 & -10.5311251311577 \tabularnewline
30 & 91.8 & 104.083466060427 & -12.2834660604267 \tabularnewline
31 & 96.4 & 105.035806989696 & -8.6358069896957 \tabularnewline
32 & 96.4 & 105.988147918965 & -9.58814791896472 \tabularnewline
33 & 107.1 & 106.940488848234 & 0.159511151766253 \tabularnewline
34 & 111.9 & 107.892829777503 & 4.00717022249725 \tabularnewline
35 & 107.8 & 108.845170706772 & -1.04517070677177 \tabularnewline
36 & 109.2 & 109.797511636041 & -0.597511636040781 \tabularnewline
37 & 115.3 & 110.749852565310 & 4.5501474346902 \tabularnewline
38 & 119.2 & 111.702193494579 & 7.49780650542119 \tabularnewline
39 & 107.8 & 112.654534423848 & -4.85453442384783 \tabularnewline
40 & 106.8 & 113.606875353117 & -6.80687535311685 \tabularnewline
41 & 104.2 & 114.559216282386 & -10.3592162823859 \tabularnewline
42 & 94.8 & 115.511557211655 & -20.7115572116549 \tabularnewline
43 & 97.5 & 116.463898140924 & -18.9638981409239 \tabularnewline
44 & 98.3 & 117.416239070193 & -19.1162390701929 \tabularnewline
45 & 100.6 & 113.409123819993 & -12.8091238199926 \tabularnewline
46 & 94.9 & 114.361464749262 & -19.4614647492616 \tabularnewline
47 & 93.6 & 115.313805678531 & -21.7138056785307 \tabularnewline
48 & 98 & 116.266146607800 & -18.2661466077997 \tabularnewline
49 & 104.3 & 117.218487537069 & -12.9184875370687 \tabularnewline
50 & 103.9 & 118.170828466338 & -14.2708284663377 \tabularnewline
51 & 105.3 & 119.123169395607 & -13.8231693956067 \tabularnewline
52 & 102.6 & 120.075510324876 & -17.4755103248757 \tabularnewline
53 & 103.3 & 121.027851254145 & -17.7278512541447 \tabularnewline
54 & 107.9 & 121.980192183414 & -14.0801921834137 \tabularnewline
55 & 107.8 & 122.932533112683 & -15.1325331126828 \tabularnewline
56 & 109.8 & 123.884874041952 & -14.0848740419518 \tabularnewline
57 & 110.6 & 124.837214971221 & -14.2372149712208 \tabularnewline
58 & 110.8 & 125.789555900490 & -14.9895559004898 \tabularnewline
59 & 119.3 & 126.741896829759 & -7.44189682975883 \tabularnewline
60 & 128.1 & 127.694237759028 & 0.405762240972151 \tabularnewline
61 & 127.6 & 128.646578688297 & -1.04657868829686 \tabularnewline
62 & 137.9 & 129.598919617566 & 8.30108038243413 \tabularnewline
63 & 151.4 & 130.551260546835 & 20.8487394531651 \tabularnewline
64 & 143.6 & 131.503601476104 & 12.0963985238961 \tabularnewline
65 & 143.4 & 132.455942405373 & 10.9440575946271 \tabularnewline
66 & 141.9 & 133.408283334642 & 8.49171666535807 \tabularnewline
67 & 135.2 & 134.360624263911 & 0.839375736089042 \tabularnewline
68 & 133.1 & 135.31296519318 & -2.21296519317997 \tabularnewline
69 & 129.6 & 136.265306122449 & -6.66530612244898 \tabularnewline
70 & 134.1 & 137.217647051718 & -3.117647051718 \tabularnewline
71 & 136.8 & 138.169987980987 & -1.36998798098700 \tabularnewline
72 & 143.5 & 139.122328910256 & 4.37767108974398 \tabularnewline
73 & 162.5 & 140.074669839525 & 22.4253301604750 \tabularnewline
74 & 163.1 & 141.027010768794 & 22.0729892312059 \tabularnewline
75 & 157.2 & 141.979351698063 & 15.2206483019369 \tabularnewline
76 & 158.8 & 142.931692627332 & 15.8683073726679 \tabularnewline
77 & 155.4 & 143.884033556601 & 11.5159664433989 \tabularnewline
78 & 148.5 & 144.83637448587 & 3.66362551412989 \tabularnewline
79 & 154.2 & 145.788715415139 & 8.41128458486086 \tabularnewline
80 & 153.3 & 146.741056344408 & 6.55894365559187 \tabularnewline
81 & 149.4 & 147.693397273677 & 1.70660272632285 \tabularnewline
82 & 147.9 & 148.645738202946 & -0.745738202946165 \tabularnewline
83 & 156 & 149.598079132215 & 6.40192086778482 \tabularnewline
84 & 163 & 150.550420061484 & 12.4495799385158 \tabularnewline
85 & 159.1 & 151.502760990753 & 7.59723900924678 \tabularnewline
86 & 159.5 & 152.455101920022 & 7.04489807997777 \tabularnewline
87 & 157.3 & 153.407442849291 & 3.89255715070877 \tabularnewline
88 & 156.4 & 154.359783778560 & 2.04021622143975 \tabularnewline
89 & 156.6 & 155.312124707829 & 1.28787529217072 \tabularnewline
90 & 162.4 & 156.264465637098 & 6.13553436290172 \tabularnewline
91 & 166.8 & 157.216806566367 & 9.5831934336327 \tabularnewline
92 & 162.6 & 158.169147495636 & 4.43085250436367 \tabularnewline
93 & 168.1 & 159.121488424905 & 8.97851157509466 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5663&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]112.1[/C][C]76.4655791116255[/C][C]35.6344208883745[/C][/ROW]
[ROW][C]2[/C][C]104.2[/C][C]77.4179200408942[/C][C]26.7820799591058[/C][/ROW]
[ROW][C]3[/C][C]102.4[/C][C]78.3702609701633[/C][C]24.0297390298367[/C][/ROW]
[ROW][C]4[/C][C]100.3[/C][C]79.3226018994323[/C][C]20.9773981005677[/C][/ROW]
[ROW][C]5[/C][C]102.6[/C][C]80.2749428287013[/C][C]22.3250571712987[/C][/ROW]
[ROW][C]6[/C][C]101.5[/C][C]81.2272837579703[/C][C]20.2727162420297[/C][/ROW]
[ROW][C]7[/C][C]103.4[/C][C]82.1796246872394[/C][C]21.2203753127607[/C][/ROW]
[ROW][C]8[/C][C]99.4[/C][C]83.1319656165084[/C][C]16.2680343834916[/C][/ROW]
[ROW][C]9[/C][C]97.9[/C][C]84.0843065457774[/C][C]13.8156934542226[/C][/ROW]
[ROW][C]10[/C][C]98[/C][C]85.0366474750464[/C][C]12.9633525249536[/C][/ROW]
[ROW][C]11[/C][C]90.2[/C][C]85.9889884043154[/C][C]4.21101159568459[/C][/ROW]
[ROW][C]12[/C][C]87.1[/C][C]86.9413293335844[/C][C]0.158670666415566[/C][/ROW]
[ROW][C]13[/C][C]91.8[/C][C]87.8936702628534[/C][C]3.90632973714655[/C][/ROW]
[ROW][C]14[/C][C]94.8[/C][C]88.8460111921225[/C][C]5.95398880787754[/C][/ROW]
[ROW][C]15[/C][C]91.8[/C][C]89.7983521213915[/C][C]2.00164787860852[/C][/ROW]
[ROW][C]16[/C][C]89.3[/C][C]90.7506930506605[/C][C]-1.45069305066049[/C][/ROW]
[ROW][C]17[/C][C]91.7[/C][C]91.7030339799295[/C][C]-0.00303397992949916[/C][/ROW]
[ROW][C]18[/C][C]86.2[/C][C]92.6553749091985[/C][C]-6.45537490919851[/C][/ROW]
[ROW][C]19[/C][C]82.8[/C][C]93.6077158384675[/C][C]-10.8077158384675[/C][/ROW]
[ROW][C]20[/C][C]82.3[/C][C]94.5600567677366[/C][C]-12.2600567677366[/C][/ROW]
[ROW][C]21[/C][C]79.8[/C][C]95.5123976970056[/C][C]-15.7123976970056[/C][/ROW]
[ROW][C]22[/C][C]79.4[/C][C]96.4647386262746[/C][C]-17.0647386262746[/C][/ROW]
[ROW][C]23[/C][C]85.3[/C][C]97.4170795555436[/C][C]-12.1170795555436[/C][/ROW]
[ROW][C]24[/C][C]87.5[/C][C]98.3694204848126[/C][C]-10.8694204848126[/C][/ROW]
[ROW][C]25[/C][C]88.3[/C][C]99.3217614140816[/C][C]-11.0217614140816[/C][/ROW]
[ROW][C]26[/C][C]88.6[/C][C]100.274102343351[/C][C]-11.6741023433506[/C][/ROW]
[ROW][C]27[/C][C]94.9[/C][C]101.226443272620[/C][C]-6.32644327261965[/C][/ROW]
[ROW][C]28[/C][C]94.7[/C][C]102.178784201889[/C][C]-7.47878420188866[/C][/ROW]
[ROW][C]29[/C][C]92.6[/C][C]103.131125131158[/C][C]-10.5311251311577[/C][/ROW]
[ROW][C]30[/C][C]91.8[/C][C]104.083466060427[/C][C]-12.2834660604267[/C][/ROW]
[ROW][C]31[/C][C]96.4[/C][C]105.035806989696[/C][C]-8.6358069896957[/C][/ROW]
[ROW][C]32[/C][C]96.4[/C][C]105.988147918965[/C][C]-9.58814791896472[/C][/ROW]
[ROW][C]33[/C][C]107.1[/C][C]106.940488848234[/C][C]0.159511151766253[/C][/ROW]
[ROW][C]34[/C][C]111.9[/C][C]107.892829777503[/C][C]4.00717022249725[/C][/ROW]
[ROW][C]35[/C][C]107.8[/C][C]108.845170706772[/C][C]-1.04517070677177[/C][/ROW]
[ROW][C]36[/C][C]109.2[/C][C]109.797511636041[/C][C]-0.597511636040781[/C][/ROW]
[ROW][C]37[/C][C]115.3[/C][C]110.749852565310[/C][C]4.5501474346902[/C][/ROW]
[ROW][C]38[/C][C]119.2[/C][C]111.702193494579[/C][C]7.49780650542119[/C][/ROW]
[ROW][C]39[/C][C]107.8[/C][C]112.654534423848[/C][C]-4.85453442384783[/C][/ROW]
[ROW][C]40[/C][C]106.8[/C][C]113.606875353117[/C][C]-6.80687535311685[/C][/ROW]
[ROW][C]41[/C][C]104.2[/C][C]114.559216282386[/C][C]-10.3592162823859[/C][/ROW]
[ROW][C]42[/C][C]94.8[/C][C]115.511557211655[/C][C]-20.7115572116549[/C][/ROW]
[ROW][C]43[/C][C]97.5[/C][C]116.463898140924[/C][C]-18.9638981409239[/C][/ROW]
[ROW][C]44[/C][C]98.3[/C][C]117.416239070193[/C][C]-19.1162390701929[/C][/ROW]
[ROW][C]45[/C][C]100.6[/C][C]113.409123819993[/C][C]-12.8091238199926[/C][/ROW]
[ROW][C]46[/C][C]94.9[/C][C]114.361464749262[/C][C]-19.4614647492616[/C][/ROW]
[ROW][C]47[/C][C]93.6[/C][C]115.313805678531[/C][C]-21.7138056785307[/C][/ROW]
[ROW][C]48[/C][C]98[/C][C]116.266146607800[/C][C]-18.2661466077997[/C][/ROW]
[ROW][C]49[/C][C]104.3[/C][C]117.218487537069[/C][C]-12.9184875370687[/C][/ROW]
[ROW][C]50[/C][C]103.9[/C][C]118.170828466338[/C][C]-14.2708284663377[/C][/ROW]
[ROW][C]51[/C][C]105.3[/C][C]119.123169395607[/C][C]-13.8231693956067[/C][/ROW]
[ROW][C]52[/C][C]102.6[/C][C]120.075510324876[/C][C]-17.4755103248757[/C][/ROW]
[ROW][C]53[/C][C]103.3[/C][C]121.027851254145[/C][C]-17.7278512541447[/C][/ROW]
[ROW][C]54[/C][C]107.9[/C][C]121.980192183414[/C][C]-14.0801921834137[/C][/ROW]
[ROW][C]55[/C][C]107.8[/C][C]122.932533112683[/C][C]-15.1325331126828[/C][/ROW]
[ROW][C]56[/C][C]109.8[/C][C]123.884874041952[/C][C]-14.0848740419518[/C][/ROW]
[ROW][C]57[/C][C]110.6[/C][C]124.837214971221[/C][C]-14.2372149712208[/C][/ROW]
[ROW][C]58[/C][C]110.8[/C][C]125.789555900490[/C][C]-14.9895559004898[/C][/ROW]
[ROW][C]59[/C][C]119.3[/C][C]126.741896829759[/C][C]-7.44189682975883[/C][/ROW]
[ROW][C]60[/C][C]128.1[/C][C]127.694237759028[/C][C]0.405762240972151[/C][/ROW]
[ROW][C]61[/C][C]127.6[/C][C]128.646578688297[/C][C]-1.04657868829686[/C][/ROW]
[ROW][C]62[/C][C]137.9[/C][C]129.598919617566[/C][C]8.30108038243413[/C][/ROW]
[ROW][C]63[/C][C]151.4[/C][C]130.551260546835[/C][C]20.8487394531651[/C][/ROW]
[ROW][C]64[/C][C]143.6[/C][C]131.503601476104[/C][C]12.0963985238961[/C][/ROW]
[ROW][C]65[/C][C]143.4[/C][C]132.455942405373[/C][C]10.9440575946271[/C][/ROW]
[ROW][C]66[/C][C]141.9[/C][C]133.408283334642[/C][C]8.49171666535807[/C][/ROW]
[ROW][C]67[/C][C]135.2[/C][C]134.360624263911[/C][C]0.839375736089042[/C][/ROW]
[ROW][C]68[/C][C]133.1[/C][C]135.31296519318[/C][C]-2.21296519317997[/C][/ROW]
[ROW][C]69[/C][C]129.6[/C][C]136.265306122449[/C][C]-6.66530612244898[/C][/ROW]
[ROW][C]70[/C][C]134.1[/C][C]137.217647051718[/C][C]-3.117647051718[/C][/ROW]
[ROW][C]71[/C][C]136.8[/C][C]138.169987980987[/C][C]-1.36998798098700[/C][/ROW]
[ROW][C]72[/C][C]143.5[/C][C]139.122328910256[/C][C]4.37767108974398[/C][/ROW]
[ROW][C]73[/C][C]162.5[/C][C]140.074669839525[/C][C]22.4253301604750[/C][/ROW]
[ROW][C]74[/C][C]163.1[/C][C]141.027010768794[/C][C]22.0729892312059[/C][/ROW]
[ROW][C]75[/C][C]157.2[/C][C]141.979351698063[/C][C]15.2206483019369[/C][/ROW]
[ROW][C]76[/C][C]158.8[/C][C]142.931692627332[/C][C]15.8683073726679[/C][/ROW]
[ROW][C]77[/C][C]155.4[/C][C]143.884033556601[/C][C]11.5159664433989[/C][/ROW]
[ROW][C]78[/C][C]148.5[/C][C]144.83637448587[/C][C]3.66362551412989[/C][/ROW]
[ROW][C]79[/C][C]154.2[/C][C]145.788715415139[/C][C]8.41128458486086[/C][/ROW]
[ROW][C]80[/C][C]153.3[/C][C]146.741056344408[/C][C]6.55894365559187[/C][/ROW]
[ROW][C]81[/C][C]149.4[/C][C]147.693397273677[/C][C]1.70660272632285[/C][/ROW]
[ROW][C]82[/C][C]147.9[/C][C]148.645738202946[/C][C]-0.745738202946165[/C][/ROW]
[ROW][C]83[/C][C]156[/C][C]149.598079132215[/C][C]6.40192086778482[/C][/ROW]
[ROW][C]84[/C][C]163[/C][C]150.550420061484[/C][C]12.4495799385158[/C][/ROW]
[ROW][C]85[/C][C]159.1[/C][C]151.502760990753[/C][C]7.59723900924678[/C][/ROW]
[ROW][C]86[/C][C]159.5[/C][C]152.455101920022[/C][C]7.04489807997777[/C][/ROW]
[ROW][C]87[/C][C]157.3[/C][C]153.407442849291[/C][C]3.89255715070877[/C][/ROW]
[ROW][C]88[/C][C]156.4[/C][C]154.359783778560[/C][C]2.04021622143975[/C][/ROW]
[ROW][C]89[/C][C]156.6[/C][C]155.312124707829[/C][C]1.28787529217072[/C][/ROW]
[ROW][C]90[/C][C]162.4[/C][C]156.264465637098[/C][C]6.13553436290172[/C][/ROW]
[ROW][C]91[/C][C]166.8[/C][C]157.216806566367[/C][C]9.5831934336327[/C][/ROW]
[ROW][C]92[/C][C]162.6[/C][C]158.169147495636[/C][C]4.43085250436367[/C][/ROW]
[ROW][C]93[/C][C]168.1[/C][C]159.121488424905[/C][C]8.97851157509466[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5663&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5663&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
1112.176.465579111625535.6344208883745
2104.277.417920040894226.7820799591058
3102.478.370260970163324.0297390298367
4100.379.322601899432320.9773981005677
5102.680.274942828701322.3250571712987
6101.581.227283757970320.2727162420297
7103.482.179624687239421.2203753127607
899.483.131965616508416.2680343834916
997.984.084306545777413.8156934542226
109885.036647475046412.9633525249536
1190.285.98898840431544.21101159568459
1287.186.94132933358440.158670666415566
1391.887.89367026285343.90632973714655
1494.888.84601119212255.95398880787754
1591.889.79835212139152.00164787860852
1689.390.7506930506605-1.45069305066049
1791.791.7030339799295-0.00303397992949916
1886.292.6553749091985-6.45537490919851
1982.893.6077158384675-10.8077158384675
2082.394.5600567677366-12.2600567677366
2179.895.5123976970056-15.7123976970056
2279.496.4647386262746-17.0647386262746
2385.397.4170795555436-12.1170795555436
2487.598.3694204848126-10.8694204848126
2588.399.3217614140816-11.0217614140816
2688.6100.274102343351-11.6741023433506
2794.9101.226443272620-6.32644327261965
2894.7102.178784201889-7.47878420188866
2992.6103.131125131158-10.5311251311577
3091.8104.083466060427-12.2834660604267
3196.4105.035806989696-8.6358069896957
3296.4105.988147918965-9.58814791896472
33107.1106.9404888482340.159511151766253
34111.9107.8928297775034.00717022249725
35107.8108.845170706772-1.04517070677177
36109.2109.797511636041-0.597511636040781
37115.3110.7498525653104.5501474346902
38119.2111.7021934945797.49780650542119
39107.8112.654534423848-4.85453442384783
40106.8113.606875353117-6.80687535311685
41104.2114.559216282386-10.3592162823859
4294.8115.511557211655-20.7115572116549
4397.5116.463898140924-18.9638981409239
4498.3117.416239070193-19.1162390701929
45100.6113.409123819993-12.8091238199926
4694.9114.361464749262-19.4614647492616
4793.6115.313805678531-21.7138056785307
4898116.266146607800-18.2661466077997
49104.3117.218487537069-12.9184875370687
50103.9118.170828466338-14.2708284663377
51105.3119.123169395607-13.8231693956067
52102.6120.075510324876-17.4755103248757
53103.3121.027851254145-17.7278512541447
54107.9121.980192183414-14.0801921834137
55107.8122.932533112683-15.1325331126828
56109.8123.884874041952-14.0848740419518
57110.6124.837214971221-14.2372149712208
58110.8125.789555900490-14.9895559004898
59119.3126.741896829759-7.44189682975883
60128.1127.6942377590280.405762240972151
61127.6128.646578688297-1.04657868829686
62137.9129.5989196175668.30108038243413
63151.4130.55126054683520.8487394531651
64143.6131.50360147610412.0963985238961
65143.4132.45594240537310.9440575946271
66141.9133.4082833346428.49171666535807
67135.2134.3606242639110.839375736089042
68133.1135.31296519318-2.21296519317997
69129.6136.265306122449-6.66530612244898
70134.1137.217647051718-3.117647051718
71136.8138.169987980987-1.36998798098700
72143.5139.1223289102564.37767108974398
73162.5140.07466983952522.4253301604750
74163.1141.02701076879422.0729892312059
75157.2141.97935169806315.2206483019369
76158.8142.93169262733215.8683073726679
77155.4143.88403355660111.5159664433989
78148.5144.836374485873.66362551412989
79154.2145.7887154151398.41128458486086
80153.3146.7410563444086.55894365559187
81149.4147.6933972736771.70660272632285
82147.9148.645738202946-0.745738202946165
83156149.5980791322156.40192086778482
84163150.55042006148412.4495799385158
85159.1151.5027609907537.59723900924678
86159.5152.4551019200227.04489807997777
87157.3153.4074428492913.89255715070877
88156.4154.3597837785602.04021622143975
89156.6155.3121247078291.28787529217072
90162.4156.2644656370986.13553436290172
91166.8157.2168065663679.5831934336327
92162.6158.1691474956364.43085250436367
93168.1159.1214884249058.97851157509466



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