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 computationWed, 02 Dec 2009 13:23:58 -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/02/t1259790511w5ltbvyf6wxm5a7.htm/, Retrieved Sun, 28 Apr 2024 04:55:33 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=62602, Retrieved Sun, 28 Apr 2024 04:55:33 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact129
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]
- RM D  [Multiple Regression] [Seatbelt] [2009-11-12 14:06:21] [b98453cac15ba1066b407e146608df68]
- R  D      [Multiple Regression] [PAPER] [2009-12-02 20:23:58] [2d9a0b3c2f25bb8f387fafb994d0d852] [Current]
-    D        [Multiple Regression] [PAPER] [2009-12-06 00:58:02] [37daf76adc256428993ec4063536c760]
Feedback Forum

Post a new message
Dataseries X:
595	0
591	0
589	0
584	0
573	0
567	0
569	0
621	0
629	0
628	0
612	0
595	0
597	0
593	0
590	0
580	0
574	0
573	0
573	0
620	0
626	0
620	0
588	0
566	0
557	0
561	0
549	0
532	0
526	0
511	0
499	0
555	0
565	0
542	0
527	0
510	0
514	0
517	0
508	0
493	0
490	0
469	0
478	0
528	1
534	1
518	1
506	1
502	1
516	1
528	1
533	1
536	1
537	1
524	1
536	1
587	1
597	1
581	1
564	1
564	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 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 & 4 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=62602&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]4 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=62602&T=0

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 613.891833030853 + 39.7441016333939X[t] -8.82574107682971M1[t] -4.33714458560193M2[t] -6.24854809437387M3[t] -12.7599516031458M4[t] -15.4713551119177M5[t] -24.3827586206896M6[t] -19.8941621294616M7[t] + 25.6456140350877M8[t] + 35.9342105263158M9[t] + 25.8228070175439M10[t] + 9.71140350877195M11[t] -2.28859649122807t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  613.891833030853 +  39.7441016333939X[t] -8.82574107682971M1[t] -4.33714458560193M2[t] -6.24854809437387M3[t] -12.7599516031458M4[t] -15.4713551119177M5[t] -24.3827586206896M6[t] -19.8941621294616M7[t] +  25.6456140350877M8[t] +  35.9342105263158M9[t] +  25.8228070175439M10[t] +  9.71140350877195M11[t] -2.28859649122807t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=62602&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  613.891833030853 +  39.7441016333939X[t] -8.82574107682971M1[t] -4.33714458560193M2[t] -6.24854809437387M3[t] -12.7599516031458M4[t] -15.4713551119177M5[t] -24.3827586206896M6[t] -19.8941621294616M7[t] +  25.6456140350877M8[t] +  35.9342105263158M9[t] +  25.8228070175439M10[t] +  9.71140350877195M11[t] -2.28859649122807t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=62602&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=62602&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
Y[t] = + 613.891833030853 + 39.7441016333939X[t] -8.82574107682971M1[t] -4.33714458560193M2[t] -6.24854809437387M3[t] -12.7599516031458M4[t] -15.4713551119177M5[t] -24.3827586206896M6[t] -19.8941621294616M7[t] + 25.6456140350877M8[t] + 35.9342105263158M9[t] + 25.8228070175439M10[t] + 9.71140350877195M11[t] -2.28859649122807t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)613.89183303085314.48335342.38600
X39.744101633393912.3814973.210.0024220.001211
M1-8.8257410768297116.928193-0.52140.6046150.302307
M2-4.3371445856019316.900815-0.25660.7986140.399307
M3-6.2485480943738716.879489-0.37020.7129430.356472
M4-12.759951603145816.86424-0.75660.4531310.226565
M5-15.471355111917716.855085-0.91790.3634570.181728
M6-24.382758620689616.852031-1.44690.1547130.077356
M7-19.894162129461616.855085-1.18030.2439460.121973
M825.645614035087716.8288521.52390.1343780.067189
M935.934210526315816.8074352.1380.0378630.018931
M1025.822807017543916.7921211.53780.130950.065475
M119.7114035087719516.7829260.57860.5656490.282825
t-2.288596491228070.320797-7.134100

\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) & 613.891833030853 & 14.483353 & 42.386 & 0 & 0 \tabularnewline
X & 39.7441016333939 & 12.381497 & 3.21 & 0.002422 & 0.001211 \tabularnewline
M1 & -8.82574107682971 & 16.928193 & -0.5214 & 0.604615 & 0.302307 \tabularnewline
M2 & -4.33714458560193 & 16.900815 & -0.2566 & 0.798614 & 0.399307 \tabularnewline
M3 & -6.24854809437387 & 16.879489 & -0.3702 & 0.712943 & 0.356472 \tabularnewline
M4 & -12.7599516031458 & 16.86424 & -0.7566 & 0.453131 & 0.226565 \tabularnewline
M5 & -15.4713551119177 & 16.855085 & -0.9179 & 0.363457 & 0.181728 \tabularnewline
M6 & -24.3827586206896 & 16.852031 & -1.4469 & 0.154713 & 0.077356 \tabularnewline
M7 & -19.8941621294616 & 16.855085 & -1.1803 & 0.243946 & 0.121973 \tabularnewline
M8 & 25.6456140350877 & 16.828852 & 1.5239 & 0.134378 & 0.067189 \tabularnewline
M9 & 35.9342105263158 & 16.807435 & 2.138 & 0.037863 & 0.018931 \tabularnewline
M10 & 25.8228070175439 & 16.792121 & 1.5378 & 0.13095 & 0.065475 \tabularnewline
M11 & 9.71140350877195 & 16.782926 & 0.5786 & 0.565649 & 0.282825 \tabularnewline
t & -2.28859649122807 & 0.320797 & -7.1341 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=62602&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]613.891833030853[/C][C]14.483353[/C][C]42.386[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]39.7441016333939[/C][C]12.381497[/C][C]3.21[/C][C]0.002422[/C][C]0.001211[/C][/ROW]
[ROW][C]M1[/C][C]-8.82574107682971[/C][C]16.928193[/C][C]-0.5214[/C][C]0.604615[/C][C]0.302307[/C][/ROW]
[ROW][C]M2[/C][C]-4.33714458560193[/C][C]16.900815[/C][C]-0.2566[/C][C]0.798614[/C][C]0.399307[/C][/ROW]
[ROW][C]M3[/C][C]-6.24854809437387[/C][C]16.879489[/C][C]-0.3702[/C][C]0.712943[/C][C]0.356472[/C][/ROW]
[ROW][C]M4[/C][C]-12.7599516031458[/C][C]16.86424[/C][C]-0.7566[/C][C]0.453131[/C][C]0.226565[/C][/ROW]
[ROW][C]M5[/C][C]-15.4713551119177[/C][C]16.855085[/C][C]-0.9179[/C][C]0.363457[/C][C]0.181728[/C][/ROW]
[ROW][C]M6[/C][C]-24.3827586206896[/C][C]16.852031[/C][C]-1.4469[/C][C]0.154713[/C][C]0.077356[/C][/ROW]
[ROW][C]M7[/C][C]-19.8941621294616[/C][C]16.855085[/C][C]-1.1803[/C][C]0.243946[/C][C]0.121973[/C][/ROW]
[ROW][C]M8[/C][C]25.6456140350877[/C][C]16.828852[/C][C]1.5239[/C][C]0.134378[/C][C]0.067189[/C][/ROW]
[ROW][C]M9[/C][C]35.9342105263158[/C][C]16.807435[/C][C]2.138[/C][C]0.037863[/C][C]0.018931[/C][/ROW]
[ROW][C]M10[/C][C]25.8228070175439[/C][C]16.792121[/C][C]1.5378[/C][C]0.13095[/C][C]0.065475[/C][/ROW]
[ROW][C]M11[/C][C]9.71140350877195[/C][C]16.782926[/C][C]0.5786[/C][C]0.565649[/C][C]0.282825[/C][/ROW]
[ROW][C]t[/C][C]-2.28859649122807[/C][C]0.320797[/C][C]-7.1341[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=62602&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=62602&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)613.89183303085314.48335342.38600
X39.744101633393912.3814973.210.0024220.001211
M1-8.8257410768297116.928193-0.52140.6046150.302307
M2-4.3371445856019316.900815-0.25660.7986140.399307
M3-6.2485480943738716.879489-0.37020.7129430.356472
M4-12.759951603145816.86424-0.75660.4531310.226565
M5-15.471355111917716.855085-0.91790.3634570.181728
M6-24.382758620689616.852031-1.44690.1547130.077356
M7-19.894162129461616.855085-1.18030.2439460.121973
M825.645614035087716.8288521.52390.1343780.067189
M935.934210526315816.8074352.1380.0378630.018931
M1025.822807017543916.7921211.53780.130950.065475
M119.7114035087719516.7829260.57860.5656490.282825
t-2.288596491228070.320797-7.134100







Multiple Linear Regression - Regression Statistics
Multiple R0.81979497633176
R-squared0.67206380321879
Adjusted R-squared0.579386182389317
F-TEST (value)7.25162986710019
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value2.02201098531418e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation26.5312876493999
Sum Squared Residuals32379.8243194192

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.81979497633176 \tabularnewline
R-squared & 0.67206380321879 \tabularnewline
Adjusted R-squared & 0.579386182389317 \tabularnewline
F-TEST (value) & 7.25162986710019 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 2.02201098531418e-07 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 26.5312876493999 \tabularnewline
Sum Squared Residuals & 32379.8243194192 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=62602&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.81979497633176[/C][/ROW]
[ROW][C]R-squared[/C][C]0.67206380321879[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.579386182389317[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]7.25162986710019[/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.02201098531418e-07[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]26.5312876493999[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]32379.8243194192[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=62602&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=62602&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.81979497633176
R-squared0.67206380321879
Adjusted R-squared0.579386182389317
F-TEST (value)7.25162986710019
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value2.02201098531418e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation26.5312876493999
Sum Squared Residuals32379.8243194192







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1595602.777495462794-7.77749546279383
2591604.977495462795-13.9774954627950
3589600.777495462795-11.777495462795
4584591.977495462795-7.97749546279498
5573586.977495462795-13.9774954627950
6567575.777495462795-8.77749546279499
7569577.977495462795-8.97749546279498
8621621.228675136116-0.228675136116206
9629629.228675136116-0.228675136116233
10628616.82867513611611.1713248638838
11612598.42867513611613.5713248638838
12595586.4286751361168.5713248638838
13597575.31433756805821.6856624319416
14593577.51433756805815.4856624319419
15590573.31433756805816.6856624319419
16580564.51433756805815.4856624319419
17574559.51433756805814.4856624319419
18573548.31433756805824.6856624319419
19573550.51433756805822.4856624319419
20620593.76551724137926.2344827586207
21626601.76551724137924.2344827586207
22620589.36551724137930.6344827586207
23588570.96551724137917.0344827586207
24566558.9655172413797.03448275862069
25557547.8511796733229.1488203266785
26561550.05117967332110.9488203266788
27549545.8511796733213.14882032667878
28532537.051179673321-5.05117967332122
29526532.051179673321-6.05117967332122
30511520.851179673321-9.85117967332122
31499523.051179673321-24.0511796733212
32555566.302359346642-11.3023593466424
33565574.302359346642-9.30235934664243
34542561.902359346642-19.9023593466425
35527543.502359346642-16.5023593466424
36510531.502359346642-21.5023593466424
37514520.388021778585-6.38802177858463
38517522.588021778584-5.58802177858433
39508518.388021778584-10.3880217785843
40493509.588021778584-16.5880217785843
41490504.588021778584-14.5880217785843
42469493.388021778584-24.3880217785843
43478495.588021778584-17.5880217785843
44528578.5833030853-50.5833030852995
45534586.583303085299-52.5833030852995
46518574.1833030853-56.1833030852995
47506555.7833030853-49.7833030852995
48502543.7833030853-41.7833030852995
49516532.668965517242-16.6689655172417
50528534.868965517241-6.86896551724138
51533530.6689655172412.33103448275864
52536521.86896551724114.1310344827586
53537516.86896551724120.1310344827586
54524505.66896551724118.3310344827587
55536507.86896551724128.1310344827587
56587551.12014519056335.8798548094374
57597559.12014519056337.8798548094374
58581546.72014519056334.2798548094374
59564528.32014519056335.6798548094374
60564516.32014519056347.6798548094374

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 595 & 602.777495462794 & -7.77749546279383 \tabularnewline
2 & 591 & 604.977495462795 & -13.9774954627950 \tabularnewline
3 & 589 & 600.777495462795 & -11.777495462795 \tabularnewline
4 & 584 & 591.977495462795 & -7.97749546279498 \tabularnewline
5 & 573 & 586.977495462795 & -13.9774954627950 \tabularnewline
6 & 567 & 575.777495462795 & -8.77749546279499 \tabularnewline
7 & 569 & 577.977495462795 & -8.97749546279498 \tabularnewline
8 & 621 & 621.228675136116 & -0.228675136116206 \tabularnewline
9 & 629 & 629.228675136116 & -0.228675136116233 \tabularnewline
10 & 628 & 616.828675136116 & 11.1713248638838 \tabularnewline
11 & 612 & 598.428675136116 & 13.5713248638838 \tabularnewline
12 & 595 & 586.428675136116 & 8.5713248638838 \tabularnewline
13 & 597 & 575.314337568058 & 21.6856624319416 \tabularnewline
14 & 593 & 577.514337568058 & 15.4856624319419 \tabularnewline
15 & 590 & 573.314337568058 & 16.6856624319419 \tabularnewline
16 & 580 & 564.514337568058 & 15.4856624319419 \tabularnewline
17 & 574 & 559.514337568058 & 14.4856624319419 \tabularnewline
18 & 573 & 548.314337568058 & 24.6856624319419 \tabularnewline
19 & 573 & 550.514337568058 & 22.4856624319419 \tabularnewline
20 & 620 & 593.765517241379 & 26.2344827586207 \tabularnewline
21 & 626 & 601.765517241379 & 24.2344827586207 \tabularnewline
22 & 620 & 589.365517241379 & 30.6344827586207 \tabularnewline
23 & 588 & 570.965517241379 & 17.0344827586207 \tabularnewline
24 & 566 & 558.965517241379 & 7.03448275862069 \tabularnewline
25 & 557 & 547.851179673322 & 9.1488203266785 \tabularnewline
26 & 561 & 550.051179673321 & 10.9488203266788 \tabularnewline
27 & 549 & 545.851179673321 & 3.14882032667878 \tabularnewline
28 & 532 & 537.051179673321 & -5.05117967332122 \tabularnewline
29 & 526 & 532.051179673321 & -6.05117967332122 \tabularnewline
30 & 511 & 520.851179673321 & -9.85117967332122 \tabularnewline
31 & 499 & 523.051179673321 & -24.0511796733212 \tabularnewline
32 & 555 & 566.302359346642 & -11.3023593466424 \tabularnewline
33 & 565 & 574.302359346642 & -9.30235934664243 \tabularnewline
34 & 542 & 561.902359346642 & -19.9023593466425 \tabularnewline
35 & 527 & 543.502359346642 & -16.5023593466424 \tabularnewline
36 & 510 & 531.502359346642 & -21.5023593466424 \tabularnewline
37 & 514 & 520.388021778585 & -6.38802177858463 \tabularnewline
38 & 517 & 522.588021778584 & -5.58802177858433 \tabularnewline
39 & 508 & 518.388021778584 & -10.3880217785843 \tabularnewline
40 & 493 & 509.588021778584 & -16.5880217785843 \tabularnewline
41 & 490 & 504.588021778584 & -14.5880217785843 \tabularnewline
42 & 469 & 493.388021778584 & -24.3880217785843 \tabularnewline
43 & 478 & 495.588021778584 & -17.5880217785843 \tabularnewline
44 & 528 & 578.5833030853 & -50.5833030852995 \tabularnewline
45 & 534 & 586.583303085299 & -52.5833030852995 \tabularnewline
46 & 518 & 574.1833030853 & -56.1833030852995 \tabularnewline
47 & 506 & 555.7833030853 & -49.7833030852995 \tabularnewline
48 & 502 & 543.7833030853 & -41.7833030852995 \tabularnewline
49 & 516 & 532.668965517242 & -16.6689655172417 \tabularnewline
50 & 528 & 534.868965517241 & -6.86896551724138 \tabularnewline
51 & 533 & 530.668965517241 & 2.33103448275864 \tabularnewline
52 & 536 & 521.868965517241 & 14.1310344827586 \tabularnewline
53 & 537 & 516.868965517241 & 20.1310344827586 \tabularnewline
54 & 524 & 505.668965517241 & 18.3310344827587 \tabularnewline
55 & 536 & 507.868965517241 & 28.1310344827587 \tabularnewline
56 & 587 & 551.120145190563 & 35.8798548094374 \tabularnewline
57 & 597 & 559.120145190563 & 37.8798548094374 \tabularnewline
58 & 581 & 546.720145190563 & 34.2798548094374 \tabularnewline
59 & 564 & 528.320145190563 & 35.6798548094374 \tabularnewline
60 & 564 & 516.320145190563 & 47.6798548094374 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=62602&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]595[/C][C]602.777495462794[/C][C]-7.77749546279383[/C][/ROW]
[ROW][C]2[/C][C]591[/C][C]604.977495462795[/C][C]-13.9774954627950[/C][/ROW]
[ROW][C]3[/C][C]589[/C][C]600.777495462795[/C][C]-11.777495462795[/C][/ROW]
[ROW][C]4[/C][C]584[/C][C]591.977495462795[/C][C]-7.97749546279498[/C][/ROW]
[ROW][C]5[/C][C]573[/C][C]586.977495462795[/C][C]-13.9774954627950[/C][/ROW]
[ROW][C]6[/C][C]567[/C][C]575.777495462795[/C][C]-8.77749546279499[/C][/ROW]
[ROW][C]7[/C][C]569[/C][C]577.977495462795[/C][C]-8.97749546279498[/C][/ROW]
[ROW][C]8[/C][C]621[/C][C]621.228675136116[/C][C]-0.228675136116206[/C][/ROW]
[ROW][C]9[/C][C]629[/C][C]629.228675136116[/C][C]-0.228675136116233[/C][/ROW]
[ROW][C]10[/C][C]628[/C][C]616.828675136116[/C][C]11.1713248638838[/C][/ROW]
[ROW][C]11[/C][C]612[/C][C]598.428675136116[/C][C]13.5713248638838[/C][/ROW]
[ROW][C]12[/C][C]595[/C][C]586.428675136116[/C][C]8.5713248638838[/C][/ROW]
[ROW][C]13[/C][C]597[/C][C]575.314337568058[/C][C]21.6856624319416[/C][/ROW]
[ROW][C]14[/C][C]593[/C][C]577.514337568058[/C][C]15.4856624319419[/C][/ROW]
[ROW][C]15[/C][C]590[/C][C]573.314337568058[/C][C]16.6856624319419[/C][/ROW]
[ROW][C]16[/C][C]580[/C][C]564.514337568058[/C][C]15.4856624319419[/C][/ROW]
[ROW][C]17[/C][C]574[/C][C]559.514337568058[/C][C]14.4856624319419[/C][/ROW]
[ROW][C]18[/C][C]573[/C][C]548.314337568058[/C][C]24.6856624319419[/C][/ROW]
[ROW][C]19[/C][C]573[/C][C]550.514337568058[/C][C]22.4856624319419[/C][/ROW]
[ROW][C]20[/C][C]620[/C][C]593.765517241379[/C][C]26.2344827586207[/C][/ROW]
[ROW][C]21[/C][C]626[/C][C]601.765517241379[/C][C]24.2344827586207[/C][/ROW]
[ROW][C]22[/C][C]620[/C][C]589.365517241379[/C][C]30.6344827586207[/C][/ROW]
[ROW][C]23[/C][C]588[/C][C]570.965517241379[/C][C]17.0344827586207[/C][/ROW]
[ROW][C]24[/C][C]566[/C][C]558.965517241379[/C][C]7.03448275862069[/C][/ROW]
[ROW][C]25[/C][C]557[/C][C]547.851179673322[/C][C]9.1488203266785[/C][/ROW]
[ROW][C]26[/C][C]561[/C][C]550.051179673321[/C][C]10.9488203266788[/C][/ROW]
[ROW][C]27[/C][C]549[/C][C]545.851179673321[/C][C]3.14882032667878[/C][/ROW]
[ROW][C]28[/C][C]532[/C][C]537.051179673321[/C][C]-5.05117967332122[/C][/ROW]
[ROW][C]29[/C][C]526[/C][C]532.051179673321[/C][C]-6.05117967332122[/C][/ROW]
[ROW][C]30[/C][C]511[/C][C]520.851179673321[/C][C]-9.85117967332122[/C][/ROW]
[ROW][C]31[/C][C]499[/C][C]523.051179673321[/C][C]-24.0511796733212[/C][/ROW]
[ROW][C]32[/C][C]555[/C][C]566.302359346642[/C][C]-11.3023593466424[/C][/ROW]
[ROW][C]33[/C][C]565[/C][C]574.302359346642[/C][C]-9.30235934664243[/C][/ROW]
[ROW][C]34[/C][C]542[/C][C]561.902359346642[/C][C]-19.9023593466425[/C][/ROW]
[ROW][C]35[/C][C]527[/C][C]543.502359346642[/C][C]-16.5023593466424[/C][/ROW]
[ROW][C]36[/C][C]510[/C][C]531.502359346642[/C][C]-21.5023593466424[/C][/ROW]
[ROW][C]37[/C][C]514[/C][C]520.388021778585[/C][C]-6.38802177858463[/C][/ROW]
[ROW][C]38[/C][C]517[/C][C]522.588021778584[/C][C]-5.58802177858433[/C][/ROW]
[ROW][C]39[/C][C]508[/C][C]518.388021778584[/C][C]-10.3880217785843[/C][/ROW]
[ROW][C]40[/C][C]493[/C][C]509.588021778584[/C][C]-16.5880217785843[/C][/ROW]
[ROW][C]41[/C][C]490[/C][C]504.588021778584[/C][C]-14.5880217785843[/C][/ROW]
[ROW][C]42[/C][C]469[/C][C]493.388021778584[/C][C]-24.3880217785843[/C][/ROW]
[ROW][C]43[/C][C]478[/C][C]495.588021778584[/C][C]-17.5880217785843[/C][/ROW]
[ROW][C]44[/C][C]528[/C][C]578.5833030853[/C][C]-50.5833030852995[/C][/ROW]
[ROW][C]45[/C][C]534[/C][C]586.583303085299[/C][C]-52.5833030852995[/C][/ROW]
[ROW][C]46[/C][C]518[/C][C]574.1833030853[/C][C]-56.1833030852995[/C][/ROW]
[ROW][C]47[/C][C]506[/C][C]555.7833030853[/C][C]-49.7833030852995[/C][/ROW]
[ROW][C]48[/C][C]502[/C][C]543.7833030853[/C][C]-41.7833030852995[/C][/ROW]
[ROW][C]49[/C][C]516[/C][C]532.668965517242[/C][C]-16.6689655172417[/C][/ROW]
[ROW][C]50[/C][C]528[/C][C]534.868965517241[/C][C]-6.86896551724138[/C][/ROW]
[ROW][C]51[/C][C]533[/C][C]530.668965517241[/C][C]2.33103448275864[/C][/ROW]
[ROW][C]52[/C][C]536[/C][C]521.868965517241[/C][C]14.1310344827586[/C][/ROW]
[ROW][C]53[/C][C]537[/C][C]516.868965517241[/C][C]20.1310344827586[/C][/ROW]
[ROW][C]54[/C][C]524[/C][C]505.668965517241[/C][C]18.3310344827587[/C][/ROW]
[ROW][C]55[/C][C]536[/C][C]507.868965517241[/C][C]28.1310344827587[/C][/ROW]
[ROW][C]56[/C][C]587[/C][C]551.120145190563[/C][C]35.8798548094374[/C][/ROW]
[ROW][C]57[/C][C]597[/C][C]559.120145190563[/C][C]37.8798548094374[/C][/ROW]
[ROW][C]58[/C][C]581[/C][C]546.720145190563[/C][C]34.2798548094374[/C][/ROW]
[ROW][C]59[/C][C]564[/C][C]528.320145190563[/C][C]35.6798548094374[/C][/ROW]
[ROW][C]60[/C][C]564[/C][C]516.320145190563[/C][C]47.6798548094374[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=62602&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=62602&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
1595602.777495462794-7.77749546279383
2591604.977495462795-13.9774954627950
3589600.777495462795-11.777495462795
4584591.977495462795-7.97749546279498
5573586.977495462795-13.9774954627950
6567575.777495462795-8.77749546279499
7569577.977495462795-8.97749546279498
8621621.228675136116-0.228675136116206
9629629.228675136116-0.228675136116233
10628616.82867513611611.1713248638838
11612598.42867513611613.5713248638838
12595586.4286751361168.5713248638838
13597575.31433756805821.6856624319416
14593577.51433756805815.4856624319419
15590573.31433756805816.6856624319419
16580564.51433756805815.4856624319419
17574559.51433756805814.4856624319419
18573548.31433756805824.6856624319419
19573550.51433756805822.4856624319419
20620593.76551724137926.2344827586207
21626601.76551724137924.2344827586207
22620589.36551724137930.6344827586207
23588570.96551724137917.0344827586207
24566558.9655172413797.03448275862069
25557547.8511796733229.1488203266785
26561550.05117967332110.9488203266788
27549545.8511796733213.14882032667878
28532537.051179673321-5.05117967332122
29526532.051179673321-6.05117967332122
30511520.851179673321-9.85117967332122
31499523.051179673321-24.0511796733212
32555566.302359346642-11.3023593466424
33565574.302359346642-9.30235934664243
34542561.902359346642-19.9023593466425
35527543.502359346642-16.5023593466424
36510531.502359346642-21.5023593466424
37514520.388021778585-6.38802177858463
38517522.588021778584-5.58802177858433
39508518.388021778584-10.3880217785843
40493509.588021778584-16.5880217785843
41490504.588021778584-14.5880217785843
42469493.388021778584-24.3880217785843
43478495.588021778584-17.5880217785843
44528578.5833030853-50.5833030852995
45534586.583303085299-52.5833030852995
46518574.1833030853-56.1833030852995
47506555.7833030853-49.7833030852995
48502543.7833030853-41.7833030852995
49516532.668965517242-16.6689655172417
50528534.868965517241-6.86896551724138
51533530.6689655172412.33103448275864
52536521.86896551724114.1310344827586
53537516.86896551724120.1310344827586
54524505.66896551724118.3310344827587
55536507.86896551724128.1310344827587
56587551.12014519056335.8798548094374
57597559.12014519056337.8798548094374
58581546.72014519056334.2798548094374
59564528.32014519056335.6798548094374
60564516.32014519056347.6798548094374







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.0003749831763060550.000749966352612110.999625016823694
188.33910223767402e-050.0001667820447534800.999916608977623
197.82931422786308e-061.56586284557262e-050.999992170685772
208.09679956352492e-071.61935991270498e-060.999999190320044
211.45664746061371e-072.91329492122743e-070.999999854335254
222.09907676212598e-074.19815352425197e-070.999999790092324
232.22556544203143e-054.45113088406287e-050.99997774434558
240.0001577426476511520.0003154852953023040.999842257352349
250.001304684142164670.002609368284329340.998695315857835
260.001706077500572330.003412155001144660.998293922499428
270.00358441295302290.00716882590604580.996415587046977
280.009759324375051520.01951864875010300.990240675624948
290.01666804243007030.03333608486014070.98333195756993
300.0594034959175020.1188069918350040.940596504082498
310.1627554136711500.3255108273423010.83724458632885
320.2284625335911160.4569250671822320.771537466408884
330.326175206713460.652350413426920.67382479328654
340.543066757988080.913866484023840.45693324201192
350.7863808333592580.4272383332814840.213619166640742
360.9246890092890310.1506219814219380.075310990710969
370.9745404260794490.05091914784110220.0254595739205511
380.996898220132940.006203559734118710.00310177986705935
390.9999109644703050.0001780710593894618.90355296947304e-05
400.9999302698383520.0001394603232962866.97301616481428e-05
410.9999743219696025.13560607965883e-052.56780303982942e-05
420.999812359454050.0003752810918999090.000187640545949955
430.9979278415633970.004144316873205390.00207215843660269

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.000374983176306055 & 0.00074996635261211 & 0.999625016823694 \tabularnewline
18 & 8.33910223767402e-05 & 0.000166782044753480 & 0.999916608977623 \tabularnewline
19 & 7.82931422786308e-06 & 1.56586284557262e-05 & 0.999992170685772 \tabularnewline
20 & 8.09679956352492e-07 & 1.61935991270498e-06 & 0.999999190320044 \tabularnewline
21 & 1.45664746061371e-07 & 2.91329492122743e-07 & 0.999999854335254 \tabularnewline
22 & 2.09907676212598e-07 & 4.19815352425197e-07 & 0.999999790092324 \tabularnewline
23 & 2.22556544203143e-05 & 4.45113088406287e-05 & 0.99997774434558 \tabularnewline
24 & 0.000157742647651152 & 0.000315485295302304 & 0.999842257352349 \tabularnewline
25 & 0.00130468414216467 & 0.00260936828432934 & 0.998695315857835 \tabularnewline
26 & 0.00170607750057233 & 0.00341215500114466 & 0.998293922499428 \tabularnewline
27 & 0.0035844129530229 & 0.0071688259060458 & 0.996415587046977 \tabularnewline
28 & 0.00975932437505152 & 0.0195186487501030 & 0.990240675624948 \tabularnewline
29 & 0.0166680424300703 & 0.0333360848601407 & 0.98333195756993 \tabularnewline
30 & 0.059403495917502 & 0.118806991835004 & 0.940596504082498 \tabularnewline
31 & 0.162755413671150 & 0.325510827342301 & 0.83724458632885 \tabularnewline
32 & 0.228462533591116 & 0.456925067182232 & 0.771537466408884 \tabularnewline
33 & 0.32617520671346 & 0.65235041342692 & 0.67382479328654 \tabularnewline
34 & 0.54306675798808 & 0.91386648402384 & 0.45693324201192 \tabularnewline
35 & 0.786380833359258 & 0.427238333281484 & 0.213619166640742 \tabularnewline
36 & 0.924689009289031 & 0.150621981421938 & 0.075310990710969 \tabularnewline
37 & 0.974540426079449 & 0.0509191478411022 & 0.0254595739205511 \tabularnewline
38 & 0.99689822013294 & 0.00620355973411871 & 0.00310177986705935 \tabularnewline
39 & 0.999910964470305 & 0.000178071059389461 & 8.90355296947304e-05 \tabularnewline
40 & 0.999930269838352 & 0.000139460323296286 & 6.97301616481428e-05 \tabularnewline
41 & 0.999974321969602 & 5.13560607965883e-05 & 2.56780303982942e-05 \tabularnewline
42 & 0.99981235945405 & 0.000375281091899909 & 0.000187640545949955 \tabularnewline
43 & 0.997927841563397 & 0.00414431687320539 & 0.00207215843660269 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=62602&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.000374983176306055[/C][C]0.00074996635261211[/C][C]0.999625016823694[/C][/ROW]
[ROW][C]18[/C][C]8.33910223767402e-05[/C][C]0.000166782044753480[/C][C]0.999916608977623[/C][/ROW]
[ROW][C]19[/C][C]7.82931422786308e-06[/C][C]1.56586284557262e-05[/C][C]0.999992170685772[/C][/ROW]
[ROW][C]20[/C][C]8.09679956352492e-07[/C][C]1.61935991270498e-06[/C][C]0.999999190320044[/C][/ROW]
[ROW][C]21[/C][C]1.45664746061371e-07[/C][C]2.91329492122743e-07[/C][C]0.999999854335254[/C][/ROW]
[ROW][C]22[/C][C]2.09907676212598e-07[/C][C]4.19815352425197e-07[/C][C]0.999999790092324[/C][/ROW]
[ROW][C]23[/C][C]2.22556544203143e-05[/C][C]4.45113088406287e-05[/C][C]0.99997774434558[/C][/ROW]
[ROW][C]24[/C][C]0.000157742647651152[/C][C]0.000315485295302304[/C][C]0.999842257352349[/C][/ROW]
[ROW][C]25[/C][C]0.00130468414216467[/C][C]0.00260936828432934[/C][C]0.998695315857835[/C][/ROW]
[ROW][C]26[/C][C]0.00170607750057233[/C][C]0.00341215500114466[/C][C]0.998293922499428[/C][/ROW]
[ROW][C]27[/C][C]0.0035844129530229[/C][C]0.0071688259060458[/C][C]0.996415587046977[/C][/ROW]
[ROW][C]28[/C][C]0.00975932437505152[/C][C]0.0195186487501030[/C][C]0.990240675624948[/C][/ROW]
[ROW][C]29[/C][C]0.0166680424300703[/C][C]0.0333360848601407[/C][C]0.98333195756993[/C][/ROW]
[ROW][C]30[/C][C]0.059403495917502[/C][C]0.118806991835004[/C][C]0.940596504082498[/C][/ROW]
[ROW][C]31[/C][C]0.162755413671150[/C][C]0.325510827342301[/C][C]0.83724458632885[/C][/ROW]
[ROW][C]32[/C][C]0.228462533591116[/C][C]0.456925067182232[/C][C]0.771537466408884[/C][/ROW]
[ROW][C]33[/C][C]0.32617520671346[/C][C]0.65235041342692[/C][C]0.67382479328654[/C][/ROW]
[ROW][C]34[/C][C]0.54306675798808[/C][C]0.91386648402384[/C][C]0.45693324201192[/C][/ROW]
[ROW][C]35[/C][C]0.786380833359258[/C][C]0.427238333281484[/C][C]0.213619166640742[/C][/ROW]
[ROW][C]36[/C][C]0.924689009289031[/C][C]0.150621981421938[/C][C]0.075310990710969[/C][/ROW]
[ROW][C]37[/C][C]0.974540426079449[/C][C]0.0509191478411022[/C][C]0.0254595739205511[/C][/ROW]
[ROW][C]38[/C][C]0.99689822013294[/C][C]0.00620355973411871[/C][C]0.00310177986705935[/C][/ROW]
[ROW][C]39[/C][C]0.999910964470305[/C][C]0.000178071059389461[/C][C]8.90355296947304e-05[/C][/ROW]
[ROW][C]40[/C][C]0.999930269838352[/C][C]0.000139460323296286[/C][C]6.97301616481428e-05[/C][/ROW]
[ROW][C]41[/C][C]0.999974321969602[/C][C]5.13560607965883e-05[/C][C]2.56780303982942e-05[/C][/ROW]
[ROW][C]42[/C][C]0.99981235945405[/C][C]0.000375281091899909[/C][C]0.000187640545949955[/C][/ROW]
[ROW][C]43[/C][C]0.997927841563397[/C][C]0.00414431687320539[/C][C]0.00207215843660269[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=62602&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=62602&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.0003749831763060550.000749966352612110.999625016823694
188.33910223767402e-050.0001667820447534800.999916608977623
197.82931422786308e-061.56586284557262e-050.999992170685772
208.09679956352492e-071.61935991270498e-060.999999190320044
211.45664746061371e-072.91329492122743e-070.999999854335254
222.09907676212598e-074.19815352425197e-070.999999790092324
232.22556544203143e-054.45113088406287e-050.99997774434558
240.0001577426476511520.0003154852953023040.999842257352349
250.001304684142164670.002609368284329340.998695315857835
260.001706077500572330.003412155001144660.998293922499428
270.00358441295302290.00716882590604580.996415587046977
280.009759324375051520.01951864875010300.990240675624948
290.01666804243007030.03333608486014070.98333195756993
300.0594034959175020.1188069918350040.940596504082498
310.1627554136711500.3255108273423010.83724458632885
320.2284625335911160.4569250671822320.771537466408884
330.326175206713460.652350413426920.67382479328654
340.543066757988080.913866484023840.45693324201192
350.7863808333592580.4272383332814840.213619166640742
360.9246890092890310.1506219814219380.075310990710969
370.9745404260794490.05091914784110220.0254595739205511
380.996898220132940.006203559734118710.00310177986705935
390.9999109644703050.0001780710593894618.90355296947304e-05
400.9999302698383520.0001394603232962866.97301616481428e-05
410.9999743219696025.13560607965883e-052.56780303982942e-05
420.999812359454050.0003752810918999090.000187640545949955
430.9979278415633970.004144316873205390.00207215843660269







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

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

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



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