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 04:27:55 -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/t1195471379zjy5zvm8hje1na9.htm/, Retrieved Fri, 03 May 2024 07:45:48 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=5713, Retrieved Fri, 03 May 2024 07:45:48 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact191
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [WS 8 - Q3] [2007-11-19 11:27:55] [52c41ae5b11545a88aa57081ae5e5ffc] [Current]
Feedback Forum

Post a new message
Dataseries X:
8.7	0
8.5	0
8.2	0
8.3	0
8	0
8.1	0
8.7	0
9.3	0
8.9	0
8.8	0
8.4	0
8.4	0
7.3	0
7.2	0
7	0
7	0
6.9	0
6.9	0
7.1	0
7.5	0
7.4	0
8.9	0
8.3	1
8.3	0
9	0
8.9	0
8.8	0
7.8	0
7.8	0
7.8	0
9.2	0
9.3	0
9.2	0
8.6	0
8.5	0
8.5	0
9	0
9	0
8.8	0
8	0
7.9	0
8.1	0
9.3	0
9.4	0
9.4	0
9.3	1
9	0
9.1	0
9.7	0
9.7	0
9.6	0
8.3	0
8.2	0
8.4	0
10.6	0
10.9	0
10.9	0
9.6	0
9.3	0
9.3	0
9.6	0
9.5	0
9.5	0
9	0
8.9	0
9	0
10.1	0
10.2	0
10.2	0
9.5	0
9.3	0
9.3	0
9.4	0
9.3	0
9.1	0
9	0
8.9	0
9	0
9.8	0
10	0
9.8	0
9.4	0
9	1
8.9	0
9.3	0
9.1	0
8.8	0
8.9	1
8.7	0
8.6	0
9.1	0
9.3	0
8.9	0




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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5713&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
V[t] = + 8.04448757982342 -0.204209517306581X[t] + 0.0172453656247194t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
V[t] =  +  8.04448757982342 -0.204209517306581X[t] +  0.0172453656247194t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5713&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]V[t] =  +  8.04448757982342 -0.204209517306581X[t] +  0.0172453656247194t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5713&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5713&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
V[t] = + 8.04448757982342 -0.204209517306581X[t] + 0.0172453656247194t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)8.044487579823420.14819454.283600
X-0.2042095173065810.364159-0.56080.5763470.288174
t0.01724536562471940.0027526.266200

\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) & 8.04448757982342 & 0.148194 & 54.2836 & 0 & 0 \tabularnewline
X & -0.204209517306581 & 0.364159 & -0.5608 & 0.576347 & 0.288174 \tabularnewline
t & 0.0172453656247194 & 0.002752 & 6.2662 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5713&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]8.04448757982342[/C][C]0.148194[/C][C]54.2836[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]-0.204209517306581[/C][C]0.364159[/C][C]-0.5608[/C][C]0.576347[/C][C]0.288174[/C][/ROW]
[ROW][C]t[/C][C]0.0172453656247194[/C][C]0.002752[/C][C]6.2662[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5713&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5713&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)8.044487579823420.14819454.283600
X-0.2042095173065810.364159-0.56080.5763470.288174
t0.01724536562471940.0027526.266200







Multiple Linear Regression - Regression Statistics
Multiple R0.551177817171045
R-squared0.303796986141438
Adjusted R-squared0.288325808055692
F-TEST (value)19.6363188671027
F-TEST (DF numerator)2
F-TEST (DF denominator)90
p-value8.37751965576672e-08
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.708717818440588
Sum Squared Residuals45.2052851557668

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.551177817171045 \tabularnewline
R-squared & 0.303796986141438 \tabularnewline
Adjusted R-squared & 0.288325808055692 \tabularnewline
F-TEST (value) & 19.6363188671027 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 90 \tabularnewline
p-value & 8.37751965576672e-08 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.708717818440588 \tabularnewline
Sum Squared Residuals & 45.2052851557668 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5713&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.551177817171045[/C][/ROW]
[ROW][C]R-squared[/C][C]0.303796986141438[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.288325808055692[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]19.6363188671027[/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]8.37751965576672e-08[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.708717818440588[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]45.2052851557668[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5713&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5713&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.551177817171045
R-squared0.303796986141438
Adjusted R-squared0.288325808055692
F-TEST (value)19.6363188671027
F-TEST (DF numerator)2
F-TEST (DF denominator)90
p-value8.37751965576672e-08
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.708717818440588
Sum Squared Residuals45.2052851557668







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
18.78.061732945448160.638267054551841
28.58.078978311072860.421021688927143
38.28.096223676697580.103776323302422
48.38.11346904232230.186530957677706
588.13071440794701-0.130714407947014
68.18.14795977357173-0.0479597735717342
78.78.165205139196450.534794860803546
89.38.182450504821171.11754949517883
98.98.19969587044590.700304129554108
108.88.216941236070610.583058763929389
118.48.234186601695330.165813398304670
128.48.251431967320050.148568032679950
137.38.26867733294477-0.96867733294477
147.28.28592269856949-1.08592269856949
1578.3031680641942-1.30316806419421
1678.32041342981893-1.32041342981893
176.98.33765879544365-1.43765879544365
186.98.35490416106837-1.45490416106837
197.18.37214952669309-1.27214952669309
207.58.3893948923178-0.889394892317805
217.48.40664025794252-1.00664025794252
228.98.423885623567240.476114376432756
238.38.236921471885380.0630785281146183
248.38.45837635481668-0.158376354816682
2598.47562172044140.524378279558598
268.98.492867086066120.407132913933879
278.88.510112451690840.289887548309160
287.88.52735781731556-0.727357817315561
297.88.54460318294028-0.74460318294028
307.88.561848548565-0.761848548565
319.28.579093914189720.620906085810281
329.38.596339279814440.703660720185562
339.28.613584645439160.586415354560842
348.68.63083001106388-0.0308300110638773
358.58.6480753766886-0.148075376688596
368.58.66532074231332-0.165320742313316
3798.682566107938030.317433892061965
3898.699811473562750.300188526437245
398.88.717056839187470.0829431608125268
4088.7343022048122-0.734302204812193
417.98.75154757043691-0.851547570436913
428.18.76879293606163-0.668792936061633
439.38.786038301686350.513961698313649
449.48.803283667311070.59671633268893
459.48.820529032935790.57947096706421
469.38.633564881253930.666435118746072
4798.855019764185230.144980235814771
489.18.872265129809950.227734870190051
499.78.889510495434670.810489504565331
509.78.906755861059390.793244138940612
519.68.92400122668410.675998773315893
528.38.94124659230883-0.641246592308826
538.28.95849195793355-0.758491957933546
548.48.97573732355827-0.575737323558265
5510.68.992982689182981.60701731081702
5610.99.01022805480771.88977194519230
5710.99.027473420432421.87252657956758
589.69.044718786057140.555281213942857
599.39.061964151681860.238035848318139
609.39.079209517306580.220790482693419
619.69.09645488293130.503545117068699
629.59.113700248556020.38629975144398
639.59.130945614180740.369054385819260
6499.14819097980546-0.148190979805459
658.99.16543634543018-0.265436345430178
6699.1826817110549-0.182681711054898
6710.19.199927076679620.900072923320383
6810.29.217172442304340.982827557695663
6910.29.234417807929060.965582192070943
709.59.251663173553770.248336826446225
719.39.26890853917850.0310914608215061
729.39.286153904803210.0138460951967866
739.49.303399270427930.0966007295720668
749.39.32064463605265-0.0206446360526521
759.19.33789000167737-0.237890001677373
7699.3551353673021-0.355135367302092
778.99.37238073292681-0.472380732926811
7899.38962609855153-0.389626098551531
799.89.406871464176250.393128535823751
80109.424116829800970.575883170199031
819.89.441362195425690.358637804574312
829.49.4586075610504-0.0586075610504077
8399.27164340936855-0.271643409368546
848.99.49309829229985-0.593098292299847
859.39.51034365792457-0.210343657924566
869.19.52758902354929-0.427589023549286
878.89.544834389174-0.744834389174004
888.99.35787023749214-0.457870237492143
898.79.57932512042344-0.879325120423445
908.69.59657048604816-0.996570486048164
919.19.61381585167288-0.513815851672883
929.39.6310612172976-0.331061217297601
938.99.64830658292232-0.748306582922321

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 8.7 & 8.06173294544816 & 0.638267054551841 \tabularnewline
2 & 8.5 & 8.07897831107286 & 0.421021688927143 \tabularnewline
3 & 8.2 & 8.09622367669758 & 0.103776323302422 \tabularnewline
4 & 8.3 & 8.1134690423223 & 0.186530957677706 \tabularnewline
5 & 8 & 8.13071440794701 & -0.130714407947014 \tabularnewline
6 & 8.1 & 8.14795977357173 & -0.0479597735717342 \tabularnewline
7 & 8.7 & 8.16520513919645 & 0.534794860803546 \tabularnewline
8 & 9.3 & 8.18245050482117 & 1.11754949517883 \tabularnewline
9 & 8.9 & 8.1996958704459 & 0.700304129554108 \tabularnewline
10 & 8.8 & 8.21694123607061 & 0.583058763929389 \tabularnewline
11 & 8.4 & 8.23418660169533 & 0.165813398304670 \tabularnewline
12 & 8.4 & 8.25143196732005 & 0.148568032679950 \tabularnewline
13 & 7.3 & 8.26867733294477 & -0.96867733294477 \tabularnewline
14 & 7.2 & 8.28592269856949 & -1.08592269856949 \tabularnewline
15 & 7 & 8.3031680641942 & -1.30316806419421 \tabularnewline
16 & 7 & 8.32041342981893 & -1.32041342981893 \tabularnewline
17 & 6.9 & 8.33765879544365 & -1.43765879544365 \tabularnewline
18 & 6.9 & 8.35490416106837 & -1.45490416106837 \tabularnewline
19 & 7.1 & 8.37214952669309 & -1.27214952669309 \tabularnewline
20 & 7.5 & 8.3893948923178 & -0.889394892317805 \tabularnewline
21 & 7.4 & 8.40664025794252 & -1.00664025794252 \tabularnewline
22 & 8.9 & 8.42388562356724 & 0.476114376432756 \tabularnewline
23 & 8.3 & 8.23692147188538 & 0.0630785281146183 \tabularnewline
24 & 8.3 & 8.45837635481668 & -0.158376354816682 \tabularnewline
25 & 9 & 8.4756217204414 & 0.524378279558598 \tabularnewline
26 & 8.9 & 8.49286708606612 & 0.407132913933879 \tabularnewline
27 & 8.8 & 8.51011245169084 & 0.289887548309160 \tabularnewline
28 & 7.8 & 8.52735781731556 & -0.727357817315561 \tabularnewline
29 & 7.8 & 8.54460318294028 & -0.74460318294028 \tabularnewline
30 & 7.8 & 8.561848548565 & -0.761848548565 \tabularnewline
31 & 9.2 & 8.57909391418972 & 0.620906085810281 \tabularnewline
32 & 9.3 & 8.59633927981444 & 0.703660720185562 \tabularnewline
33 & 9.2 & 8.61358464543916 & 0.586415354560842 \tabularnewline
34 & 8.6 & 8.63083001106388 & -0.0308300110638773 \tabularnewline
35 & 8.5 & 8.6480753766886 & -0.148075376688596 \tabularnewline
36 & 8.5 & 8.66532074231332 & -0.165320742313316 \tabularnewline
37 & 9 & 8.68256610793803 & 0.317433892061965 \tabularnewline
38 & 9 & 8.69981147356275 & 0.300188526437245 \tabularnewline
39 & 8.8 & 8.71705683918747 & 0.0829431608125268 \tabularnewline
40 & 8 & 8.7343022048122 & -0.734302204812193 \tabularnewline
41 & 7.9 & 8.75154757043691 & -0.851547570436913 \tabularnewline
42 & 8.1 & 8.76879293606163 & -0.668792936061633 \tabularnewline
43 & 9.3 & 8.78603830168635 & 0.513961698313649 \tabularnewline
44 & 9.4 & 8.80328366731107 & 0.59671633268893 \tabularnewline
45 & 9.4 & 8.82052903293579 & 0.57947096706421 \tabularnewline
46 & 9.3 & 8.63356488125393 & 0.666435118746072 \tabularnewline
47 & 9 & 8.85501976418523 & 0.144980235814771 \tabularnewline
48 & 9.1 & 8.87226512980995 & 0.227734870190051 \tabularnewline
49 & 9.7 & 8.88951049543467 & 0.810489504565331 \tabularnewline
50 & 9.7 & 8.90675586105939 & 0.793244138940612 \tabularnewline
51 & 9.6 & 8.9240012266841 & 0.675998773315893 \tabularnewline
52 & 8.3 & 8.94124659230883 & -0.641246592308826 \tabularnewline
53 & 8.2 & 8.95849195793355 & -0.758491957933546 \tabularnewline
54 & 8.4 & 8.97573732355827 & -0.575737323558265 \tabularnewline
55 & 10.6 & 8.99298268918298 & 1.60701731081702 \tabularnewline
56 & 10.9 & 9.0102280548077 & 1.88977194519230 \tabularnewline
57 & 10.9 & 9.02747342043242 & 1.87252657956758 \tabularnewline
58 & 9.6 & 9.04471878605714 & 0.555281213942857 \tabularnewline
59 & 9.3 & 9.06196415168186 & 0.238035848318139 \tabularnewline
60 & 9.3 & 9.07920951730658 & 0.220790482693419 \tabularnewline
61 & 9.6 & 9.0964548829313 & 0.503545117068699 \tabularnewline
62 & 9.5 & 9.11370024855602 & 0.38629975144398 \tabularnewline
63 & 9.5 & 9.13094561418074 & 0.369054385819260 \tabularnewline
64 & 9 & 9.14819097980546 & -0.148190979805459 \tabularnewline
65 & 8.9 & 9.16543634543018 & -0.265436345430178 \tabularnewline
66 & 9 & 9.1826817110549 & -0.182681711054898 \tabularnewline
67 & 10.1 & 9.19992707667962 & 0.900072923320383 \tabularnewline
68 & 10.2 & 9.21717244230434 & 0.982827557695663 \tabularnewline
69 & 10.2 & 9.23441780792906 & 0.965582192070943 \tabularnewline
70 & 9.5 & 9.25166317355377 & 0.248336826446225 \tabularnewline
71 & 9.3 & 9.2689085391785 & 0.0310914608215061 \tabularnewline
72 & 9.3 & 9.28615390480321 & 0.0138460951967866 \tabularnewline
73 & 9.4 & 9.30339927042793 & 0.0966007295720668 \tabularnewline
74 & 9.3 & 9.32064463605265 & -0.0206446360526521 \tabularnewline
75 & 9.1 & 9.33789000167737 & -0.237890001677373 \tabularnewline
76 & 9 & 9.3551353673021 & -0.355135367302092 \tabularnewline
77 & 8.9 & 9.37238073292681 & -0.472380732926811 \tabularnewline
78 & 9 & 9.38962609855153 & -0.389626098551531 \tabularnewline
79 & 9.8 & 9.40687146417625 & 0.393128535823751 \tabularnewline
80 & 10 & 9.42411682980097 & 0.575883170199031 \tabularnewline
81 & 9.8 & 9.44136219542569 & 0.358637804574312 \tabularnewline
82 & 9.4 & 9.4586075610504 & -0.0586075610504077 \tabularnewline
83 & 9 & 9.27164340936855 & -0.271643409368546 \tabularnewline
84 & 8.9 & 9.49309829229985 & -0.593098292299847 \tabularnewline
85 & 9.3 & 9.51034365792457 & -0.210343657924566 \tabularnewline
86 & 9.1 & 9.52758902354929 & -0.427589023549286 \tabularnewline
87 & 8.8 & 9.544834389174 & -0.744834389174004 \tabularnewline
88 & 8.9 & 9.35787023749214 & -0.457870237492143 \tabularnewline
89 & 8.7 & 9.57932512042344 & -0.879325120423445 \tabularnewline
90 & 8.6 & 9.59657048604816 & -0.996570486048164 \tabularnewline
91 & 9.1 & 9.61381585167288 & -0.513815851672883 \tabularnewline
92 & 9.3 & 9.6310612172976 & -0.331061217297601 \tabularnewline
93 & 8.9 & 9.64830658292232 & -0.748306582922321 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=5713&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]8.7[/C][C]8.06173294544816[/C][C]0.638267054551841[/C][/ROW]
[ROW][C]2[/C][C]8.5[/C][C]8.07897831107286[/C][C]0.421021688927143[/C][/ROW]
[ROW][C]3[/C][C]8.2[/C][C]8.09622367669758[/C][C]0.103776323302422[/C][/ROW]
[ROW][C]4[/C][C]8.3[/C][C]8.1134690423223[/C][C]0.186530957677706[/C][/ROW]
[ROW][C]5[/C][C]8[/C][C]8.13071440794701[/C][C]-0.130714407947014[/C][/ROW]
[ROW][C]6[/C][C]8.1[/C][C]8.14795977357173[/C][C]-0.0479597735717342[/C][/ROW]
[ROW][C]7[/C][C]8.7[/C][C]8.16520513919645[/C][C]0.534794860803546[/C][/ROW]
[ROW][C]8[/C][C]9.3[/C][C]8.18245050482117[/C][C]1.11754949517883[/C][/ROW]
[ROW][C]9[/C][C]8.9[/C][C]8.1996958704459[/C][C]0.700304129554108[/C][/ROW]
[ROW][C]10[/C][C]8.8[/C][C]8.21694123607061[/C][C]0.583058763929389[/C][/ROW]
[ROW][C]11[/C][C]8.4[/C][C]8.23418660169533[/C][C]0.165813398304670[/C][/ROW]
[ROW][C]12[/C][C]8.4[/C][C]8.25143196732005[/C][C]0.148568032679950[/C][/ROW]
[ROW][C]13[/C][C]7.3[/C][C]8.26867733294477[/C][C]-0.96867733294477[/C][/ROW]
[ROW][C]14[/C][C]7.2[/C][C]8.28592269856949[/C][C]-1.08592269856949[/C][/ROW]
[ROW][C]15[/C][C]7[/C][C]8.3031680641942[/C][C]-1.30316806419421[/C][/ROW]
[ROW][C]16[/C][C]7[/C][C]8.32041342981893[/C][C]-1.32041342981893[/C][/ROW]
[ROW][C]17[/C][C]6.9[/C][C]8.33765879544365[/C][C]-1.43765879544365[/C][/ROW]
[ROW][C]18[/C][C]6.9[/C][C]8.35490416106837[/C][C]-1.45490416106837[/C][/ROW]
[ROW][C]19[/C][C]7.1[/C][C]8.37214952669309[/C][C]-1.27214952669309[/C][/ROW]
[ROW][C]20[/C][C]7.5[/C][C]8.3893948923178[/C][C]-0.889394892317805[/C][/ROW]
[ROW][C]21[/C][C]7.4[/C][C]8.40664025794252[/C][C]-1.00664025794252[/C][/ROW]
[ROW][C]22[/C][C]8.9[/C][C]8.42388562356724[/C][C]0.476114376432756[/C][/ROW]
[ROW][C]23[/C][C]8.3[/C][C]8.23692147188538[/C][C]0.0630785281146183[/C][/ROW]
[ROW][C]24[/C][C]8.3[/C][C]8.45837635481668[/C][C]-0.158376354816682[/C][/ROW]
[ROW][C]25[/C][C]9[/C][C]8.4756217204414[/C][C]0.524378279558598[/C][/ROW]
[ROW][C]26[/C][C]8.9[/C][C]8.49286708606612[/C][C]0.407132913933879[/C][/ROW]
[ROW][C]27[/C][C]8.8[/C][C]8.51011245169084[/C][C]0.289887548309160[/C][/ROW]
[ROW][C]28[/C][C]7.8[/C][C]8.52735781731556[/C][C]-0.727357817315561[/C][/ROW]
[ROW][C]29[/C][C]7.8[/C][C]8.54460318294028[/C][C]-0.74460318294028[/C][/ROW]
[ROW][C]30[/C][C]7.8[/C][C]8.561848548565[/C][C]-0.761848548565[/C][/ROW]
[ROW][C]31[/C][C]9.2[/C][C]8.57909391418972[/C][C]0.620906085810281[/C][/ROW]
[ROW][C]32[/C][C]9.3[/C][C]8.59633927981444[/C][C]0.703660720185562[/C][/ROW]
[ROW][C]33[/C][C]9.2[/C][C]8.61358464543916[/C][C]0.586415354560842[/C][/ROW]
[ROW][C]34[/C][C]8.6[/C][C]8.63083001106388[/C][C]-0.0308300110638773[/C][/ROW]
[ROW][C]35[/C][C]8.5[/C][C]8.6480753766886[/C][C]-0.148075376688596[/C][/ROW]
[ROW][C]36[/C][C]8.5[/C][C]8.66532074231332[/C][C]-0.165320742313316[/C][/ROW]
[ROW][C]37[/C][C]9[/C][C]8.68256610793803[/C][C]0.317433892061965[/C][/ROW]
[ROW][C]38[/C][C]9[/C][C]8.69981147356275[/C][C]0.300188526437245[/C][/ROW]
[ROW][C]39[/C][C]8.8[/C][C]8.71705683918747[/C][C]0.0829431608125268[/C][/ROW]
[ROW][C]40[/C][C]8[/C][C]8.7343022048122[/C][C]-0.734302204812193[/C][/ROW]
[ROW][C]41[/C][C]7.9[/C][C]8.75154757043691[/C][C]-0.851547570436913[/C][/ROW]
[ROW][C]42[/C][C]8.1[/C][C]8.76879293606163[/C][C]-0.668792936061633[/C][/ROW]
[ROW][C]43[/C][C]9.3[/C][C]8.78603830168635[/C][C]0.513961698313649[/C][/ROW]
[ROW][C]44[/C][C]9.4[/C][C]8.80328366731107[/C][C]0.59671633268893[/C][/ROW]
[ROW][C]45[/C][C]9.4[/C][C]8.82052903293579[/C][C]0.57947096706421[/C][/ROW]
[ROW][C]46[/C][C]9.3[/C][C]8.63356488125393[/C][C]0.666435118746072[/C][/ROW]
[ROW][C]47[/C][C]9[/C][C]8.85501976418523[/C][C]0.144980235814771[/C][/ROW]
[ROW][C]48[/C][C]9.1[/C][C]8.87226512980995[/C][C]0.227734870190051[/C][/ROW]
[ROW][C]49[/C][C]9.7[/C][C]8.88951049543467[/C][C]0.810489504565331[/C][/ROW]
[ROW][C]50[/C][C]9.7[/C][C]8.90675586105939[/C][C]0.793244138940612[/C][/ROW]
[ROW][C]51[/C][C]9.6[/C][C]8.9240012266841[/C][C]0.675998773315893[/C][/ROW]
[ROW][C]52[/C][C]8.3[/C][C]8.94124659230883[/C][C]-0.641246592308826[/C][/ROW]
[ROW][C]53[/C][C]8.2[/C][C]8.95849195793355[/C][C]-0.758491957933546[/C][/ROW]
[ROW][C]54[/C][C]8.4[/C][C]8.97573732355827[/C][C]-0.575737323558265[/C][/ROW]
[ROW][C]55[/C][C]10.6[/C][C]8.99298268918298[/C][C]1.60701731081702[/C][/ROW]
[ROW][C]56[/C][C]10.9[/C][C]9.0102280548077[/C][C]1.88977194519230[/C][/ROW]
[ROW][C]57[/C][C]10.9[/C][C]9.02747342043242[/C][C]1.87252657956758[/C][/ROW]
[ROW][C]58[/C][C]9.6[/C][C]9.04471878605714[/C][C]0.555281213942857[/C][/ROW]
[ROW][C]59[/C][C]9.3[/C][C]9.06196415168186[/C][C]0.238035848318139[/C][/ROW]
[ROW][C]60[/C][C]9.3[/C][C]9.07920951730658[/C][C]0.220790482693419[/C][/ROW]
[ROW][C]61[/C][C]9.6[/C][C]9.0964548829313[/C][C]0.503545117068699[/C][/ROW]
[ROW][C]62[/C][C]9.5[/C][C]9.11370024855602[/C][C]0.38629975144398[/C][/ROW]
[ROW][C]63[/C][C]9.5[/C][C]9.13094561418074[/C][C]0.369054385819260[/C][/ROW]
[ROW][C]64[/C][C]9[/C][C]9.14819097980546[/C][C]-0.148190979805459[/C][/ROW]
[ROW][C]65[/C][C]8.9[/C][C]9.16543634543018[/C][C]-0.265436345430178[/C][/ROW]
[ROW][C]66[/C][C]9[/C][C]9.1826817110549[/C][C]-0.182681711054898[/C][/ROW]
[ROW][C]67[/C][C]10.1[/C][C]9.19992707667962[/C][C]0.900072923320383[/C][/ROW]
[ROW][C]68[/C][C]10.2[/C][C]9.21717244230434[/C][C]0.982827557695663[/C][/ROW]
[ROW][C]69[/C][C]10.2[/C][C]9.23441780792906[/C][C]0.965582192070943[/C][/ROW]
[ROW][C]70[/C][C]9.5[/C][C]9.25166317355377[/C][C]0.248336826446225[/C][/ROW]
[ROW][C]71[/C][C]9.3[/C][C]9.2689085391785[/C][C]0.0310914608215061[/C][/ROW]
[ROW][C]72[/C][C]9.3[/C][C]9.28615390480321[/C][C]0.0138460951967866[/C][/ROW]
[ROW][C]73[/C][C]9.4[/C][C]9.30339927042793[/C][C]0.0966007295720668[/C][/ROW]
[ROW][C]74[/C][C]9.3[/C][C]9.32064463605265[/C][C]-0.0206446360526521[/C][/ROW]
[ROW][C]75[/C][C]9.1[/C][C]9.33789000167737[/C][C]-0.237890001677373[/C][/ROW]
[ROW][C]76[/C][C]9[/C][C]9.3551353673021[/C][C]-0.355135367302092[/C][/ROW]
[ROW][C]77[/C][C]8.9[/C][C]9.37238073292681[/C][C]-0.472380732926811[/C][/ROW]
[ROW][C]78[/C][C]9[/C][C]9.38962609855153[/C][C]-0.389626098551531[/C][/ROW]
[ROW][C]79[/C][C]9.8[/C][C]9.40687146417625[/C][C]0.393128535823751[/C][/ROW]
[ROW][C]80[/C][C]10[/C][C]9.42411682980097[/C][C]0.575883170199031[/C][/ROW]
[ROW][C]81[/C][C]9.8[/C][C]9.44136219542569[/C][C]0.358637804574312[/C][/ROW]
[ROW][C]82[/C][C]9.4[/C][C]9.4586075610504[/C][C]-0.0586075610504077[/C][/ROW]
[ROW][C]83[/C][C]9[/C][C]9.27164340936855[/C][C]-0.271643409368546[/C][/ROW]
[ROW][C]84[/C][C]8.9[/C][C]9.49309829229985[/C][C]-0.593098292299847[/C][/ROW]
[ROW][C]85[/C][C]9.3[/C][C]9.51034365792457[/C][C]-0.210343657924566[/C][/ROW]
[ROW][C]86[/C][C]9.1[/C][C]9.52758902354929[/C][C]-0.427589023549286[/C][/ROW]
[ROW][C]87[/C][C]8.8[/C][C]9.544834389174[/C][C]-0.744834389174004[/C][/ROW]
[ROW][C]88[/C][C]8.9[/C][C]9.35787023749214[/C][C]-0.457870237492143[/C][/ROW]
[ROW][C]89[/C][C]8.7[/C][C]9.57932512042344[/C][C]-0.879325120423445[/C][/ROW]
[ROW][C]90[/C][C]8.6[/C][C]9.59657048604816[/C][C]-0.996570486048164[/C][/ROW]
[ROW][C]91[/C][C]9.1[/C][C]9.61381585167288[/C][C]-0.513815851672883[/C][/ROW]
[ROW][C]92[/C][C]9.3[/C][C]9.6310612172976[/C][C]-0.331061217297601[/C][/ROW]
[ROW][C]93[/C][C]8.9[/C][C]9.64830658292232[/C][C]-0.748306582922321[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=5713&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=5713&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
18.78.061732945448160.638267054551841
28.58.078978311072860.421021688927143
38.28.096223676697580.103776323302422
48.38.11346904232230.186530957677706
588.13071440794701-0.130714407947014
68.18.14795977357173-0.0479597735717342
78.78.165205139196450.534794860803546
89.38.182450504821171.11754949517883
98.98.19969587044590.700304129554108
108.88.216941236070610.583058763929389
118.48.234186601695330.165813398304670
128.48.251431967320050.148568032679950
137.38.26867733294477-0.96867733294477
147.28.28592269856949-1.08592269856949
1578.3031680641942-1.30316806419421
1678.32041342981893-1.32041342981893
176.98.33765879544365-1.43765879544365
186.98.35490416106837-1.45490416106837
197.18.37214952669309-1.27214952669309
207.58.3893948923178-0.889394892317805
217.48.40664025794252-1.00664025794252
228.98.423885623567240.476114376432756
238.38.236921471885380.0630785281146183
248.38.45837635481668-0.158376354816682
2598.47562172044140.524378279558598
268.98.492867086066120.407132913933879
278.88.510112451690840.289887548309160
287.88.52735781731556-0.727357817315561
297.88.54460318294028-0.74460318294028
307.88.561848548565-0.761848548565
319.28.579093914189720.620906085810281
329.38.596339279814440.703660720185562
339.28.613584645439160.586415354560842
348.68.63083001106388-0.0308300110638773
358.58.6480753766886-0.148075376688596
368.58.66532074231332-0.165320742313316
3798.682566107938030.317433892061965
3898.699811473562750.300188526437245
398.88.717056839187470.0829431608125268
4088.7343022048122-0.734302204812193
417.98.75154757043691-0.851547570436913
428.18.76879293606163-0.668792936061633
439.38.786038301686350.513961698313649
449.48.803283667311070.59671633268893
459.48.820529032935790.57947096706421
469.38.633564881253930.666435118746072
4798.855019764185230.144980235814771
489.18.872265129809950.227734870190051
499.78.889510495434670.810489504565331
509.78.906755861059390.793244138940612
519.68.92400122668410.675998773315893
528.38.94124659230883-0.641246592308826
538.28.95849195793355-0.758491957933546
548.48.97573732355827-0.575737323558265
5510.68.992982689182981.60701731081702
5610.99.01022805480771.88977194519230
5710.99.027473420432421.87252657956758
589.69.044718786057140.555281213942857
599.39.061964151681860.238035848318139
609.39.079209517306580.220790482693419
619.69.09645488293130.503545117068699
629.59.113700248556020.38629975144398
639.59.130945614180740.369054385819260
6499.14819097980546-0.148190979805459
658.99.16543634543018-0.265436345430178
6699.1826817110549-0.182681711054898
6710.19.199927076679620.900072923320383
6810.29.217172442304340.982827557695663
6910.29.234417807929060.965582192070943
709.59.251663173553770.248336826446225
719.39.26890853917850.0310914608215061
729.39.286153904803210.0138460951967866
739.49.303399270427930.0966007295720668
749.39.32064463605265-0.0206446360526521
759.19.33789000167737-0.237890001677373
7699.3551353673021-0.355135367302092
778.99.37238073292681-0.472380732926811
7899.38962609855153-0.389626098551531
799.89.406871464176250.393128535823751
80109.424116829800970.575883170199031
819.89.441362195425690.358637804574312
829.49.4586075610504-0.0586075610504077
8399.27164340936855-0.271643409368546
848.99.49309829229985-0.593098292299847
859.39.51034365792457-0.210343657924566
869.19.52758902354929-0.427589023549286
878.89.544834389174-0.744834389174004
888.99.35787023749214-0.457870237492143
898.79.57932512042344-0.879325120423445
908.69.59657048604816-0.996570486048164
919.19.61381585167288-0.513815851672883
929.39.6310612172976-0.331061217297601
938.99.64830658292232-0.748306582922321



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