Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationMon, 24 Nov 2008 14:20:12 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Nov/24/t1227561691ye78dvx45vs0zro.htm/, Retrieved Tue, 14 May 2024 11:41:27 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=25544, Retrieved Tue, 14 May 2024 11:41:27 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact159
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F     [Multiple Regression] [Q1 Seatbelt, no t...] [2008-11-24 10:11:24] [deb3c14ac9e4607a6d84fc9d0e0e6cc2]
-    D  [Multiple Regression] [Q3 Reeks 1, no tr...] [2008-11-24 21:13:49] [deb3c14ac9e4607a6d84fc9d0e0e6cc2]
-   P     [Multiple Regression] [Q3 Reeks 1, trend...] [2008-11-24 21:18:00] [deb3c14ac9e4607a6d84fc9d0e0e6cc2]
-   P         [Multiple Regression] [Q3 Reeks 1, no tr...] [2008-11-24 21:20:12] [5e9e099b83e50415d7642e10d74756e4] [Current]
F   P           [Multiple Regression] [Q3 Reeks 1, trend...] [2008-11-24 21:23:20] [deb3c14ac9e4607a6d84fc9d0e0e6cc2]
Feedback Forum

Post a new message
Dataseries X:
577992	0
565464	0
547344	0
554788	0
562325	0
560854	0
555332	1
543599	1
536662	1
542722	1
593530	1
610763	1
612613	1
611324	1
594167	1
595454	1
590865	1
589379	1
584428	1
573100	1
567456	1
569028	1
620735	1
628884	1
628232	1
612117	1
595404	1
597141	1
593408	1
590072	1
579799	1
574205	1
572775	1
572942	1
619567	1
625809	1
619916	1
587625	1
565742	1
557274	1
560576	1
548854	1
531673	1
525919	1
511038	1
498662	1
555362	1
564591	1
541657	1
527070	1
509846	1
514258	1
516922	1
507561	1
492622	1
490243	1
469357	1
477580	1
528379	1
533590	1
517945	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 5 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25544&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]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25544&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25544&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 time5 seconds
R Server'George Udny Yule' @ 72.249.76.132







Multiple Linear Regression - Estimated Regression Equation
Werkloosheid[t] = + 583322.096551724 + 9405.30344827585Aanslag[t] -8100.68275862071M1[t] -10126.3393103449M2[t] -28345.7393103448M3[t] -27063.3393103449M4[t] -26027.1393103449M5[t] -31502.3393103448M6[t] -43956.6M7[t] -51314.2M8[t] -61269.8M9[t] -60540.6M10[t] -9212.8M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Werkloosheid[t] =  +  583322.096551724 +  9405.30344827585Aanslag[t] -8100.68275862071M1[t] -10126.3393103449M2[t] -28345.7393103448M3[t] -27063.3393103449M4[t] -26027.1393103449M5[t] -31502.3393103448M6[t] -43956.6M7[t] -51314.2M8[t] -61269.8M9[t] -60540.6M10[t] -9212.8M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25544&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Werkloosheid[t] =  +  583322.096551724 +  9405.30344827585Aanslag[t] -8100.68275862071M1[t] -10126.3393103449M2[t] -28345.7393103448M3[t] -27063.3393103449M4[t] -26027.1393103449M5[t] -31502.3393103448M6[t] -43956.6M7[t] -51314.2M8[t] -61269.8M9[t] -60540.6M10[t] -9212.8M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25544&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25544&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
Werkloosheid[t] = + 583322.096551724 + 9405.30344827585Aanslag[t] -8100.68275862071M1[t] -10126.3393103449M2[t] -28345.7393103448M3[t] -27063.3393103449M4[t] -26027.1393103449M5[t] -31502.3393103448M6[t] -43956.6M7[t] -51314.2M8[t] -61269.8M9[t] -60540.6M10[t] -9212.8M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)583322.09655172424702.93928923.613500
Aanslag9405.3034482758517615.0245410.53390.595850.297925
M1-8100.6827586207123633.035379-0.34280.7332680.366634
M2-10126.339310344924744.773255-0.40920.684190.342095
M3-28345.739310344824744.773255-1.14550.2576710.128836
M4-27063.339310344924744.773255-1.09370.2795450.139773
M5-26027.139310344924744.773255-1.05180.2981470.149073
M6-31502.339310344824744.773255-1.27310.2091170.104559
M7-43956.624492.697684-1.79470.0790030.039501
M8-51314.224492.697684-2.09510.0414650.020732
M9-61269.824492.697684-2.50160.0158280.007914
M10-60540.624492.697684-2.47180.0170420.008521
M11-9212.824492.697684-0.37610.7084670.354233

\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) & 583322.096551724 & 24702.939289 & 23.6135 & 0 & 0 \tabularnewline
Aanslag & 9405.30344827585 & 17615.024541 & 0.5339 & 0.59585 & 0.297925 \tabularnewline
M1 & -8100.68275862071 & 23633.035379 & -0.3428 & 0.733268 & 0.366634 \tabularnewline
M2 & -10126.3393103449 & 24744.773255 & -0.4092 & 0.68419 & 0.342095 \tabularnewline
M3 & -28345.7393103448 & 24744.773255 & -1.1455 & 0.257671 & 0.128836 \tabularnewline
M4 & -27063.3393103449 & 24744.773255 & -1.0937 & 0.279545 & 0.139773 \tabularnewline
M5 & -26027.1393103449 & 24744.773255 & -1.0518 & 0.298147 & 0.149073 \tabularnewline
M6 & -31502.3393103448 & 24744.773255 & -1.2731 & 0.209117 & 0.104559 \tabularnewline
M7 & -43956.6 & 24492.697684 & -1.7947 & 0.079003 & 0.039501 \tabularnewline
M8 & -51314.2 & 24492.697684 & -2.0951 & 0.041465 & 0.020732 \tabularnewline
M9 & -61269.8 & 24492.697684 & -2.5016 & 0.015828 & 0.007914 \tabularnewline
M10 & -60540.6 & 24492.697684 & -2.4718 & 0.017042 & 0.008521 \tabularnewline
M11 & -9212.8 & 24492.697684 & -0.3761 & 0.708467 & 0.354233 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25544&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]583322.096551724[/C][C]24702.939289[/C][C]23.6135[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Aanslag[/C][C]9405.30344827585[/C][C]17615.024541[/C][C]0.5339[/C][C]0.59585[/C][C]0.297925[/C][/ROW]
[ROW][C]M1[/C][C]-8100.68275862071[/C][C]23633.035379[/C][C]-0.3428[/C][C]0.733268[/C][C]0.366634[/C][/ROW]
[ROW][C]M2[/C][C]-10126.3393103449[/C][C]24744.773255[/C][C]-0.4092[/C][C]0.68419[/C][C]0.342095[/C][/ROW]
[ROW][C]M3[/C][C]-28345.7393103448[/C][C]24744.773255[/C][C]-1.1455[/C][C]0.257671[/C][C]0.128836[/C][/ROW]
[ROW][C]M4[/C][C]-27063.3393103449[/C][C]24744.773255[/C][C]-1.0937[/C][C]0.279545[/C][C]0.139773[/C][/ROW]
[ROW][C]M5[/C][C]-26027.1393103449[/C][C]24744.773255[/C][C]-1.0518[/C][C]0.298147[/C][C]0.149073[/C][/ROW]
[ROW][C]M6[/C][C]-31502.3393103448[/C][C]24744.773255[/C][C]-1.2731[/C][C]0.209117[/C][C]0.104559[/C][/ROW]
[ROW][C]M7[/C][C]-43956.6[/C][C]24492.697684[/C][C]-1.7947[/C][C]0.079003[/C][C]0.039501[/C][/ROW]
[ROW][C]M8[/C][C]-51314.2[/C][C]24492.697684[/C][C]-2.0951[/C][C]0.041465[/C][C]0.020732[/C][/ROW]
[ROW][C]M9[/C][C]-61269.8[/C][C]24492.697684[/C][C]-2.5016[/C][C]0.015828[/C][C]0.007914[/C][/ROW]
[ROW][C]M10[/C][C]-60540.6[/C][C]24492.697684[/C][C]-2.4718[/C][C]0.017042[/C][C]0.008521[/C][/ROW]
[ROW][C]M11[/C][C]-9212.8[/C][C]24492.697684[/C][C]-0.3761[/C][C]0.708467[/C][C]0.354233[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25544&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25544&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)583322.09655172424702.93928923.613500
Aanslag9405.3034482758517615.0245410.53390.595850.297925
M1-8100.6827586207123633.035379-0.34280.7332680.366634
M2-10126.339310344924744.773255-0.40920.684190.342095
M3-28345.739310344824744.773255-1.14550.2576710.128836
M4-27063.339310344924744.773255-1.09370.2795450.139773
M5-26027.139310344924744.773255-1.05180.2981470.149073
M6-31502.339310344824744.773255-1.27310.2091170.104559
M7-43956.624492.697684-1.79470.0790030.039501
M8-51314.224492.697684-2.09510.0414650.020732
M9-61269.824492.697684-2.50160.0158280.007914
M10-60540.624492.697684-2.47180.0170420.008521
M11-9212.824492.697684-0.37610.7084670.354233







Multiple Linear Regression - Regression Statistics
Multiple R0.500519309723004
R-squared0.250519579405592
Adjusted R-squared0.0631494742569906
F-TEST (value)1.33703068163893
F-TEST (DF numerator)12
F-TEST (DF denominator)48
p-value0.229759932151090
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation38726.3553617151
Sum Squared Residuals71987068780.8883

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.500519309723004 \tabularnewline
R-squared & 0.250519579405592 \tabularnewline
Adjusted R-squared & 0.0631494742569906 \tabularnewline
F-TEST (value) & 1.33703068163893 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 48 \tabularnewline
p-value & 0.229759932151090 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 38726.3553617151 \tabularnewline
Sum Squared Residuals & 71987068780.8883 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25544&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.500519309723004[/C][/ROW]
[ROW][C]R-squared[/C][C]0.250519579405592[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.0631494742569906[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]1.33703068163893[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]48[/C][/ROW]
[ROW][C]p-value[/C][C]0.229759932151090[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]38726.3553617151[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]71987068780.8883[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25544&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25544&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.500519309723004
R-squared0.250519579405592
Adjusted R-squared0.0631494742569906
F-TEST (value)1.33703068163893
F-TEST (DF numerator)12
F-TEST (DF denominator)48
p-value0.229759932151090
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation38726.3553617151
Sum Squared Residuals71987068780.8883







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1577992575221.4137931032770.58620689655
2565464573195.757241379-7731.75724137936
3547344554976.357241379-7632.35724137926
4554788556258.757241379-1470.75724137926
5562325557294.9572413795030.04275862068
6560854551819.7572413799034.24275862072
7555332548770.86561.20000000003
8543599541413.22185.80000000006
9536662531457.65204.39999999995
10542722532186.810535.2
11593530583514.610015.4000000000
12610763592727.418035.6
13612613584626.71724137927986.2827586207
14611324582601.06068965528722.9393103448
15594167564381.66068965529785.3393103448
16595454565664.06068965529789.9393103448
17590865566700.26068965524164.7393103448
18589379561225.06068965528153.9393103448
19584428548770.835657.2
20573100541413.231686.8
21567456531457.635998.4
22569028532186.836841.2
23620735583514.637220.4
24628884592727.436156.6
25628232584626.71724137943605.2827586207
26612117582601.06068965529515.9393103448
27595404564381.66068965531022.3393103448
28597141565664.06068965531476.9393103448
29593408566700.26068965526707.7393103448
30590072561225.06068965528846.9393103448
31579799548770.831028.2
32574205541413.232791.8
33572775531457.641317.4
34572942532186.840755.2
35619567583514.636052.4
36625809592727.433081.6
37619916584626.71724137935289.2827586207
38587625582601.0606896555023.93931034485
39565742564381.6606896551360.33931034483
40557274565664.060689655-8390.06068965517
41560576566700.260689655-6124.26068965516
42548854561225.060689655-12371.0606896552
43531673548770.8-17097.8
44525919541413.2-15494.2
45511038531457.6-20419.6
46498662532186.8-33524.8
47555362583514.6-28152.6
48564591592727.4-28136.4
49541657584626.717241379-42969.7172413793
50527070582601.060689655-55531.0606896551
51509846564381.660689655-54535.6606896552
52514258565664.060689655-51406.0606896552
53516922566700.260689655-49778.2606896552
54507561561225.060689655-53664.0606896552
55492622548770.8-56148.8
56490243541413.2-51170.2
57469357531457.6-62100.6
58477580532186.8-54606.8
59528379583514.6-55135.6
60533590592727.4-59137.4
61517945584626.717241379-66681.7172413793

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 577992 & 575221.413793103 & 2770.58620689655 \tabularnewline
2 & 565464 & 573195.757241379 & -7731.75724137936 \tabularnewline
3 & 547344 & 554976.357241379 & -7632.35724137926 \tabularnewline
4 & 554788 & 556258.757241379 & -1470.75724137926 \tabularnewline
5 & 562325 & 557294.957241379 & 5030.04275862068 \tabularnewline
6 & 560854 & 551819.757241379 & 9034.24275862072 \tabularnewline
7 & 555332 & 548770.8 & 6561.20000000003 \tabularnewline
8 & 543599 & 541413.2 & 2185.80000000006 \tabularnewline
9 & 536662 & 531457.6 & 5204.39999999995 \tabularnewline
10 & 542722 & 532186.8 & 10535.2 \tabularnewline
11 & 593530 & 583514.6 & 10015.4000000000 \tabularnewline
12 & 610763 & 592727.4 & 18035.6 \tabularnewline
13 & 612613 & 584626.717241379 & 27986.2827586207 \tabularnewline
14 & 611324 & 582601.060689655 & 28722.9393103448 \tabularnewline
15 & 594167 & 564381.660689655 & 29785.3393103448 \tabularnewline
16 & 595454 & 565664.060689655 & 29789.9393103448 \tabularnewline
17 & 590865 & 566700.260689655 & 24164.7393103448 \tabularnewline
18 & 589379 & 561225.060689655 & 28153.9393103448 \tabularnewline
19 & 584428 & 548770.8 & 35657.2 \tabularnewline
20 & 573100 & 541413.2 & 31686.8 \tabularnewline
21 & 567456 & 531457.6 & 35998.4 \tabularnewline
22 & 569028 & 532186.8 & 36841.2 \tabularnewline
23 & 620735 & 583514.6 & 37220.4 \tabularnewline
24 & 628884 & 592727.4 & 36156.6 \tabularnewline
25 & 628232 & 584626.717241379 & 43605.2827586207 \tabularnewline
26 & 612117 & 582601.060689655 & 29515.9393103448 \tabularnewline
27 & 595404 & 564381.660689655 & 31022.3393103448 \tabularnewline
28 & 597141 & 565664.060689655 & 31476.9393103448 \tabularnewline
29 & 593408 & 566700.260689655 & 26707.7393103448 \tabularnewline
30 & 590072 & 561225.060689655 & 28846.9393103448 \tabularnewline
31 & 579799 & 548770.8 & 31028.2 \tabularnewline
32 & 574205 & 541413.2 & 32791.8 \tabularnewline
33 & 572775 & 531457.6 & 41317.4 \tabularnewline
34 & 572942 & 532186.8 & 40755.2 \tabularnewline
35 & 619567 & 583514.6 & 36052.4 \tabularnewline
36 & 625809 & 592727.4 & 33081.6 \tabularnewline
37 & 619916 & 584626.717241379 & 35289.2827586207 \tabularnewline
38 & 587625 & 582601.060689655 & 5023.93931034485 \tabularnewline
39 & 565742 & 564381.660689655 & 1360.33931034483 \tabularnewline
40 & 557274 & 565664.060689655 & -8390.06068965517 \tabularnewline
41 & 560576 & 566700.260689655 & -6124.26068965516 \tabularnewline
42 & 548854 & 561225.060689655 & -12371.0606896552 \tabularnewline
43 & 531673 & 548770.8 & -17097.8 \tabularnewline
44 & 525919 & 541413.2 & -15494.2 \tabularnewline
45 & 511038 & 531457.6 & -20419.6 \tabularnewline
46 & 498662 & 532186.8 & -33524.8 \tabularnewline
47 & 555362 & 583514.6 & -28152.6 \tabularnewline
48 & 564591 & 592727.4 & -28136.4 \tabularnewline
49 & 541657 & 584626.717241379 & -42969.7172413793 \tabularnewline
50 & 527070 & 582601.060689655 & -55531.0606896551 \tabularnewline
51 & 509846 & 564381.660689655 & -54535.6606896552 \tabularnewline
52 & 514258 & 565664.060689655 & -51406.0606896552 \tabularnewline
53 & 516922 & 566700.260689655 & -49778.2606896552 \tabularnewline
54 & 507561 & 561225.060689655 & -53664.0606896552 \tabularnewline
55 & 492622 & 548770.8 & -56148.8 \tabularnewline
56 & 490243 & 541413.2 & -51170.2 \tabularnewline
57 & 469357 & 531457.6 & -62100.6 \tabularnewline
58 & 477580 & 532186.8 & -54606.8 \tabularnewline
59 & 528379 & 583514.6 & -55135.6 \tabularnewline
60 & 533590 & 592727.4 & -59137.4 \tabularnewline
61 & 517945 & 584626.717241379 & -66681.7172413793 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25544&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]577992[/C][C]575221.413793103[/C][C]2770.58620689655[/C][/ROW]
[ROW][C]2[/C][C]565464[/C][C]573195.757241379[/C][C]-7731.75724137936[/C][/ROW]
[ROW][C]3[/C][C]547344[/C][C]554976.357241379[/C][C]-7632.35724137926[/C][/ROW]
[ROW][C]4[/C][C]554788[/C][C]556258.757241379[/C][C]-1470.75724137926[/C][/ROW]
[ROW][C]5[/C][C]562325[/C][C]557294.957241379[/C][C]5030.04275862068[/C][/ROW]
[ROW][C]6[/C][C]560854[/C][C]551819.757241379[/C][C]9034.24275862072[/C][/ROW]
[ROW][C]7[/C][C]555332[/C][C]548770.8[/C][C]6561.20000000003[/C][/ROW]
[ROW][C]8[/C][C]543599[/C][C]541413.2[/C][C]2185.80000000006[/C][/ROW]
[ROW][C]9[/C][C]536662[/C][C]531457.6[/C][C]5204.39999999995[/C][/ROW]
[ROW][C]10[/C][C]542722[/C][C]532186.8[/C][C]10535.2[/C][/ROW]
[ROW][C]11[/C][C]593530[/C][C]583514.6[/C][C]10015.4000000000[/C][/ROW]
[ROW][C]12[/C][C]610763[/C][C]592727.4[/C][C]18035.6[/C][/ROW]
[ROW][C]13[/C][C]612613[/C][C]584626.717241379[/C][C]27986.2827586207[/C][/ROW]
[ROW][C]14[/C][C]611324[/C][C]582601.060689655[/C][C]28722.9393103448[/C][/ROW]
[ROW][C]15[/C][C]594167[/C][C]564381.660689655[/C][C]29785.3393103448[/C][/ROW]
[ROW][C]16[/C][C]595454[/C][C]565664.060689655[/C][C]29789.9393103448[/C][/ROW]
[ROW][C]17[/C][C]590865[/C][C]566700.260689655[/C][C]24164.7393103448[/C][/ROW]
[ROW][C]18[/C][C]589379[/C][C]561225.060689655[/C][C]28153.9393103448[/C][/ROW]
[ROW][C]19[/C][C]584428[/C][C]548770.8[/C][C]35657.2[/C][/ROW]
[ROW][C]20[/C][C]573100[/C][C]541413.2[/C][C]31686.8[/C][/ROW]
[ROW][C]21[/C][C]567456[/C][C]531457.6[/C][C]35998.4[/C][/ROW]
[ROW][C]22[/C][C]569028[/C][C]532186.8[/C][C]36841.2[/C][/ROW]
[ROW][C]23[/C][C]620735[/C][C]583514.6[/C][C]37220.4[/C][/ROW]
[ROW][C]24[/C][C]628884[/C][C]592727.4[/C][C]36156.6[/C][/ROW]
[ROW][C]25[/C][C]628232[/C][C]584626.717241379[/C][C]43605.2827586207[/C][/ROW]
[ROW][C]26[/C][C]612117[/C][C]582601.060689655[/C][C]29515.9393103448[/C][/ROW]
[ROW][C]27[/C][C]595404[/C][C]564381.660689655[/C][C]31022.3393103448[/C][/ROW]
[ROW][C]28[/C][C]597141[/C][C]565664.060689655[/C][C]31476.9393103448[/C][/ROW]
[ROW][C]29[/C][C]593408[/C][C]566700.260689655[/C][C]26707.7393103448[/C][/ROW]
[ROW][C]30[/C][C]590072[/C][C]561225.060689655[/C][C]28846.9393103448[/C][/ROW]
[ROW][C]31[/C][C]579799[/C][C]548770.8[/C][C]31028.2[/C][/ROW]
[ROW][C]32[/C][C]574205[/C][C]541413.2[/C][C]32791.8[/C][/ROW]
[ROW][C]33[/C][C]572775[/C][C]531457.6[/C][C]41317.4[/C][/ROW]
[ROW][C]34[/C][C]572942[/C][C]532186.8[/C][C]40755.2[/C][/ROW]
[ROW][C]35[/C][C]619567[/C][C]583514.6[/C][C]36052.4[/C][/ROW]
[ROW][C]36[/C][C]625809[/C][C]592727.4[/C][C]33081.6[/C][/ROW]
[ROW][C]37[/C][C]619916[/C][C]584626.717241379[/C][C]35289.2827586207[/C][/ROW]
[ROW][C]38[/C][C]587625[/C][C]582601.060689655[/C][C]5023.93931034485[/C][/ROW]
[ROW][C]39[/C][C]565742[/C][C]564381.660689655[/C][C]1360.33931034483[/C][/ROW]
[ROW][C]40[/C][C]557274[/C][C]565664.060689655[/C][C]-8390.06068965517[/C][/ROW]
[ROW][C]41[/C][C]560576[/C][C]566700.260689655[/C][C]-6124.26068965516[/C][/ROW]
[ROW][C]42[/C][C]548854[/C][C]561225.060689655[/C][C]-12371.0606896552[/C][/ROW]
[ROW][C]43[/C][C]531673[/C][C]548770.8[/C][C]-17097.8[/C][/ROW]
[ROW][C]44[/C][C]525919[/C][C]541413.2[/C][C]-15494.2[/C][/ROW]
[ROW][C]45[/C][C]511038[/C][C]531457.6[/C][C]-20419.6[/C][/ROW]
[ROW][C]46[/C][C]498662[/C][C]532186.8[/C][C]-33524.8[/C][/ROW]
[ROW][C]47[/C][C]555362[/C][C]583514.6[/C][C]-28152.6[/C][/ROW]
[ROW][C]48[/C][C]564591[/C][C]592727.4[/C][C]-28136.4[/C][/ROW]
[ROW][C]49[/C][C]541657[/C][C]584626.717241379[/C][C]-42969.7172413793[/C][/ROW]
[ROW][C]50[/C][C]527070[/C][C]582601.060689655[/C][C]-55531.0606896551[/C][/ROW]
[ROW][C]51[/C][C]509846[/C][C]564381.660689655[/C][C]-54535.6606896552[/C][/ROW]
[ROW][C]52[/C][C]514258[/C][C]565664.060689655[/C][C]-51406.0606896552[/C][/ROW]
[ROW][C]53[/C][C]516922[/C][C]566700.260689655[/C][C]-49778.2606896552[/C][/ROW]
[ROW][C]54[/C][C]507561[/C][C]561225.060689655[/C][C]-53664.0606896552[/C][/ROW]
[ROW][C]55[/C][C]492622[/C][C]548770.8[/C][C]-56148.8[/C][/ROW]
[ROW][C]56[/C][C]490243[/C][C]541413.2[/C][C]-51170.2[/C][/ROW]
[ROW][C]57[/C][C]469357[/C][C]531457.6[/C][C]-62100.6[/C][/ROW]
[ROW][C]58[/C][C]477580[/C][C]532186.8[/C][C]-54606.8[/C][/ROW]
[ROW][C]59[/C][C]528379[/C][C]583514.6[/C][C]-55135.6[/C][/ROW]
[ROW][C]60[/C][C]533590[/C][C]592727.4[/C][C]-59137.4[/C][/ROW]
[ROW][C]61[/C][C]517945[/C][C]584626.717241379[/C][C]-66681.7172413793[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25544&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25544&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
1577992575221.4137931032770.58620689655
2565464573195.757241379-7731.75724137936
3547344554976.357241379-7632.35724137926
4554788556258.757241379-1470.75724137926
5562325557294.9572413795030.04275862068
6560854551819.7572413799034.24275862072
7555332548770.86561.20000000003
8543599541413.22185.80000000006
9536662531457.65204.39999999995
10542722532186.810535.2
11593530583514.610015.4000000000
12610763592727.418035.6
13612613584626.71724137927986.2827586207
14611324582601.06068965528722.9393103448
15594167564381.66068965529785.3393103448
16595454565664.06068965529789.9393103448
17590865566700.26068965524164.7393103448
18589379561225.06068965528153.9393103448
19584428548770.835657.2
20573100541413.231686.8
21567456531457.635998.4
22569028532186.836841.2
23620735583514.637220.4
24628884592727.436156.6
25628232584626.71724137943605.2827586207
26612117582601.06068965529515.9393103448
27595404564381.66068965531022.3393103448
28597141565664.06068965531476.9393103448
29593408566700.26068965526707.7393103448
30590072561225.06068965528846.9393103448
31579799548770.831028.2
32574205541413.232791.8
33572775531457.641317.4
34572942532186.840755.2
35619567583514.636052.4
36625809592727.433081.6
37619916584626.71724137935289.2827586207
38587625582601.0606896555023.93931034485
39565742564381.6606896551360.33931034483
40557274565664.060689655-8390.06068965517
41560576566700.260689655-6124.26068965516
42548854561225.060689655-12371.0606896552
43531673548770.8-17097.8
44525919541413.2-15494.2
45511038531457.6-20419.6
46498662532186.8-33524.8
47555362583514.6-28152.6
48564591592727.4-28136.4
49541657584626.717241379-42969.7172413793
50527070582601.060689655-55531.0606896551
51509846564381.660689655-54535.6606896552
52514258565664.060689655-51406.0606896552
53516922566700.260689655-49778.2606896552
54507561561225.060689655-53664.0606896552
55492622548770.8-56148.8
56490243541413.2-51170.2
57469357531457.6-62100.6
58477580532186.8-54606.8
59528379583514.6-55135.6
60533590592727.4-59137.4
61517945584626.717241379-66681.7172413793







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.0009190184843356580.001838036968671320.999080981515664
170.0004122365068926180.0008244730137852350.999587763493107
189.83958541168672e-050.0001967917082337340.999901604145883
190.0004560046131687970.0009120092263375950.999543995386831
200.0005695529390205910.001139105878041180.99943044706098
210.0005937964472372730.001187592894474550.999406203552763
220.0004151582524834390.0008303165049668790.999584841747517
230.0003029171410437440.0006058342820874870.999697082858956
240.0001486406516459030.0002972813032918060.999851359348354
257.9279368984664e-050.0001585587379693280.999920720631015
262.89685429720202e-055.79370859440405e-050.999971031457028
271.09618411119453e-052.19236822238907e-050.999989038158888
284.23847940276929e-068.47695880553857e-060.999995761520597
291.54698002606961e-063.09396005213922e-060.999998453019974
306.52191604593873e-071.30438320918775e-060.999999347808395
313.73840805054228e-077.47681610108455e-070.999999626159195
323.09536100504507e-076.19072201009015e-070.9999996904639
336.41553564862492e-071.28310712972498e-060.999999358446435
341.48381193799552e-062.96762387599105e-060.999998516188062
352.93125419987785e-065.8625083997557e-060.9999970687458
366.95119328717758e-061.39023865743552e-050.999993048806713
379.04273869720984e-050.0001808547739441970.999909572613028
380.0003549592976509740.0007099185953019490.999645040702349
390.001608824104665520.003217648209331050.998391175895335
400.007066234407866580.01413246881573320.992933765592133
410.01936662512217300.03873325024434590.980633374877827
420.05535693634595650.1107138726919130.944643063654043
430.1115675036848470.2231350073696940.888432496315153
440.161475170133180.322950340266360.83852482986682
450.3066130530793700.6132261061587410.69338694692063

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.000919018484335658 & 0.00183803696867132 & 0.999080981515664 \tabularnewline
17 & 0.000412236506892618 & 0.000824473013785235 & 0.999587763493107 \tabularnewline
18 & 9.83958541168672e-05 & 0.000196791708233734 & 0.999901604145883 \tabularnewline
19 & 0.000456004613168797 & 0.000912009226337595 & 0.999543995386831 \tabularnewline
20 & 0.000569552939020591 & 0.00113910587804118 & 0.99943044706098 \tabularnewline
21 & 0.000593796447237273 & 0.00118759289447455 & 0.999406203552763 \tabularnewline
22 & 0.000415158252483439 & 0.000830316504966879 & 0.999584841747517 \tabularnewline
23 & 0.000302917141043744 & 0.000605834282087487 & 0.999697082858956 \tabularnewline
24 & 0.000148640651645903 & 0.000297281303291806 & 0.999851359348354 \tabularnewline
25 & 7.9279368984664e-05 & 0.000158558737969328 & 0.999920720631015 \tabularnewline
26 & 2.89685429720202e-05 & 5.79370859440405e-05 & 0.999971031457028 \tabularnewline
27 & 1.09618411119453e-05 & 2.19236822238907e-05 & 0.999989038158888 \tabularnewline
28 & 4.23847940276929e-06 & 8.47695880553857e-06 & 0.999995761520597 \tabularnewline
29 & 1.54698002606961e-06 & 3.09396005213922e-06 & 0.999998453019974 \tabularnewline
30 & 6.52191604593873e-07 & 1.30438320918775e-06 & 0.999999347808395 \tabularnewline
31 & 3.73840805054228e-07 & 7.47681610108455e-07 & 0.999999626159195 \tabularnewline
32 & 3.09536100504507e-07 & 6.19072201009015e-07 & 0.9999996904639 \tabularnewline
33 & 6.41553564862492e-07 & 1.28310712972498e-06 & 0.999999358446435 \tabularnewline
34 & 1.48381193799552e-06 & 2.96762387599105e-06 & 0.999998516188062 \tabularnewline
35 & 2.93125419987785e-06 & 5.8625083997557e-06 & 0.9999970687458 \tabularnewline
36 & 6.95119328717758e-06 & 1.39023865743552e-05 & 0.999993048806713 \tabularnewline
37 & 9.04273869720984e-05 & 0.000180854773944197 & 0.999909572613028 \tabularnewline
38 & 0.000354959297650974 & 0.000709918595301949 & 0.999645040702349 \tabularnewline
39 & 0.00160882410466552 & 0.00321764820933105 & 0.998391175895335 \tabularnewline
40 & 0.00706623440786658 & 0.0141324688157332 & 0.992933765592133 \tabularnewline
41 & 0.0193666251221730 & 0.0387332502443459 & 0.980633374877827 \tabularnewline
42 & 0.0553569363459565 & 0.110713872691913 & 0.944643063654043 \tabularnewline
43 & 0.111567503684847 & 0.223135007369694 & 0.888432496315153 \tabularnewline
44 & 0.16147517013318 & 0.32295034026636 & 0.83852482986682 \tabularnewline
45 & 0.306613053079370 & 0.613226106158741 & 0.69338694692063 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25544&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]16[/C][C]0.000919018484335658[/C][C]0.00183803696867132[/C][C]0.999080981515664[/C][/ROW]
[ROW][C]17[/C][C]0.000412236506892618[/C][C]0.000824473013785235[/C][C]0.999587763493107[/C][/ROW]
[ROW][C]18[/C][C]9.83958541168672e-05[/C][C]0.000196791708233734[/C][C]0.999901604145883[/C][/ROW]
[ROW][C]19[/C][C]0.000456004613168797[/C][C]0.000912009226337595[/C][C]0.999543995386831[/C][/ROW]
[ROW][C]20[/C][C]0.000569552939020591[/C][C]0.00113910587804118[/C][C]0.99943044706098[/C][/ROW]
[ROW][C]21[/C][C]0.000593796447237273[/C][C]0.00118759289447455[/C][C]0.999406203552763[/C][/ROW]
[ROW][C]22[/C][C]0.000415158252483439[/C][C]0.000830316504966879[/C][C]0.999584841747517[/C][/ROW]
[ROW][C]23[/C][C]0.000302917141043744[/C][C]0.000605834282087487[/C][C]0.999697082858956[/C][/ROW]
[ROW][C]24[/C][C]0.000148640651645903[/C][C]0.000297281303291806[/C][C]0.999851359348354[/C][/ROW]
[ROW][C]25[/C][C]7.9279368984664e-05[/C][C]0.000158558737969328[/C][C]0.999920720631015[/C][/ROW]
[ROW][C]26[/C][C]2.89685429720202e-05[/C][C]5.79370859440405e-05[/C][C]0.999971031457028[/C][/ROW]
[ROW][C]27[/C][C]1.09618411119453e-05[/C][C]2.19236822238907e-05[/C][C]0.999989038158888[/C][/ROW]
[ROW][C]28[/C][C]4.23847940276929e-06[/C][C]8.47695880553857e-06[/C][C]0.999995761520597[/C][/ROW]
[ROW][C]29[/C][C]1.54698002606961e-06[/C][C]3.09396005213922e-06[/C][C]0.999998453019974[/C][/ROW]
[ROW][C]30[/C][C]6.52191604593873e-07[/C][C]1.30438320918775e-06[/C][C]0.999999347808395[/C][/ROW]
[ROW][C]31[/C][C]3.73840805054228e-07[/C][C]7.47681610108455e-07[/C][C]0.999999626159195[/C][/ROW]
[ROW][C]32[/C][C]3.09536100504507e-07[/C][C]6.19072201009015e-07[/C][C]0.9999996904639[/C][/ROW]
[ROW][C]33[/C][C]6.41553564862492e-07[/C][C]1.28310712972498e-06[/C][C]0.999999358446435[/C][/ROW]
[ROW][C]34[/C][C]1.48381193799552e-06[/C][C]2.96762387599105e-06[/C][C]0.999998516188062[/C][/ROW]
[ROW][C]35[/C][C]2.93125419987785e-06[/C][C]5.8625083997557e-06[/C][C]0.9999970687458[/C][/ROW]
[ROW][C]36[/C][C]6.95119328717758e-06[/C][C]1.39023865743552e-05[/C][C]0.999993048806713[/C][/ROW]
[ROW][C]37[/C][C]9.04273869720984e-05[/C][C]0.000180854773944197[/C][C]0.999909572613028[/C][/ROW]
[ROW][C]38[/C][C]0.000354959297650974[/C][C]0.000709918595301949[/C][C]0.999645040702349[/C][/ROW]
[ROW][C]39[/C][C]0.00160882410466552[/C][C]0.00321764820933105[/C][C]0.998391175895335[/C][/ROW]
[ROW][C]40[/C][C]0.00706623440786658[/C][C]0.0141324688157332[/C][C]0.992933765592133[/C][/ROW]
[ROW][C]41[/C][C]0.0193666251221730[/C][C]0.0387332502443459[/C][C]0.980633374877827[/C][/ROW]
[ROW][C]42[/C][C]0.0553569363459565[/C][C]0.110713872691913[/C][C]0.944643063654043[/C][/ROW]
[ROW][C]43[/C][C]0.111567503684847[/C][C]0.223135007369694[/C][C]0.888432496315153[/C][/ROW]
[ROW][C]44[/C][C]0.16147517013318[/C][C]0.32295034026636[/C][C]0.83852482986682[/C][/ROW]
[ROW][C]45[/C][C]0.306613053079370[/C][C]0.613226106158741[/C][C]0.69338694692063[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25544&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25544&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
160.0009190184843356580.001838036968671320.999080981515664
170.0004122365068926180.0008244730137852350.999587763493107
189.83958541168672e-050.0001967917082337340.999901604145883
190.0004560046131687970.0009120092263375950.999543995386831
200.0005695529390205910.001139105878041180.99943044706098
210.0005937964472372730.001187592894474550.999406203552763
220.0004151582524834390.0008303165049668790.999584841747517
230.0003029171410437440.0006058342820874870.999697082858956
240.0001486406516459030.0002972813032918060.999851359348354
257.9279368984664e-050.0001585587379693280.999920720631015
262.89685429720202e-055.79370859440405e-050.999971031457028
271.09618411119453e-052.19236822238907e-050.999989038158888
284.23847940276929e-068.47695880553857e-060.999995761520597
291.54698002606961e-063.09396005213922e-060.999998453019974
306.52191604593873e-071.30438320918775e-060.999999347808395
313.73840805054228e-077.47681610108455e-070.999999626159195
323.09536100504507e-076.19072201009015e-070.9999996904639
336.41553564862492e-071.28310712972498e-060.999999358446435
341.48381193799552e-062.96762387599105e-060.999998516188062
352.93125419987785e-065.8625083997557e-060.9999970687458
366.95119328717758e-061.39023865743552e-050.999993048806713
379.04273869720984e-050.0001808547739441970.999909572613028
380.0003549592976509740.0007099185953019490.999645040702349
390.001608824104665520.003217648209331050.998391175895335
400.007066234407866580.01413246881573320.992933765592133
410.01936662512217300.03873325024434590.980633374877827
420.05535693634595650.1107138726919130.944643063654043
430.1115675036848470.2231350073696940.888432496315153
440.161475170133180.322950340266360.83852482986682
450.3066130530793700.6132261061587410.69338694692063







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level240.8NOK
5% type I error level260.866666666666667NOK
10% type I error level260.866666666666667NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25544&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 level240.8NOK
5% type I error level260.866666666666667NOK
10% type I error level260.866666666666667NOK



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT
H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation
Forecast', 1, TRUE)
a<-table.element(a, 'Residuals
Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,gqarr[mypoint-kp3+1,1])
a<-table.element(a,gqarr[mypoint-kp3+1,2])
a<-table.element(a,gqarr[mypoint-kp3+1,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,numsignificant1)
a<-table.element(a,numsignificant1/numgqtests)
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,numsignificant5)
a<-table.element(a,numsignificant5/numgqtests)
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,numsignificant10)
a<-table.element(a,numsignificant10/numgqtests)
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}