Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationMon, 30 Nov 2009 15:55:12 -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/2009/Nov/30/t1259621749uai5wbc3e0fkhsp.htm/, Retrieved Wed, 01 May 2024 13:27:09 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=61939, Retrieved Wed, 01 May 2024 13:27:09 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact141
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 13:54:52] [b98453cac15ba1066b407e146608df68]
-   PD    [Multiple Regression] [model 3] [2009-11-30 22:11:20] [f15cf5036ae52d4243ad71d4fb151dbe]
-   PD        [Multiple Regression] [model 4] [2009-11-30 22:55:12] [1aecede37375310a889a187dca5e5c0a] [Current]
Feedback Forum

Post a new message
Dataseries X:
10723.78	3080.58	10539.51	10673.38	10411.75	10001.60
10682.06	3106.22	10723.78	10539.51	10673.38	10411.75
10283.19	3119.31	10682.06	10723.78	10539.51	10673.38
10377.18	3061.26	10283.19	10682.06	10723.78	10539.51
10486.64	3097.31	10377.18	10283.19	10682.06	10723.78
10545.38	3161.69	10486.64	10377.18	10283.19	10682.06
10554.27	3257.16	10545.38	10486.64	10377.18	10283.19
10532.54	3277.01	10554.27	10545.38	10486.64	10377.18
10324.31	3295.32	10532.54	10554.27	10545.38	10486.64
10695.25	3363.99	10324.31	10532.54	10554.27	10545.38
10827.81	3494.17	10695.25	10324.31	10532.54	10554.27
10872.48	3667.03	10827.81	10695.25	10324.31	10532.54
10971.19	3813.06	10872.48	10827.81	10695.25	10324.31
11145.65	3917.96	10971.19	10872.48	10827.81	10695.25
11234.68	3895.51	11145.65	10971.19	10872.48	10827.81
11333.88	3801.06	11234.68	11145.65	10971.19	10872.48
10997.97	3570.12	11333.88	11234.68	11145.65	10971.19
11036.89	3701.61	10997.97	11333.88	11234.68	11145.65
11257.35	3862.27	11036.89	10997.97	11333.88	11234.68
11533.59	3970.10	11257.35	11036.89	10997.97	11333.88
11963.12	4138.52	11533.59	11257.35	11036.89	10997.97
12185.15	4199.75	11963.12	11533.59	11257.35	11036.89
12377.62	4290.89	12185.15	11963.12	11533.59	11257.35
12512.89	4443.91	12377.62	12185.15	11963.12	11533.59
12631.48	4502.64	12512.89	12377.62	12185.15	11963.12
12268.53	4356.98	12631.48	12512.89	12377.62	12185.15
12754.80	4591.27	12268.53	12631.48	12512.89	12377.62
13407.75	4696.96	12754.80	12268.53	12631.48	12512.89
13480.21	4621.40	13407.75	12754.80	12268.53	12631.48
13673.28	4562.84	13480.21	13407.75	12754.80	12268.53
13239.71	4202.52	13673.28	13480.21	13407.75	12754.80
13557.69	4296.49	13239.71	13673.28	13480.21	13407.75
13901.28	4435.23	13557.69	13239.71	13673.28	13480.21
13200.58	4105.18	13901.28	13557.69	13239.71	13673.28
13406.97	4116.68	13200.58	13901.28	13557.69	13239.71
12538.12	3844.49	13406.97	13200.58	13901.28	13557.69
12419.57	3720.98	12538.12	13406.97	13200.58	13901.28
12193.88	3674.40	12419.57	12538.12	13406.97	13200.58
12656.63	3857.62	12193.88	12419.57	12538.12	13406.97
12812.48	3801.06	12656.63	12193.88	12419.57	12538.12
12056.67	3504.37	12812.48	12656.63	12193.88	12419.57
11322.38	3032.60	12056.67	12812.48	12656.63	12193.88
11530.75	3047.03	11322.38	12056.67	12812.48	12656.63
11114.08	2962.34	11530.75	11322.38	12056.67	12812.48
9181.73	2197.82	11114.08	11530.75	11322.38	12056.67
8614.55	2014.45	9181.73	11114.08	11530.75	11322.38
8595.56	1862.83	8614.55	9181.73	11114.08	11530.75
8396.20	1905.41	8595.56	8614.55	9181.73	11114.08
7690.50	1810.99	8396.20	8595.56	8614.55	9181.73
7235.47	1670.07	7690.50	8396.20	8595.56	8614.55
7992.12	1864.44	7235.47	7690.50	8396.20	8595.56
8398.37	2052.02	7992.12	7235.47	7690.50	8396.20
8593.01	2029.60	8398.37	7992.12	7235.47	7690.50
8679.75	2070.83	8593.01	8398.37	7992.12	7235.47
9374.63	2293.41	8679.75	8593.01	8398.37	7992.12
9634.97	2443.27	9374.63	8679.75	8593.01	8398.37




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135
R Framework error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 6 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
R Framework error message & 
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=61939&T=0

[TABLE]
[ROW][C]Summary of computational 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]6 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[ROW][C]R Framework error message[/C][C]
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=61939&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=61939&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 computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135
R Framework error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.







Multiple Linear Regression - Estimated Regression Equation
X[t] = -999.997265120483 + 0.564526605850022Y[t] -0.0123080270622791`Yt-1`[t] + 0.029081352446026`Yt-2`[t] -0.0827779579897504`Yt-3`[t] -0.0652551152233573`Yt-4 `[t] -87.0424548307653M1[t] -1.31472901234750M2[t] -35.8724720751150M3[t] -180.493075859543M4[t] -233.770413585435M5[t] -241.721782476039M6[t] -240.130841473458M7[t] -210.279668566981M8[t] -103.591023428529M9[t] -107.571987999933M10[t] -139.295890813598M11[t] -9.13867789192095t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
X[t] =  -999.997265120483 +  0.564526605850022Y[t] -0.0123080270622791`Yt-1`[t] +  0.029081352446026`Yt-2`[t] -0.0827779579897504`Yt-3`[t] -0.0652551152233573`Yt-4

`[t] -87.0424548307653M1[t] -1.31472901234750M2[t] -35.8724720751150M3[t] -180.493075859543M4[t] -233.770413585435M5[t] -241.721782476039M6[t] -240.130841473458M7[t] -210.279668566981M8[t] -103.591023428529M9[t] -107.571987999933M10[t] -139.295890813598M11[t] -9.13867789192095t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=61939&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]X[t] =  -999.997265120483 +  0.564526605850022Y[t] -0.0123080270622791`Yt-1`[t] +  0.029081352446026`Yt-2`[t] -0.0827779579897504`Yt-3`[t] -0.0652551152233573`Yt-4

`[t] -87.0424548307653M1[t] -1.31472901234750M2[t] -35.8724720751150M3[t] -180.493075859543M4[t] -233.770413585435M5[t] -241.721782476039M6[t] -240.130841473458M7[t] -210.279668566981M8[t] -103.591023428529M9[t] -107.571987999933M10[t] -139.295890813598M11[t] -9.13867789192095t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=61939&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=61939&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
X[t] = -999.997265120483 + 0.564526605850022Y[t] -0.0123080270622791`Yt-1`[t] + 0.029081352446026`Yt-2`[t] -0.0827779579897504`Yt-3`[t] -0.0652551152233573`Yt-4 `[t] -87.0424548307653M1[t] -1.31472901234750M2[t] -35.8724720751150M3[t] -180.493075859543M4[t] -233.770413585435M5[t] -241.721782476039M6[t] -240.130841473458M7[t] -210.279668566981M8[t] -103.591023428529M9[t] -107.571987999933M10[t] -139.295890813598M11[t] -9.13867789192095t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-999.997265120483287.492303-3.47830.0012810.000641
Y0.5645266058500220.0850756.635600
`Yt-1`-0.01230802706227910.134495-0.09150.9275660.463783
`Yt-2`0.0290813524460260.1364140.21320.8323220.416161
`Yt-3`-0.08277795798975040.135677-0.61010.545420.27271
`Yt-4 `-0.06525511522335730.088219-0.73970.4640290.232014
M1-87.0424548307653166.077139-0.52410.6032470.301623
M2-1.31472901234750165.272061-0.0080.9936950.496847
M3-35.8724720751150167.817992-0.21380.8318780.415939
M4-180.493075859543163.893165-1.10130.27770.13885
M5-233.770413585435162.897906-1.43510.1594460.079723
M6-241.721782476039172.246312-1.40330.1686320.084316
M7-240.130841473458169.612838-1.41580.1649910.082495
M8-210.279668566981161.063394-1.30560.1995480.099774
M9-103.591023428529168.786037-0.61370.5430430.271521
M10-107.571987999933174.960958-0.61480.5423290.271164
M11-139.295890813598174.583954-0.79790.4299020.214951
t-9.138677891920952.1489-4.25270.0001326.6e-05

\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) & -999.997265120483 & 287.492303 & -3.4783 & 0.001281 & 0.000641 \tabularnewline
Y & 0.564526605850022 & 0.085075 & 6.6356 & 0 & 0 \tabularnewline
`Yt-1` & -0.0123080270622791 & 0.134495 & -0.0915 & 0.927566 & 0.463783 \tabularnewline
`Yt-2` & 0.029081352446026 & 0.136414 & 0.2132 & 0.832322 & 0.416161 \tabularnewline
`Yt-3` & -0.0827779579897504 & 0.135677 & -0.6101 & 0.54542 & 0.27271 \tabularnewline
`Yt-4

` & -0.0652551152233573 & 0.088219 & -0.7397 & 0.464029 & 0.232014 \tabularnewline
M1 & -87.0424548307653 & 166.077139 & -0.5241 & 0.603247 & 0.301623 \tabularnewline
M2 & -1.31472901234750 & 165.272061 & -0.008 & 0.993695 & 0.496847 \tabularnewline
M3 & -35.8724720751150 & 167.817992 & -0.2138 & 0.831878 & 0.415939 \tabularnewline
M4 & -180.493075859543 & 163.893165 & -1.1013 & 0.2777 & 0.13885 \tabularnewline
M5 & -233.770413585435 & 162.897906 & -1.4351 & 0.159446 & 0.079723 \tabularnewline
M6 & -241.721782476039 & 172.246312 & -1.4033 & 0.168632 & 0.084316 \tabularnewline
M7 & -240.130841473458 & 169.612838 & -1.4158 & 0.164991 & 0.082495 \tabularnewline
M8 & -210.279668566981 & 161.063394 & -1.3056 & 0.199548 & 0.099774 \tabularnewline
M9 & -103.591023428529 & 168.786037 & -0.6137 & 0.543043 & 0.271521 \tabularnewline
M10 & -107.571987999933 & 174.960958 & -0.6148 & 0.542329 & 0.271164 \tabularnewline
M11 & -139.295890813598 & 174.583954 & -0.7979 & 0.429902 & 0.214951 \tabularnewline
t & -9.13867789192095 & 2.1489 & -4.2527 & 0.000132 & 6.6e-05 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=61939&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]-999.997265120483[/C][C]287.492303[/C][C]-3.4783[/C][C]0.001281[/C][C]0.000641[/C][/ROW]
[ROW][C]Y[/C][C]0.564526605850022[/C][C]0.085075[/C][C]6.6356[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]`Yt-1`[/C][C]-0.0123080270622791[/C][C]0.134495[/C][C]-0.0915[/C][C]0.927566[/C][C]0.463783[/C][/ROW]
[ROW][C]`Yt-2`[/C][C]0.029081352446026[/C][C]0.136414[/C][C]0.2132[/C][C]0.832322[/C][C]0.416161[/C][/ROW]
[ROW][C]`Yt-3`[/C][C]-0.0827779579897504[/C][C]0.135677[/C][C]-0.6101[/C][C]0.54542[/C][C]0.27271[/C][/ROW]
[ROW][C]`Yt-4

`[/C][C]-0.0652551152233573[/C][C]0.088219[/C][C]-0.7397[/C][C]0.464029[/C][C]0.232014[/C][/ROW]
[ROW][C]M1[/C][C]-87.0424548307653[/C][C]166.077139[/C][C]-0.5241[/C][C]0.603247[/C][C]0.301623[/C][/ROW]
[ROW][C]M2[/C][C]-1.31472901234750[/C][C]165.272061[/C][C]-0.008[/C][C]0.993695[/C][C]0.496847[/C][/ROW]
[ROW][C]M3[/C][C]-35.8724720751150[/C][C]167.817992[/C][C]-0.2138[/C][C]0.831878[/C][C]0.415939[/C][/ROW]
[ROW][C]M4[/C][C]-180.493075859543[/C][C]163.893165[/C][C]-1.1013[/C][C]0.2777[/C][C]0.13885[/C][/ROW]
[ROW][C]M5[/C][C]-233.770413585435[/C][C]162.897906[/C][C]-1.4351[/C][C]0.159446[/C][C]0.079723[/C][/ROW]
[ROW][C]M6[/C][C]-241.721782476039[/C][C]172.246312[/C][C]-1.4033[/C][C]0.168632[/C][C]0.084316[/C][/ROW]
[ROW][C]M7[/C][C]-240.130841473458[/C][C]169.612838[/C][C]-1.4158[/C][C]0.164991[/C][C]0.082495[/C][/ROW]
[ROW][C]M8[/C][C]-210.279668566981[/C][C]161.063394[/C][C]-1.3056[/C][C]0.199548[/C][C]0.099774[/C][/ROW]
[ROW][C]M9[/C][C]-103.591023428529[/C][C]168.786037[/C][C]-0.6137[/C][C]0.543043[/C][C]0.271521[/C][/ROW]
[ROW][C]M10[/C][C]-107.571987999933[/C][C]174.960958[/C][C]-0.6148[/C][C]0.542329[/C][C]0.271164[/C][/ROW]
[ROW][C]M11[/C][C]-139.295890813598[/C][C]174.583954[/C][C]-0.7979[/C][C]0.429902[/C][C]0.214951[/C][/ROW]
[ROW][C]t[/C][C]-9.13867789192095[/C][C]2.1489[/C][C]-4.2527[/C][C]0.000132[/C][C]6.6e-05[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=61939&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=61939&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)-999.997265120483287.492303-3.47830.0012810.000641
Y0.5645266058500220.0850756.635600
`Yt-1`-0.01230802706227910.134495-0.09150.9275660.463783
`Yt-2`0.0290813524460260.1364140.21320.8323220.416161
`Yt-3`-0.08277795798975040.135677-0.61010.545420.27271
`Yt-4 `-0.06525511522335730.088219-0.73970.4640290.232014
M1-87.0424548307653166.077139-0.52410.6032470.301623
M2-1.31472901234750165.272061-0.0080.9936950.496847
M3-35.8724720751150167.817992-0.21380.8318780.415939
M4-180.493075859543163.893165-1.10130.27770.13885
M5-233.770413585435162.897906-1.43510.1594460.079723
M6-241.721782476039172.246312-1.40330.1686320.084316
M7-240.130841473458169.612838-1.41580.1649910.082495
M8-210.279668566981161.063394-1.30560.1995480.099774
M9-103.591023428529168.786037-0.61370.5430430.271521
M10-107.571987999933174.960958-0.61480.5423290.271164
M11-139.295890813598174.583954-0.79790.4299020.214951
t-9.138677891920952.1489-4.25270.0001326.6e-05







Multiple Linear Regression - Regression Statistics
Multiple R0.974162571371517
R-squared0.948992715461167
Adjusted R-squared0.926173667114847
F-TEST (value)41.587742882985
F-TEST (DF numerator)17
F-TEST (DF denominator)38
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation235.970880547297
Sum Squared Residuals2115925.74571814

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.974162571371517 \tabularnewline
R-squared & 0.948992715461167 \tabularnewline
Adjusted R-squared & 0.926173667114847 \tabularnewline
F-TEST (value) & 41.587742882985 \tabularnewline
F-TEST (DF numerator) & 17 \tabularnewline
F-TEST (DF denominator) & 38 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 235.970880547297 \tabularnewline
Sum Squared Residuals & 2115925.74571814 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=61939&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.974162571371517[/C][/ROW]
[ROW][C]R-squared[/C][C]0.948992715461167[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.926173667114847[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]41.587742882985[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]17[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]38[/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]235.970880547297[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]2115925.74571814[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=61939&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=61939&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.974162571371517
R-squared0.948992715461167
Adjusted R-squared0.926173667114847
F-TEST (value)41.587742882985
F-TEST (DF numerator)17
F-TEST (DF denominator)38
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation235.970880547297
Sum Squared Residuals2115925.74571814







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
13080.583623.83751418869-543.257514188694
23106.223622.29180866268-516.071808662677
33119.313353.30376157706-233.993761577058
43061.263249.78257227101-188.522572271015
53097.313227.83206474094-130.522064740940
63161.693281.0285179707-119.338517970700
73257.163299.20770147416-42.0477014741554
83277.013294.05765006429-17.0476500642849
93295.323262.5770266613132.7429733386929
103363.993456.22486454377-92.2348645437679
113494.173480.7934281841213.3765718158770
123667.033663.978777244083.05122275591673
133813.063609.70970720247203.350292797532
143917.963749.69142689593168.268573104068
153895.513744.63026210132150.879737898676
163801.063639.76381059348161.296189406521
173570.123368.20304435369201.916955646312
183701.613361.34950360229340.260496397713
193862.273453.98832038432408.281679615683
203970.13650.39670002811319.703299971888
214138.524012.13721347969126.382786520313
224199.754106.3172215459693.4327784540413
234290.894146.6149129186144.2750870814
244443.914303.64195720389140.268042796114
254502.644231.93219609917270.707803900827
264356.984075.67967124113281.300328758866
274591.274290.65453251765300.61546748235
284696.964470.31909946695226.640900533054
294621.44477.21920043068144.180799569318
304562.844570.65104131696-7.8110413169625
314202.524232.29095539348-29.7709553934827
324296.494394.85633022535-98.3663302253485
334435.234649.13915955244-213.909159552437
344105.184268.7653319519-163.585331951902
354116.684365.00261910298-248.32261910298
363844.493932.56183304313-88.0718330431305
373720.983821.73351096514-100.753510965144
383674.43775.74604924036-101.346049240355
393857.624051.06814500642-193.44814500642
403801.064039.54165867668-238.481658676682
413504.373588.40813016654-84.038130166543
423032.63147.04862758206-114.448627582061
433047.033201.09123443071-154.061234430710
442962.343015.05805741985-52.7180574198503
452197.822143.0366003065754.7833996934314
462014.451852.06258195837162.387418041628
471862.831772.1590397943090.6709602057027
481905.411960.6574325089-55.2474325089004
491810.991641.03707154452169.952928455480
501670.071502.2210439599167.848956040099
511864.441888.49329879755-24.0532987975484
522052.022012.9528589918839.0671410081221
532029.62161.13756030815-131.537560308147
542070.832169.49230952799-98.662309527989
552293.412475.81178831734-182.401788317335
562443.272594.84126226240-151.571262262404

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 3080.58 & 3623.83751418869 & -543.257514188694 \tabularnewline
2 & 3106.22 & 3622.29180866268 & -516.071808662677 \tabularnewline
3 & 3119.31 & 3353.30376157706 & -233.993761577058 \tabularnewline
4 & 3061.26 & 3249.78257227101 & -188.522572271015 \tabularnewline
5 & 3097.31 & 3227.83206474094 & -130.522064740940 \tabularnewline
6 & 3161.69 & 3281.0285179707 & -119.338517970700 \tabularnewline
7 & 3257.16 & 3299.20770147416 & -42.0477014741554 \tabularnewline
8 & 3277.01 & 3294.05765006429 & -17.0476500642849 \tabularnewline
9 & 3295.32 & 3262.57702666131 & 32.7429733386929 \tabularnewline
10 & 3363.99 & 3456.22486454377 & -92.2348645437679 \tabularnewline
11 & 3494.17 & 3480.79342818412 & 13.3765718158770 \tabularnewline
12 & 3667.03 & 3663.97877724408 & 3.05122275591673 \tabularnewline
13 & 3813.06 & 3609.70970720247 & 203.350292797532 \tabularnewline
14 & 3917.96 & 3749.69142689593 & 168.268573104068 \tabularnewline
15 & 3895.51 & 3744.63026210132 & 150.879737898676 \tabularnewline
16 & 3801.06 & 3639.76381059348 & 161.296189406521 \tabularnewline
17 & 3570.12 & 3368.20304435369 & 201.916955646312 \tabularnewline
18 & 3701.61 & 3361.34950360229 & 340.260496397713 \tabularnewline
19 & 3862.27 & 3453.98832038432 & 408.281679615683 \tabularnewline
20 & 3970.1 & 3650.39670002811 & 319.703299971888 \tabularnewline
21 & 4138.52 & 4012.13721347969 & 126.382786520313 \tabularnewline
22 & 4199.75 & 4106.31722154596 & 93.4327784540413 \tabularnewline
23 & 4290.89 & 4146.6149129186 & 144.2750870814 \tabularnewline
24 & 4443.91 & 4303.64195720389 & 140.268042796114 \tabularnewline
25 & 4502.64 & 4231.93219609917 & 270.707803900827 \tabularnewline
26 & 4356.98 & 4075.67967124113 & 281.300328758866 \tabularnewline
27 & 4591.27 & 4290.65453251765 & 300.61546748235 \tabularnewline
28 & 4696.96 & 4470.31909946695 & 226.640900533054 \tabularnewline
29 & 4621.4 & 4477.21920043068 & 144.180799569318 \tabularnewline
30 & 4562.84 & 4570.65104131696 & -7.8110413169625 \tabularnewline
31 & 4202.52 & 4232.29095539348 & -29.7709553934827 \tabularnewline
32 & 4296.49 & 4394.85633022535 & -98.3663302253485 \tabularnewline
33 & 4435.23 & 4649.13915955244 & -213.909159552437 \tabularnewline
34 & 4105.18 & 4268.7653319519 & -163.585331951902 \tabularnewline
35 & 4116.68 & 4365.00261910298 & -248.32261910298 \tabularnewline
36 & 3844.49 & 3932.56183304313 & -88.0718330431305 \tabularnewline
37 & 3720.98 & 3821.73351096514 & -100.753510965144 \tabularnewline
38 & 3674.4 & 3775.74604924036 & -101.346049240355 \tabularnewline
39 & 3857.62 & 4051.06814500642 & -193.44814500642 \tabularnewline
40 & 3801.06 & 4039.54165867668 & -238.481658676682 \tabularnewline
41 & 3504.37 & 3588.40813016654 & -84.038130166543 \tabularnewline
42 & 3032.6 & 3147.04862758206 & -114.448627582061 \tabularnewline
43 & 3047.03 & 3201.09123443071 & -154.061234430710 \tabularnewline
44 & 2962.34 & 3015.05805741985 & -52.7180574198503 \tabularnewline
45 & 2197.82 & 2143.03660030657 & 54.7833996934314 \tabularnewline
46 & 2014.45 & 1852.06258195837 & 162.387418041628 \tabularnewline
47 & 1862.83 & 1772.15903979430 & 90.6709602057027 \tabularnewline
48 & 1905.41 & 1960.6574325089 & -55.2474325089004 \tabularnewline
49 & 1810.99 & 1641.03707154452 & 169.952928455480 \tabularnewline
50 & 1670.07 & 1502.2210439599 & 167.848956040099 \tabularnewline
51 & 1864.44 & 1888.49329879755 & -24.0532987975484 \tabularnewline
52 & 2052.02 & 2012.95285899188 & 39.0671410081221 \tabularnewline
53 & 2029.6 & 2161.13756030815 & -131.537560308147 \tabularnewline
54 & 2070.83 & 2169.49230952799 & -98.662309527989 \tabularnewline
55 & 2293.41 & 2475.81178831734 & -182.401788317335 \tabularnewline
56 & 2443.27 & 2594.84126226240 & -151.571262262404 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=61939&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]3080.58[/C][C]3623.83751418869[/C][C]-543.257514188694[/C][/ROW]
[ROW][C]2[/C][C]3106.22[/C][C]3622.29180866268[/C][C]-516.071808662677[/C][/ROW]
[ROW][C]3[/C][C]3119.31[/C][C]3353.30376157706[/C][C]-233.993761577058[/C][/ROW]
[ROW][C]4[/C][C]3061.26[/C][C]3249.78257227101[/C][C]-188.522572271015[/C][/ROW]
[ROW][C]5[/C][C]3097.31[/C][C]3227.83206474094[/C][C]-130.522064740940[/C][/ROW]
[ROW][C]6[/C][C]3161.69[/C][C]3281.0285179707[/C][C]-119.338517970700[/C][/ROW]
[ROW][C]7[/C][C]3257.16[/C][C]3299.20770147416[/C][C]-42.0477014741554[/C][/ROW]
[ROW][C]8[/C][C]3277.01[/C][C]3294.05765006429[/C][C]-17.0476500642849[/C][/ROW]
[ROW][C]9[/C][C]3295.32[/C][C]3262.57702666131[/C][C]32.7429733386929[/C][/ROW]
[ROW][C]10[/C][C]3363.99[/C][C]3456.22486454377[/C][C]-92.2348645437679[/C][/ROW]
[ROW][C]11[/C][C]3494.17[/C][C]3480.79342818412[/C][C]13.3765718158770[/C][/ROW]
[ROW][C]12[/C][C]3667.03[/C][C]3663.97877724408[/C][C]3.05122275591673[/C][/ROW]
[ROW][C]13[/C][C]3813.06[/C][C]3609.70970720247[/C][C]203.350292797532[/C][/ROW]
[ROW][C]14[/C][C]3917.96[/C][C]3749.69142689593[/C][C]168.268573104068[/C][/ROW]
[ROW][C]15[/C][C]3895.51[/C][C]3744.63026210132[/C][C]150.879737898676[/C][/ROW]
[ROW][C]16[/C][C]3801.06[/C][C]3639.76381059348[/C][C]161.296189406521[/C][/ROW]
[ROW][C]17[/C][C]3570.12[/C][C]3368.20304435369[/C][C]201.916955646312[/C][/ROW]
[ROW][C]18[/C][C]3701.61[/C][C]3361.34950360229[/C][C]340.260496397713[/C][/ROW]
[ROW][C]19[/C][C]3862.27[/C][C]3453.98832038432[/C][C]408.281679615683[/C][/ROW]
[ROW][C]20[/C][C]3970.1[/C][C]3650.39670002811[/C][C]319.703299971888[/C][/ROW]
[ROW][C]21[/C][C]4138.52[/C][C]4012.13721347969[/C][C]126.382786520313[/C][/ROW]
[ROW][C]22[/C][C]4199.75[/C][C]4106.31722154596[/C][C]93.4327784540413[/C][/ROW]
[ROW][C]23[/C][C]4290.89[/C][C]4146.6149129186[/C][C]144.2750870814[/C][/ROW]
[ROW][C]24[/C][C]4443.91[/C][C]4303.64195720389[/C][C]140.268042796114[/C][/ROW]
[ROW][C]25[/C][C]4502.64[/C][C]4231.93219609917[/C][C]270.707803900827[/C][/ROW]
[ROW][C]26[/C][C]4356.98[/C][C]4075.67967124113[/C][C]281.300328758866[/C][/ROW]
[ROW][C]27[/C][C]4591.27[/C][C]4290.65453251765[/C][C]300.61546748235[/C][/ROW]
[ROW][C]28[/C][C]4696.96[/C][C]4470.31909946695[/C][C]226.640900533054[/C][/ROW]
[ROW][C]29[/C][C]4621.4[/C][C]4477.21920043068[/C][C]144.180799569318[/C][/ROW]
[ROW][C]30[/C][C]4562.84[/C][C]4570.65104131696[/C][C]-7.8110413169625[/C][/ROW]
[ROW][C]31[/C][C]4202.52[/C][C]4232.29095539348[/C][C]-29.7709553934827[/C][/ROW]
[ROW][C]32[/C][C]4296.49[/C][C]4394.85633022535[/C][C]-98.3663302253485[/C][/ROW]
[ROW][C]33[/C][C]4435.23[/C][C]4649.13915955244[/C][C]-213.909159552437[/C][/ROW]
[ROW][C]34[/C][C]4105.18[/C][C]4268.7653319519[/C][C]-163.585331951902[/C][/ROW]
[ROW][C]35[/C][C]4116.68[/C][C]4365.00261910298[/C][C]-248.32261910298[/C][/ROW]
[ROW][C]36[/C][C]3844.49[/C][C]3932.56183304313[/C][C]-88.0718330431305[/C][/ROW]
[ROW][C]37[/C][C]3720.98[/C][C]3821.73351096514[/C][C]-100.753510965144[/C][/ROW]
[ROW][C]38[/C][C]3674.4[/C][C]3775.74604924036[/C][C]-101.346049240355[/C][/ROW]
[ROW][C]39[/C][C]3857.62[/C][C]4051.06814500642[/C][C]-193.44814500642[/C][/ROW]
[ROW][C]40[/C][C]3801.06[/C][C]4039.54165867668[/C][C]-238.481658676682[/C][/ROW]
[ROW][C]41[/C][C]3504.37[/C][C]3588.40813016654[/C][C]-84.038130166543[/C][/ROW]
[ROW][C]42[/C][C]3032.6[/C][C]3147.04862758206[/C][C]-114.448627582061[/C][/ROW]
[ROW][C]43[/C][C]3047.03[/C][C]3201.09123443071[/C][C]-154.061234430710[/C][/ROW]
[ROW][C]44[/C][C]2962.34[/C][C]3015.05805741985[/C][C]-52.7180574198503[/C][/ROW]
[ROW][C]45[/C][C]2197.82[/C][C]2143.03660030657[/C][C]54.7833996934314[/C][/ROW]
[ROW][C]46[/C][C]2014.45[/C][C]1852.06258195837[/C][C]162.387418041628[/C][/ROW]
[ROW][C]47[/C][C]1862.83[/C][C]1772.15903979430[/C][C]90.6709602057027[/C][/ROW]
[ROW][C]48[/C][C]1905.41[/C][C]1960.6574325089[/C][C]-55.2474325089004[/C][/ROW]
[ROW][C]49[/C][C]1810.99[/C][C]1641.03707154452[/C][C]169.952928455480[/C][/ROW]
[ROW][C]50[/C][C]1670.07[/C][C]1502.2210439599[/C][C]167.848956040099[/C][/ROW]
[ROW][C]51[/C][C]1864.44[/C][C]1888.49329879755[/C][C]-24.0532987975484[/C][/ROW]
[ROW][C]52[/C][C]2052.02[/C][C]2012.95285899188[/C][C]39.0671410081221[/C][/ROW]
[ROW][C]53[/C][C]2029.6[/C][C]2161.13756030815[/C][C]-131.537560308147[/C][/ROW]
[ROW][C]54[/C][C]2070.83[/C][C]2169.49230952799[/C][C]-98.662309527989[/C][/ROW]
[ROW][C]55[/C][C]2293.41[/C][C]2475.81178831734[/C][C]-182.401788317335[/C][/ROW]
[ROW][C]56[/C][C]2443.27[/C][C]2594.84126226240[/C][C]-151.571262262404[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=61939&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=61939&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
13080.583623.83751418869-543.257514188694
23106.223622.29180866268-516.071808662677
33119.313353.30376157706-233.993761577058
43061.263249.78257227101-188.522572271015
53097.313227.83206474094-130.522064740940
63161.693281.0285179707-119.338517970700
73257.163299.20770147416-42.0477014741554
83277.013294.05765006429-17.0476500642849
93295.323262.5770266613132.7429733386929
103363.993456.22486454377-92.2348645437679
113494.173480.7934281841213.3765718158770
123667.033663.978777244083.05122275591673
133813.063609.70970720247203.350292797532
143917.963749.69142689593168.268573104068
153895.513744.63026210132150.879737898676
163801.063639.76381059348161.296189406521
173570.123368.20304435369201.916955646312
183701.613361.34950360229340.260496397713
193862.273453.98832038432408.281679615683
203970.13650.39670002811319.703299971888
214138.524012.13721347969126.382786520313
224199.754106.3172215459693.4327784540413
234290.894146.6149129186144.2750870814
244443.914303.64195720389140.268042796114
254502.644231.93219609917270.707803900827
264356.984075.67967124113281.300328758866
274591.274290.65453251765300.61546748235
284696.964470.31909946695226.640900533054
294621.44477.21920043068144.180799569318
304562.844570.65104131696-7.8110413169625
314202.524232.29095539348-29.7709553934827
324296.494394.85633022535-98.3663302253485
334435.234649.13915955244-213.909159552437
344105.184268.7653319519-163.585331951902
354116.684365.00261910298-248.32261910298
363844.493932.56183304313-88.0718330431305
373720.983821.73351096514-100.753510965144
383674.43775.74604924036-101.346049240355
393857.624051.06814500642-193.44814500642
403801.064039.54165867668-238.481658676682
413504.373588.40813016654-84.038130166543
423032.63147.04862758206-114.448627582061
433047.033201.09123443071-154.061234430710
442962.343015.05805741985-52.7180574198503
452197.822143.0366003065754.7833996934314
462014.451852.06258195837162.387418041628
471862.831772.1590397943090.6709602057027
481905.411960.6574325089-55.2474325089004
491810.991641.03707154452169.952928455480
501670.071502.2210439599167.848956040099
511864.441888.49329879755-24.0532987975484
522052.022012.9528589918839.0671410081221
532029.62161.13756030815-131.537560308147
542070.832169.49230952799-98.662309527989
552293.412475.81178831734-182.401788317335
562443.272594.84126226240-151.571262262404







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
210.1183703479296800.2367406958593600.88162965207032
220.4620087881903910.9240175763807830.537991211809609
230.5563268004709460.887346399058110.443673199529054
240.5261045192082530.9477909615834950.473895480791747
250.4147463656439730.8294927312879460.585253634356027
260.3185888556572290.6371777113144580.681411144342771
270.2937545271245680.5875090542491350.706245472875432
280.3025049296349890.6050098592699790.697495070365010
290.4428057857666510.8856115715333020.557194214233349
300.6531269263729020.6937461472541960.346873073627098
310.8275161101725390.3449677796549220.172483889827461
320.8295171059690250.3409657880619490.170482894030975
330.876843880024420.246312239951160.12315611997558
340.8439809126660620.3120381746678770.156019087333938
350.809331208464370.381337583071260.19066879153563

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
21 & 0.118370347929680 & 0.236740695859360 & 0.88162965207032 \tabularnewline
22 & 0.462008788190391 & 0.924017576380783 & 0.537991211809609 \tabularnewline
23 & 0.556326800470946 & 0.88734639905811 & 0.443673199529054 \tabularnewline
24 & 0.526104519208253 & 0.947790961583495 & 0.473895480791747 \tabularnewline
25 & 0.414746365643973 & 0.829492731287946 & 0.585253634356027 \tabularnewline
26 & 0.318588855657229 & 0.637177711314458 & 0.681411144342771 \tabularnewline
27 & 0.293754527124568 & 0.587509054249135 & 0.706245472875432 \tabularnewline
28 & 0.302504929634989 & 0.605009859269979 & 0.697495070365010 \tabularnewline
29 & 0.442805785766651 & 0.885611571533302 & 0.557194214233349 \tabularnewline
30 & 0.653126926372902 & 0.693746147254196 & 0.346873073627098 \tabularnewline
31 & 0.827516110172539 & 0.344967779654922 & 0.172483889827461 \tabularnewline
32 & 0.829517105969025 & 0.340965788061949 & 0.170482894030975 \tabularnewline
33 & 0.87684388002442 & 0.24631223995116 & 0.12315611997558 \tabularnewline
34 & 0.843980912666062 & 0.312038174667877 & 0.156019087333938 \tabularnewline
35 & 0.80933120846437 & 0.38133758307126 & 0.19066879153563 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=61939&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]21[/C][C]0.118370347929680[/C][C]0.236740695859360[/C][C]0.88162965207032[/C][/ROW]
[ROW][C]22[/C][C]0.462008788190391[/C][C]0.924017576380783[/C][C]0.537991211809609[/C][/ROW]
[ROW][C]23[/C][C]0.556326800470946[/C][C]0.88734639905811[/C][C]0.443673199529054[/C][/ROW]
[ROW][C]24[/C][C]0.526104519208253[/C][C]0.947790961583495[/C][C]0.473895480791747[/C][/ROW]
[ROW][C]25[/C][C]0.414746365643973[/C][C]0.829492731287946[/C][C]0.585253634356027[/C][/ROW]
[ROW][C]26[/C][C]0.318588855657229[/C][C]0.637177711314458[/C][C]0.681411144342771[/C][/ROW]
[ROW][C]27[/C][C]0.293754527124568[/C][C]0.587509054249135[/C][C]0.706245472875432[/C][/ROW]
[ROW][C]28[/C][C]0.302504929634989[/C][C]0.605009859269979[/C][C]0.697495070365010[/C][/ROW]
[ROW][C]29[/C][C]0.442805785766651[/C][C]0.885611571533302[/C][C]0.557194214233349[/C][/ROW]
[ROW][C]30[/C][C]0.653126926372902[/C][C]0.693746147254196[/C][C]0.346873073627098[/C][/ROW]
[ROW][C]31[/C][C]0.827516110172539[/C][C]0.344967779654922[/C][C]0.172483889827461[/C][/ROW]
[ROW][C]32[/C][C]0.829517105969025[/C][C]0.340965788061949[/C][C]0.170482894030975[/C][/ROW]
[ROW][C]33[/C][C]0.87684388002442[/C][C]0.24631223995116[/C][C]0.12315611997558[/C][/ROW]
[ROW][C]34[/C][C]0.843980912666062[/C][C]0.312038174667877[/C][C]0.156019087333938[/C][/ROW]
[ROW][C]35[/C][C]0.80933120846437[/C][C]0.38133758307126[/C][C]0.19066879153563[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=61939&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=61939&T=5

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
210.1183703479296800.2367406958593600.88162965207032
220.4620087881903910.9240175763807830.537991211809609
230.5563268004709460.887346399058110.443673199529054
240.5261045192082530.9477909615834950.473895480791747
250.4147463656439730.8294927312879460.585253634356027
260.3185888556572290.6371777113144580.681411144342771
270.2937545271245680.5875090542491350.706245472875432
280.3025049296349890.6050098592699790.697495070365010
290.4428057857666510.8856115715333020.557194214233349
300.6531269263729020.6937461472541960.346873073627098
310.8275161101725390.3449677796549220.172483889827461
320.8295171059690250.3409657880619490.170482894030975
330.876843880024420.246312239951160.12315611997558
340.8439809126660620.3120381746678770.156019087333938
350.809331208464370.381337583071260.19066879153563







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level00OK
10% type I error level00OK

\begin{tabular}{lllllllll}
\hline
Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
Description & # significant tests & % significant tests & OK/NOK \tabularnewline
1% type I error level & 0 & 0 & OK \tabularnewline
5% type I error level & 0 & 0 & OK \tabularnewline
10% type I error level & 0 & 0 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=61939&T=6

[TABLE]
[ROW][C]Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]Description[/C][C]# significant tests[/C][C]% significant tests[/C][C]OK/NOK[/C][/ROW]
[ROW][C]1% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=61939&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=61939&T=6

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level00OK
10% type I error level00OK



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 2 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
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))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
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')
qqline(mysum$resid)
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()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
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')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,gqarr[mypoint-kp3+1,1])
a<-table.element(a,gqarr[mypoint-kp3+1,2])
a<-table.element(a,gqarr[mypoint-kp3+1,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,numsignificant1)
a<-table.element(a,numsignificant1/numgqtests)
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,numsignificant5)
a<-table.element(a,numsignificant5/numgqtests)
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,numsignificant10)
a<-table.element(a,numsignificant10/numgqtests)
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}