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 computationTue, 15 Dec 2009 12:02:02 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Dec/15/t1260904285tcfendpy3xdn1o1.htm/, Retrieved Tue, 07 May 2024 23:12:13 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=68081, Retrieved Tue, 07 May 2024 23:12:13 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact132
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 13:54:52] [b98453cac15ba1066b407e146608df68]
-   PD    [Multiple Regression] [Bouwvergunningen ...] [2009-11-19 15:50:43] [11ac052cc87d77b9933b02bea117068e]
-    D        [Multiple Regression] [] [2009-12-15 19:02:02] [8cd69d0f4298074aa572ca2f9b39b6ae] [Current]
Feedback Forum

Post a new message
Dataseries X:
564	-0.9
581	-1
597	-0.7
587	-1.7
536	-1
524	-0.2
537	0.7
536	0.6
533	1.9
528	2.1
516	2.7
502	3.2
506	4.8
518	5.5
534	5.4
528	5.9
478	5.8
469	5.1
490	4.1
493	4.4
508	3.6
517	3.5
514	3.1
510	2.9
527	2.2
542	1.4
565	1.2
555	1.3
499	1.3
511	1.3
526	1.8
532	1.8
549	1.8
561	1.7
557	2.1
566	2
588	1.7
620	1.9
626	2.3
620	2.4
573	2.5
573	2.8
574	2.6
580	2.2
590	2.8
593	2.8
597	2.8
595	2.3
612	2.2
628	3
629	2.9
621	2.7
569	2.7
567	2.3
573	2.4
584	2.8
589	2.3
591	2
595	1.9
594	2.3




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

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

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







Multiple Linear Regression - Estimated Regression Equation
BouwV[t] = + 518.747264117247 -11.3910198062011X[t] + 19.2778823073052M1[t] + 37.7341697487835M2[t] + 49.0513552096416M3[t] + 38.1459775015075M4[t] -13.2255554531384M5[t] -17.1918311806524M6[t] -7.0746457197943M7[t] -3.38528065506023M8[t] + 5.01536599416992M9[t] + 6.76562907828386M10[t] + 3.93845533138997M11[t] + 1.76627572751399t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
BouwV[t] =  +  518.747264117247 -11.3910198062011X[t] +  19.2778823073052M1[t] +  37.7341697487835M2[t] +  49.0513552096416M3[t] +  38.1459775015075M4[t] -13.2255554531384M5[t] -17.1918311806524M6[t] -7.0746457197943M7[t] -3.38528065506023M8[t] +  5.01536599416992M9[t] +  6.76562907828386M10[t] +  3.93845533138997M11[t] +  1.76627572751399t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68081&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]BouwV[t] =  +  518.747264117247 -11.3910198062011X[t] +  19.2778823073052M1[t] +  37.7341697487835M2[t] +  49.0513552096416M3[t] +  38.1459775015075M4[t] -13.2255554531384M5[t] -17.1918311806524M6[t] -7.0746457197943M7[t] -3.38528065506023M8[t] +  5.01536599416992M9[t] +  6.76562907828386M10[t] +  3.93845533138997M11[t] +  1.76627572751399t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68081&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=68081&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
BouwV[t] = + 518.747264117247 -11.3910198062011X[t] + 19.2778823073052M1[t] + 37.7341697487835M2[t] + 49.0513552096416M3[t] + 38.1459775015075M4[t] -13.2255554531384M5[t] -17.1918311806524M6[t] -7.0746457197943M7[t] -3.38528065506023M8[t] + 5.01536599416992M9[t] + 6.76562907828386M10[t] + 3.93845533138997M11[t] + 1.76627572751399t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)518.74726411724710.65718948.675800
X-11.39101980620111.612509-7.064200
M119.277882307305212.3868121.55630.1264850.063243
M237.734169748783512.3593883.05310.0037580.001879
M349.051355209641612.3407713.97470.0002470.000123
M438.145977501507512.3315433.09340.003360.00168
M5-13.225555453138412.312201-1.07420.2883430.144172
M6-17.191831180652412.301295-1.39760.1689490.084474
M7-7.074645719794312.290025-0.57560.5676630.283832
M8-3.3852806550602312.281387-0.27560.7840570.392028
M95.0153659941699212.2737450.40860.6847110.342355
M106.7656290782838612.2701250.55140.5840350.292017
M113.9384553313899712.2666330.32110.7496110.374806
t1.766275727513990.14968911.799700

\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) & 518.747264117247 & 10.657189 & 48.6758 & 0 & 0 \tabularnewline
X & -11.3910198062011 & 1.612509 & -7.0642 & 0 & 0 \tabularnewline
M1 & 19.2778823073052 & 12.386812 & 1.5563 & 0.126485 & 0.063243 \tabularnewline
M2 & 37.7341697487835 & 12.359388 & 3.0531 & 0.003758 & 0.001879 \tabularnewline
M3 & 49.0513552096416 & 12.340771 & 3.9747 & 0.000247 & 0.000123 \tabularnewline
M4 & 38.1459775015075 & 12.331543 & 3.0934 & 0.00336 & 0.00168 \tabularnewline
M5 & -13.2255554531384 & 12.312201 & -1.0742 & 0.288343 & 0.144172 \tabularnewline
M6 & -17.1918311806524 & 12.301295 & -1.3976 & 0.168949 & 0.084474 \tabularnewline
M7 & -7.0746457197943 & 12.290025 & -0.5756 & 0.567663 & 0.283832 \tabularnewline
M8 & -3.38528065506023 & 12.281387 & -0.2756 & 0.784057 & 0.392028 \tabularnewline
M9 & 5.01536599416992 & 12.273745 & 0.4086 & 0.684711 & 0.342355 \tabularnewline
M10 & 6.76562907828386 & 12.270125 & 0.5514 & 0.584035 & 0.292017 \tabularnewline
M11 & 3.93845533138997 & 12.266633 & 0.3211 & 0.749611 & 0.374806 \tabularnewline
t & 1.76627572751399 & 0.149689 & 11.7997 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68081&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]518.747264117247[/C][C]10.657189[/C][C]48.6758[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]-11.3910198062011[/C][C]1.612509[/C][C]-7.0642[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]19.2778823073052[/C][C]12.386812[/C][C]1.5563[/C][C]0.126485[/C][C]0.063243[/C][/ROW]
[ROW][C]M2[/C][C]37.7341697487835[/C][C]12.359388[/C][C]3.0531[/C][C]0.003758[/C][C]0.001879[/C][/ROW]
[ROW][C]M3[/C][C]49.0513552096416[/C][C]12.340771[/C][C]3.9747[/C][C]0.000247[/C][C]0.000123[/C][/ROW]
[ROW][C]M4[/C][C]38.1459775015075[/C][C]12.331543[/C][C]3.0934[/C][C]0.00336[/C][C]0.00168[/C][/ROW]
[ROW][C]M5[/C][C]-13.2255554531384[/C][C]12.312201[/C][C]-1.0742[/C][C]0.288343[/C][C]0.144172[/C][/ROW]
[ROW][C]M6[/C][C]-17.1918311806524[/C][C]12.301295[/C][C]-1.3976[/C][C]0.168949[/C][C]0.084474[/C][/ROW]
[ROW][C]M7[/C][C]-7.0746457197943[/C][C]12.290025[/C][C]-0.5756[/C][C]0.567663[/C][C]0.283832[/C][/ROW]
[ROW][C]M8[/C][C]-3.38528065506023[/C][C]12.281387[/C][C]-0.2756[/C][C]0.784057[/C][C]0.392028[/C][/ROW]
[ROW][C]M9[/C][C]5.01536599416992[/C][C]12.273745[/C][C]0.4086[/C][C]0.684711[/C][C]0.342355[/C][/ROW]
[ROW][C]M10[/C][C]6.76562907828386[/C][C]12.270125[/C][C]0.5514[/C][C]0.584035[/C][C]0.292017[/C][/ROW]
[ROW][C]M11[/C][C]3.93845533138997[/C][C]12.266633[/C][C]0.3211[/C][C]0.749611[/C][C]0.374806[/C][/ROW]
[ROW][C]t[/C][C]1.76627572751399[/C][C]0.149689[/C][C]11.7997[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68081&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=68081&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)518.74726411724710.65718948.675800
X-11.39101980620111.612509-7.064200
M119.277882307305212.3868121.55630.1264850.063243
M237.734169748783512.3593883.05310.0037580.001879
M349.051355209641612.3407713.97470.0002470.000123
M438.145977501507512.3315433.09340.003360.00168
M5-13.225555453138412.312201-1.07420.2883430.144172
M6-17.191831180652412.301295-1.39760.1689490.084474
M7-7.074645719794312.290025-0.57560.5676630.283832
M8-3.3852806550602312.281387-0.27560.7840570.392028
M95.0153659941699212.2737450.40860.6847110.342355
M106.7656290782838612.2701250.55140.5840350.292017
M113.9384553313899712.2666330.32110.7496110.374806
t1.766275727513990.14968911.799700







Multiple Linear Regression - Regression Statistics
Multiple R0.909497131849277
R-squared0.82718503284206
Adjusted R-squared0.778346020384382
F-TEST (value)16.9369729488052
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value2.36588526547621e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation19.3938442355615
Sum Squared Residuals17301.5749347282

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.909497131849277 \tabularnewline
R-squared & 0.82718503284206 \tabularnewline
Adjusted R-squared & 0.778346020384382 \tabularnewline
F-TEST (value) & 16.9369729488052 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 2.36588526547621e-13 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 19.3938442355615 \tabularnewline
Sum Squared Residuals & 17301.5749347282 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68081&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.909497131849277[/C][/ROW]
[ROW][C]R-squared[/C][C]0.82718503284206[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.778346020384382[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]16.9369729488052[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]46[/C][/ROW]
[ROW][C]p-value[/C][C]2.36588526547621e-13[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]19.3938442355615[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]17301.5749347282[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68081&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=68081&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.909497131849277
R-squared0.82718503284206
Adjusted R-squared0.778346020384382
F-TEST (value)16.9369729488052
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value2.36588526547621e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation19.3938442355615
Sum Squared Residuals17301.5749347282







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1564550.04333997764813.9566600223522
2581571.405005127269.59499487274032
3597581.07116037377115.9288396262285
4587583.3230781993523.6769218006476
5536525.7441071078810.2558928921202
6524514.4312912629199.56870873708105
7537516.0628346257120.9371653742900
8536522.65757739857813.3424226014218
9533518.01617402726114.9838259727391
10528519.2545088776498.7454911223514
11516511.3589989745484.64100102545195
12502503.491309467572-1.49130946757155
13506506.309835812469-0.309835812468962
14518518.55868511712-0.55868511712047
15534532.7812482861131.21875171388738
16528517.94663640239210.0533635976080
17478469.480481155888.51951884411976
18469475.254195020221-6.25419502022099
19490498.528676014794-8.52867601479417
20493500.567010865182-7.56701086518187
21508519.846749086887-11.8467490868869
22517524.502389879135-7.50238987913494
23514527.997899782235-13.9978997822355
24510528.1039241396-18.1039241395997
25527557.12179603876-30.1217960387597
26542586.457175052713-44.4571750527128
27565601.818840202325-36.8188402023251
28555591.540636241085-36.5406362410849
29499541.935379013953-42.935379013953
30511539.735379013953-28.7353790139531
31526545.923330299225-19.9233302992246
32532551.378971091473-19.3789710914726
33549561.545893468217-12.5458934682168
34561566.201534260465-5.20153426046479
35557560.584228318604-3.58422831860446
36566559.5511506953496.4488493046514
37588584.0126146720283.98738532797186
38620601.9569738797818.0430261202198
39626610.48402714567215.5159728543282
40620600.20582318443219.7941768155684
41573549.4614639766823.5385360233204
42573543.84415803481929.1558419651807
43574558.00582318443215.9941768155684
44580568.0178718991611.9821281008399
45590571.35018239218418.6498176078165
46593574.86672120381118.1332787961885
47597573.80582318443223.1941768155684
48595577.32915348365617.6708465163439
49612599.51241349909512.4875865009045
50628610.62216082312717.3778391768732
51629624.8447239921194.15527600788097
52621617.9838259727393.01617402726085
53569568.3785687456070.621431254392733
54567570.734976668088-3.73497666808771
55573581.47933587584-8.47933587583966
56584582.3785687456071.62143125439271
57589598.241001025452-9.24100102545196
58591605.17484577894-14.1748457789402
59595605.25304974018-10.2530497401804
60594598.524462213824-4.52446221382403

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 564 & 550.043339977648 & 13.9566600223522 \tabularnewline
2 & 581 & 571.40500512726 & 9.59499487274032 \tabularnewline
3 & 597 & 581.071160373771 & 15.9288396262285 \tabularnewline
4 & 587 & 583.323078199352 & 3.6769218006476 \tabularnewline
5 & 536 & 525.74410710788 & 10.2558928921202 \tabularnewline
6 & 524 & 514.431291262919 & 9.56870873708105 \tabularnewline
7 & 537 & 516.06283462571 & 20.9371653742900 \tabularnewline
8 & 536 & 522.657577398578 & 13.3424226014218 \tabularnewline
9 & 533 & 518.016174027261 & 14.9838259727391 \tabularnewline
10 & 528 & 519.254508877649 & 8.7454911223514 \tabularnewline
11 & 516 & 511.358998974548 & 4.64100102545195 \tabularnewline
12 & 502 & 503.491309467572 & -1.49130946757155 \tabularnewline
13 & 506 & 506.309835812469 & -0.309835812468962 \tabularnewline
14 & 518 & 518.55868511712 & -0.55868511712047 \tabularnewline
15 & 534 & 532.781248286113 & 1.21875171388738 \tabularnewline
16 & 528 & 517.946636402392 & 10.0533635976080 \tabularnewline
17 & 478 & 469.48048115588 & 8.51951884411976 \tabularnewline
18 & 469 & 475.254195020221 & -6.25419502022099 \tabularnewline
19 & 490 & 498.528676014794 & -8.52867601479417 \tabularnewline
20 & 493 & 500.567010865182 & -7.56701086518187 \tabularnewline
21 & 508 & 519.846749086887 & -11.8467490868869 \tabularnewline
22 & 517 & 524.502389879135 & -7.50238987913494 \tabularnewline
23 & 514 & 527.997899782235 & -13.9978997822355 \tabularnewline
24 & 510 & 528.1039241396 & -18.1039241395997 \tabularnewline
25 & 527 & 557.12179603876 & -30.1217960387597 \tabularnewline
26 & 542 & 586.457175052713 & -44.4571750527128 \tabularnewline
27 & 565 & 601.818840202325 & -36.8188402023251 \tabularnewline
28 & 555 & 591.540636241085 & -36.5406362410849 \tabularnewline
29 & 499 & 541.935379013953 & -42.935379013953 \tabularnewline
30 & 511 & 539.735379013953 & -28.7353790139531 \tabularnewline
31 & 526 & 545.923330299225 & -19.9233302992246 \tabularnewline
32 & 532 & 551.378971091473 & -19.3789710914726 \tabularnewline
33 & 549 & 561.545893468217 & -12.5458934682168 \tabularnewline
34 & 561 & 566.201534260465 & -5.20153426046479 \tabularnewline
35 & 557 & 560.584228318604 & -3.58422831860446 \tabularnewline
36 & 566 & 559.551150695349 & 6.4488493046514 \tabularnewline
37 & 588 & 584.012614672028 & 3.98738532797186 \tabularnewline
38 & 620 & 601.95697387978 & 18.0430261202198 \tabularnewline
39 & 626 & 610.484027145672 & 15.5159728543282 \tabularnewline
40 & 620 & 600.205823184432 & 19.7941768155684 \tabularnewline
41 & 573 & 549.46146397668 & 23.5385360233204 \tabularnewline
42 & 573 & 543.844158034819 & 29.1558419651807 \tabularnewline
43 & 574 & 558.005823184432 & 15.9941768155684 \tabularnewline
44 & 580 & 568.01787189916 & 11.9821281008399 \tabularnewline
45 & 590 & 571.350182392184 & 18.6498176078165 \tabularnewline
46 & 593 & 574.866721203811 & 18.1332787961885 \tabularnewline
47 & 597 & 573.805823184432 & 23.1941768155684 \tabularnewline
48 & 595 & 577.329153483656 & 17.6708465163439 \tabularnewline
49 & 612 & 599.512413499095 & 12.4875865009045 \tabularnewline
50 & 628 & 610.622160823127 & 17.3778391768732 \tabularnewline
51 & 629 & 624.844723992119 & 4.15527600788097 \tabularnewline
52 & 621 & 617.983825972739 & 3.01617402726085 \tabularnewline
53 & 569 & 568.378568745607 & 0.621431254392733 \tabularnewline
54 & 567 & 570.734976668088 & -3.73497666808771 \tabularnewline
55 & 573 & 581.47933587584 & -8.47933587583966 \tabularnewline
56 & 584 & 582.378568745607 & 1.62143125439271 \tabularnewline
57 & 589 & 598.241001025452 & -9.24100102545196 \tabularnewline
58 & 591 & 605.17484577894 & -14.1748457789402 \tabularnewline
59 & 595 & 605.25304974018 & -10.2530497401804 \tabularnewline
60 & 594 & 598.524462213824 & -4.52446221382403 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68081&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]564[/C][C]550.043339977648[/C][C]13.9566600223522[/C][/ROW]
[ROW][C]2[/C][C]581[/C][C]571.40500512726[/C][C]9.59499487274032[/C][/ROW]
[ROW][C]3[/C][C]597[/C][C]581.071160373771[/C][C]15.9288396262285[/C][/ROW]
[ROW][C]4[/C][C]587[/C][C]583.323078199352[/C][C]3.6769218006476[/C][/ROW]
[ROW][C]5[/C][C]536[/C][C]525.74410710788[/C][C]10.2558928921202[/C][/ROW]
[ROW][C]6[/C][C]524[/C][C]514.431291262919[/C][C]9.56870873708105[/C][/ROW]
[ROW][C]7[/C][C]537[/C][C]516.06283462571[/C][C]20.9371653742900[/C][/ROW]
[ROW][C]8[/C][C]536[/C][C]522.657577398578[/C][C]13.3424226014218[/C][/ROW]
[ROW][C]9[/C][C]533[/C][C]518.016174027261[/C][C]14.9838259727391[/C][/ROW]
[ROW][C]10[/C][C]528[/C][C]519.254508877649[/C][C]8.7454911223514[/C][/ROW]
[ROW][C]11[/C][C]516[/C][C]511.358998974548[/C][C]4.64100102545195[/C][/ROW]
[ROW][C]12[/C][C]502[/C][C]503.491309467572[/C][C]-1.49130946757155[/C][/ROW]
[ROW][C]13[/C][C]506[/C][C]506.309835812469[/C][C]-0.309835812468962[/C][/ROW]
[ROW][C]14[/C][C]518[/C][C]518.55868511712[/C][C]-0.55868511712047[/C][/ROW]
[ROW][C]15[/C][C]534[/C][C]532.781248286113[/C][C]1.21875171388738[/C][/ROW]
[ROW][C]16[/C][C]528[/C][C]517.946636402392[/C][C]10.0533635976080[/C][/ROW]
[ROW][C]17[/C][C]478[/C][C]469.48048115588[/C][C]8.51951884411976[/C][/ROW]
[ROW][C]18[/C][C]469[/C][C]475.254195020221[/C][C]-6.25419502022099[/C][/ROW]
[ROW][C]19[/C][C]490[/C][C]498.528676014794[/C][C]-8.52867601479417[/C][/ROW]
[ROW][C]20[/C][C]493[/C][C]500.567010865182[/C][C]-7.56701086518187[/C][/ROW]
[ROW][C]21[/C][C]508[/C][C]519.846749086887[/C][C]-11.8467490868869[/C][/ROW]
[ROW][C]22[/C][C]517[/C][C]524.502389879135[/C][C]-7.50238987913494[/C][/ROW]
[ROW][C]23[/C][C]514[/C][C]527.997899782235[/C][C]-13.9978997822355[/C][/ROW]
[ROW][C]24[/C][C]510[/C][C]528.1039241396[/C][C]-18.1039241395997[/C][/ROW]
[ROW][C]25[/C][C]527[/C][C]557.12179603876[/C][C]-30.1217960387597[/C][/ROW]
[ROW][C]26[/C][C]542[/C][C]586.457175052713[/C][C]-44.4571750527128[/C][/ROW]
[ROW][C]27[/C][C]565[/C][C]601.818840202325[/C][C]-36.8188402023251[/C][/ROW]
[ROW][C]28[/C][C]555[/C][C]591.540636241085[/C][C]-36.5406362410849[/C][/ROW]
[ROW][C]29[/C][C]499[/C][C]541.935379013953[/C][C]-42.935379013953[/C][/ROW]
[ROW][C]30[/C][C]511[/C][C]539.735379013953[/C][C]-28.7353790139531[/C][/ROW]
[ROW][C]31[/C][C]526[/C][C]545.923330299225[/C][C]-19.9233302992246[/C][/ROW]
[ROW][C]32[/C][C]532[/C][C]551.378971091473[/C][C]-19.3789710914726[/C][/ROW]
[ROW][C]33[/C][C]549[/C][C]561.545893468217[/C][C]-12.5458934682168[/C][/ROW]
[ROW][C]34[/C][C]561[/C][C]566.201534260465[/C][C]-5.20153426046479[/C][/ROW]
[ROW][C]35[/C][C]557[/C][C]560.584228318604[/C][C]-3.58422831860446[/C][/ROW]
[ROW][C]36[/C][C]566[/C][C]559.551150695349[/C][C]6.4488493046514[/C][/ROW]
[ROW][C]37[/C][C]588[/C][C]584.012614672028[/C][C]3.98738532797186[/C][/ROW]
[ROW][C]38[/C][C]620[/C][C]601.95697387978[/C][C]18.0430261202198[/C][/ROW]
[ROW][C]39[/C][C]626[/C][C]610.484027145672[/C][C]15.5159728543282[/C][/ROW]
[ROW][C]40[/C][C]620[/C][C]600.205823184432[/C][C]19.7941768155684[/C][/ROW]
[ROW][C]41[/C][C]573[/C][C]549.46146397668[/C][C]23.5385360233204[/C][/ROW]
[ROW][C]42[/C][C]573[/C][C]543.844158034819[/C][C]29.1558419651807[/C][/ROW]
[ROW][C]43[/C][C]574[/C][C]558.005823184432[/C][C]15.9941768155684[/C][/ROW]
[ROW][C]44[/C][C]580[/C][C]568.01787189916[/C][C]11.9821281008399[/C][/ROW]
[ROW][C]45[/C][C]590[/C][C]571.350182392184[/C][C]18.6498176078165[/C][/ROW]
[ROW][C]46[/C][C]593[/C][C]574.866721203811[/C][C]18.1332787961885[/C][/ROW]
[ROW][C]47[/C][C]597[/C][C]573.805823184432[/C][C]23.1941768155684[/C][/ROW]
[ROW][C]48[/C][C]595[/C][C]577.329153483656[/C][C]17.6708465163439[/C][/ROW]
[ROW][C]49[/C][C]612[/C][C]599.512413499095[/C][C]12.4875865009045[/C][/ROW]
[ROW][C]50[/C][C]628[/C][C]610.622160823127[/C][C]17.3778391768732[/C][/ROW]
[ROW][C]51[/C][C]629[/C][C]624.844723992119[/C][C]4.15527600788097[/C][/ROW]
[ROW][C]52[/C][C]621[/C][C]617.983825972739[/C][C]3.01617402726085[/C][/ROW]
[ROW][C]53[/C][C]569[/C][C]568.378568745607[/C][C]0.621431254392733[/C][/ROW]
[ROW][C]54[/C][C]567[/C][C]570.734976668088[/C][C]-3.73497666808771[/C][/ROW]
[ROW][C]55[/C][C]573[/C][C]581.47933587584[/C][C]-8.47933587583966[/C][/ROW]
[ROW][C]56[/C][C]584[/C][C]582.378568745607[/C][C]1.62143125439271[/C][/ROW]
[ROW][C]57[/C][C]589[/C][C]598.241001025452[/C][C]-9.24100102545196[/C][/ROW]
[ROW][C]58[/C][C]591[/C][C]605.17484577894[/C][C]-14.1748457789402[/C][/ROW]
[ROW][C]59[/C][C]595[/C][C]605.25304974018[/C][C]-10.2530497401804[/C][/ROW]
[ROW][C]60[/C][C]594[/C][C]598.524462213824[/C][C]-4.52446221382403[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68081&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=68081&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
1564550.04333997764813.9566600223522
2581571.405005127269.59499487274032
3597581.07116037377115.9288396262285
4587583.3230781993523.6769218006476
5536525.7441071078810.2558928921202
6524514.4312912629199.56870873708105
7537516.0628346257120.9371653742900
8536522.65757739857813.3424226014218
9533518.01617402726114.9838259727391
10528519.2545088776498.7454911223514
11516511.3589989745484.64100102545195
12502503.491309467572-1.49130946757155
13506506.309835812469-0.309835812468962
14518518.55868511712-0.55868511712047
15534532.7812482861131.21875171388738
16528517.94663640239210.0533635976080
17478469.480481155888.51951884411976
18469475.254195020221-6.25419502022099
19490498.528676014794-8.52867601479417
20493500.567010865182-7.56701086518187
21508519.846749086887-11.8467490868869
22517524.502389879135-7.50238987913494
23514527.997899782235-13.9978997822355
24510528.1039241396-18.1039241395997
25527557.12179603876-30.1217960387597
26542586.457175052713-44.4571750527128
27565601.818840202325-36.8188402023251
28555591.540636241085-36.5406362410849
29499541.935379013953-42.935379013953
30511539.735379013953-28.7353790139531
31526545.923330299225-19.9233302992246
32532551.378971091473-19.3789710914726
33549561.545893468217-12.5458934682168
34561566.201534260465-5.20153426046479
35557560.584228318604-3.58422831860446
36566559.5511506953496.4488493046514
37588584.0126146720283.98738532797186
38620601.9569738797818.0430261202198
39626610.48402714567215.5159728543282
40620600.20582318443219.7941768155684
41573549.4614639766823.5385360233204
42573543.84415803481929.1558419651807
43574558.00582318443215.9941768155684
44580568.0178718991611.9821281008399
45590571.35018239218418.6498176078165
46593574.86672120381118.1332787961885
47597573.80582318443223.1941768155684
48595577.32915348365617.6708465163439
49612599.51241349909512.4875865009045
50628610.62216082312717.3778391768732
51629624.8447239921194.15527600788097
52621617.9838259727393.01617402726085
53569568.3785687456070.621431254392733
54567570.734976668088-3.73497666808771
55573581.47933587584-8.47933587583966
56584582.3785687456071.62143125439271
57589598.241001025452-9.24100102545196
58591605.17484577894-14.1748457789402
59595605.25304974018-10.2530497401804
60594598.524462213824-4.52446221382403







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.002418959017233110.004837918034466210.997581040982767
180.0007255558813377320.001451111762675460.999274444118662
190.0002174012744920830.0004348025489841670.999782598725508
200.0001161462455523120.0002322924911046240.999883853754448
210.0001572079537109940.0003144159074219880.99984279204629
220.0005665519758261480.001133103951652300.999433448024174
230.000525689411550960.001051378823101920.99947431058845
240.0009604939074498710.001920987814899740.99903950609255
250.00277364802855690.00554729605711380.997226351971443
260.005840700664533060.01168140132906610.994159299335467
270.002644914197892700.005289828395785390.997355085802107
280.001435218127839540.002870436255679080.99856478187216
290.002432479528491150.00486495905698230.997567520471509
300.007697618012550420.01539523602510080.99230238198745
310.02195334991753370.04390669983506730.978046650082466
320.09517933495196920.1903586699039380.904820665048031
330.2864842867170760.5729685734341520.713515713282924
340.5220789305094510.9558421389810990.477921069490549
350.9379553411276960.1240893177446070.0620446588723037
360.9988933395864270.002213320827146790.00110666041357340
370.9999998475156633.04968674122329e-071.52484337061164e-07
380.9999998824844082.35031184252051e-071.17515592126026e-07
390.9999994096711681.18065766486405e-065.90328832432025e-07
400.9999960289552687.9420894632852e-063.9710447316426e-06
410.999991982461261.60350774780667e-058.01753873903334e-06
420.9999957630992048.47380159274221e-064.23690079637111e-06
430.9999122512874060.0001754974251884438.77487125942217e-05

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.00241895901723311 & 0.00483791803446621 & 0.997581040982767 \tabularnewline
18 & 0.000725555881337732 & 0.00145111176267546 & 0.999274444118662 \tabularnewline
19 & 0.000217401274492083 & 0.000434802548984167 & 0.999782598725508 \tabularnewline
20 & 0.000116146245552312 & 0.000232292491104624 & 0.999883853754448 \tabularnewline
21 & 0.000157207953710994 & 0.000314415907421988 & 0.99984279204629 \tabularnewline
22 & 0.000566551975826148 & 0.00113310395165230 & 0.999433448024174 \tabularnewline
23 & 0.00052568941155096 & 0.00105137882310192 & 0.99947431058845 \tabularnewline
24 & 0.000960493907449871 & 0.00192098781489974 & 0.99903950609255 \tabularnewline
25 & 0.0027736480285569 & 0.0055472960571138 & 0.997226351971443 \tabularnewline
26 & 0.00584070066453306 & 0.0116814013290661 & 0.994159299335467 \tabularnewline
27 & 0.00264491419789270 & 0.00528982839578539 & 0.997355085802107 \tabularnewline
28 & 0.00143521812783954 & 0.00287043625567908 & 0.99856478187216 \tabularnewline
29 & 0.00243247952849115 & 0.0048649590569823 & 0.997567520471509 \tabularnewline
30 & 0.00769761801255042 & 0.0153952360251008 & 0.99230238198745 \tabularnewline
31 & 0.0219533499175337 & 0.0439066998350673 & 0.978046650082466 \tabularnewline
32 & 0.0951793349519692 & 0.190358669903938 & 0.904820665048031 \tabularnewline
33 & 0.286484286717076 & 0.572968573434152 & 0.713515713282924 \tabularnewline
34 & 0.522078930509451 & 0.955842138981099 & 0.477921069490549 \tabularnewline
35 & 0.937955341127696 & 0.124089317744607 & 0.0620446588723037 \tabularnewline
36 & 0.998893339586427 & 0.00221332082714679 & 0.00110666041357340 \tabularnewline
37 & 0.999999847515663 & 3.04968674122329e-07 & 1.52484337061164e-07 \tabularnewline
38 & 0.999999882484408 & 2.35031184252051e-07 & 1.17515592126026e-07 \tabularnewline
39 & 0.999999409671168 & 1.18065766486405e-06 & 5.90328832432025e-07 \tabularnewline
40 & 0.999996028955268 & 7.9420894632852e-06 & 3.9710447316426e-06 \tabularnewline
41 & 0.99999198246126 & 1.60350774780667e-05 & 8.01753873903334e-06 \tabularnewline
42 & 0.999995763099204 & 8.47380159274221e-06 & 4.23690079637111e-06 \tabularnewline
43 & 0.999912251287406 & 0.000175497425188443 & 8.77487125942217e-05 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68081&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]17[/C][C]0.00241895901723311[/C][C]0.00483791803446621[/C][C]0.997581040982767[/C][/ROW]
[ROW][C]18[/C][C]0.000725555881337732[/C][C]0.00145111176267546[/C][C]0.999274444118662[/C][/ROW]
[ROW][C]19[/C][C]0.000217401274492083[/C][C]0.000434802548984167[/C][C]0.999782598725508[/C][/ROW]
[ROW][C]20[/C][C]0.000116146245552312[/C][C]0.000232292491104624[/C][C]0.999883853754448[/C][/ROW]
[ROW][C]21[/C][C]0.000157207953710994[/C][C]0.000314415907421988[/C][C]0.99984279204629[/C][/ROW]
[ROW][C]22[/C][C]0.000566551975826148[/C][C]0.00113310395165230[/C][C]0.999433448024174[/C][/ROW]
[ROW][C]23[/C][C]0.00052568941155096[/C][C]0.00105137882310192[/C][C]0.99947431058845[/C][/ROW]
[ROW][C]24[/C][C]0.000960493907449871[/C][C]0.00192098781489974[/C][C]0.99903950609255[/C][/ROW]
[ROW][C]25[/C][C]0.0027736480285569[/C][C]0.0055472960571138[/C][C]0.997226351971443[/C][/ROW]
[ROW][C]26[/C][C]0.00584070066453306[/C][C]0.0116814013290661[/C][C]0.994159299335467[/C][/ROW]
[ROW][C]27[/C][C]0.00264491419789270[/C][C]0.00528982839578539[/C][C]0.997355085802107[/C][/ROW]
[ROW][C]28[/C][C]0.00143521812783954[/C][C]0.00287043625567908[/C][C]0.99856478187216[/C][/ROW]
[ROW][C]29[/C][C]0.00243247952849115[/C][C]0.0048649590569823[/C][C]0.997567520471509[/C][/ROW]
[ROW][C]30[/C][C]0.00769761801255042[/C][C]0.0153952360251008[/C][C]0.99230238198745[/C][/ROW]
[ROW][C]31[/C][C]0.0219533499175337[/C][C]0.0439066998350673[/C][C]0.978046650082466[/C][/ROW]
[ROW][C]32[/C][C]0.0951793349519692[/C][C]0.190358669903938[/C][C]0.904820665048031[/C][/ROW]
[ROW][C]33[/C][C]0.286484286717076[/C][C]0.572968573434152[/C][C]0.713515713282924[/C][/ROW]
[ROW][C]34[/C][C]0.522078930509451[/C][C]0.955842138981099[/C][C]0.477921069490549[/C][/ROW]
[ROW][C]35[/C][C]0.937955341127696[/C][C]0.124089317744607[/C][C]0.0620446588723037[/C][/ROW]
[ROW][C]36[/C][C]0.998893339586427[/C][C]0.00221332082714679[/C][C]0.00110666041357340[/C][/ROW]
[ROW][C]37[/C][C]0.999999847515663[/C][C]3.04968674122329e-07[/C][C]1.52484337061164e-07[/C][/ROW]
[ROW][C]38[/C][C]0.999999882484408[/C][C]2.35031184252051e-07[/C][C]1.17515592126026e-07[/C][/ROW]
[ROW][C]39[/C][C]0.999999409671168[/C][C]1.18065766486405e-06[/C][C]5.90328832432025e-07[/C][/ROW]
[ROW][C]40[/C][C]0.999996028955268[/C][C]7.9420894632852e-06[/C][C]3.9710447316426e-06[/C][/ROW]
[ROW][C]41[/C][C]0.99999198246126[/C][C]1.60350774780667e-05[/C][C]8.01753873903334e-06[/C][/ROW]
[ROW][C]42[/C][C]0.999995763099204[/C][C]8.47380159274221e-06[/C][C]4.23690079637111e-06[/C][/ROW]
[ROW][C]43[/C][C]0.999912251287406[/C][C]0.000175497425188443[/C][C]8.77487125942217e-05[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68081&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=68081&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
170.002418959017233110.004837918034466210.997581040982767
180.0007255558813377320.001451111762675460.999274444118662
190.0002174012744920830.0004348025489841670.999782598725508
200.0001161462455523120.0002322924911046240.999883853754448
210.0001572079537109940.0003144159074219880.99984279204629
220.0005665519758261480.001133103951652300.999433448024174
230.000525689411550960.001051378823101920.99947431058845
240.0009604939074498710.001920987814899740.99903950609255
250.00277364802855690.00554729605711380.997226351971443
260.005840700664533060.01168140132906610.994159299335467
270.002644914197892700.005289828395785390.997355085802107
280.001435218127839540.002870436255679080.99856478187216
290.002432479528491150.00486495905698230.997567520471509
300.007697618012550420.01539523602510080.99230238198745
310.02195334991753370.04390669983506730.978046650082466
320.09517933495196920.1903586699039380.904820665048031
330.2864842867170760.5729685734341520.713515713282924
340.5220789305094510.9558421389810990.477921069490549
350.9379553411276960.1240893177446070.0620446588723037
360.9988933395864270.002213320827146790.00110666041357340
370.9999998475156633.04968674122329e-071.52484337061164e-07
380.9999998824844082.35031184252051e-071.17515592126026e-07
390.9999994096711681.18065766486405e-065.90328832432025e-07
400.9999960289552687.9420894632852e-063.9710447316426e-06
410.999991982461261.60350774780667e-058.01753873903334e-06
420.9999957630992048.47380159274221e-064.23690079637111e-06
430.9999122512874060.0001754974251884438.77487125942217e-05







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level200.740740740740741NOK
5% type I error level230.851851851851852NOK
10% type I error level230.851851851851852NOK

\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 & 20 & 0.740740740740741 & NOK \tabularnewline
5% type I error level & 23 & 0.851851851851852 & NOK \tabularnewline
10% type I error level & 23 & 0.851851851851852 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68081&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]20[/C][C]0.740740740740741[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]23[/C][C]0.851851851851852[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]23[/C][C]0.851851851851852[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68081&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=68081&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 level200.740740740740741NOK
5% type I error level230.851851851851852NOK
10% type I error level230.851851851851852NOK



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
R code (references can be found in the software module):
library(lattice)
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')
}