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, 19 Nov 2012 10:56:31 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2012/Nov/19/t1353340667in6g2ii4b83ablu.htm/, Retrieved Sat, 27 Apr 2024 16:43:46 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=190612, Retrieved Sat, 27 Apr 2024 16:43:46 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact137
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Werkeloosheid ver...] [2012-11-15 17:53:40] [8ab8078357d7493428921287469fd527]
- R  D    [Multiple Regression] [] [2012-11-19 15:56:31] [eace0511beeaae09dbb51bfebd62c02b] [Current]
Feedback Forum

Post a new message
Dataseries X:
277	52	99	104	172	79	8909	201
232	50	81	125	183	93	8841	201,2
256	59	95	98	162	68	8733	213,9
242	52	93	100	179	77	8885	209,7
302	66	109	93	162	78	8933	202,4
282	62	103	123	206	95	8854	187,8
288	59	101	116	194	88	8748	173,7
321	70	121	124	198	88	8827	172,3
316	74	112	126	219	102	8850	148
396	84	151	126	212	103	8761	129,8
362	71	142	156	265	131	8617	129,8
392	81	144	141	234	127	8758	117,9
414	92	154	163	259	133	8806	112,1
417	89	164	164	287	127	8710	94
476	100	188	156	278	138	8681	102,4
488	103	189	180	317	158	8819	115,8
489	97	188	187	320	167	8834	122,9
467	107	185	194	326	162	8742	120,9
460	93	188	168	316	149	8766	128,4
482	97	200	170	306	153	8902	148,8
510	100	211	177	315	166	8980	141,3
493	89	202	189	329	179	9031	163,7
476	102	198	194	316	176	8984	165,3
448	96	189	170	316	159	9150	187,3
410	81	174	156	297	151	9231	209,7
466	91	199	148	266	143	9230	230,1
417	84	175	167	296	169	9194	230,3
387	78	160	150	275	141	9307	234,9
370	70	160	141	252	134	9336	238,3
344	67	145	134	239	130	9310	246,8
396	76	172	127	231	112	9236	249,3
349	65	147	142	256	141	9244	247
326	66	138	132	232	116	9222	244,9
303	62	122	118	230	95	9186	246,7
300	66	118	115	205	98	9095	197,4
329	68	133	113	195	104	9216	153,9
304	59	118	123	207	121	9237	128,4
286	68	112	123	197	106	9207	130,7
281	68	109	103	194	90	9189	125,4
377	84	152	101	181	99	9183	115,6
344	75	141	135	246	130	9277	117,5
369	79	144	122	220	123	9305	125,3
390	92	152	142	234	133	9268	128,3
406	88	172	140	264	126	9259	134,7
426	98	168	138	266	137	9197	134,7
467	104	185	153	282	142	9293	134,1
437	95	174	172	312	153	9270	122,7
410	99	159	160	297	138	9395	117,8
390	93	155	146	269	139	9316	109,1
418	102	171	136	252	137	9237	108
398	91	161	139	265	152	9207	134,7
422	105	173	139	246	151	9189	134,7
439	100	179	140	263	158	9183	134,1
419	99	171	150	274	162	9277	122,7
484	111	202	142	262	156	9305	117,8
491	110	199	130	298	186	9268	109,1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time7 seconds
R Server'Gwilym Jenkins' @ jenkins.wessa.net

\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 & 7 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ jenkins.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=190612&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]7 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ jenkins.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=190612&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=190612&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 time7 seconds
R Server'Gwilym Jenkins' @ jenkins.wessa.net







Multiple Linear Regression - Estimated Regression Equation
werkeloosheid[t] = + 336.949180150454 + 0.736472661110573onderwijshoog[t] + 1.76602209451291onderwijsmiddelbaar[t] + 0.102367884585266onderwijslaag[t] -0.0111015113268626autochtoon[t] + 0.0445219197107632allochtonen[t] -0.0319311171143291banen[t] -0.0755745369985274vacatures[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
werkeloosheid[t] =  +  336.949180150454 +  0.736472661110573onderwijshoog[t] +  1.76602209451291onderwijsmiddelbaar[t] +  0.102367884585266onderwijslaag[t] -0.0111015113268626autochtoon[t] +  0.0445219197107632allochtonen[t] -0.0319311171143291banen[t] -0.0755745369985274vacatures[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=190612&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]werkeloosheid[t] =  +  336.949180150454 +  0.736472661110573onderwijshoog[t] +  1.76602209451291onderwijsmiddelbaar[t] +  0.102367884585266onderwijslaag[t] -0.0111015113268626autochtoon[t] +  0.0445219197107632allochtonen[t] -0.0319311171143291banen[t] -0.0755745369985274vacatures[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=190612&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=190612&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
werkeloosheid[t] = + 336.949180150454 + 0.736472661110573onderwijshoog[t] + 1.76602209451291onderwijsmiddelbaar[t] + 0.102367884585266onderwijslaag[t] -0.0111015113268626autochtoon[t] + 0.0445219197107632allochtonen[t] -0.0319311171143291banen[t] -0.0755745369985274vacatures[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)336.94918015045463.7726875.28363e-062e-06
onderwijshoog0.7364726611105730.2154053.4190.0012910.000645
onderwijsmiddelbaar1.766022094512910.11550615.289500
onderwijslaag0.1023678845852660.1583660.64640.5210980.260549
autochtoon-0.01110151132686260.10456-0.10620.9158870.457943
allochtonen0.04452191971076320.1256780.35430.72470.36235
banen-0.03193111711432910.007018-4.553.7e-051.8e-05
vacatures-0.07557453699852740.038562-1.95980.0558350.027918

\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) & 336.949180150454 & 63.772687 & 5.2836 & 3e-06 & 2e-06 \tabularnewline
onderwijshoog & 0.736472661110573 & 0.215405 & 3.419 & 0.001291 & 0.000645 \tabularnewline
onderwijsmiddelbaar & 1.76602209451291 & 0.115506 & 15.2895 & 0 & 0 \tabularnewline
onderwijslaag & 0.102367884585266 & 0.158366 & 0.6464 & 0.521098 & 0.260549 \tabularnewline
autochtoon & -0.0111015113268626 & 0.10456 & -0.1062 & 0.915887 & 0.457943 \tabularnewline
allochtonen & 0.0445219197107632 & 0.125678 & 0.3543 & 0.7247 & 0.36235 \tabularnewline
banen & -0.0319311171143291 & 0.007018 & -4.55 & 3.7e-05 & 1.8e-05 \tabularnewline
vacatures & -0.0755745369985274 & 0.038562 & -1.9598 & 0.055835 & 0.027918 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=190612&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]336.949180150454[/C][C]63.772687[/C][C]5.2836[/C][C]3e-06[/C][C]2e-06[/C][/ROW]
[ROW][C]onderwijshoog[/C][C]0.736472661110573[/C][C]0.215405[/C][C]3.419[/C][C]0.001291[/C][C]0.000645[/C][/ROW]
[ROW][C]onderwijsmiddelbaar[/C][C]1.76602209451291[/C][C]0.115506[/C][C]15.2895[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]onderwijslaag[/C][C]0.102367884585266[/C][C]0.158366[/C][C]0.6464[/C][C]0.521098[/C][C]0.260549[/C][/ROW]
[ROW][C]autochtoon[/C][C]-0.0111015113268626[/C][C]0.10456[/C][C]-0.1062[/C][C]0.915887[/C][C]0.457943[/C][/ROW]
[ROW][C]allochtonen[/C][C]0.0445219197107632[/C][C]0.125678[/C][C]0.3543[/C][C]0.7247[/C][C]0.36235[/C][/ROW]
[ROW][C]banen[/C][C]-0.0319311171143291[/C][C]0.007018[/C][C]-4.55[/C][C]3.7e-05[/C][C]1.8e-05[/C][/ROW]
[ROW][C]vacatures[/C][C]-0.0755745369985274[/C][C]0.038562[/C][C]-1.9598[/C][C]0.055835[/C][C]0.027918[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=190612&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=190612&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)336.94918015045463.7726875.28363e-062e-06
onderwijshoog0.7364726611105730.2154053.4190.0012910.000645
onderwijsmiddelbaar1.766022094512910.11550615.289500
onderwijslaag0.1023678845852660.1583660.64640.5210980.260549
autochtoon-0.01110151132686260.10456-0.10620.9158870.457943
allochtonen0.04452191971076320.1256780.35430.72470.36235
banen-0.03193111711432910.007018-4.553.7e-051.8e-05
vacatures-0.07557453699852740.038562-1.95980.0558350.027918







Multiple Linear Regression - Regression Statistics
Multiple R0.994306693815321
R-squared0.988645801365954
Adjusted R-squared0.986989980731822
F-TEST (value)597.073004760793
F-TEST (DF numerator)7
F-TEST (DF denominator)48
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation8.46070052981864
Sum Squared Residuals3436.00576585313

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.994306693815321 \tabularnewline
R-squared & 0.988645801365954 \tabularnewline
Adjusted R-squared & 0.986989980731822 \tabularnewline
F-TEST (value) & 597.073004760793 \tabularnewline
F-TEST (DF numerator) & 7 \tabularnewline
F-TEST (DF denominator) & 48 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 8.46070052981864 \tabularnewline
Sum Squared Residuals & 3436.00576585313 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=190612&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.994306693815321[/C][/ROW]
[ROW][C]R-squared[/C][C]0.988645801365954[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.986989980731822[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]597.073004760793[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]7[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]48[/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]8.46070052981864[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]3436.00576585313[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=190612&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=190612&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.994306693815321
R-squared0.988645801365954
Adjusted R-squared0.986989980731822
F-TEST (value)597.073004760793
F-TEST (DF numerator)7
F-TEST (DF denominator)48
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation8.46070052981864
Sum Squared Residuals3436.00576585313







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1277262.67117328251714.3288267174835
2232234.216947143084-2.216947143084
3256264.414425306019-8.41442530601893
4242251.607663097246-9.6076630972456
5302288.71030678377213.2896932162279
6282282.133672738722-0.133672738721927
7288279.9474994580138.05250054198733
8321321.726923751628-0.726923751627706
9316310.4755720081465.52442799185441
10396391.0547188008024.94528119919807
11362373.913726409347-11.9137264093474
12392379.83808759015212.1619124098483
13414406.746833696577.25316630343043
14417426.155317070184-9.15531707018438
15476476.702934538316-0.702934538316347
16488478.1734903411179.82650965888271
17489472.0570542460516.9429457539504
18467477.639882947714-10.6398829477138
19460468.164841295283-8.16484129528346
20482486.912483152844-4.9124831528441
21510507.8197726147842.18022738521592
22493482.15479630304110.8452036969591
23476486.567289075646-10.5672890756458
24448456.077347138291-8.0773471382906
25410412.682238662241-2.68223866224131
26466461.8567566152794.14324338472146
27417418.220837407705-1.22083740770498
28387380.6020748672496.39792513275125
29370372.549708117529-2.54970811752872
30344343.2874409732980.712559026702197
31396398.34310014283-2.34310014282975
32349348.5588371631920.441162836807647
33326332.392011511122-6.39201151112188
34303299.8573457285263.14265427147443
35300302.474704214896-2.47470421489565
36329330.035219005775-1.03521900577517
37304299.8205642171614.17943578283875
38286296.079983996019-10.0799839960194
39281289.030818993534-8.03081899353386
40377378.025829956105-1.02582995610506
41344352.96530568811-8.96530568811045
42369358.37191330521610.6280866947836
43390385.3661181082294.63388189177148
44406416.694937824331-10.694937824331
45426419.2381076434686.76189235653238
46467452.23978038217714.760219617823
47437429.8829343920857.11706560791477
48410400.9876984700549.01230152994613
49390391.607044701927-1.60704470192719
50418428.173345414142-10.1733454141417
51398402.182631374534-4.18263137453356
52422434.426680667794-12.426680667794
53439441.802676984208-2.8026769842076
54419425.87770218013-6.87770218013029
55484487.985446536424-3.98544653642443
56491483.4974459654257.50255403457484

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 277 & 262.671173282517 & 14.3288267174835 \tabularnewline
2 & 232 & 234.216947143084 & -2.216947143084 \tabularnewline
3 & 256 & 264.414425306019 & -8.41442530601893 \tabularnewline
4 & 242 & 251.607663097246 & -9.6076630972456 \tabularnewline
5 & 302 & 288.710306783772 & 13.2896932162279 \tabularnewline
6 & 282 & 282.133672738722 & -0.133672738721927 \tabularnewline
7 & 288 & 279.947499458013 & 8.05250054198733 \tabularnewline
8 & 321 & 321.726923751628 & -0.726923751627706 \tabularnewline
9 & 316 & 310.475572008146 & 5.52442799185441 \tabularnewline
10 & 396 & 391.054718800802 & 4.94528119919807 \tabularnewline
11 & 362 & 373.913726409347 & -11.9137264093474 \tabularnewline
12 & 392 & 379.838087590152 & 12.1619124098483 \tabularnewline
13 & 414 & 406.74683369657 & 7.25316630343043 \tabularnewline
14 & 417 & 426.155317070184 & -9.15531707018438 \tabularnewline
15 & 476 & 476.702934538316 & -0.702934538316347 \tabularnewline
16 & 488 & 478.173490341117 & 9.82650965888271 \tabularnewline
17 & 489 & 472.05705424605 & 16.9429457539504 \tabularnewline
18 & 467 & 477.639882947714 & -10.6398829477138 \tabularnewline
19 & 460 & 468.164841295283 & -8.16484129528346 \tabularnewline
20 & 482 & 486.912483152844 & -4.9124831528441 \tabularnewline
21 & 510 & 507.819772614784 & 2.18022738521592 \tabularnewline
22 & 493 & 482.154796303041 & 10.8452036969591 \tabularnewline
23 & 476 & 486.567289075646 & -10.5672890756458 \tabularnewline
24 & 448 & 456.077347138291 & -8.0773471382906 \tabularnewline
25 & 410 & 412.682238662241 & -2.68223866224131 \tabularnewline
26 & 466 & 461.856756615279 & 4.14324338472146 \tabularnewline
27 & 417 & 418.220837407705 & -1.22083740770498 \tabularnewline
28 & 387 & 380.602074867249 & 6.39792513275125 \tabularnewline
29 & 370 & 372.549708117529 & -2.54970811752872 \tabularnewline
30 & 344 & 343.287440973298 & 0.712559026702197 \tabularnewline
31 & 396 & 398.34310014283 & -2.34310014282975 \tabularnewline
32 & 349 & 348.558837163192 & 0.441162836807647 \tabularnewline
33 & 326 & 332.392011511122 & -6.39201151112188 \tabularnewline
34 & 303 & 299.857345728526 & 3.14265427147443 \tabularnewline
35 & 300 & 302.474704214896 & -2.47470421489565 \tabularnewline
36 & 329 & 330.035219005775 & -1.03521900577517 \tabularnewline
37 & 304 & 299.820564217161 & 4.17943578283875 \tabularnewline
38 & 286 & 296.079983996019 & -10.0799839960194 \tabularnewline
39 & 281 & 289.030818993534 & -8.03081899353386 \tabularnewline
40 & 377 & 378.025829956105 & -1.02582995610506 \tabularnewline
41 & 344 & 352.96530568811 & -8.96530568811045 \tabularnewline
42 & 369 & 358.371913305216 & 10.6280866947836 \tabularnewline
43 & 390 & 385.366118108229 & 4.63388189177148 \tabularnewline
44 & 406 & 416.694937824331 & -10.694937824331 \tabularnewline
45 & 426 & 419.238107643468 & 6.76189235653238 \tabularnewline
46 & 467 & 452.239780382177 & 14.760219617823 \tabularnewline
47 & 437 & 429.882934392085 & 7.11706560791477 \tabularnewline
48 & 410 & 400.987698470054 & 9.01230152994613 \tabularnewline
49 & 390 & 391.607044701927 & -1.60704470192719 \tabularnewline
50 & 418 & 428.173345414142 & -10.1733454141417 \tabularnewline
51 & 398 & 402.182631374534 & -4.18263137453356 \tabularnewline
52 & 422 & 434.426680667794 & -12.426680667794 \tabularnewline
53 & 439 & 441.802676984208 & -2.8026769842076 \tabularnewline
54 & 419 & 425.87770218013 & -6.87770218013029 \tabularnewline
55 & 484 & 487.985446536424 & -3.98544653642443 \tabularnewline
56 & 491 & 483.497445965425 & 7.50255403457484 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=190612&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]277[/C][C]262.671173282517[/C][C]14.3288267174835[/C][/ROW]
[ROW][C]2[/C][C]232[/C][C]234.216947143084[/C][C]-2.216947143084[/C][/ROW]
[ROW][C]3[/C][C]256[/C][C]264.414425306019[/C][C]-8.41442530601893[/C][/ROW]
[ROW][C]4[/C][C]242[/C][C]251.607663097246[/C][C]-9.6076630972456[/C][/ROW]
[ROW][C]5[/C][C]302[/C][C]288.710306783772[/C][C]13.2896932162279[/C][/ROW]
[ROW][C]6[/C][C]282[/C][C]282.133672738722[/C][C]-0.133672738721927[/C][/ROW]
[ROW][C]7[/C][C]288[/C][C]279.947499458013[/C][C]8.05250054198733[/C][/ROW]
[ROW][C]8[/C][C]321[/C][C]321.726923751628[/C][C]-0.726923751627706[/C][/ROW]
[ROW][C]9[/C][C]316[/C][C]310.475572008146[/C][C]5.52442799185441[/C][/ROW]
[ROW][C]10[/C][C]396[/C][C]391.054718800802[/C][C]4.94528119919807[/C][/ROW]
[ROW][C]11[/C][C]362[/C][C]373.913726409347[/C][C]-11.9137264093474[/C][/ROW]
[ROW][C]12[/C][C]392[/C][C]379.838087590152[/C][C]12.1619124098483[/C][/ROW]
[ROW][C]13[/C][C]414[/C][C]406.74683369657[/C][C]7.25316630343043[/C][/ROW]
[ROW][C]14[/C][C]417[/C][C]426.155317070184[/C][C]-9.15531707018438[/C][/ROW]
[ROW][C]15[/C][C]476[/C][C]476.702934538316[/C][C]-0.702934538316347[/C][/ROW]
[ROW][C]16[/C][C]488[/C][C]478.173490341117[/C][C]9.82650965888271[/C][/ROW]
[ROW][C]17[/C][C]489[/C][C]472.05705424605[/C][C]16.9429457539504[/C][/ROW]
[ROW][C]18[/C][C]467[/C][C]477.639882947714[/C][C]-10.6398829477138[/C][/ROW]
[ROW][C]19[/C][C]460[/C][C]468.164841295283[/C][C]-8.16484129528346[/C][/ROW]
[ROW][C]20[/C][C]482[/C][C]486.912483152844[/C][C]-4.9124831528441[/C][/ROW]
[ROW][C]21[/C][C]510[/C][C]507.819772614784[/C][C]2.18022738521592[/C][/ROW]
[ROW][C]22[/C][C]493[/C][C]482.154796303041[/C][C]10.8452036969591[/C][/ROW]
[ROW][C]23[/C][C]476[/C][C]486.567289075646[/C][C]-10.5672890756458[/C][/ROW]
[ROW][C]24[/C][C]448[/C][C]456.077347138291[/C][C]-8.0773471382906[/C][/ROW]
[ROW][C]25[/C][C]410[/C][C]412.682238662241[/C][C]-2.68223866224131[/C][/ROW]
[ROW][C]26[/C][C]466[/C][C]461.856756615279[/C][C]4.14324338472146[/C][/ROW]
[ROW][C]27[/C][C]417[/C][C]418.220837407705[/C][C]-1.22083740770498[/C][/ROW]
[ROW][C]28[/C][C]387[/C][C]380.602074867249[/C][C]6.39792513275125[/C][/ROW]
[ROW][C]29[/C][C]370[/C][C]372.549708117529[/C][C]-2.54970811752872[/C][/ROW]
[ROW][C]30[/C][C]344[/C][C]343.287440973298[/C][C]0.712559026702197[/C][/ROW]
[ROW][C]31[/C][C]396[/C][C]398.34310014283[/C][C]-2.34310014282975[/C][/ROW]
[ROW][C]32[/C][C]349[/C][C]348.558837163192[/C][C]0.441162836807647[/C][/ROW]
[ROW][C]33[/C][C]326[/C][C]332.392011511122[/C][C]-6.39201151112188[/C][/ROW]
[ROW][C]34[/C][C]303[/C][C]299.857345728526[/C][C]3.14265427147443[/C][/ROW]
[ROW][C]35[/C][C]300[/C][C]302.474704214896[/C][C]-2.47470421489565[/C][/ROW]
[ROW][C]36[/C][C]329[/C][C]330.035219005775[/C][C]-1.03521900577517[/C][/ROW]
[ROW][C]37[/C][C]304[/C][C]299.820564217161[/C][C]4.17943578283875[/C][/ROW]
[ROW][C]38[/C][C]286[/C][C]296.079983996019[/C][C]-10.0799839960194[/C][/ROW]
[ROW][C]39[/C][C]281[/C][C]289.030818993534[/C][C]-8.03081899353386[/C][/ROW]
[ROW][C]40[/C][C]377[/C][C]378.025829956105[/C][C]-1.02582995610506[/C][/ROW]
[ROW][C]41[/C][C]344[/C][C]352.96530568811[/C][C]-8.96530568811045[/C][/ROW]
[ROW][C]42[/C][C]369[/C][C]358.371913305216[/C][C]10.6280866947836[/C][/ROW]
[ROW][C]43[/C][C]390[/C][C]385.366118108229[/C][C]4.63388189177148[/C][/ROW]
[ROW][C]44[/C][C]406[/C][C]416.694937824331[/C][C]-10.694937824331[/C][/ROW]
[ROW][C]45[/C][C]426[/C][C]419.238107643468[/C][C]6.76189235653238[/C][/ROW]
[ROW][C]46[/C][C]467[/C][C]452.239780382177[/C][C]14.760219617823[/C][/ROW]
[ROW][C]47[/C][C]437[/C][C]429.882934392085[/C][C]7.11706560791477[/C][/ROW]
[ROW][C]48[/C][C]410[/C][C]400.987698470054[/C][C]9.01230152994613[/C][/ROW]
[ROW][C]49[/C][C]390[/C][C]391.607044701927[/C][C]-1.60704470192719[/C][/ROW]
[ROW][C]50[/C][C]418[/C][C]428.173345414142[/C][C]-10.1733454141417[/C][/ROW]
[ROW][C]51[/C][C]398[/C][C]402.182631374534[/C][C]-4.18263137453356[/C][/ROW]
[ROW][C]52[/C][C]422[/C][C]434.426680667794[/C][C]-12.426680667794[/C][/ROW]
[ROW][C]53[/C][C]439[/C][C]441.802676984208[/C][C]-2.8026769842076[/C][/ROW]
[ROW][C]54[/C][C]419[/C][C]425.87770218013[/C][C]-6.87770218013029[/C][/ROW]
[ROW][C]55[/C][C]484[/C][C]487.985446536424[/C][C]-3.98544653642443[/C][/ROW]
[ROW][C]56[/C][C]491[/C][C]483.497445965425[/C][C]7.50255403457484[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=190612&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=190612&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
1277262.67117328251714.3288267174835
2232234.216947143084-2.216947143084
3256264.414425306019-8.41442530601893
4242251.607663097246-9.6076630972456
5302288.71030678377213.2896932162279
6282282.133672738722-0.133672738721927
7288279.9474994580138.05250054198733
8321321.726923751628-0.726923751627706
9316310.4755720081465.52442799185441
10396391.0547188008024.94528119919807
11362373.913726409347-11.9137264093474
12392379.83808759015212.1619124098483
13414406.746833696577.25316630343043
14417426.155317070184-9.15531707018438
15476476.702934538316-0.702934538316347
16488478.1734903411179.82650965888271
17489472.0570542460516.9429457539504
18467477.639882947714-10.6398829477138
19460468.164841295283-8.16484129528346
20482486.912483152844-4.9124831528441
21510507.8197726147842.18022738521592
22493482.15479630304110.8452036969591
23476486.567289075646-10.5672890756458
24448456.077347138291-8.0773471382906
25410412.682238662241-2.68223866224131
26466461.8567566152794.14324338472146
27417418.220837407705-1.22083740770498
28387380.6020748672496.39792513275125
29370372.549708117529-2.54970811752872
30344343.2874409732980.712559026702197
31396398.34310014283-2.34310014282975
32349348.5588371631920.441162836807647
33326332.392011511122-6.39201151112188
34303299.8573457285263.14265427147443
35300302.474704214896-2.47470421489565
36329330.035219005775-1.03521900577517
37304299.8205642171614.17943578283875
38286296.079983996019-10.0799839960194
39281289.030818993534-8.03081899353386
40377378.025829956105-1.02582995610506
41344352.96530568811-8.96530568811045
42369358.37191330521610.6280866947836
43390385.3661181082294.63388189177148
44406416.694937824331-10.694937824331
45426419.2381076434686.76189235653238
46467452.23978038217714.760219617823
47437429.8829343920857.11706560791477
48410400.9876984700549.01230152994613
49390391.607044701927-1.60704470192719
50418428.173345414142-10.1733454141417
51398402.182631374534-4.18263137453356
52422434.426680667794-12.426680667794
53439441.802676984208-2.8026769842076
54419425.87770218013-6.87770218013029
55484487.985446536424-3.98544653642443
56491483.4974459654257.50255403457484







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
110.6554809536609270.6890380926781460.344519046339073
120.5385933912949530.9228132174100940.461406608705047
130.4707904570382590.9415809140765180.529209542961741
140.3491525644327760.6983051288655530.650847435567224
150.2747318866919720.5494637733839440.725268113308028
160.405202072862280.8104041457245590.59479792713772
170.5542953028306710.8914093943386570.445704697169329
180.5196836979490620.9606326041018770.480316302050938
190.4645888304614910.9291776609229820.535411169538509
200.5537747088429270.8924505823141450.446225291157073
210.5549971996341760.8900056007316480.445002800365824
220.6035367300662050.792926539867590.396463269933795
230.7347924353119590.5304151293760820.265207564688041
240.7483998385413590.5032003229172820.251600161458641
250.7051792111196240.5896415777607520.294820788880376
260.6461982034786610.7076035930426780.353801796521339
270.5672738154311730.8654523691376550.432726184568827
280.5049648410379090.9900703179241820.495035158962091
290.5162329476652020.9675341046695970.483767052334798
300.4487438135009780.8974876270019570.551256186499022
310.3690009530678020.7380019061356030.630999046932198
320.2876278704593220.5752557409186440.712372129540678
330.2831354177167270.5662708354334530.716864582283273
340.3127507030018040.6255014060036070.687249296998196
350.2878517544503210.5757035089006420.712148245549679
360.336803418852720.673606837705440.66319658114728
370.3456013132075910.6912026264151820.654398686792409
380.322406850292780.644813700585560.67759314970722
390.2823260778670360.5646521557340720.717673922132964
400.2741710424723210.5483420849446410.72582895752768
410.2225186068112620.4450372136225250.777481393188738
420.3303180515629690.6606361031259380.669681948437031
430.7582759681351130.4834480637297740.241724031864887
440.969649202071740.06070159585651930.0303507979282596
450.9098812304782970.1802375390434060.0901187695217032

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
11 & 0.655480953660927 & 0.689038092678146 & 0.344519046339073 \tabularnewline
12 & 0.538593391294953 & 0.922813217410094 & 0.461406608705047 \tabularnewline
13 & 0.470790457038259 & 0.941580914076518 & 0.529209542961741 \tabularnewline
14 & 0.349152564432776 & 0.698305128865553 & 0.650847435567224 \tabularnewline
15 & 0.274731886691972 & 0.549463773383944 & 0.725268113308028 \tabularnewline
16 & 0.40520207286228 & 0.810404145724559 & 0.59479792713772 \tabularnewline
17 & 0.554295302830671 & 0.891409394338657 & 0.445704697169329 \tabularnewline
18 & 0.519683697949062 & 0.960632604101877 & 0.480316302050938 \tabularnewline
19 & 0.464588830461491 & 0.929177660922982 & 0.535411169538509 \tabularnewline
20 & 0.553774708842927 & 0.892450582314145 & 0.446225291157073 \tabularnewline
21 & 0.554997199634176 & 0.890005600731648 & 0.445002800365824 \tabularnewline
22 & 0.603536730066205 & 0.79292653986759 & 0.396463269933795 \tabularnewline
23 & 0.734792435311959 & 0.530415129376082 & 0.265207564688041 \tabularnewline
24 & 0.748399838541359 & 0.503200322917282 & 0.251600161458641 \tabularnewline
25 & 0.705179211119624 & 0.589641577760752 & 0.294820788880376 \tabularnewline
26 & 0.646198203478661 & 0.707603593042678 & 0.353801796521339 \tabularnewline
27 & 0.567273815431173 & 0.865452369137655 & 0.432726184568827 \tabularnewline
28 & 0.504964841037909 & 0.990070317924182 & 0.495035158962091 \tabularnewline
29 & 0.516232947665202 & 0.967534104669597 & 0.483767052334798 \tabularnewline
30 & 0.448743813500978 & 0.897487627001957 & 0.551256186499022 \tabularnewline
31 & 0.369000953067802 & 0.738001906135603 & 0.630999046932198 \tabularnewline
32 & 0.287627870459322 & 0.575255740918644 & 0.712372129540678 \tabularnewline
33 & 0.283135417716727 & 0.566270835433453 & 0.716864582283273 \tabularnewline
34 & 0.312750703001804 & 0.625501406003607 & 0.687249296998196 \tabularnewline
35 & 0.287851754450321 & 0.575703508900642 & 0.712148245549679 \tabularnewline
36 & 0.33680341885272 & 0.67360683770544 & 0.66319658114728 \tabularnewline
37 & 0.345601313207591 & 0.691202626415182 & 0.654398686792409 \tabularnewline
38 & 0.32240685029278 & 0.64481370058556 & 0.67759314970722 \tabularnewline
39 & 0.282326077867036 & 0.564652155734072 & 0.717673922132964 \tabularnewline
40 & 0.274171042472321 & 0.548342084944641 & 0.72582895752768 \tabularnewline
41 & 0.222518606811262 & 0.445037213622525 & 0.777481393188738 \tabularnewline
42 & 0.330318051562969 & 0.660636103125938 & 0.669681948437031 \tabularnewline
43 & 0.758275968135113 & 0.483448063729774 & 0.241724031864887 \tabularnewline
44 & 0.96964920207174 & 0.0607015958565193 & 0.0303507979282596 \tabularnewline
45 & 0.909881230478297 & 0.180237539043406 & 0.0901187695217032 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=190612&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]11[/C][C]0.655480953660927[/C][C]0.689038092678146[/C][C]0.344519046339073[/C][/ROW]
[ROW][C]12[/C][C]0.538593391294953[/C][C]0.922813217410094[/C][C]0.461406608705047[/C][/ROW]
[ROW][C]13[/C][C]0.470790457038259[/C][C]0.941580914076518[/C][C]0.529209542961741[/C][/ROW]
[ROW][C]14[/C][C]0.349152564432776[/C][C]0.698305128865553[/C][C]0.650847435567224[/C][/ROW]
[ROW][C]15[/C][C]0.274731886691972[/C][C]0.549463773383944[/C][C]0.725268113308028[/C][/ROW]
[ROW][C]16[/C][C]0.40520207286228[/C][C]0.810404145724559[/C][C]0.59479792713772[/C][/ROW]
[ROW][C]17[/C][C]0.554295302830671[/C][C]0.891409394338657[/C][C]0.445704697169329[/C][/ROW]
[ROW][C]18[/C][C]0.519683697949062[/C][C]0.960632604101877[/C][C]0.480316302050938[/C][/ROW]
[ROW][C]19[/C][C]0.464588830461491[/C][C]0.929177660922982[/C][C]0.535411169538509[/C][/ROW]
[ROW][C]20[/C][C]0.553774708842927[/C][C]0.892450582314145[/C][C]0.446225291157073[/C][/ROW]
[ROW][C]21[/C][C]0.554997199634176[/C][C]0.890005600731648[/C][C]0.445002800365824[/C][/ROW]
[ROW][C]22[/C][C]0.603536730066205[/C][C]0.79292653986759[/C][C]0.396463269933795[/C][/ROW]
[ROW][C]23[/C][C]0.734792435311959[/C][C]0.530415129376082[/C][C]0.265207564688041[/C][/ROW]
[ROW][C]24[/C][C]0.748399838541359[/C][C]0.503200322917282[/C][C]0.251600161458641[/C][/ROW]
[ROW][C]25[/C][C]0.705179211119624[/C][C]0.589641577760752[/C][C]0.294820788880376[/C][/ROW]
[ROW][C]26[/C][C]0.646198203478661[/C][C]0.707603593042678[/C][C]0.353801796521339[/C][/ROW]
[ROW][C]27[/C][C]0.567273815431173[/C][C]0.865452369137655[/C][C]0.432726184568827[/C][/ROW]
[ROW][C]28[/C][C]0.504964841037909[/C][C]0.990070317924182[/C][C]0.495035158962091[/C][/ROW]
[ROW][C]29[/C][C]0.516232947665202[/C][C]0.967534104669597[/C][C]0.483767052334798[/C][/ROW]
[ROW][C]30[/C][C]0.448743813500978[/C][C]0.897487627001957[/C][C]0.551256186499022[/C][/ROW]
[ROW][C]31[/C][C]0.369000953067802[/C][C]0.738001906135603[/C][C]0.630999046932198[/C][/ROW]
[ROW][C]32[/C][C]0.287627870459322[/C][C]0.575255740918644[/C][C]0.712372129540678[/C][/ROW]
[ROW][C]33[/C][C]0.283135417716727[/C][C]0.566270835433453[/C][C]0.716864582283273[/C][/ROW]
[ROW][C]34[/C][C]0.312750703001804[/C][C]0.625501406003607[/C][C]0.687249296998196[/C][/ROW]
[ROW][C]35[/C][C]0.287851754450321[/C][C]0.575703508900642[/C][C]0.712148245549679[/C][/ROW]
[ROW][C]36[/C][C]0.33680341885272[/C][C]0.67360683770544[/C][C]0.66319658114728[/C][/ROW]
[ROW][C]37[/C][C]0.345601313207591[/C][C]0.691202626415182[/C][C]0.654398686792409[/C][/ROW]
[ROW][C]38[/C][C]0.32240685029278[/C][C]0.64481370058556[/C][C]0.67759314970722[/C][/ROW]
[ROW][C]39[/C][C]0.282326077867036[/C][C]0.564652155734072[/C][C]0.717673922132964[/C][/ROW]
[ROW][C]40[/C][C]0.274171042472321[/C][C]0.548342084944641[/C][C]0.72582895752768[/C][/ROW]
[ROW][C]41[/C][C]0.222518606811262[/C][C]0.445037213622525[/C][C]0.777481393188738[/C][/ROW]
[ROW][C]42[/C][C]0.330318051562969[/C][C]0.660636103125938[/C][C]0.669681948437031[/C][/ROW]
[ROW][C]43[/C][C]0.758275968135113[/C][C]0.483448063729774[/C][C]0.241724031864887[/C][/ROW]
[ROW][C]44[/C][C]0.96964920207174[/C][C]0.0607015958565193[/C][C]0.0303507979282596[/C][/ROW]
[ROW][C]45[/C][C]0.909881230478297[/C][C]0.180237539043406[/C][C]0.0901187695217032[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=190612&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=190612&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
110.6554809536609270.6890380926781460.344519046339073
120.5385933912949530.9228132174100940.461406608705047
130.4707904570382590.9415809140765180.529209542961741
140.3491525644327760.6983051288655530.650847435567224
150.2747318866919720.5494637733839440.725268113308028
160.405202072862280.8104041457245590.59479792713772
170.5542953028306710.8914093943386570.445704697169329
180.5196836979490620.9606326041018770.480316302050938
190.4645888304614910.9291776609229820.535411169538509
200.5537747088429270.8924505823141450.446225291157073
210.5549971996341760.8900056007316480.445002800365824
220.6035367300662050.792926539867590.396463269933795
230.7347924353119590.5304151293760820.265207564688041
240.7483998385413590.5032003229172820.251600161458641
250.7051792111196240.5896415777607520.294820788880376
260.6461982034786610.7076035930426780.353801796521339
270.5672738154311730.8654523691376550.432726184568827
280.5049648410379090.9900703179241820.495035158962091
290.5162329476652020.9675341046695970.483767052334798
300.4487438135009780.8974876270019570.551256186499022
310.3690009530678020.7380019061356030.630999046932198
320.2876278704593220.5752557409186440.712372129540678
330.2831354177167270.5662708354334530.716864582283273
340.3127507030018040.6255014060036070.687249296998196
350.2878517544503210.5757035089006420.712148245549679
360.336803418852720.673606837705440.66319658114728
370.3456013132075910.6912026264151820.654398686792409
380.322406850292780.644813700585560.67759314970722
390.2823260778670360.5646521557340720.717673922132964
400.2741710424723210.5483420849446410.72582895752768
410.2225186068112620.4450372136225250.777481393188738
420.3303180515629690.6606361031259380.669681948437031
430.7582759681351130.4834480637297740.241724031864887
440.969649202071740.06070159585651930.0303507979282596
450.9098812304782970.1802375390434060.0901187695217032







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 level10.0285714285714286OK

\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 & 1 & 0.0285714285714286 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=190612&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]1[/C][C]0.0285714285714286[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=190612&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=190612&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 level10.0285714285714286OK



Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No 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')
}