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 11:04:43 -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/t1353341108citkp6vchu367ux.htm/, Retrieved Sat, 27 Apr 2024 16:24:41 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=190617, Retrieved Sat, 27 Apr 2024 16:24:41 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact86
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 16:04:43] [eace0511beeaae09dbb51bfebd62c02b] [Current]
Feedback Forum

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




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=190617&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=190617&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=190617&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] = + 345.737281811736 + 0.779541993504779onderwijshoog[t] + 1.74114776568342onderwijsmiddelbaar[t] + 0.0839055946028946onderwijslaag[t] -0.0106306368341571autochtoon[t] + 0.0537912529222352allochtonen[t] -0.0329443072826697banen[t] -0.0756563545592138vacatures[t] + 0.00355270890608731faillietevenootschappen[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
werkeloosheid[t] =  +  345.737281811736 +  0.779541993504779onderwijshoog[t] +  1.74114776568342onderwijsmiddelbaar[t] +  0.0839055946028946onderwijslaag[t] -0.0106306368341571autochtoon[t] +  0.0537912529222352allochtonen[t] -0.0329443072826697banen[t] -0.0756563545592138vacatures[t] +  0.00355270890608731faillietevenootschappen[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=190617&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]werkeloosheid[t] =  +  345.737281811736 +  0.779541993504779onderwijshoog[t] +  1.74114776568342onderwijsmiddelbaar[t] +  0.0839055946028946onderwijslaag[t] -0.0106306368341571autochtoon[t] +  0.0537912529222352allochtonen[t] -0.0329443072826697banen[t] -0.0756563545592138vacatures[t] +  0.00355270890608731faillietevenootschappen[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=190617&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=190617&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] = + 345.737281811736 + 0.779541993504779onderwijshoog[t] + 1.74114776568342onderwijsmiddelbaar[t] + 0.0839055946028946onderwijslaag[t] -0.0106306368341571autochtoon[t] + 0.0537912529222352allochtonen[t] -0.0329443072826697banen[t] -0.0756563545592138vacatures[t] + 0.00355270890608731faillietevenootschappen[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)345.73728181173667.3413675.13415e-063e-06
onderwijshoog0.7795419935047790.2382473.2720.0020050.001003
onderwijsmiddelbaar1.741147765683420.12946613.448700
onderwijslaag0.08390559460289460.1651260.50810.6137380.306869
autochtoon-0.01063063683415710.105454-0.10080.9201320.460066
allochtonen0.05379125292223520.1284840.41870.677370.338685
banen-0.03294430728266970.007442-4.42665.7e-052.8e-05
vacatures-0.07565635455921380.03889-1.94540.0577230.028862
faillietevenootschappen0.003552708906087310.0080690.44030.6617610.33088

\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) & 345.737281811736 & 67.341367 & 5.1341 & 5e-06 & 3e-06 \tabularnewline
onderwijshoog & 0.779541993504779 & 0.238247 & 3.272 & 0.002005 & 0.001003 \tabularnewline
onderwijsmiddelbaar & 1.74114776568342 & 0.129466 & 13.4487 & 0 & 0 \tabularnewline
onderwijslaag & 0.0839055946028946 & 0.165126 & 0.5081 & 0.613738 & 0.306869 \tabularnewline
autochtoon & -0.0106306368341571 & 0.105454 & -0.1008 & 0.920132 & 0.460066 \tabularnewline
allochtonen & 0.0537912529222352 & 0.128484 & 0.4187 & 0.67737 & 0.338685 \tabularnewline
banen & -0.0329443072826697 & 0.007442 & -4.4266 & 5.7e-05 & 2.8e-05 \tabularnewline
vacatures & -0.0756563545592138 & 0.03889 & -1.9454 & 0.057723 & 0.028862 \tabularnewline
faillietevenootschappen & 0.00355270890608731 & 0.008069 & 0.4403 & 0.661761 & 0.33088 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=190617&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]345.737281811736[/C][C]67.341367[/C][C]5.1341[/C][C]5e-06[/C][C]3e-06[/C][/ROW]
[ROW][C]onderwijshoog[/C][C]0.779541993504779[/C][C]0.238247[/C][C]3.272[/C][C]0.002005[/C][C]0.001003[/C][/ROW]
[ROW][C]onderwijsmiddelbaar[/C][C]1.74114776568342[/C][C]0.129466[/C][C]13.4487[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]onderwijslaag[/C][C]0.0839055946028946[/C][C]0.165126[/C][C]0.5081[/C][C]0.613738[/C][C]0.306869[/C][/ROW]
[ROW][C]autochtoon[/C][C]-0.0106306368341571[/C][C]0.105454[/C][C]-0.1008[/C][C]0.920132[/C][C]0.460066[/C][/ROW]
[ROW][C]allochtonen[/C][C]0.0537912529222352[/C][C]0.128484[/C][C]0.4187[/C][C]0.67737[/C][C]0.338685[/C][/ROW]
[ROW][C]banen[/C][C]-0.0329443072826697[/C][C]0.007442[/C][C]-4.4266[/C][C]5.7e-05[/C][C]2.8e-05[/C][/ROW]
[ROW][C]vacatures[/C][C]-0.0756563545592138[/C][C]0.03889[/C][C]-1.9454[/C][C]0.057723[/C][C]0.028862[/C][/ROW]
[ROW][C]faillietevenootschappen[/C][C]0.00355270890608731[/C][C]0.008069[/C][C]0.4403[/C][C]0.661761[/C][C]0.33088[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=190617&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=190617&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)345.73728181173667.3413675.13415e-063e-06
onderwijshoog0.7795419935047790.2382473.2720.0020050.001003
onderwijsmiddelbaar1.741147765683420.12946613.448700
onderwijslaag0.08390559460289460.1651260.50810.6137380.306869
autochtoon-0.01063063683415710.105454-0.10080.9201320.460066
allochtonen0.05379125292223520.1284840.41870.677370.338685
banen-0.03294430728266970.007442-4.42665.7e-052.8e-05
vacatures-0.07565635455921380.03889-1.94540.0577230.028862
faillietevenootschappen0.003552708906087310.0080690.44030.6617610.33088







Multiple Linear Regression - Regression Statistics
Multiple R0.994330144262836
R-squared0.988692435789752
Adjusted R-squared0.986767744009284
F-TEST (value)513.688708926405
F-TEST (DF numerator)8
F-TEST (DF denominator)47
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation8.53265724495959
Sum Squared Residuals3421.89326401819

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.994330144262836 \tabularnewline
R-squared & 0.988692435789752 \tabularnewline
Adjusted R-squared & 0.986767744009284 \tabularnewline
F-TEST (value) & 513.688708926405 \tabularnewline
F-TEST (DF numerator) & 8 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 8.53265724495959 \tabularnewline
Sum Squared Residuals & 3421.89326401819 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=190617&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.994330144262836[/C][/ROW]
[ROW][C]R-squared[/C][C]0.988692435789752[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.986767744009284[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]513.688708926405[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]8[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/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.53265724495959[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]3421.89326401819[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=190617&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=190617&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.994330144262836
R-squared0.988692435789752
Adjusted R-squared0.986767744009284
F-TEST (value)513.688708926405
F-TEST (DF numerator)8
F-TEST (DF denominator)47
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation8.53265724495959
Sum Squared Residuals3421.89326401819







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1277261.77933294970615.2206670502938
2232233.541908625068-1.54190862506847
3256264.247044324266-8.24704432426553
4242251.259918487366-9.25991848736553
5302288.89514511748413.104854882516
6282282.022460971758-0.0224609717582293
7288280.059083278897.94091672110976
8321321.596146769462-0.596146769461985
9316310.8827566086215.11724339137896
10396390.9135528500365.08644714996365
11362373.554640665341-11.5546406653409
12392380.30569654370111.6943034562988
13414406.8215948350117.17840516498924
14417426.117353643691-9.11735364369138
15476477.004161810398-1.0041618103976
16488478.5682722191099.43172778089139
17489471.83126707444417.1687329255561
18467478.284120381431-11.2841203814305
19460468.127409718941-8.12740971894077
20482486.739820965378-4.73982096537754
21510507.9384842785462.06151572145395
22493482.04618498033810.9538150196621
23476486.591683279082-10.5916832790819
24448456.44562150658-8.44562150657954
25410413.014718703914-3.01471870391404
26466461.8787269716764.12127302832443
27417418.319238299639-1.31923829963871
28387380.7234208294546.2765791705464
29370373.161774431548-3.16177443154756
30344343.8465375221130.153462477887228
31396398.303440896684-2.30344089668394
32349348.4391836551210.56081634487856
33326332.236893709247-6.23689370924688
34303299.5119989547413.48800104525929
35300302.749977158541-2.74997715854072
36329329.981652442875-0.981652442875325
37304300.195072619333.80492738067022
38286296.767687168185-10.7676871681855
39281289.811072100899-8.81107210089851
40377378.660391090672-1.66039109067166
41344353.151757609367-9.15175760936678
42369358.59094206961310.4090579303865
43390385.7630738467114.23692615328861
44406416.25346560836-10.2534656083596
45426419.6964501700566.30354982994416
46467452.23827341795314.7617265820474
47437429.4290650173247.57093498267586
48410401.2628966443448.73710335565579
49390390.609129706732-0.609129706732383
50418427.44235633683-9.44235633683043
51398401.305528804024-3.30552880402391
52422435.477666249389-13.4776662493886
53439440.705770149015-1.70577014901535
54419424.959395290134-5.95939529013381
55484486.718564366494-2.71856436649423
56491484.220216274376.77978372562973

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 277 & 261.779332949706 & 15.2206670502938 \tabularnewline
2 & 232 & 233.541908625068 & -1.54190862506847 \tabularnewline
3 & 256 & 264.247044324266 & -8.24704432426553 \tabularnewline
4 & 242 & 251.259918487366 & -9.25991848736553 \tabularnewline
5 & 302 & 288.895145117484 & 13.104854882516 \tabularnewline
6 & 282 & 282.022460971758 & -0.0224609717582293 \tabularnewline
7 & 288 & 280.05908327889 & 7.94091672110976 \tabularnewline
8 & 321 & 321.596146769462 & -0.596146769461985 \tabularnewline
9 & 316 & 310.882756608621 & 5.11724339137896 \tabularnewline
10 & 396 & 390.913552850036 & 5.08644714996365 \tabularnewline
11 & 362 & 373.554640665341 & -11.5546406653409 \tabularnewline
12 & 392 & 380.305696543701 & 11.6943034562988 \tabularnewline
13 & 414 & 406.821594835011 & 7.17840516498924 \tabularnewline
14 & 417 & 426.117353643691 & -9.11735364369138 \tabularnewline
15 & 476 & 477.004161810398 & -1.0041618103976 \tabularnewline
16 & 488 & 478.568272219109 & 9.43172778089139 \tabularnewline
17 & 489 & 471.831267074444 & 17.1687329255561 \tabularnewline
18 & 467 & 478.284120381431 & -11.2841203814305 \tabularnewline
19 & 460 & 468.127409718941 & -8.12740971894077 \tabularnewline
20 & 482 & 486.739820965378 & -4.73982096537754 \tabularnewline
21 & 510 & 507.938484278546 & 2.06151572145395 \tabularnewline
22 & 493 & 482.046184980338 & 10.9538150196621 \tabularnewline
23 & 476 & 486.591683279082 & -10.5916832790819 \tabularnewline
24 & 448 & 456.44562150658 & -8.44562150657954 \tabularnewline
25 & 410 & 413.014718703914 & -3.01471870391404 \tabularnewline
26 & 466 & 461.878726971676 & 4.12127302832443 \tabularnewline
27 & 417 & 418.319238299639 & -1.31923829963871 \tabularnewline
28 & 387 & 380.723420829454 & 6.2765791705464 \tabularnewline
29 & 370 & 373.161774431548 & -3.16177443154756 \tabularnewline
30 & 344 & 343.846537522113 & 0.153462477887228 \tabularnewline
31 & 396 & 398.303440896684 & -2.30344089668394 \tabularnewline
32 & 349 & 348.439183655121 & 0.56081634487856 \tabularnewline
33 & 326 & 332.236893709247 & -6.23689370924688 \tabularnewline
34 & 303 & 299.511998954741 & 3.48800104525929 \tabularnewline
35 & 300 & 302.749977158541 & -2.74997715854072 \tabularnewline
36 & 329 & 329.981652442875 & -0.981652442875325 \tabularnewline
37 & 304 & 300.19507261933 & 3.80492738067022 \tabularnewline
38 & 286 & 296.767687168185 & -10.7676871681855 \tabularnewline
39 & 281 & 289.811072100899 & -8.81107210089851 \tabularnewline
40 & 377 & 378.660391090672 & -1.66039109067166 \tabularnewline
41 & 344 & 353.151757609367 & -9.15175760936678 \tabularnewline
42 & 369 & 358.590942069613 & 10.4090579303865 \tabularnewline
43 & 390 & 385.763073846711 & 4.23692615328861 \tabularnewline
44 & 406 & 416.25346560836 & -10.2534656083596 \tabularnewline
45 & 426 & 419.696450170056 & 6.30354982994416 \tabularnewline
46 & 467 & 452.238273417953 & 14.7617265820474 \tabularnewline
47 & 437 & 429.429065017324 & 7.57093498267586 \tabularnewline
48 & 410 & 401.262896644344 & 8.73710335565579 \tabularnewline
49 & 390 & 390.609129706732 & -0.609129706732383 \tabularnewline
50 & 418 & 427.44235633683 & -9.44235633683043 \tabularnewline
51 & 398 & 401.305528804024 & -3.30552880402391 \tabularnewline
52 & 422 & 435.477666249389 & -13.4776662493886 \tabularnewline
53 & 439 & 440.705770149015 & -1.70577014901535 \tabularnewline
54 & 419 & 424.959395290134 & -5.95939529013381 \tabularnewline
55 & 484 & 486.718564366494 & -2.71856436649423 \tabularnewline
56 & 491 & 484.22021627437 & 6.77978372562973 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=190617&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]261.779332949706[/C][C]15.2206670502938[/C][/ROW]
[ROW][C]2[/C][C]232[/C][C]233.541908625068[/C][C]-1.54190862506847[/C][/ROW]
[ROW][C]3[/C][C]256[/C][C]264.247044324266[/C][C]-8.24704432426553[/C][/ROW]
[ROW][C]4[/C][C]242[/C][C]251.259918487366[/C][C]-9.25991848736553[/C][/ROW]
[ROW][C]5[/C][C]302[/C][C]288.895145117484[/C][C]13.104854882516[/C][/ROW]
[ROW][C]6[/C][C]282[/C][C]282.022460971758[/C][C]-0.0224609717582293[/C][/ROW]
[ROW][C]7[/C][C]288[/C][C]280.05908327889[/C][C]7.94091672110976[/C][/ROW]
[ROW][C]8[/C][C]321[/C][C]321.596146769462[/C][C]-0.596146769461985[/C][/ROW]
[ROW][C]9[/C][C]316[/C][C]310.882756608621[/C][C]5.11724339137896[/C][/ROW]
[ROW][C]10[/C][C]396[/C][C]390.913552850036[/C][C]5.08644714996365[/C][/ROW]
[ROW][C]11[/C][C]362[/C][C]373.554640665341[/C][C]-11.5546406653409[/C][/ROW]
[ROW][C]12[/C][C]392[/C][C]380.305696543701[/C][C]11.6943034562988[/C][/ROW]
[ROW][C]13[/C][C]414[/C][C]406.821594835011[/C][C]7.17840516498924[/C][/ROW]
[ROW][C]14[/C][C]417[/C][C]426.117353643691[/C][C]-9.11735364369138[/C][/ROW]
[ROW][C]15[/C][C]476[/C][C]477.004161810398[/C][C]-1.0041618103976[/C][/ROW]
[ROW][C]16[/C][C]488[/C][C]478.568272219109[/C][C]9.43172778089139[/C][/ROW]
[ROW][C]17[/C][C]489[/C][C]471.831267074444[/C][C]17.1687329255561[/C][/ROW]
[ROW][C]18[/C][C]467[/C][C]478.284120381431[/C][C]-11.2841203814305[/C][/ROW]
[ROW][C]19[/C][C]460[/C][C]468.127409718941[/C][C]-8.12740971894077[/C][/ROW]
[ROW][C]20[/C][C]482[/C][C]486.739820965378[/C][C]-4.73982096537754[/C][/ROW]
[ROW][C]21[/C][C]510[/C][C]507.938484278546[/C][C]2.06151572145395[/C][/ROW]
[ROW][C]22[/C][C]493[/C][C]482.046184980338[/C][C]10.9538150196621[/C][/ROW]
[ROW][C]23[/C][C]476[/C][C]486.591683279082[/C][C]-10.5916832790819[/C][/ROW]
[ROW][C]24[/C][C]448[/C][C]456.44562150658[/C][C]-8.44562150657954[/C][/ROW]
[ROW][C]25[/C][C]410[/C][C]413.014718703914[/C][C]-3.01471870391404[/C][/ROW]
[ROW][C]26[/C][C]466[/C][C]461.878726971676[/C][C]4.12127302832443[/C][/ROW]
[ROW][C]27[/C][C]417[/C][C]418.319238299639[/C][C]-1.31923829963871[/C][/ROW]
[ROW][C]28[/C][C]387[/C][C]380.723420829454[/C][C]6.2765791705464[/C][/ROW]
[ROW][C]29[/C][C]370[/C][C]373.161774431548[/C][C]-3.16177443154756[/C][/ROW]
[ROW][C]30[/C][C]344[/C][C]343.846537522113[/C][C]0.153462477887228[/C][/ROW]
[ROW][C]31[/C][C]396[/C][C]398.303440896684[/C][C]-2.30344089668394[/C][/ROW]
[ROW][C]32[/C][C]349[/C][C]348.439183655121[/C][C]0.56081634487856[/C][/ROW]
[ROW][C]33[/C][C]326[/C][C]332.236893709247[/C][C]-6.23689370924688[/C][/ROW]
[ROW][C]34[/C][C]303[/C][C]299.511998954741[/C][C]3.48800104525929[/C][/ROW]
[ROW][C]35[/C][C]300[/C][C]302.749977158541[/C][C]-2.74997715854072[/C][/ROW]
[ROW][C]36[/C][C]329[/C][C]329.981652442875[/C][C]-0.981652442875325[/C][/ROW]
[ROW][C]37[/C][C]304[/C][C]300.19507261933[/C][C]3.80492738067022[/C][/ROW]
[ROW][C]38[/C][C]286[/C][C]296.767687168185[/C][C]-10.7676871681855[/C][/ROW]
[ROW][C]39[/C][C]281[/C][C]289.811072100899[/C][C]-8.81107210089851[/C][/ROW]
[ROW][C]40[/C][C]377[/C][C]378.660391090672[/C][C]-1.66039109067166[/C][/ROW]
[ROW][C]41[/C][C]344[/C][C]353.151757609367[/C][C]-9.15175760936678[/C][/ROW]
[ROW][C]42[/C][C]369[/C][C]358.590942069613[/C][C]10.4090579303865[/C][/ROW]
[ROW][C]43[/C][C]390[/C][C]385.763073846711[/C][C]4.23692615328861[/C][/ROW]
[ROW][C]44[/C][C]406[/C][C]416.25346560836[/C][C]-10.2534656083596[/C][/ROW]
[ROW][C]45[/C][C]426[/C][C]419.696450170056[/C][C]6.30354982994416[/C][/ROW]
[ROW][C]46[/C][C]467[/C][C]452.238273417953[/C][C]14.7617265820474[/C][/ROW]
[ROW][C]47[/C][C]437[/C][C]429.429065017324[/C][C]7.57093498267586[/C][/ROW]
[ROW][C]48[/C][C]410[/C][C]401.262896644344[/C][C]8.73710335565579[/C][/ROW]
[ROW][C]49[/C][C]390[/C][C]390.609129706732[/C][C]-0.609129706732383[/C][/ROW]
[ROW][C]50[/C][C]418[/C][C]427.44235633683[/C][C]-9.44235633683043[/C][/ROW]
[ROW][C]51[/C][C]398[/C][C]401.305528804024[/C][C]-3.30552880402391[/C][/ROW]
[ROW][C]52[/C][C]422[/C][C]435.477666249389[/C][C]-13.4776662493886[/C][/ROW]
[ROW][C]53[/C][C]439[/C][C]440.705770149015[/C][C]-1.70577014901535[/C][/ROW]
[ROW][C]54[/C][C]419[/C][C]424.959395290134[/C][C]-5.95939529013381[/C][/ROW]
[ROW][C]55[/C][C]484[/C][C]486.718564366494[/C][C]-2.71856436649423[/C][/ROW]
[ROW][C]56[/C][C]491[/C][C]484.22021627437[/C][C]6.77978372562973[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=190617&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=190617&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
1277261.77933294970615.2206670502938
2232233.541908625068-1.54190862506847
3256264.247044324266-8.24704432426553
4242251.259918487366-9.25991848736553
5302288.89514511748413.104854882516
6282282.022460971758-0.0224609717582293
7288280.059083278897.94091672110976
8321321.596146769462-0.596146769461985
9316310.8827566086215.11724339137896
10396390.9135528500365.08644714996365
11362373.554640665341-11.5546406653409
12392380.30569654370111.6943034562988
13414406.8215948350117.17840516498924
14417426.117353643691-9.11735364369138
15476477.004161810398-1.0041618103976
16488478.5682722191099.43172778089139
17489471.83126707444417.1687329255561
18467478.284120381431-11.2841203814305
19460468.127409718941-8.12740971894077
20482486.739820965378-4.73982096537754
21510507.9384842785462.06151572145395
22493482.04618498033810.9538150196621
23476486.591683279082-10.5916832790819
24448456.44562150658-8.44562150657954
25410413.014718703914-3.01471870391404
26466461.8787269716764.12127302832443
27417418.319238299639-1.31923829963871
28387380.7234208294546.2765791705464
29370373.161774431548-3.16177443154756
30344343.8465375221130.153462477887228
31396398.303440896684-2.30344089668394
32349348.4391836551210.56081634487856
33326332.236893709247-6.23689370924688
34303299.5119989547413.48800104525929
35300302.749977158541-2.74997715854072
36329329.981652442875-0.981652442875325
37304300.195072619333.80492738067022
38286296.767687168185-10.7676871681855
39281289.811072100899-8.81107210089851
40377378.660391090672-1.66039109067166
41344353.151757609367-9.15175760936678
42369358.59094206961310.4090579303865
43390385.7630738467114.23692615328861
44406416.25346560836-10.2534656083596
45426419.6964501700566.30354982994416
46467452.23827341795314.7617265820474
47437429.4290650173247.57093498267586
48410401.2628966443448.73710335565579
49390390.609129706732-0.609129706732383
50418427.44235633683-9.44235633683043
51398401.305528804024-3.30552880402391
52422435.477666249389-13.4776662493886
53439440.705770149015-1.70577014901535
54419424.959395290134-5.95939529013381
55484486.718564366494-2.71856436649423
56491484.220216274376.77978372562973







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
120.6374134999660620.7251730000678770.362586500033938
130.5728995988617450.854200802276510.427100401138255
140.4339297031612690.8678594063225370.566070296838731
150.3436605854023310.6873211708046610.65633941459767
160.42698286419280.85396572838560.5730171358072
170.6002627477639160.7994745044721690.399737252236085
180.58608507158530.8278298568294010.4139149284147
190.5248665818234590.9502668363530830.475133418176541
200.6195631022140010.7608737955719980.380436897785999
210.584412491775120.831175016449760.41558750822488
220.6419109843262130.7161780313475740.358089015673787
230.7677187878517720.4645624242964570.232281212148228
240.7871515034267030.4256969931465930.212848496573297
250.7509843182792980.4980313634414040.249015681720702
260.6889309422779760.6221381154440470.311069057722024
270.611562589430550.77687482113890.38843741056945
280.5456081235908060.9087837528183870.454391876409194
290.5191124995119870.9617750009760260.480887500488013
300.4387534187649170.8775068375298350.561246581235083
310.371777581431650.7435551628632990.62822241856835
320.2952779708353510.5905559416707030.704722029164649
330.3312568903281990.6625137806563980.668743109671801
340.3135070154309820.6270140308619650.686492984569018
350.2826810798337440.5653621596674890.717318920166256
360.366945269397640.7338905387952810.63305473060236
370.3485885437841040.6971770875682080.651411456215896
380.3126086713136230.6252173426272460.687391328686377
390.2536726283364390.5073452566728790.746327371663561
400.2268099151881660.4536198303763320.773190084811834
410.2200685206569920.4401370413139850.779931479343008
420.2490644063264760.4981288126529510.750935593673524
430.8415439258919670.3169121482160670.158456074108033
440.9126805879831040.1746388240337920.0873194120168961

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
12 & 0.637413499966062 & 0.725173000067877 & 0.362586500033938 \tabularnewline
13 & 0.572899598861745 & 0.85420080227651 & 0.427100401138255 \tabularnewline
14 & 0.433929703161269 & 0.867859406322537 & 0.566070296838731 \tabularnewline
15 & 0.343660585402331 & 0.687321170804661 & 0.65633941459767 \tabularnewline
16 & 0.4269828641928 & 0.8539657283856 & 0.5730171358072 \tabularnewline
17 & 0.600262747763916 & 0.799474504472169 & 0.399737252236085 \tabularnewline
18 & 0.5860850715853 & 0.827829856829401 & 0.4139149284147 \tabularnewline
19 & 0.524866581823459 & 0.950266836353083 & 0.475133418176541 \tabularnewline
20 & 0.619563102214001 & 0.760873795571998 & 0.380436897785999 \tabularnewline
21 & 0.58441249177512 & 0.83117501644976 & 0.41558750822488 \tabularnewline
22 & 0.641910984326213 & 0.716178031347574 & 0.358089015673787 \tabularnewline
23 & 0.767718787851772 & 0.464562424296457 & 0.232281212148228 \tabularnewline
24 & 0.787151503426703 & 0.425696993146593 & 0.212848496573297 \tabularnewline
25 & 0.750984318279298 & 0.498031363441404 & 0.249015681720702 \tabularnewline
26 & 0.688930942277976 & 0.622138115444047 & 0.311069057722024 \tabularnewline
27 & 0.61156258943055 & 0.7768748211389 & 0.38843741056945 \tabularnewline
28 & 0.545608123590806 & 0.908783752818387 & 0.454391876409194 \tabularnewline
29 & 0.519112499511987 & 0.961775000976026 & 0.480887500488013 \tabularnewline
30 & 0.438753418764917 & 0.877506837529835 & 0.561246581235083 \tabularnewline
31 & 0.37177758143165 & 0.743555162863299 & 0.62822241856835 \tabularnewline
32 & 0.295277970835351 & 0.590555941670703 & 0.704722029164649 \tabularnewline
33 & 0.331256890328199 & 0.662513780656398 & 0.668743109671801 \tabularnewline
34 & 0.313507015430982 & 0.627014030861965 & 0.686492984569018 \tabularnewline
35 & 0.282681079833744 & 0.565362159667489 & 0.717318920166256 \tabularnewline
36 & 0.36694526939764 & 0.733890538795281 & 0.63305473060236 \tabularnewline
37 & 0.348588543784104 & 0.697177087568208 & 0.651411456215896 \tabularnewline
38 & 0.312608671313623 & 0.625217342627246 & 0.687391328686377 \tabularnewline
39 & 0.253672628336439 & 0.507345256672879 & 0.746327371663561 \tabularnewline
40 & 0.226809915188166 & 0.453619830376332 & 0.773190084811834 \tabularnewline
41 & 0.220068520656992 & 0.440137041313985 & 0.779931479343008 \tabularnewline
42 & 0.249064406326476 & 0.498128812652951 & 0.750935593673524 \tabularnewline
43 & 0.841543925891967 & 0.316912148216067 & 0.158456074108033 \tabularnewline
44 & 0.912680587983104 & 0.174638824033792 & 0.0873194120168961 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=190617&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]12[/C][C]0.637413499966062[/C][C]0.725173000067877[/C][C]0.362586500033938[/C][/ROW]
[ROW][C]13[/C][C]0.572899598861745[/C][C]0.85420080227651[/C][C]0.427100401138255[/C][/ROW]
[ROW][C]14[/C][C]0.433929703161269[/C][C]0.867859406322537[/C][C]0.566070296838731[/C][/ROW]
[ROW][C]15[/C][C]0.343660585402331[/C][C]0.687321170804661[/C][C]0.65633941459767[/C][/ROW]
[ROW][C]16[/C][C]0.4269828641928[/C][C]0.8539657283856[/C][C]0.5730171358072[/C][/ROW]
[ROW][C]17[/C][C]0.600262747763916[/C][C]0.799474504472169[/C][C]0.399737252236085[/C][/ROW]
[ROW][C]18[/C][C]0.5860850715853[/C][C]0.827829856829401[/C][C]0.4139149284147[/C][/ROW]
[ROW][C]19[/C][C]0.524866581823459[/C][C]0.950266836353083[/C][C]0.475133418176541[/C][/ROW]
[ROW][C]20[/C][C]0.619563102214001[/C][C]0.760873795571998[/C][C]0.380436897785999[/C][/ROW]
[ROW][C]21[/C][C]0.58441249177512[/C][C]0.83117501644976[/C][C]0.41558750822488[/C][/ROW]
[ROW][C]22[/C][C]0.641910984326213[/C][C]0.716178031347574[/C][C]0.358089015673787[/C][/ROW]
[ROW][C]23[/C][C]0.767718787851772[/C][C]0.464562424296457[/C][C]0.232281212148228[/C][/ROW]
[ROW][C]24[/C][C]0.787151503426703[/C][C]0.425696993146593[/C][C]0.212848496573297[/C][/ROW]
[ROW][C]25[/C][C]0.750984318279298[/C][C]0.498031363441404[/C][C]0.249015681720702[/C][/ROW]
[ROW][C]26[/C][C]0.688930942277976[/C][C]0.622138115444047[/C][C]0.311069057722024[/C][/ROW]
[ROW][C]27[/C][C]0.61156258943055[/C][C]0.7768748211389[/C][C]0.38843741056945[/C][/ROW]
[ROW][C]28[/C][C]0.545608123590806[/C][C]0.908783752818387[/C][C]0.454391876409194[/C][/ROW]
[ROW][C]29[/C][C]0.519112499511987[/C][C]0.961775000976026[/C][C]0.480887500488013[/C][/ROW]
[ROW][C]30[/C][C]0.438753418764917[/C][C]0.877506837529835[/C][C]0.561246581235083[/C][/ROW]
[ROW][C]31[/C][C]0.37177758143165[/C][C]0.743555162863299[/C][C]0.62822241856835[/C][/ROW]
[ROW][C]32[/C][C]0.295277970835351[/C][C]0.590555941670703[/C][C]0.704722029164649[/C][/ROW]
[ROW][C]33[/C][C]0.331256890328199[/C][C]0.662513780656398[/C][C]0.668743109671801[/C][/ROW]
[ROW][C]34[/C][C]0.313507015430982[/C][C]0.627014030861965[/C][C]0.686492984569018[/C][/ROW]
[ROW][C]35[/C][C]0.282681079833744[/C][C]0.565362159667489[/C][C]0.717318920166256[/C][/ROW]
[ROW][C]36[/C][C]0.36694526939764[/C][C]0.733890538795281[/C][C]0.63305473060236[/C][/ROW]
[ROW][C]37[/C][C]0.348588543784104[/C][C]0.697177087568208[/C][C]0.651411456215896[/C][/ROW]
[ROW][C]38[/C][C]0.312608671313623[/C][C]0.625217342627246[/C][C]0.687391328686377[/C][/ROW]
[ROW][C]39[/C][C]0.253672628336439[/C][C]0.507345256672879[/C][C]0.746327371663561[/C][/ROW]
[ROW][C]40[/C][C]0.226809915188166[/C][C]0.453619830376332[/C][C]0.773190084811834[/C][/ROW]
[ROW][C]41[/C][C]0.220068520656992[/C][C]0.440137041313985[/C][C]0.779931479343008[/C][/ROW]
[ROW][C]42[/C][C]0.249064406326476[/C][C]0.498128812652951[/C][C]0.750935593673524[/C][/ROW]
[ROW][C]43[/C][C]0.841543925891967[/C][C]0.316912148216067[/C][C]0.158456074108033[/C][/ROW]
[ROW][C]44[/C][C]0.912680587983104[/C][C]0.174638824033792[/C][C]0.0873194120168961[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=190617&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=190617&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
120.6374134999660620.7251730000678770.362586500033938
130.5728995988617450.854200802276510.427100401138255
140.4339297031612690.8678594063225370.566070296838731
150.3436605854023310.6873211708046610.65633941459767
160.42698286419280.85396572838560.5730171358072
170.6002627477639160.7994745044721690.399737252236085
180.58608507158530.8278298568294010.4139149284147
190.5248665818234590.9502668363530830.475133418176541
200.6195631022140010.7608737955719980.380436897785999
210.584412491775120.831175016449760.41558750822488
220.6419109843262130.7161780313475740.358089015673787
230.7677187878517720.4645624242964570.232281212148228
240.7871515034267030.4256969931465930.212848496573297
250.7509843182792980.4980313634414040.249015681720702
260.6889309422779760.6221381154440470.311069057722024
270.611562589430550.77687482113890.38843741056945
280.5456081235908060.9087837528183870.454391876409194
290.5191124995119870.9617750009760260.480887500488013
300.4387534187649170.8775068375298350.561246581235083
310.371777581431650.7435551628632990.62822241856835
320.2952779708353510.5905559416707030.704722029164649
330.3312568903281990.6625137806563980.668743109671801
340.3135070154309820.6270140308619650.686492984569018
350.2826810798337440.5653621596674890.717318920166256
360.366945269397640.7338905387952810.63305473060236
370.3485885437841040.6971770875682080.651411456215896
380.3126086713136230.6252173426272460.687391328686377
390.2536726283364390.5073452566728790.746327371663561
400.2268099151881660.4536198303763320.773190084811834
410.2200685206569920.4401370413139850.779931479343008
420.2490644063264760.4981288126529510.750935593673524
430.8415439258919670.3169121482160670.158456074108033
440.9126805879831040.1746388240337920.0873194120168961







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=190617&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=190617&T=6

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