Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationFri, 21 Dec 2007 03:33:51 -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/Dec/21/t11982321803zlwx9aqkpffuj8.htm/, Retrieved Tue, 07 May 2024 20:47:52 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=4790, Retrieved Tue, 07 May 2024 20:47:52 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact262
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Case Paper] [2007-12-21 10:33:51] [b02e81bf795a9093262ef8ec9108b703] [Current]
-    D    [Multiple Regression] [Regressiemodel (m...] [2008-12-16 09:36:46] [1d635fe1113b56bab3f378c464a289bc]
Feedback Forum

Post a new message
Dataseries X:
117	0
103.8	0
100.8	0
110.6	0
104	0
112.6	0
107.3	0
98.9	0
109.8	0
104.9	0
102.2	0
123.9	0
124.9	0
112.7	0
121.9	0
100.6	0
104.3	0
120.4	0
107.5	0
102.9	0
125.6	0
107.5	0
108.8	0
128.4	1
121.1	1
119.5	1
128.7	1
108.7	1
105.5	1
119.8	1
111.3	1
110.6	1
120.1	1
97.5	1
107.7	1
127.3	1
117.2	1
119.8	1
116.2	1
111	1
112.4	1
130.6	1
109.1	1
118.8	1
123.9	1
101.6	1
112.8	1
128	1
129.6	1
125.8	1
119.5	1
115.7	1
113.6	1
129.7	1
112	1
116.8	1
127	1
112.9	1
113.3	1
121.7	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=4790&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=4790&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4790&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
Cons[t] = + 117.858505494505 -0.186593406593400Reg[t] -1.44680586080592M1[t] -7.31321611721613M2[t] -6.4396263736264M3[t] -14.7660366300366M4[t] -16.3524468864469M5[t] -1.91885714285715M6[t] -15.3252673992674M7[t] -15.3916776556777M8[t] -3.93808791208793M9[t] -20.5644981684982M10[t] -16.7109084249084M11[t] + 0.226410256410256t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Cons[t] =  +  117.858505494505 -0.186593406593400Reg[t] -1.44680586080592M1[t] -7.31321611721613M2[t] -6.4396263736264M3[t] -14.7660366300366M4[t] -16.3524468864469M5[t] -1.91885714285715M6[t] -15.3252673992674M7[t] -15.3916776556777M8[t] -3.93808791208793M9[t] -20.5644981684982M10[t] -16.7109084249084M11[t] +  0.226410256410256t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4790&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Cons[t] =  +  117.858505494505 -0.186593406593400Reg[t] -1.44680586080592M1[t] -7.31321611721613M2[t] -6.4396263736264M3[t] -14.7660366300366M4[t] -16.3524468864469M5[t] -1.91885714285715M6[t] -15.3252673992674M7[t] -15.3916776556777M8[t] -3.93808791208793M9[t] -20.5644981684982M10[t] -16.7109084249084M11[t] +  0.226410256410256t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4790&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4790&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
Cons[t] = + 117.858505494505 -0.186593406593400Reg[t] -1.44680586080592M1[t] -7.31321611721613M2[t] -6.4396263736264M3[t] -14.7660366300366M4[t] -16.3524468864469M5[t] -1.91885714285715M6[t] -15.3252673992674M7[t] -15.3916776556777M8[t] -3.93808791208793M9[t] -20.5644981684982M10[t] -16.7109084249084M11[t] + 0.226410256410256t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)117.8585054945052.65088144.460100
Reg-0.1865934065934002.589051-0.07210.9428580.471429
M1-1.446805860805923.221007-0.44920.6554120.327706
M2-7.313216117216133.213411-2.27580.0275590.013779
M3-6.43962637362643.20749-2.00770.0505720.025286
M4-14.76603663003663.203254-4.60973.2e-051.6e-05
M5-16.35244688644693.20071-5.1096e-063e-06
M6-1.918857142857153.199862-0.59970.551670.275835
M7-15.32526739926743.20071-4.78811.8e-059e-06
M8-15.39167765567773.203254-4.8051.7e-058e-06
M9-3.938087912087933.20749-1.22780.2257760.112888
M10-20.56449816849823.213411-6.399600
M11-16.71090842490843.221007-5.18815e-062e-06
t0.2264102564102560.0736943.07230.0035630.001781

\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) & 117.858505494505 & 2.650881 & 44.4601 & 0 & 0 \tabularnewline
Reg & -0.186593406593400 & 2.589051 & -0.0721 & 0.942858 & 0.471429 \tabularnewline
M1 & -1.44680586080592 & 3.221007 & -0.4492 & 0.655412 & 0.327706 \tabularnewline
M2 & -7.31321611721613 & 3.213411 & -2.2758 & 0.027559 & 0.013779 \tabularnewline
M3 & -6.4396263736264 & 3.20749 & -2.0077 & 0.050572 & 0.025286 \tabularnewline
M4 & -14.7660366300366 & 3.203254 & -4.6097 & 3.2e-05 & 1.6e-05 \tabularnewline
M5 & -16.3524468864469 & 3.20071 & -5.109 & 6e-06 & 3e-06 \tabularnewline
M6 & -1.91885714285715 & 3.199862 & -0.5997 & 0.55167 & 0.275835 \tabularnewline
M7 & -15.3252673992674 & 3.20071 & -4.7881 & 1.8e-05 & 9e-06 \tabularnewline
M8 & -15.3916776556777 & 3.203254 & -4.805 & 1.7e-05 & 8e-06 \tabularnewline
M9 & -3.93808791208793 & 3.20749 & -1.2278 & 0.225776 & 0.112888 \tabularnewline
M10 & -20.5644981684982 & 3.213411 & -6.3996 & 0 & 0 \tabularnewline
M11 & -16.7109084249084 & 3.221007 & -5.1881 & 5e-06 & 2e-06 \tabularnewline
t & 0.226410256410256 & 0.073694 & 3.0723 & 0.003563 & 0.001781 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4790&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]117.858505494505[/C][C]2.650881[/C][C]44.4601[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Reg[/C][C]-0.186593406593400[/C][C]2.589051[/C][C]-0.0721[/C][C]0.942858[/C][C]0.471429[/C][/ROW]
[ROW][C]M1[/C][C]-1.44680586080592[/C][C]3.221007[/C][C]-0.4492[/C][C]0.655412[/C][C]0.327706[/C][/ROW]
[ROW][C]M2[/C][C]-7.31321611721613[/C][C]3.213411[/C][C]-2.2758[/C][C]0.027559[/C][C]0.013779[/C][/ROW]
[ROW][C]M3[/C][C]-6.4396263736264[/C][C]3.20749[/C][C]-2.0077[/C][C]0.050572[/C][C]0.025286[/C][/ROW]
[ROW][C]M4[/C][C]-14.7660366300366[/C][C]3.203254[/C][C]-4.6097[/C][C]3.2e-05[/C][C]1.6e-05[/C][/ROW]
[ROW][C]M5[/C][C]-16.3524468864469[/C][C]3.20071[/C][C]-5.109[/C][C]6e-06[/C][C]3e-06[/C][/ROW]
[ROW][C]M6[/C][C]-1.91885714285715[/C][C]3.199862[/C][C]-0.5997[/C][C]0.55167[/C][C]0.275835[/C][/ROW]
[ROW][C]M7[/C][C]-15.3252673992674[/C][C]3.20071[/C][C]-4.7881[/C][C]1.8e-05[/C][C]9e-06[/C][/ROW]
[ROW][C]M8[/C][C]-15.3916776556777[/C][C]3.203254[/C][C]-4.805[/C][C]1.7e-05[/C][C]8e-06[/C][/ROW]
[ROW][C]M9[/C][C]-3.93808791208793[/C][C]3.20749[/C][C]-1.2278[/C][C]0.225776[/C][C]0.112888[/C][/ROW]
[ROW][C]M10[/C][C]-20.5644981684982[/C][C]3.213411[/C][C]-6.3996[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M11[/C][C]-16.7109084249084[/C][C]3.221007[/C][C]-5.1881[/C][C]5e-06[/C][C]2e-06[/C][/ROW]
[ROW][C]t[/C][C]0.226410256410256[/C][C]0.073694[/C][C]3.0723[/C][C]0.003563[/C][C]0.001781[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4790&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4790&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)117.8585054945052.65088144.460100
Reg-0.1865934065934002.589051-0.07210.9428580.471429
M1-1.446805860805923.221007-0.44920.6554120.327706
M2-7.313216117216133.213411-2.27580.0275590.013779
M3-6.43962637362643.20749-2.00770.0505720.025286
M4-14.76603663003663.203254-4.60973.2e-051.6e-05
M5-16.35244688644693.20071-5.1096e-063e-06
M6-1.918857142857153.199862-0.59970.551670.275835
M7-15.32526739926743.20071-4.78811.8e-059e-06
M8-15.39167765567773.203254-4.8051.7e-058e-06
M9-3.938087912087933.20749-1.22780.2257760.112888
M10-20.56449816849823.213411-6.399600
M11-16.71090842490843.221007-5.18815e-062e-06
t0.2264102564102560.0736943.07230.0035630.001781







Multiple Linear Regression - Regression Statistics
Multiple R0.868945960631488
R-squared0.75506708249778
Adjusted R-squared0.685846910160196
F-TEST (value)10.9081942011839
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value4.4846637514695e-10
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5.04145259252865
Sum Squared Residuals1169.14723516484

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.868945960631488 \tabularnewline
R-squared & 0.75506708249778 \tabularnewline
Adjusted R-squared & 0.685846910160196 \tabularnewline
F-TEST (value) & 10.9081942011839 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 4.4846637514695e-10 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 5.04145259252865 \tabularnewline
Sum Squared Residuals & 1169.14723516484 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4790&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.868945960631488[/C][/ROW]
[ROW][C]R-squared[/C][C]0.75506708249778[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.685846910160196[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]10.9081942011839[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]46[/C][/ROW]
[ROW][C]p-value[/C][C]4.4846637514695e-10[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]5.04145259252865[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1169.14723516484[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4790&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4790&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.868945960631488
R-squared0.75506708249778
Adjusted R-squared0.685846910160196
F-TEST (value)10.9081942011839
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value4.4846637514695e-10
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5.04145259252865
Sum Squared Residuals1169.14723516484







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1117116.638109890110.361890109889937
2103.8110.998109890110-7.1981098901099
3100.8112.098109890110-11.2981098901099
4110.6103.9981098901106.60189010989012
5104102.6381098901101.36189010989015
6112.6117.298109890110-4.69810989010988
7107.3104.1181098901103.18189010989011
898.9104.278109890110-5.37810989010988
9109.8115.958109890110-6.1581098901099
10104.999.55810989010995.34189010989011
11102.2103.638109890110-1.43810989010987
12123.9120.5754285714293.32457142857144
13124.9119.3550329670335.54496703296708
14112.7113.715032967033-1.01503296703295
15121.9114.8150329670337.08496703296705
16100.6106.715032967033-6.11503296703297
17104.3105.355032967033-1.05503296703298
18120.4120.0150329670330.384967032967043
19107.5106.8350329670330.664967032967037
20102.9106.995032967033-4.09503296703296
21125.6118.6750329670336.92496703296703
22107.5102.2750329670335.22496703296704
23108.8106.3550329670332.44496703296703
24128.4123.1057582417585.29424175824176
25121.1121.885362637363-0.785362637362598
26119.5116.2453626373633.25463736263736
27128.7117.34536263736311.3546373626373
28108.7109.245362637363-0.54536263736264
29105.5107.885362637363-2.38536263736265
30119.8122.545362637363-2.74536263736264
31111.3109.3653626373631.93463736263736
32110.6109.5253626373631.07463736263735
33120.1121.205362637363-1.10536263736264
3497.5104.805362637363-7.30536263736263
35107.7108.885362637363-1.18536263736264
36127.3125.8226813186811.47731868131867
37117.2124.602285714286-7.40228571428567
38119.8118.9622857142860.837714285714282
39116.2120.062285714286-3.86228571428571
40111111.962285714286-0.96228571428572
41112.4110.6022857142861.79771428571428
42130.6125.2622857142865.33771428571428
43109.1112.082285714286-2.98228571428572
44118.8112.2422857142866.55771428571428
45123.9123.922285714286-0.0222857142857056
46101.6107.522285714286-5.92228571428572
47112.8111.6022857142861.19771428571428
48128128.539604395604-0.539604395604401
49129.6127.3192087912092.28079120879125
50125.8121.6792087912094.1207912087912
51119.5122.779208791209-3.27920879120879
52115.7114.6792087912091.02079120879121
53113.6113.3192087912090.280791208791191
54129.7127.9792087912091.72079120879120
55112114.799208791209-2.79920879120879
56116.8114.9592087912091.84079120879120
57127126.6392087912090.360791208791214
58112.9110.2392087912092.66079120879121
59113.3114.319208791209-1.01920879120880
60121.7131.256527472527-9.55652747252748

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 117 & 116.63810989011 & 0.361890109889937 \tabularnewline
2 & 103.8 & 110.998109890110 & -7.1981098901099 \tabularnewline
3 & 100.8 & 112.098109890110 & -11.2981098901099 \tabularnewline
4 & 110.6 & 103.998109890110 & 6.60189010989012 \tabularnewline
5 & 104 & 102.638109890110 & 1.36189010989015 \tabularnewline
6 & 112.6 & 117.298109890110 & -4.69810989010988 \tabularnewline
7 & 107.3 & 104.118109890110 & 3.18189010989011 \tabularnewline
8 & 98.9 & 104.278109890110 & -5.37810989010988 \tabularnewline
9 & 109.8 & 115.958109890110 & -6.1581098901099 \tabularnewline
10 & 104.9 & 99.5581098901099 & 5.34189010989011 \tabularnewline
11 & 102.2 & 103.638109890110 & -1.43810989010987 \tabularnewline
12 & 123.9 & 120.575428571429 & 3.32457142857144 \tabularnewline
13 & 124.9 & 119.355032967033 & 5.54496703296708 \tabularnewline
14 & 112.7 & 113.715032967033 & -1.01503296703295 \tabularnewline
15 & 121.9 & 114.815032967033 & 7.08496703296705 \tabularnewline
16 & 100.6 & 106.715032967033 & -6.11503296703297 \tabularnewline
17 & 104.3 & 105.355032967033 & -1.05503296703298 \tabularnewline
18 & 120.4 & 120.015032967033 & 0.384967032967043 \tabularnewline
19 & 107.5 & 106.835032967033 & 0.664967032967037 \tabularnewline
20 & 102.9 & 106.995032967033 & -4.09503296703296 \tabularnewline
21 & 125.6 & 118.675032967033 & 6.92496703296703 \tabularnewline
22 & 107.5 & 102.275032967033 & 5.22496703296704 \tabularnewline
23 & 108.8 & 106.355032967033 & 2.44496703296703 \tabularnewline
24 & 128.4 & 123.105758241758 & 5.29424175824176 \tabularnewline
25 & 121.1 & 121.885362637363 & -0.785362637362598 \tabularnewline
26 & 119.5 & 116.245362637363 & 3.25463736263736 \tabularnewline
27 & 128.7 & 117.345362637363 & 11.3546373626373 \tabularnewline
28 & 108.7 & 109.245362637363 & -0.54536263736264 \tabularnewline
29 & 105.5 & 107.885362637363 & -2.38536263736265 \tabularnewline
30 & 119.8 & 122.545362637363 & -2.74536263736264 \tabularnewline
31 & 111.3 & 109.365362637363 & 1.93463736263736 \tabularnewline
32 & 110.6 & 109.525362637363 & 1.07463736263735 \tabularnewline
33 & 120.1 & 121.205362637363 & -1.10536263736264 \tabularnewline
34 & 97.5 & 104.805362637363 & -7.30536263736263 \tabularnewline
35 & 107.7 & 108.885362637363 & -1.18536263736264 \tabularnewline
36 & 127.3 & 125.822681318681 & 1.47731868131867 \tabularnewline
37 & 117.2 & 124.602285714286 & -7.40228571428567 \tabularnewline
38 & 119.8 & 118.962285714286 & 0.837714285714282 \tabularnewline
39 & 116.2 & 120.062285714286 & -3.86228571428571 \tabularnewline
40 & 111 & 111.962285714286 & -0.96228571428572 \tabularnewline
41 & 112.4 & 110.602285714286 & 1.79771428571428 \tabularnewline
42 & 130.6 & 125.262285714286 & 5.33771428571428 \tabularnewline
43 & 109.1 & 112.082285714286 & -2.98228571428572 \tabularnewline
44 & 118.8 & 112.242285714286 & 6.55771428571428 \tabularnewline
45 & 123.9 & 123.922285714286 & -0.0222857142857056 \tabularnewline
46 & 101.6 & 107.522285714286 & -5.92228571428572 \tabularnewline
47 & 112.8 & 111.602285714286 & 1.19771428571428 \tabularnewline
48 & 128 & 128.539604395604 & -0.539604395604401 \tabularnewline
49 & 129.6 & 127.319208791209 & 2.28079120879125 \tabularnewline
50 & 125.8 & 121.679208791209 & 4.1207912087912 \tabularnewline
51 & 119.5 & 122.779208791209 & -3.27920879120879 \tabularnewline
52 & 115.7 & 114.679208791209 & 1.02079120879121 \tabularnewline
53 & 113.6 & 113.319208791209 & 0.280791208791191 \tabularnewline
54 & 129.7 & 127.979208791209 & 1.72079120879120 \tabularnewline
55 & 112 & 114.799208791209 & -2.79920879120879 \tabularnewline
56 & 116.8 & 114.959208791209 & 1.84079120879120 \tabularnewline
57 & 127 & 126.639208791209 & 0.360791208791214 \tabularnewline
58 & 112.9 & 110.239208791209 & 2.66079120879121 \tabularnewline
59 & 113.3 & 114.319208791209 & -1.01920879120880 \tabularnewline
60 & 121.7 & 131.256527472527 & -9.55652747252748 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=4790&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]117[/C][C]116.63810989011[/C][C]0.361890109889937[/C][/ROW]
[ROW][C]2[/C][C]103.8[/C][C]110.998109890110[/C][C]-7.1981098901099[/C][/ROW]
[ROW][C]3[/C][C]100.8[/C][C]112.098109890110[/C][C]-11.2981098901099[/C][/ROW]
[ROW][C]4[/C][C]110.6[/C][C]103.998109890110[/C][C]6.60189010989012[/C][/ROW]
[ROW][C]5[/C][C]104[/C][C]102.638109890110[/C][C]1.36189010989015[/C][/ROW]
[ROW][C]6[/C][C]112.6[/C][C]117.298109890110[/C][C]-4.69810989010988[/C][/ROW]
[ROW][C]7[/C][C]107.3[/C][C]104.118109890110[/C][C]3.18189010989011[/C][/ROW]
[ROW][C]8[/C][C]98.9[/C][C]104.278109890110[/C][C]-5.37810989010988[/C][/ROW]
[ROW][C]9[/C][C]109.8[/C][C]115.958109890110[/C][C]-6.1581098901099[/C][/ROW]
[ROW][C]10[/C][C]104.9[/C][C]99.5581098901099[/C][C]5.34189010989011[/C][/ROW]
[ROW][C]11[/C][C]102.2[/C][C]103.638109890110[/C][C]-1.43810989010987[/C][/ROW]
[ROW][C]12[/C][C]123.9[/C][C]120.575428571429[/C][C]3.32457142857144[/C][/ROW]
[ROW][C]13[/C][C]124.9[/C][C]119.355032967033[/C][C]5.54496703296708[/C][/ROW]
[ROW][C]14[/C][C]112.7[/C][C]113.715032967033[/C][C]-1.01503296703295[/C][/ROW]
[ROW][C]15[/C][C]121.9[/C][C]114.815032967033[/C][C]7.08496703296705[/C][/ROW]
[ROW][C]16[/C][C]100.6[/C][C]106.715032967033[/C][C]-6.11503296703297[/C][/ROW]
[ROW][C]17[/C][C]104.3[/C][C]105.355032967033[/C][C]-1.05503296703298[/C][/ROW]
[ROW][C]18[/C][C]120.4[/C][C]120.015032967033[/C][C]0.384967032967043[/C][/ROW]
[ROW][C]19[/C][C]107.5[/C][C]106.835032967033[/C][C]0.664967032967037[/C][/ROW]
[ROW][C]20[/C][C]102.9[/C][C]106.995032967033[/C][C]-4.09503296703296[/C][/ROW]
[ROW][C]21[/C][C]125.6[/C][C]118.675032967033[/C][C]6.92496703296703[/C][/ROW]
[ROW][C]22[/C][C]107.5[/C][C]102.275032967033[/C][C]5.22496703296704[/C][/ROW]
[ROW][C]23[/C][C]108.8[/C][C]106.355032967033[/C][C]2.44496703296703[/C][/ROW]
[ROW][C]24[/C][C]128.4[/C][C]123.105758241758[/C][C]5.29424175824176[/C][/ROW]
[ROW][C]25[/C][C]121.1[/C][C]121.885362637363[/C][C]-0.785362637362598[/C][/ROW]
[ROW][C]26[/C][C]119.5[/C][C]116.245362637363[/C][C]3.25463736263736[/C][/ROW]
[ROW][C]27[/C][C]128.7[/C][C]117.345362637363[/C][C]11.3546373626373[/C][/ROW]
[ROW][C]28[/C][C]108.7[/C][C]109.245362637363[/C][C]-0.54536263736264[/C][/ROW]
[ROW][C]29[/C][C]105.5[/C][C]107.885362637363[/C][C]-2.38536263736265[/C][/ROW]
[ROW][C]30[/C][C]119.8[/C][C]122.545362637363[/C][C]-2.74536263736264[/C][/ROW]
[ROW][C]31[/C][C]111.3[/C][C]109.365362637363[/C][C]1.93463736263736[/C][/ROW]
[ROW][C]32[/C][C]110.6[/C][C]109.525362637363[/C][C]1.07463736263735[/C][/ROW]
[ROW][C]33[/C][C]120.1[/C][C]121.205362637363[/C][C]-1.10536263736264[/C][/ROW]
[ROW][C]34[/C][C]97.5[/C][C]104.805362637363[/C][C]-7.30536263736263[/C][/ROW]
[ROW][C]35[/C][C]107.7[/C][C]108.885362637363[/C][C]-1.18536263736264[/C][/ROW]
[ROW][C]36[/C][C]127.3[/C][C]125.822681318681[/C][C]1.47731868131867[/C][/ROW]
[ROW][C]37[/C][C]117.2[/C][C]124.602285714286[/C][C]-7.40228571428567[/C][/ROW]
[ROW][C]38[/C][C]119.8[/C][C]118.962285714286[/C][C]0.837714285714282[/C][/ROW]
[ROW][C]39[/C][C]116.2[/C][C]120.062285714286[/C][C]-3.86228571428571[/C][/ROW]
[ROW][C]40[/C][C]111[/C][C]111.962285714286[/C][C]-0.96228571428572[/C][/ROW]
[ROW][C]41[/C][C]112.4[/C][C]110.602285714286[/C][C]1.79771428571428[/C][/ROW]
[ROW][C]42[/C][C]130.6[/C][C]125.262285714286[/C][C]5.33771428571428[/C][/ROW]
[ROW][C]43[/C][C]109.1[/C][C]112.082285714286[/C][C]-2.98228571428572[/C][/ROW]
[ROW][C]44[/C][C]118.8[/C][C]112.242285714286[/C][C]6.55771428571428[/C][/ROW]
[ROW][C]45[/C][C]123.9[/C][C]123.922285714286[/C][C]-0.0222857142857056[/C][/ROW]
[ROW][C]46[/C][C]101.6[/C][C]107.522285714286[/C][C]-5.92228571428572[/C][/ROW]
[ROW][C]47[/C][C]112.8[/C][C]111.602285714286[/C][C]1.19771428571428[/C][/ROW]
[ROW][C]48[/C][C]128[/C][C]128.539604395604[/C][C]-0.539604395604401[/C][/ROW]
[ROW][C]49[/C][C]129.6[/C][C]127.319208791209[/C][C]2.28079120879125[/C][/ROW]
[ROW][C]50[/C][C]125.8[/C][C]121.679208791209[/C][C]4.1207912087912[/C][/ROW]
[ROW][C]51[/C][C]119.5[/C][C]122.779208791209[/C][C]-3.27920879120879[/C][/ROW]
[ROW][C]52[/C][C]115.7[/C][C]114.679208791209[/C][C]1.02079120879121[/C][/ROW]
[ROW][C]53[/C][C]113.6[/C][C]113.319208791209[/C][C]0.280791208791191[/C][/ROW]
[ROW][C]54[/C][C]129.7[/C][C]127.979208791209[/C][C]1.72079120879120[/C][/ROW]
[ROW][C]55[/C][C]112[/C][C]114.799208791209[/C][C]-2.79920879120879[/C][/ROW]
[ROW][C]56[/C][C]116.8[/C][C]114.959208791209[/C][C]1.84079120879120[/C][/ROW]
[ROW][C]57[/C][C]127[/C][C]126.639208791209[/C][C]0.360791208791214[/C][/ROW]
[ROW][C]58[/C][C]112.9[/C][C]110.239208791209[/C][C]2.66079120879121[/C][/ROW]
[ROW][C]59[/C][C]113.3[/C][C]114.319208791209[/C][C]-1.01920879120880[/C][/ROW]
[ROW][C]60[/C][C]121.7[/C][C]131.256527472527[/C][C]-9.55652747252748[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=4790&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=4790&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
1117116.638109890110.361890109889937
2103.8110.998109890110-7.1981098901099
3100.8112.098109890110-11.2981098901099
4110.6103.9981098901106.60189010989012
5104102.6381098901101.36189010989015
6112.6117.298109890110-4.69810989010988
7107.3104.1181098901103.18189010989011
898.9104.278109890110-5.37810989010988
9109.8115.958109890110-6.1581098901099
10104.999.55810989010995.34189010989011
11102.2103.638109890110-1.43810989010987
12123.9120.5754285714293.32457142857144
13124.9119.3550329670335.54496703296708
14112.7113.715032967033-1.01503296703295
15121.9114.8150329670337.08496703296705
16100.6106.715032967033-6.11503296703297
17104.3105.355032967033-1.05503296703298
18120.4120.0150329670330.384967032967043
19107.5106.8350329670330.664967032967037
20102.9106.995032967033-4.09503296703296
21125.6118.6750329670336.92496703296703
22107.5102.2750329670335.22496703296704
23108.8106.3550329670332.44496703296703
24128.4123.1057582417585.29424175824176
25121.1121.885362637363-0.785362637362598
26119.5116.2453626373633.25463736263736
27128.7117.34536263736311.3546373626373
28108.7109.245362637363-0.54536263736264
29105.5107.885362637363-2.38536263736265
30119.8122.545362637363-2.74536263736264
31111.3109.3653626373631.93463736263736
32110.6109.5253626373631.07463736263735
33120.1121.205362637363-1.10536263736264
3497.5104.805362637363-7.30536263736263
35107.7108.885362637363-1.18536263736264
36127.3125.8226813186811.47731868131867
37117.2124.602285714286-7.40228571428567
38119.8118.9622857142860.837714285714282
39116.2120.062285714286-3.86228571428571
40111111.962285714286-0.96228571428572
41112.4110.6022857142861.79771428571428
42130.6125.2622857142865.33771428571428
43109.1112.082285714286-2.98228571428572
44118.8112.2422857142866.55771428571428
45123.9123.922285714286-0.0222857142857056
46101.6107.522285714286-5.92228571428572
47112.8111.6022857142861.19771428571428
48128128.539604395604-0.539604395604401
49129.6127.3192087912092.28079120879125
50125.8121.6792087912094.1207912087912
51119.5122.779208791209-3.27920879120879
52115.7114.6792087912091.02079120879121
53113.6113.3192087912090.280791208791191
54129.7127.9792087912091.72079120879120
55112114.799208791209-2.79920879120879
56116.8114.9592087912091.84079120879120
57127126.6392087912090.360791208791214
58112.9110.2392087912092.66079120879121
59113.3114.319208791209-1.01920879120880
60121.7131.256527472527-9.55652747252748



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