Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationTue, 14 Dec 2010 20:53:42 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/14/t1292360230aojjjadxayvrid0.htm/, Retrieved Thu, 02 May 2024 17:41:40 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=110194, Retrieved Thu, 02 May 2024 17:41:40 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact105
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [] [2010-12-05 18:56:24] [b98453cac15ba1066b407e146608df68]
-   PD    [Multiple Regression] [mr 1] [2010-12-14 20:53:42] [b47314d83d48c7bf812ec2bcd743b159] [Current]
Feedback Forum

Post a new message
Dataseries X:
113	14.3	15.89
110	14.2	16.93
107	15.9	20.28
103	15.3	22.52
98	15.5	23.51
98	15.1	22.59
137	15	23.51
148	12.1	24.76
147	15.8	26.08
139	16.9	25.29
130	15.1	23.38
128	13.7	25.29
127	14.8	28.42
123	14.7	31.85
118	16	30.1
114	15.4	25.45
108	15	24.95
111	15.5	26.84
151	15.1	27.52
159	11.7	27.94
158	16.3	25.23
148	16.7	26.53
138	15	27.21
137	14.9	28.53
136	14.6	30.35
133	15.3	31.21
126	17.9	32.86
120	16.4	33.2
114	15.4	35.73
116	17.9	34.53
153	15.9	36.54
162	13.9	40.1
161	17.8	40.56
149	17.9	46.14
139	17.4	42.85
135	16.7	38.22
130	16	40.18
127	16.6	42.19
122	19.1	47.56
117	17.8	47.26
112	17.2	44.03
113	18.6	49.83
149	16.3	53.35
157	15.1	58.9
157	19.2	59.64
147	17.7	56.99
137	19.1	53.2
132	18	53.24
125	17.5	57.85
123	17.8	55.69
117	21.1	55.64
114	17.2	62.52
111	19.4	64.4
112	19.8	64.65
144	17.6	67.71
150	16.2	67.21
149	19.5	59.37
134	19.9	53.26
123	20	52.42
116	17.3	55.03




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110194&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]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110194&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110194&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'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Multiple Linear Regression - Estimated Regression Equation
werklozen-25[t] = + 173.218398257015 -3.97737434591834buitenlandse_handel[t] + 0.575419054811092ruwe_aardolie[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
werklozen-25[t] =  +  173.218398257015 -3.97737434591834buitenlandse_handel[t] +  0.575419054811092ruwe_aardolie[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110194&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]werklozen-25[t] =  +  173.218398257015 -3.97737434591834buitenlandse_handel[t] +  0.575419054811092ruwe_aardolie[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110194&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110194&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
werklozen-25[t] = + 173.218398257015 -3.97737434591834buitenlandse_handel[t] + 0.575419054811092ruwe_aardolie[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)173.21839825701520.8357468.313500
buitenlandse_handel-3.977374345918341.54868-2.56820.0128670.006433
ruwe_aardolie0.5754190548110920.2036052.82620.0064850.003243

\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) & 173.218398257015 & 20.835746 & 8.3135 & 0 & 0 \tabularnewline
buitenlandse_handel & -3.97737434591834 & 1.54868 & -2.5682 & 0.012867 & 0.006433 \tabularnewline
ruwe_aardolie & 0.575419054811092 & 0.203605 & 2.8262 & 0.006485 & 0.003243 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110194&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]173.218398257015[/C][C]20.835746[/C][C]8.3135[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]buitenlandse_handel[/C][C]-3.97737434591834[/C][C]1.54868[/C][C]-2.5682[/C][C]0.012867[/C][C]0.006433[/C][/ROW]
[ROW][C]ruwe_aardolie[/C][C]0.575419054811092[/C][C]0.203605[/C][C]2.8262[/C][C]0.006485[/C][C]0.003243[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110194&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110194&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)173.21839825701520.8357468.313500
buitenlandse_handel-3.977374345918341.54868-2.56820.0128670.006433
ruwe_aardolie0.5754190548110920.2036052.82620.0064850.003243







Multiple Linear Regression - Regression Statistics
Multiple R0.362985939755321
R-squared0.131758792460053
Adjusted R-squared0.101294188686722
F-TEST (value)4.32497968594604
F-TEST (DF numerator)2
F-TEST (DF denominator)57
p-value0.0178341013100068
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation16.3536743151294
Sum Squared Residuals15244.2318255034

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.362985939755321 \tabularnewline
R-squared & 0.131758792460053 \tabularnewline
Adjusted R-squared & 0.101294188686722 \tabularnewline
F-TEST (value) & 4.32497968594604 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 57 \tabularnewline
p-value & 0.0178341013100068 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 16.3536743151294 \tabularnewline
Sum Squared Residuals & 15244.2318255034 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110194&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.362985939755321[/C][/ROW]
[ROW][C]R-squared[/C][C]0.131758792460053[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.101294188686722[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]4.32497968594604[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]2[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]57[/C][/ROW]
[ROW][C]p-value[/C][C]0.0178341013100068[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]16.3536743151294[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]15244.2318255034[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110194&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110194&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.362985939755321
R-squared0.131758792460053
Adjusted R-squared0.101294188686722
F-TEST (value)4.32497968594604
F-TEST (DF numerator)2
F-TEST (DF denominator)57
p-value0.0178341013100068
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation16.3536743151294
Sum Squared Residuals15244.2318255034







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1113125.485353891331-12.485353891331
2110126.481527142926-16.4815271429261
3107121.647644588482-14.6476445884821
4103125.32300787881-22.3230078788099
598125.097197873889-27.0971978738893
698126.158762081830-28.1587620818304
7137127.0858850468489.91411495315156
8148139.3395444685268.6604555314745
9147125.38281254097821.6171874590217
10139120.55311970716718.4468802928327
11130126.6133431351313.38665686486884
12128133.280717614106-5.28071761410603
13127130.706667475155-3.70666747515457
14123133.078092267748-10.0780922677485
15118126.900522272135-8.9005222721352
16114126.611248274815-12.6112482748146
17108127.914488485776-19.9144884857764
18111127.013343326410-16.0133433264102
19151128.99557802204922.0044219779509
20159142.76032680119216.2396731988079
21158122.90501917143035.0949808285703
22148122.06211420431725.9378857956833
23138129.2149355496498.78506445035052
24137130.3722261365926.62777386340805
25136132.6127011201243.38729887987635
26133130.3233994651182.67660053488166
27126120.9316676061695.06833239383104
28120127.093371603682-7.09337160368225
29114132.526556158273-18.5265561582726
30116121.892617427703-5.89261742770348
31153131.00395841971021.9960415802895
32162141.00719894667520.9928010533254
33161125.76013176280635.2398682371938
34149128.57323265406020.4267673459397
35139128.66879113669110.3312088633091
36135128.7887629550586.21123704494158
37130132.700746344631-2.700746344631
38127131.470914037250-4.47091403725029
39122124.61747849679-2.61747849679000
40117129.615439430041-12.6154394300405
41112130.143260490552-18.1432604905517
42113127.912366924170-14.9123669241703
43149139.0858029927189.91419700728241
44157147.0522279620219.94777203797884
45157131.17080324431625.8291967556838
46147135.61200426794411.3879957320557
47137127.8628419659259.13715803407544
48132132.260970508627-0.260970508627183
49125136.902339524265-11.9023395242655
50123134.466222062098-11.4662220620980
51117121.312115767827-4.31211576782693
52114140.782758814009-26.7827588140088
53111133.114323076033-22.1143230760333
54112131.667228101369-19.6672281013687
55144142.1782339701111.82176602988898
56150147.4588485269912.54115147300884
57149129.82222779574219.1777722042583
58134124.7154676324799.28453236752144
59123123.834378191845-0.8343781918454
60116136.075132658882-20.0751326588819

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 113 & 125.485353891331 & -12.485353891331 \tabularnewline
2 & 110 & 126.481527142926 & -16.4815271429261 \tabularnewline
3 & 107 & 121.647644588482 & -14.6476445884821 \tabularnewline
4 & 103 & 125.32300787881 & -22.3230078788099 \tabularnewline
5 & 98 & 125.097197873889 & -27.0971978738893 \tabularnewline
6 & 98 & 126.158762081830 & -28.1587620818304 \tabularnewline
7 & 137 & 127.085885046848 & 9.91411495315156 \tabularnewline
8 & 148 & 139.339544468526 & 8.6604555314745 \tabularnewline
9 & 147 & 125.382812540978 & 21.6171874590217 \tabularnewline
10 & 139 & 120.553119707167 & 18.4468802928327 \tabularnewline
11 & 130 & 126.613343135131 & 3.38665686486884 \tabularnewline
12 & 128 & 133.280717614106 & -5.28071761410603 \tabularnewline
13 & 127 & 130.706667475155 & -3.70666747515457 \tabularnewline
14 & 123 & 133.078092267748 & -10.0780922677485 \tabularnewline
15 & 118 & 126.900522272135 & -8.9005222721352 \tabularnewline
16 & 114 & 126.611248274815 & -12.6112482748146 \tabularnewline
17 & 108 & 127.914488485776 & -19.9144884857764 \tabularnewline
18 & 111 & 127.013343326410 & -16.0133433264102 \tabularnewline
19 & 151 & 128.995578022049 & 22.0044219779509 \tabularnewline
20 & 159 & 142.760326801192 & 16.2396731988079 \tabularnewline
21 & 158 & 122.905019171430 & 35.0949808285703 \tabularnewline
22 & 148 & 122.062114204317 & 25.9378857956833 \tabularnewline
23 & 138 & 129.214935549649 & 8.78506445035052 \tabularnewline
24 & 137 & 130.372226136592 & 6.62777386340805 \tabularnewline
25 & 136 & 132.612701120124 & 3.38729887987635 \tabularnewline
26 & 133 & 130.323399465118 & 2.67660053488166 \tabularnewline
27 & 126 & 120.931667606169 & 5.06833239383104 \tabularnewline
28 & 120 & 127.093371603682 & -7.09337160368225 \tabularnewline
29 & 114 & 132.526556158273 & -18.5265561582726 \tabularnewline
30 & 116 & 121.892617427703 & -5.89261742770348 \tabularnewline
31 & 153 & 131.003958419710 & 21.9960415802895 \tabularnewline
32 & 162 & 141.007198946675 & 20.9928010533254 \tabularnewline
33 & 161 & 125.760131762806 & 35.2398682371938 \tabularnewline
34 & 149 & 128.573232654060 & 20.4267673459397 \tabularnewline
35 & 139 & 128.668791136691 & 10.3312088633091 \tabularnewline
36 & 135 & 128.788762955058 & 6.21123704494158 \tabularnewline
37 & 130 & 132.700746344631 & -2.700746344631 \tabularnewline
38 & 127 & 131.470914037250 & -4.47091403725029 \tabularnewline
39 & 122 & 124.61747849679 & -2.61747849679000 \tabularnewline
40 & 117 & 129.615439430041 & -12.6154394300405 \tabularnewline
41 & 112 & 130.143260490552 & -18.1432604905517 \tabularnewline
42 & 113 & 127.912366924170 & -14.9123669241703 \tabularnewline
43 & 149 & 139.085802992718 & 9.91419700728241 \tabularnewline
44 & 157 & 147.052227962021 & 9.94777203797884 \tabularnewline
45 & 157 & 131.170803244316 & 25.8291967556838 \tabularnewline
46 & 147 & 135.612004267944 & 11.3879957320557 \tabularnewline
47 & 137 & 127.862841965925 & 9.13715803407544 \tabularnewline
48 & 132 & 132.260970508627 & -0.260970508627183 \tabularnewline
49 & 125 & 136.902339524265 & -11.9023395242655 \tabularnewline
50 & 123 & 134.466222062098 & -11.4662220620980 \tabularnewline
51 & 117 & 121.312115767827 & -4.31211576782693 \tabularnewline
52 & 114 & 140.782758814009 & -26.7827588140088 \tabularnewline
53 & 111 & 133.114323076033 & -22.1143230760333 \tabularnewline
54 & 112 & 131.667228101369 & -19.6672281013687 \tabularnewline
55 & 144 & 142.178233970111 & 1.82176602988898 \tabularnewline
56 & 150 & 147.458848526991 & 2.54115147300884 \tabularnewline
57 & 149 & 129.822227795742 & 19.1777722042583 \tabularnewline
58 & 134 & 124.715467632479 & 9.28453236752144 \tabularnewline
59 & 123 & 123.834378191845 & -0.8343781918454 \tabularnewline
60 & 116 & 136.075132658882 & -20.0751326588819 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110194&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]113[/C][C]125.485353891331[/C][C]-12.485353891331[/C][/ROW]
[ROW][C]2[/C][C]110[/C][C]126.481527142926[/C][C]-16.4815271429261[/C][/ROW]
[ROW][C]3[/C][C]107[/C][C]121.647644588482[/C][C]-14.6476445884821[/C][/ROW]
[ROW][C]4[/C][C]103[/C][C]125.32300787881[/C][C]-22.3230078788099[/C][/ROW]
[ROW][C]5[/C][C]98[/C][C]125.097197873889[/C][C]-27.0971978738893[/C][/ROW]
[ROW][C]6[/C][C]98[/C][C]126.158762081830[/C][C]-28.1587620818304[/C][/ROW]
[ROW][C]7[/C][C]137[/C][C]127.085885046848[/C][C]9.91411495315156[/C][/ROW]
[ROW][C]8[/C][C]148[/C][C]139.339544468526[/C][C]8.6604555314745[/C][/ROW]
[ROW][C]9[/C][C]147[/C][C]125.382812540978[/C][C]21.6171874590217[/C][/ROW]
[ROW][C]10[/C][C]139[/C][C]120.553119707167[/C][C]18.4468802928327[/C][/ROW]
[ROW][C]11[/C][C]130[/C][C]126.613343135131[/C][C]3.38665686486884[/C][/ROW]
[ROW][C]12[/C][C]128[/C][C]133.280717614106[/C][C]-5.28071761410603[/C][/ROW]
[ROW][C]13[/C][C]127[/C][C]130.706667475155[/C][C]-3.70666747515457[/C][/ROW]
[ROW][C]14[/C][C]123[/C][C]133.078092267748[/C][C]-10.0780922677485[/C][/ROW]
[ROW][C]15[/C][C]118[/C][C]126.900522272135[/C][C]-8.9005222721352[/C][/ROW]
[ROW][C]16[/C][C]114[/C][C]126.611248274815[/C][C]-12.6112482748146[/C][/ROW]
[ROW][C]17[/C][C]108[/C][C]127.914488485776[/C][C]-19.9144884857764[/C][/ROW]
[ROW][C]18[/C][C]111[/C][C]127.013343326410[/C][C]-16.0133433264102[/C][/ROW]
[ROW][C]19[/C][C]151[/C][C]128.995578022049[/C][C]22.0044219779509[/C][/ROW]
[ROW][C]20[/C][C]159[/C][C]142.760326801192[/C][C]16.2396731988079[/C][/ROW]
[ROW][C]21[/C][C]158[/C][C]122.905019171430[/C][C]35.0949808285703[/C][/ROW]
[ROW][C]22[/C][C]148[/C][C]122.062114204317[/C][C]25.9378857956833[/C][/ROW]
[ROW][C]23[/C][C]138[/C][C]129.214935549649[/C][C]8.78506445035052[/C][/ROW]
[ROW][C]24[/C][C]137[/C][C]130.372226136592[/C][C]6.62777386340805[/C][/ROW]
[ROW][C]25[/C][C]136[/C][C]132.612701120124[/C][C]3.38729887987635[/C][/ROW]
[ROW][C]26[/C][C]133[/C][C]130.323399465118[/C][C]2.67660053488166[/C][/ROW]
[ROW][C]27[/C][C]126[/C][C]120.931667606169[/C][C]5.06833239383104[/C][/ROW]
[ROW][C]28[/C][C]120[/C][C]127.093371603682[/C][C]-7.09337160368225[/C][/ROW]
[ROW][C]29[/C][C]114[/C][C]132.526556158273[/C][C]-18.5265561582726[/C][/ROW]
[ROW][C]30[/C][C]116[/C][C]121.892617427703[/C][C]-5.89261742770348[/C][/ROW]
[ROW][C]31[/C][C]153[/C][C]131.003958419710[/C][C]21.9960415802895[/C][/ROW]
[ROW][C]32[/C][C]162[/C][C]141.007198946675[/C][C]20.9928010533254[/C][/ROW]
[ROW][C]33[/C][C]161[/C][C]125.760131762806[/C][C]35.2398682371938[/C][/ROW]
[ROW][C]34[/C][C]149[/C][C]128.573232654060[/C][C]20.4267673459397[/C][/ROW]
[ROW][C]35[/C][C]139[/C][C]128.668791136691[/C][C]10.3312088633091[/C][/ROW]
[ROW][C]36[/C][C]135[/C][C]128.788762955058[/C][C]6.21123704494158[/C][/ROW]
[ROW][C]37[/C][C]130[/C][C]132.700746344631[/C][C]-2.700746344631[/C][/ROW]
[ROW][C]38[/C][C]127[/C][C]131.470914037250[/C][C]-4.47091403725029[/C][/ROW]
[ROW][C]39[/C][C]122[/C][C]124.61747849679[/C][C]-2.61747849679000[/C][/ROW]
[ROW][C]40[/C][C]117[/C][C]129.615439430041[/C][C]-12.6154394300405[/C][/ROW]
[ROW][C]41[/C][C]112[/C][C]130.143260490552[/C][C]-18.1432604905517[/C][/ROW]
[ROW][C]42[/C][C]113[/C][C]127.912366924170[/C][C]-14.9123669241703[/C][/ROW]
[ROW][C]43[/C][C]149[/C][C]139.085802992718[/C][C]9.91419700728241[/C][/ROW]
[ROW][C]44[/C][C]157[/C][C]147.052227962021[/C][C]9.94777203797884[/C][/ROW]
[ROW][C]45[/C][C]157[/C][C]131.170803244316[/C][C]25.8291967556838[/C][/ROW]
[ROW][C]46[/C][C]147[/C][C]135.612004267944[/C][C]11.3879957320557[/C][/ROW]
[ROW][C]47[/C][C]137[/C][C]127.862841965925[/C][C]9.13715803407544[/C][/ROW]
[ROW][C]48[/C][C]132[/C][C]132.260970508627[/C][C]-0.260970508627183[/C][/ROW]
[ROW][C]49[/C][C]125[/C][C]136.902339524265[/C][C]-11.9023395242655[/C][/ROW]
[ROW][C]50[/C][C]123[/C][C]134.466222062098[/C][C]-11.4662220620980[/C][/ROW]
[ROW][C]51[/C][C]117[/C][C]121.312115767827[/C][C]-4.31211576782693[/C][/ROW]
[ROW][C]52[/C][C]114[/C][C]140.782758814009[/C][C]-26.7827588140088[/C][/ROW]
[ROW][C]53[/C][C]111[/C][C]133.114323076033[/C][C]-22.1143230760333[/C][/ROW]
[ROW][C]54[/C][C]112[/C][C]131.667228101369[/C][C]-19.6672281013687[/C][/ROW]
[ROW][C]55[/C][C]144[/C][C]142.178233970111[/C][C]1.82176602988898[/C][/ROW]
[ROW][C]56[/C][C]150[/C][C]147.458848526991[/C][C]2.54115147300884[/C][/ROW]
[ROW][C]57[/C][C]149[/C][C]129.822227795742[/C][C]19.1777722042583[/C][/ROW]
[ROW][C]58[/C][C]134[/C][C]124.715467632479[/C][C]9.28453236752144[/C][/ROW]
[ROW][C]59[/C][C]123[/C][C]123.834378191845[/C][C]-0.8343781918454[/C][/ROW]
[ROW][C]60[/C][C]116[/C][C]136.075132658882[/C][C]-20.0751326588819[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110194&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110194&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
1113125.485353891331-12.485353891331
2110126.481527142926-16.4815271429261
3107121.647644588482-14.6476445884821
4103125.32300787881-22.3230078788099
598125.097197873889-27.0971978738893
698126.158762081830-28.1587620818304
7137127.0858850468489.91411495315156
8148139.3395444685268.6604555314745
9147125.38281254097821.6171874590217
10139120.55311970716718.4468802928327
11130126.6133431351313.38665686486884
12128133.280717614106-5.28071761410603
13127130.706667475155-3.70666747515457
14123133.078092267748-10.0780922677485
15118126.900522272135-8.9005222721352
16114126.611248274815-12.6112482748146
17108127.914488485776-19.9144884857764
18111127.013343326410-16.0133433264102
19151128.99557802204922.0044219779509
20159142.76032680119216.2396731988079
21158122.90501917143035.0949808285703
22148122.06211420431725.9378857956833
23138129.2149355496498.78506445035052
24137130.3722261365926.62777386340805
25136132.6127011201243.38729887987635
26133130.3233994651182.67660053488166
27126120.9316676061695.06833239383104
28120127.093371603682-7.09337160368225
29114132.526556158273-18.5265561582726
30116121.892617427703-5.89261742770348
31153131.00395841971021.9960415802895
32162141.00719894667520.9928010533254
33161125.76013176280635.2398682371938
34149128.57323265406020.4267673459397
35139128.66879113669110.3312088633091
36135128.7887629550586.21123704494158
37130132.700746344631-2.700746344631
38127131.470914037250-4.47091403725029
39122124.61747849679-2.61747849679000
40117129.615439430041-12.6154394300405
41112130.143260490552-18.1432604905517
42113127.912366924170-14.9123669241703
43149139.0858029927189.91419700728241
44157147.0522279620219.94777203797884
45157131.17080324431625.8291967556838
46147135.61200426794411.3879957320557
47137127.8628419659259.13715803407544
48132132.260970508627-0.260970508627183
49125136.902339524265-11.9023395242655
50123134.466222062098-11.4662220620980
51117121.312115767827-4.31211576782693
52114140.782758814009-26.7827588140088
53111133.114323076033-22.1143230760333
54112131.667228101369-19.6672281013687
55144142.1782339701111.82176602988898
56150147.4588485269912.54115147300884
57149129.82222779574219.1777722042583
58134124.7154676324799.28453236752144
59123123.834378191845-0.8343781918454
60116136.075132658882-20.0751326588819







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
60.002472923134218160.004945846268436330.997527076865782
70.5847085013775850.8305829972448310.415291498622415
80.435822412216430.871644824432860.56417758778357
90.7274879661154880.5450240677690240.272512033884512
100.7683866207134440.4632267585731110.231613379286556
110.6840930548497150.6318138903005690.315906945150285
120.6151936731839970.7696126536320060.384806326816003
130.5678353459250460.8643293081499080.432164654074954
140.5941041509597360.8117916980805280.405895849040264
150.548166445500030.9036671089999410.451833554499971
160.5067028601792380.9865942796415240.493297139820762
170.549879469415180.900241061169640.45012053058482
180.5691707439438380.8616585121123240.430829256056162
190.654071568282920.691856863434160.34592843171708
200.6118955917185840.7762088165628330.388104408281416
210.8527135108580070.2945729782839870.147286489141994
220.8876752954704280.2246494090591440.112324704529572
230.8489210288173990.3021579423652020.151078971182601
240.797924010468380.404151979063240.20207598953162
250.7400325518138810.5199348963722370.259967448186119
260.678195168892730.643609662214540.32180483110727
270.6116269815830620.7767460368338750.388373018416938
280.5961882609973730.8076234780052540.403811739002627
290.7096660930660540.5806678138678920.290333906933946
300.6865336740395760.6269326519208480.313466325960424
310.6675343703220760.6649312593558470.332465629677924
320.6368068878463190.7263862243073630.363193112153681
330.7749218466123080.4501563067753840.225078153387692
340.7850856607809310.4298286784381380.214914339219069
350.7542259033047820.4915481933904360.245774096695218
360.7092861764005510.5814276471988980.290713823599449
370.6638243965258150.672351206948370.336175603474185
380.6193429881521110.7613140236957770.380657011847889
390.5705492886602390.8589014226795220.429450711339761
400.5607312805640190.8785374388719620.439268719435981
410.6077833039626240.7844333920747530.392216696037376
420.635890154380870.7282196912382610.364109845619130
430.5622121043435380.8755757913129240.437787895656462
440.5269579018976490.9460841962047020.473042098102351
450.6874837814467490.6250324371065010.312516218553251
460.6797243928992270.6405512142015450.320275607100772
470.6325439660006660.7349120679986680.367456033999334
480.5474860242229930.9050279515540150.452513975777008
490.4698327353677040.9396654707354070.530167264632296
500.3843023236157480.7686046472314970.615697676384252
510.2816570069806150.563314013961230.718342993019385
520.3416804594889870.6833609189779730.658319540511013
530.3770802261381430.7541604522762850.622919773861857
540.8586102455295080.2827795089409840.141389754470492

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
6 & 0.00247292313421816 & 0.00494584626843633 & 0.997527076865782 \tabularnewline
7 & 0.584708501377585 & 0.830582997244831 & 0.415291498622415 \tabularnewline
8 & 0.43582241221643 & 0.87164482443286 & 0.56417758778357 \tabularnewline
9 & 0.727487966115488 & 0.545024067769024 & 0.272512033884512 \tabularnewline
10 & 0.768386620713444 & 0.463226758573111 & 0.231613379286556 \tabularnewline
11 & 0.684093054849715 & 0.631813890300569 & 0.315906945150285 \tabularnewline
12 & 0.615193673183997 & 0.769612653632006 & 0.384806326816003 \tabularnewline
13 & 0.567835345925046 & 0.864329308149908 & 0.432164654074954 \tabularnewline
14 & 0.594104150959736 & 0.811791698080528 & 0.405895849040264 \tabularnewline
15 & 0.54816644550003 & 0.903667108999941 & 0.451833554499971 \tabularnewline
16 & 0.506702860179238 & 0.986594279641524 & 0.493297139820762 \tabularnewline
17 & 0.54987946941518 & 0.90024106116964 & 0.45012053058482 \tabularnewline
18 & 0.569170743943838 & 0.861658512112324 & 0.430829256056162 \tabularnewline
19 & 0.65407156828292 & 0.69185686343416 & 0.34592843171708 \tabularnewline
20 & 0.611895591718584 & 0.776208816562833 & 0.388104408281416 \tabularnewline
21 & 0.852713510858007 & 0.294572978283987 & 0.147286489141994 \tabularnewline
22 & 0.887675295470428 & 0.224649409059144 & 0.112324704529572 \tabularnewline
23 & 0.848921028817399 & 0.302157942365202 & 0.151078971182601 \tabularnewline
24 & 0.79792401046838 & 0.40415197906324 & 0.20207598953162 \tabularnewline
25 & 0.740032551813881 & 0.519934896372237 & 0.259967448186119 \tabularnewline
26 & 0.67819516889273 & 0.64360966221454 & 0.32180483110727 \tabularnewline
27 & 0.611626981583062 & 0.776746036833875 & 0.388373018416938 \tabularnewline
28 & 0.596188260997373 & 0.807623478005254 & 0.403811739002627 \tabularnewline
29 & 0.709666093066054 & 0.580667813867892 & 0.290333906933946 \tabularnewline
30 & 0.686533674039576 & 0.626932651920848 & 0.313466325960424 \tabularnewline
31 & 0.667534370322076 & 0.664931259355847 & 0.332465629677924 \tabularnewline
32 & 0.636806887846319 & 0.726386224307363 & 0.363193112153681 \tabularnewline
33 & 0.774921846612308 & 0.450156306775384 & 0.225078153387692 \tabularnewline
34 & 0.785085660780931 & 0.429828678438138 & 0.214914339219069 \tabularnewline
35 & 0.754225903304782 & 0.491548193390436 & 0.245774096695218 \tabularnewline
36 & 0.709286176400551 & 0.581427647198898 & 0.290713823599449 \tabularnewline
37 & 0.663824396525815 & 0.67235120694837 & 0.336175603474185 \tabularnewline
38 & 0.619342988152111 & 0.761314023695777 & 0.380657011847889 \tabularnewline
39 & 0.570549288660239 & 0.858901422679522 & 0.429450711339761 \tabularnewline
40 & 0.560731280564019 & 0.878537438871962 & 0.439268719435981 \tabularnewline
41 & 0.607783303962624 & 0.784433392074753 & 0.392216696037376 \tabularnewline
42 & 0.63589015438087 & 0.728219691238261 & 0.364109845619130 \tabularnewline
43 & 0.562212104343538 & 0.875575791312924 & 0.437787895656462 \tabularnewline
44 & 0.526957901897649 & 0.946084196204702 & 0.473042098102351 \tabularnewline
45 & 0.687483781446749 & 0.625032437106501 & 0.312516218553251 \tabularnewline
46 & 0.679724392899227 & 0.640551214201545 & 0.320275607100772 \tabularnewline
47 & 0.632543966000666 & 0.734912067998668 & 0.367456033999334 \tabularnewline
48 & 0.547486024222993 & 0.905027951554015 & 0.452513975777008 \tabularnewline
49 & 0.469832735367704 & 0.939665470735407 & 0.530167264632296 \tabularnewline
50 & 0.384302323615748 & 0.768604647231497 & 0.615697676384252 \tabularnewline
51 & 0.281657006980615 & 0.56331401396123 & 0.718342993019385 \tabularnewline
52 & 0.341680459488987 & 0.683360918977973 & 0.658319540511013 \tabularnewline
53 & 0.377080226138143 & 0.754160452276285 & 0.622919773861857 \tabularnewline
54 & 0.858610245529508 & 0.282779508940984 & 0.141389754470492 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110194&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]6[/C][C]0.00247292313421816[/C][C]0.00494584626843633[/C][C]0.997527076865782[/C][/ROW]
[ROW][C]7[/C][C]0.584708501377585[/C][C]0.830582997244831[/C][C]0.415291498622415[/C][/ROW]
[ROW][C]8[/C][C]0.43582241221643[/C][C]0.87164482443286[/C][C]0.56417758778357[/C][/ROW]
[ROW][C]9[/C][C]0.727487966115488[/C][C]0.545024067769024[/C][C]0.272512033884512[/C][/ROW]
[ROW][C]10[/C][C]0.768386620713444[/C][C]0.463226758573111[/C][C]0.231613379286556[/C][/ROW]
[ROW][C]11[/C][C]0.684093054849715[/C][C]0.631813890300569[/C][C]0.315906945150285[/C][/ROW]
[ROW][C]12[/C][C]0.615193673183997[/C][C]0.769612653632006[/C][C]0.384806326816003[/C][/ROW]
[ROW][C]13[/C][C]0.567835345925046[/C][C]0.864329308149908[/C][C]0.432164654074954[/C][/ROW]
[ROW][C]14[/C][C]0.594104150959736[/C][C]0.811791698080528[/C][C]0.405895849040264[/C][/ROW]
[ROW][C]15[/C][C]0.54816644550003[/C][C]0.903667108999941[/C][C]0.451833554499971[/C][/ROW]
[ROW][C]16[/C][C]0.506702860179238[/C][C]0.986594279641524[/C][C]0.493297139820762[/C][/ROW]
[ROW][C]17[/C][C]0.54987946941518[/C][C]0.90024106116964[/C][C]0.45012053058482[/C][/ROW]
[ROW][C]18[/C][C]0.569170743943838[/C][C]0.861658512112324[/C][C]0.430829256056162[/C][/ROW]
[ROW][C]19[/C][C]0.65407156828292[/C][C]0.69185686343416[/C][C]0.34592843171708[/C][/ROW]
[ROW][C]20[/C][C]0.611895591718584[/C][C]0.776208816562833[/C][C]0.388104408281416[/C][/ROW]
[ROW][C]21[/C][C]0.852713510858007[/C][C]0.294572978283987[/C][C]0.147286489141994[/C][/ROW]
[ROW][C]22[/C][C]0.887675295470428[/C][C]0.224649409059144[/C][C]0.112324704529572[/C][/ROW]
[ROW][C]23[/C][C]0.848921028817399[/C][C]0.302157942365202[/C][C]0.151078971182601[/C][/ROW]
[ROW][C]24[/C][C]0.79792401046838[/C][C]0.40415197906324[/C][C]0.20207598953162[/C][/ROW]
[ROW][C]25[/C][C]0.740032551813881[/C][C]0.519934896372237[/C][C]0.259967448186119[/C][/ROW]
[ROW][C]26[/C][C]0.67819516889273[/C][C]0.64360966221454[/C][C]0.32180483110727[/C][/ROW]
[ROW][C]27[/C][C]0.611626981583062[/C][C]0.776746036833875[/C][C]0.388373018416938[/C][/ROW]
[ROW][C]28[/C][C]0.596188260997373[/C][C]0.807623478005254[/C][C]0.403811739002627[/C][/ROW]
[ROW][C]29[/C][C]0.709666093066054[/C][C]0.580667813867892[/C][C]0.290333906933946[/C][/ROW]
[ROW][C]30[/C][C]0.686533674039576[/C][C]0.626932651920848[/C][C]0.313466325960424[/C][/ROW]
[ROW][C]31[/C][C]0.667534370322076[/C][C]0.664931259355847[/C][C]0.332465629677924[/C][/ROW]
[ROW][C]32[/C][C]0.636806887846319[/C][C]0.726386224307363[/C][C]0.363193112153681[/C][/ROW]
[ROW][C]33[/C][C]0.774921846612308[/C][C]0.450156306775384[/C][C]0.225078153387692[/C][/ROW]
[ROW][C]34[/C][C]0.785085660780931[/C][C]0.429828678438138[/C][C]0.214914339219069[/C][/ROW]
[ROW][C]35[/C][C]0.754225903304782[/C][C]0.491548193390436[/C][C]0.245774096695218[/C][/ROW]
[ROW][C]36[/C][C]0.709286176400551[/C][C]0.581427647198898[/C][C]0.290713823599449[/C][/ROW]
[ROW][C]37[/C][C]0.663824396525815[/C][C]0.67235120694837[/C][C]0.336175603474185[/C][/ROW]
[ROW][C]38[/C][C]0.619342988152111[/C][C]0.761314023695777[/C][C]0.380657011847889[/C][/ROW]
[ROW][C]39[/C][C]0.570549288660239[/C][C]0.858901422679522[/C][C]0.429450711339761[/C][/ROW]
[ROW][C]40[/C][C]0.560731280564019[/C][C]0.878537438871962[/C][C]0.439268719435981[/C][/ROW]
[ROW][C]41[/C][C]0.607783303962624[/C][C]0.784433392074753[/C][C]0.392216696037376[/C][/ROW]
[ROW][C]42[/C][C]0.63589015438087[/C][C]0.728219691238261[/C][C]0.364109845619130[/C][/ROW]
[ROW][C]43[/C][C]0.562212104343538[/C][C]0.875575791312924[/C][C]0.437787895656462[/C][/ROW]
[ROW][C]44[/C][C]0.526957901897649[/C][C]0.946084196204702[/C][C]0.473042098102351[/C][/ROW]
[ROW][C]45[/C][C]0.687483781446749[/C][C]0.625032437106501[/C][C]0.312516218553251[/C][/ROW]
[ROW][C]46[/C][C]0.679724392899227[/C][C]0.640551214201545[/C][C]0.320275607100772[/C][/ROW]
[ROW][C]47[/C][C]0.632543966000666[/C][C]0.734912067998668[/C][C]0.367456033999334[/C][/ROW]
[ROW][C]48[/C][C]0.547486024222993[/C][C]0.905027951554015[/C][C]0.452513975777008[/C][/ROW]
[ROW][C]49[/C][C]0.469832735367704[/C][C]0.939665470735407[/C][C]0.530167264632296[/C][/ROW]
[ROW][C]50[/C][C]0.384302323615748[/C][C]0.768604647231497[/C][C]0.615697676384252[/C][/ROW]
[ROW][C]51[/C][C]0.281657006980615[/C][C]0.56331401396123[/C][C]0.718342993019385[/C][/ROW]
[ROW][C]52[/C][C]0.341680459488987[/C][C]0.683360918977973[/C][C]0.658319540511013[/C][/ROW]
[ROW][C]53[/C][C]0.377080226138143[/C][C]0.754160452276285[/C][C]0.622919773861857[/C][/ROW]
[ROW][C]54[/C][C]0.858610245529508[/C][C]0.282779508940984[/C][C]0.141389754470492[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110194&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110194&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
60.002472923134218160.004945846268436330.997527076865782
70.5847085013775850.8305829972448310.415291498622415
80.435822412216430.871644824432860.56417758778357
90.7274879661154880.5450240677690240.272512033884512
100.7683866207134440.4632267585731110.231613379286556
110.6840930548497150.6318138903005690.315906945150285
120.6151936731839970.7696126536320060.384806326816003
130.5678353459250460.8643293081499080.432164654074954
140.5941041509597360.8117916980805280.405895849040264
150.548166445500030.9036671089999410.451833554499971
160.5067028601792380.9865942796415240.493297139820762
170.549879469415180.900241061169640.45012053058482
180.5691707439438380.8616585121123240.430829256056162
190.654071568282920.691856863434160.34592843171708
200.6118955917185840.7762088165628330.388104408281416
210.8527135108580070.2945729782839870.147286489141994
220.8876752954704280.2246494090591440.112324704529572
230.8489210288173990.3021579423652020.151078971182601
240.797924010468380.404151979063240.20207598953162
250.7400325518138810.5199348963722370.259967448186119
260.678195168892730.643609662214540.32180483110727
270.6116269815830620.7767460368338750.388373018416938
280.5961882609973730.8076234780052540.403811739002627
290.7096660930660540.5806678138678920.290333906933946
300.6865336740395760.6269326519208480.313466325960424
310.6675343703220760.6649312593558470.332465629677924
320.6368068878463190.7263862243073630.363193112153681
330.7749218466123080.4501563067753840.225078153387692
340.7850856607809310.4298286784381380.214914339219069
350.7542259033047820.4915481933904360.245774096695218
360.7092861764005510.5814276471988980.290713823599449
370.6638243965258150.672351206948370.336175603474185
380.6193429881521110.7613140236957770.380657011847889
390.5705492886602390.8589014226795220.429450711339761
400.5607312805640190.8785374388719620.439268719435981
410.6077833039626240.7844333920747530.392216696037376
420.635890154380870.7282196912382610.364109845619130
430.5622121043435380.8755757913129240.437787895656462
440.5269579018976490.9460841962047020.473042098102351
450.6874837814467490.6250324371065010.312516218553251
460.6797243928992270.6405512142015450.320275607100772
470.6325439660006660.7349120679986680.367456033999334
480.5474860242229930.9050279515540150.452513975777008
490.4698327353677040.9396654707354070.530167264632296
500.3843023236157480.7686046472314970.615697676384252
510.2816570069806150.563314013961230.718342993019385
520.3416804594889870.6833609189779730.658319540511013
530.3770802261381430.7541604522762850.622919773861857
540.8586102455295080.2827795089409840.141389754470492







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level10.0204081632653061NOK
5% type I error level10.0204081632653061OK
10% type I error level10.0204081632653061OK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110194&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 level10.0204081632653061NOK
5% type I error level10.0204081632653061OK
10% type I error level10.0204081632653061OK



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