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, 17 Nov 2009 11:20:14 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Nov/17/t12584823866qkyz9l3mk3e3es.htm/, Retrieved Thu, 02 May 2024 02:46:44 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57395, Retrieved Thu, 02 May 2024 02:46:44 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsdummies geen lineaire trend
Estimated Impact177
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [ws7] [2009-11-17 18:20:14] [a931a0a30926b49d162330b43e89b999] [Current]
Feedback Forum

Post a new message
Dataseries X:
325412	285351
326011	286602
328282	283042
317480	276687
317539	277915
313737	277128
312276	277103
309391	275037
302950	270150
300316	267140
304035	264993
333476	287259
337698	291186
335932	292300
323931	288186
313927	281477
314485	282656
313218	280190
309664	280408
302963	276836
298989	275216
298423	274352
310631	271311
329765	289802
335083	290726
327616	292300
309119	278506
295916	269826
291413	265861
291542	269034
284678	264176
276475	255198
272566	253353
264981	246057
263290	235372
296806	258556
303598	260993
286994	254663
276427	250643
266424	243422
267153	247105
268381	248541
262522	245039
255542	237080
253158	237085
243803	225554
250741	226839
280445	247934
285257	248333
270976	246969
261076	245098
255603	246263
260376	255765
263903	264319
264291	268347
263276	273046
262572	273963
256167	267430
264221	271993
293860	292710
300713	295881
287224	293299




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

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 4 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57395&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]4 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57395&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57395&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

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







Multiple Linear Regression - Estimated Regression Equation
Werkl_vrouwen[t] = + 8149.59315102303 + 1.08526219535748Werkl_mannen[t] + 3965.82953738877M1[t] -3722.61937394788M2[t] -421.223610744918M3[t] -4284.16580455731M4[t] -6484.6345136416M5[t] -8672.62418484014M6[t] -11244.2441395232M7[t] -12521.0147386811M8[t] -14390.7151163799M9[t] -13354.4041125638M10[t] -5332.85341087203M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Werkl_vrouwen[t] =  +  8149.59315102303 +  1.08526219535748Werkl_mannen[t] +  3965.82953738877M1[t] -3722.61937394788M2[t] -421.223610744918M3[t] -4284.16580455731M4[t] -6484.6345136416M5[t] -8672.62418484014M6[t] -11244.2441395232M7[t] -12521.0147386811M8[t] -14390.7151163799M9[t] -13354.4041125638M10[t] -5332.85341087203M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57395&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Werkl_vrouwen[t] =  +  8149.59315102303 +  1.08526219535748Werkl_mannen[t] +  3965.82953738877M1[t] -3722.61937394788M2[t] -421.223610744918M3[t] -4284.16580455731M4[t] -6484.6345136416M5[t] -8672.62418484014M6[t] -11244.2441395232M7[t] -12521.0147386811M8[t] -14390.7151163799M9[t] -13354.4041125638M10[t] -5332.85341087203M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57395&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57395&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
Werkl_vrouwen[t] = + 8149.59315102303 + 1.08526219535748Werkl_mannen[t] + 3965.82953738877M1[t] -3722.61937394788M2[t] -421.223610744918M3[t] -4284.16580455731M4[t] -6484.6345136416M5[t] -8672.62418484014M6[t] -11244.2441395232M7[t] -12521.0147386811M8[t] -14390.7151163799M9[t] -13354.4041125638M10[t] -5332.85341087203M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)8149.5931510230334557.9572510.23580.8145520.407276
Werkl_mannen1.085262195357480.1228938.83100
M13965.829537388779586.2177050.41370.6808980.340449
M2-3722.619373947889581.283341-0.38850.6993070.349653
M3-421.22361074491810031.015512-0.0420.9666760.483338
M4-4284.1658045573110105.552494-0.42390.6734640.336732
M5-6484.634513641610068.805942-0.6440.5225580.261279
M6-8672.6241848401410043.800362-0.86350.392080.19604
M7-11244.244139523210053.534111-1.11840.2688340.134417
M8-12521.014738681110107.23325-1.23880.2213150.110657
M9-14390.715116379910135.074207-1.41990.161970.080985
M10-13354.404112563810275.437993-1.29960.1998040.099902
M11-5332.8534108720310334.641822-0.5160.6081630.304082

\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) & 8149.59315102303 & 34557.957251 & 0.2358 & 0.814552 & 0.407276 \tabularnewline
Werkl_mannen & 1.08526219535748 & 0.122893 & 8.831 & 0 & 0 \tabularnewline
M1 & 3965.82953738877 & 9586.217705 & 0.4137 & 0.680898 & 0.340449 \tabularnewline
M2 & -3722.61937394788 & 9581.283341 & -0.3885 & 0.699307 & 0.349653 \tabularnewline
M3 & -421.223610744918 & 10031.015512 & -0.042 & 0.966676 & 0.483338 \tabularnewline
M4 & -4284.16580455731 & 10105.552494 & -0.4239 & 0.673464 & 0.336732 \tabularnewline
M5 & -6484.6345136416 & 10068.805942 & -0.644 & 0.522558 & 0.261279 \tabularnewline
M6 & -8672.62418484014 & 10043.800362 & -0.8635 & 0.39208 & 0.19604 \tabularnewline
M7 & -11244.2441395232 & 10053.534111 & -1.1184 & 0.268834 & 0.134417 \tabularnewline
M8 & -12521.0147386811 & 10107.23325 & -1.2388 & 0.221315 & 0.110657 \tabularnewline
M9 & -14390.7151163799 & 10135.074207 & -1.4199 & 0.16197 & 0.080985 \tabularnewline
M10 & -13354.4041125638 & 10275.437993 & -1.2996 & 0.199804 & 0.099902 \tabularnewline
M11 & -5332.85341087203 & 10334.641822 & -0.516 & 0.608163 & 0.304082 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57395&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]8149.59315102303[/C][C]34557.957251[/C][C]0.2358[/C][C]0.814552[/C][C]0.407276[/C][/ROW]
[ROW][C]Werkl_mannen[/C][C]1.08526219535748[/C][C]0.122893[/C][C]8.831[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]3965.82953738877[/C][C]9586.217705[/C][C]0.4137[/C][C]0.680898[/C][C]0.340449[/C][/ROW]
[ROW][C]M2[/C][C]-3722.61937394788[/C][C]9581.283341[/C][C]-0.3885[/C][C]0.699307[/C][C]0.349653[/C][/ROW]
[ROW][C]M3[/C][C]-421.223610744918[/C][C]10031.015512[/C][C]-0.042[/C][C]0.966676[/C][C]0.483338[/C][/ROW]
[ROW][C]M4[/C][C]-4284.16580455731[/C][C]10105.552494[/C][C]-0.4239[/C][C]0.673464[/C][C]0.336732[/C][/ROW]
[ROW][C]M5[/C][C]-6484.6345136416[/C][C]10068.805942[/C][C]-0.644[/C][C]0.522558[/C][C]0.261279[/C][/ROW]
[ROW][C]M6[/C][C]-8672.62418484014[/C][C]10043.800362[/C][C]-0.8635[/C][C]0.39208[/C][C]0.19604[/C][/ROW]
[ROW][C]M7[/C][C]-11244.2441395232[/C][C]10053.534111[/C][C]-1.1184[/C][C]0.268834[/C][C]0.134417[/C][/ROW]
[ROW][C]M8[/C][C]-12521.0147386811[/C][C]10107.23325[/C][C]-1.2388[/C][C]0.221315[/C][C]0.110657[/C][/ROW]
[ROW][C]M9[/C][C]-14390.7151163799[/C][C]10135.074207[/C][C]-1.4199[/C][C]0.16197[/C][C]0.080985[/C][/ROW]
[ROW][C]M10[/C][C]-13354.4041125638[/C][C]10275.437993[/C][C]-1.2996[/C][C]0.199804[/C][C]0.099902[/C][/ROW]
[ROW][C]M11[/C][C]-5332.85341087203[/C][C]10334.641822[/C][C]-0.516[/C][C]0.608163[/C][C]0.304082[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57395&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57395&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)8149.5931510230334557.9572510.23580.8145520.407276
Werkl_mannen1.085262195357480.1228938.83100
M13965.829537388779586.2177050.41370.6808980.340449
M2-3722.619373947889581.283341-0.38850.6993070.349653
M3-421.22361074491810031.015512-0.0420.9666760.483338
M4-4284.1658045573110105.552494-0.42390.6734640.336732
M5-6484.634513641610068.805942-0.6440.5225580.261279
M6-8672.6241848401410043.800362-0.86350.392080.19604
M7-11244.244139523210053.534111-1.11840.2688340.134417
M8-12521.014738681110107.23325-1.23880.2213150.110657
M9-14390.715116379910135.074207-1.41990.161970.080985
M10-13354.404112563810275.437993-1.29960.1998040.099902
M11-5332.8534108720310334.641822-0.5160.6081630.304082







Multiple Linear Regression - Regression Statistics
Multiple R0.840940228821094
R-squared0.707180468449673
Adjusted R-squared0.635469562763879
F-TEST (value)9.86154702254393
F-TEST (DF numerator)12
F-TEST (DF denominator)49
p-value2.13789475012049e-09
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation15815.239232929
Sum Squared Residuals12255967807.7441

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.840940228821094 \tabularnewline
R-squared & 0.707180468449673 \tabularnewline
Adjusted R-squared & 0.635469562763879 \tabularnewline
F-TEST (value) & 9.86154702254393 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 49 \tabularnewline
p-value & 2.13789475012049e-09 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 15815.239232929 \tabularnewline
Sum Squared Residuals & 12255967807.7441 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57395&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.840940228821094[/C][/ROW]
[ROW][C]R-squared[/C][C]0.707180468449673[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.635469562763879[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]9.86154702254393[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]49[/C][/ROW]
[ROW][C]p-value[/C][C]2.13789475012049e-09[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]15815.239232929[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]12255967807.7441[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57395&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57395&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.840940228821094
R-squared0.707180468449673
Adjusted R-squared0.635469562763879
F-TEST (value)9.86154702254393
F-TEST (DF numerator)12
F-TEST (DF denominator)49
p-value2.13789475012049e-09
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation15815.239232929
Sum Squared Residuals12255967807.7441







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1325412321796.0753958653615.92460413544
2326011315465.2894909210545.7105090796
3328282314903.15183865113378.8481613492
4317480304143.36839334213336.6316066584
5317539303275.60166015614263.3983398437
6313737300233.51064121113503.4893587885
7312276297634.75913164414641.2408683556
8309391294115.83683687815275.1631631221
9302950286942.46011046716007.5398895329
10300316284712.13190625715603.8680937427
11304035290403.62467451613631.3753254835
12333476319900.92612721813575.0738727818
13337698328128.5803057769569.41969422416
14335932321649.11348006714282.8865199326
15323931320485.740571573445.2594284303
16313927309341.7743091044585.22569089605
17314485308420.8297283466064.17027165386
18313218303556.5834833969661.41651660395
19309664301221.5506873018442.44931269909
20302963296068.2235263266894.77647367394
21298989292440.3983921486548.60160785185
22298423292539.0428591755883.95714082459
23310631297260.31122478513370.6887752149
24329765322660.7478900127104.2521099877
25335083327629.3596959117453.6403040886
26327616321649.1134800675966.88651993258
27309119309980.402520509-861.40252050927
28295916296697.384470994-781.384470993921
29291413290193.8511573171219.14884268278
30291542291449.39843198892.6015680120228
31284678283605.5747322581072.42526774174
32276475272585.3201431813889.67985681915
33272566268713.3110150473852.68898495249
34264981261831.5490415353149.45095846456
35263290258257.0731858335032.9268141675
36296806288750.6453338728055.3546661276
37303598295361.2588413478236.74115865264
38286994280803.1002333986190.89976660215
39276427279741.741971264-3314.74197126373
40266424268042.121464775-1618.12146477495
41267153269838.673421192-2685.67342119227
42268381269209.120262527-828.120262527082
43262522262836.912099702-314.91209970211
44255542252922.5396876942619.46031230602
45253158251058.2656209722099.73437902802
46243803239580.4182501214222.58174987902
47250741248996.5308728471744.4691271529
48280445277222.9902947853222.00970521478
49285257281621.8394481223635.16055187836
50270976272453.092902317-1477.09290231737
51261076273723.963098006-12647.9630980065
52255603271125.351361786-15522.3513617856
53260376279237.044032988-18861.0440329881
54263903286332.387180877-22429.3871808774
55264291288132.203349094-23841.2033490943
56263276291955.079805921-28679.0798059212
57262572291080.564861365-28508.5648613652
58256167285026.857942911-28859.8579429109
59264221298000.460042019-33779.4600420189
60293860325816.690354112-31956.6903541119
61300713333223.886312979-32510.8863129792
62287224322733.290413230-35509.2904132296

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 325412 & 321796.075395865 & 3615.92460413544 \tabularnewline
2 & 326011 & 315465.28949092 & 10545.7105090796 \tabularnewline
3 & 328282 & 314903.151838651 & 13378.8481613492 \tabularnewline
4 & 317480 & 304143.368393342 & 13336.6316066584 \tabularnewline
5 & 317539 & 303275.601660156 & 14263.3983398437 \tabularnewline
6 & 313737 & 300233.510641211 & 13503.4893587885 \tabularnewline
7 & 312276 & 297634.759131644 & 14641.2408683556 \tabularnewline
8 & 309391 & 294115.836836878 & 15275.1631631221 \tabularnewline
9 & 302950 & 286942.460110467 & 16007.5398895329 \tabularnewline
10 & 300316 & 284712.131906257 & 15603.8680937427 \tabularnewline
11 & 304035 & 290403.624674516 & 13631.3753254835 \tabularnewline
12 & 333476 & 319900.926127218 & 13575.0738727818 \tabularnewline
13 & 337698 & 328128.580305776 & 9569.41969422416 \tabularnewline
14 & 335932 & 321649.113480067 & 14282.8865199326 \tabularnewline
15 & 323931 & 320485.74057157 & 3445.2594284303 \tabularnewline
16 & 313927 & 309341.774309104 & 4585.22569089605 \tabularnewline
17 & 314485 & 308420.829728346 & 6064.17027165386 \tabularnewline
18 & 313218 & 303556.583483396 & 9661.41651660395 \tabularnewline
19 & 309664 & 301221.550687301 & 8442.44931269909 \tabularnewline
20 & 302963 & 296068.223526326 & 6894.77647367394 \tabularnewline
21 & 298989 & 292440.398392148 & 6548.60160785185 \tabularnewline
22 & 298423 & 292539.042859175 & 5883.95714082459 \tabularnewline
23 & 310631 & 297260.311224785 & 13370.6887752149 \tabularnewline
24 & 329765 & 322660.747890012 & 7104.2521099877 \tabularnewline
25 & 335083 & 327629.359695911 & 7453.6403040886 \tabularnewline
26 & 327616 & 321649.113480067 & 5966.88651993258 \tabularnewline
27 & 309119 & 309980.402520509 & -861.40252050927 \tabularnewline
28 & 295916 & 296697.384470994 & -781.384470993921 \tabularnewline
29 & 291413 & 290193.851157317 & 1219.14884268278 \tabularnewline
30 & 291542 & 291449.398431988 & 92.6015680120228 \tabularnewline
31 & 284678 & 283605.574732258 & 1072.42526774174 \tabularnewline
32 & 276475 & 272585.320143181 & 3889.67985681915 \tabularnewline
33 & 272566 & 268713.311015047 & 3852.68898495249 \tabularnewline
34 & 264981 & 261831.549041535 & 3149.45095846456 \tabularnewline
35 & 263290 & 258257.073185833 & 5032.9268141675 \tabularnewline
36 & 296806 & 288750.645333872 & 8055.3546661276 \tabularnewline
37 & 303598 & 295361.258841347 & 8236.74115865264 \tabularnewline
38 & 286994 & 280803.100233398 & 6190.89976660215 \tabularnewline
39 & 276427 & 279741.741971264 & -3314.74197126373 \tabularnewline
40 & 266424 & 268042.121464775 & -1618.12146477495 \tabularnewline
41 & 267153 & 269838.673421192 & -2685.67342119227 \tabularnewline
42 & 268381 & 269209.120262527 & -828.120262527082 \tabularnewline
43 & 262522 & 262836.912099702 & -314.91209970211 \tabularnewline
44 & 255542 & 252922.539687694 & 2619.46031230602 \tabularnewline
45 & 253158 & 251058.265620972 & 2099.73437902802 \tabularnewline
46 & 243803 & 239580.418250121 & 4222.58174987902 \tabularnewline
47 & 250741 & 248996.530872847 & 1744.4691271529 \tabularnewline
48 & 280445 & 277222.990294785 & 3222.00970521478 \tabularnewline
49 & 285257 & 281621.839448122 & 3635.16055187836 \tabularnewline
50 & 270976 & 272453.092902317 & -1477.09290231737 \tabularnewline
51 & 261076 & 273723.963098006 & -12647.9630980065 \tabularnewline
52 & 255603 & 271125.351361786 & -15522.3513617856 \tabularnewline
53 & 260376 & 279237.044032988 & -18861.0440329881 \tabularnewline
54 & 263903 & 286332.387180877 & -22429.3871808774 \tabularnewline
55 & 264291 & 288132.203349094 & -23841.2033490943 \tabularnewline
56 & 263276 & 291955.079805921 & -28679.0798059212 \tabularnewline
57 & 262572 & 291080.564861365 & -28508.5648613652 \tabularnewline
58 & 256167 & 285026.857942911 & -28859.8579429109 \tabularnewline
59 & 264221 & 298000.460042019 & -33779.4600420189 \tabularnewline
60 & 293860 & 325816.690354112 & -31956.6903541119 \tabularnewline
61 & 300713 & 333223.886312979 & -32510.8863129792 \tabularnewline
62 & 287224 & 322733.290413230 & -35509.2904132296 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57395&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]325412[/C][C]321796.075395865[/C][C]3615.92460413544[/C][/ROW]
[ROW][C]2[/C][C]326011[/C][C]315465.28949092[/C][C]10545.7105090796[/C][/ROW]
[ROW][C]3[/C][C]328282[/C][C]314903.151838651[/C][C]13378.8481613492[/C][/ROW]
[ROW][C]4[/C][C]317480[/C][C]304143.368393342[/C][C]13336.6316066584[/C][/ROW]
[ROW][C]5[/C][C]317539[/C][C]303275.601660156[/C][C]14263.3983398437[/C][/ROW]
[ROW][C]6[/C][C]313737[/C][C]300233.510641211[/C][C]13503.4893587885[/C][/ROW]
[ROW][C]7[/C][C]312276[/C][C]297634.759131644[/C][C]14641.2408683556[/C][/ROW]
[ROW][C]8[/C][C]309391[/C][C]294115.836836878[/C][C]15275.1631631221[/C][/ROW]
[ROW][C]9[/C][C]302950[/C][C]286942.460110467[/C][C]16007.5398895329[/C][/ROW]
[ROW][C]10[/C][C]300316[/C][C]284712.131906257[/C][C]15603.8680937427[/C][/ROW]
[ROW][C]11[/C][C]304035[/C][C]290403.624674516[/C][C]13631.3753254835[/C][/ROW]
[ROW][C]12[/C][C]333476[/C][C]319900.926127218[/C][C]13575.0738727818[/C][/ROW]
[ROW][C]13[/C][C]337698[/C][C]328128.580305776[/C][C]9569.41969422416[/C][/ROW]
[ROW][C]14[/C][C]335932[/C][C]321649.113480067[/C][C]14282.8865199326[/C][/ROW]
[ROW][C]15[/C][C]323931[/C][C]320485.74057157[/C][C]3445.2594284303[/C][/ROW]
[ROW][C]16[/C][C]313927[/C][C]309341.774309104[/C][C]4585.22569089605[/C][/ROW]
[ROW][C]17[/C][C]314485[/C][C]308420.829728346[/C][C]6064.17027165386[/C][/ROW]
[ROW][C]18[/C][C]313218[/C][C]303556.583483396[/C][C]9661.41651660395[/C][/ROW]
[ROW][C]19[/C][C]309664[/C][C]301221.550687301[/C][C]8442.44931269909[/C][/ROW]
[ROW][C]20[/C][C]302963[/C][C]296068.223526326[/C][C]6894.77647367394[/C][/ROW]
[ROW][C]21[/C][C]298989[/C][C]292440.398392148[/C][C]6548.60160785185[/C][/ROW]
[ROW][C]22[/C][C]298423[/C][C]292539.042859175[/C][C]5883.95714082459[/C][/ROW]
[ROW][C]23[/C][C]310631[/C][C]297260.311224785[/C][C]13370.6887752149[/C][/ROW]
[ROW][C]24[/C][C]329765[/C][C]322660.747890012[/C][C]7104.2521099877[/C][/ROW]
[ROW][C]25[/C][C]335083[/C][C]327629.359695911[/C][C]7453.6403040886[/C][/ROW]
[ROW][C]26[/C][C]327616[/C][C]321649.113480067[/C][C]5966.88651993258[/C][/ROW]
[ROW][C]27[/C][C]309119[/C][C]309980.402520509[/C][C]-861.40252050927[/C][/ROW]
[ROW][C]28[/C][C]295916[/C][C]296697.384470994[/C][C]-781.384470993921[/C][/ROW]
[ROW][C]29[/C][C]291413[/C][C]290193.851157317[/C][C]1219.14884268278[/C][/ROW]
[ROW][C]30[/C][C]291542[/C][C]291449.398431988[/C][C]92.6015680120228[/C][/ROW]
[ROW][C]31[/C][C]284678[/C][C]283605.574732258[/C][C]1072.42526774174[/C][/ROW]
[ROW][C]32[/C][C]276475[/C][C]272585.320143181[/C][C]3889.67985681915[/C][/ROW]
[ROW][C]33[/C][C]272566[/C][C]268713.311015047[/C][C]3852.68898495249[/C][/ROW]
[ROW][C]34[/C][C]264981[/C][C]261831.549041535[/C][C]3149.45095846456[/C][/ROW]
[ROW][C]35[/C][C]263290[/C][C]258257.073185833[/C][C]5032.9268141675[/C][/ROW]
[ROW][C]36[/C][C]296806[/C][C]288750.645333872[/C][C]8055.3546661276[/C][/ROW]
[ROW][C]37[/C][C]303598[/C][C]295361.258841347[/C][C]8236.74115865264[/C][/ROW]
[ROW][C]38[/C][C]286994[/C][C]280803.100233398[/C][C]6190.89976660215[/C][/ROW]
[ROW][C]39[/C][C]276427[/C][C]279741.741971264[/C][C]-3314.74197126373[/C][/ROW]
[ROW][C]40[/C][C]266424[/C][C]268042.121464775[/C][C]-1618.12146477495[/C][/ROW]
[ROW][C]41[/C][C]267153[/C][C]269838.673421192[/C][C]-2685.67342119227[/C][/ROW]
[ROW][C]42[/C][C]268381[/C][C]269209.120262527[/C][C]-828.120262527082[/C][/ROW]
[ROW][C]43[/C][C]262522[/C][C]262836.912099702[/C][C]-314.91209970211[/C][/ROW]
[ROW][C]44[/C][C]255542[/C][C]252922.539687694[/C][C]2619.46031230602[/C][/ROW]
[ROW][C]45[/C][C]253158[/C][C]251058.265620972[/C][C]2099.73437902802[/C][/ROW]
[ROW][C]46[/C][C]243803[/C][C]239580.418250121[/C][C]4222.58174987902[/C][/ROW]
[ROW][C]47[/C][C]250741[/C][C]248996.530872847[/C][C]1744.4691271529[/C][/ROW]
[ROW][C]48[/C][C]280445[/C][C]277222.990294785[/C][C]3222.00970521478[/C][/ROW]
[ROW][C]49[/C][C]285257[/C][C]281621.839448122[/C][C]3635.16055187836[/C][/ROW]
[ROW][C]50[/C][C]270976[/C][C]272453.092902317[/C][C]-1477.09290231737[/C][/ROW]
[ROW][C]51[/C][C]261076[/C][C]273723.963098006[/C][C]-12647.9630980065[/C][/ROW]
[ROW][C]52[/C][C]255603[/C][C]271125.351361786[/C][C]-15522.3513617856[/C][/ROW]
[ROW][C]53[/C][C]260376[/C][C]279237.044032988[/C][C]-18861.0440329881[/C][/ROW]
[ROW][C]54[/C][C]263903[/C][C]286332.387180877[/C][C]-22429.3871808774[/C][/ROW]
[ROW][C]55[/C][C]264291[/C][C]288132.203349094[/C][C]-23841.2033490943[/C][/ROW]
[ROW][C]56[/C][C]263276[/C][C]291955.079805921[/C][C]-28679.0798059212[/C][/ROW]
[ROW][C]57[/C][C]262572[/C][C]291080.564861365[/C][C]-28508.5648613652[/C][/ROW]
[ROW][C]58[/C][C]256167[/C][C]285026.857942911[/C][C]-28859.8579429109[/C][/ROW]
[ROW][C]59[/C][C]264221[/C][C]298000.460042019[/C][C]-33779.4600420189[/C][/ROW]
[ROW][C]60[/C][C]293860[/C][C]325816.690354112[/C][C]-31956.6903541119[/C][/ROW]
[ROW][C]61[/C][C]300713[/C][C]333223.886312979[/C][C]-32510.8863129792[/C][/ROW]
[ROW][C]62[/C][C]287224[/C][C]322733.290413230[/C][C]-35509.2904132296[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57395&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57395&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
1325412321796.0753958653615.92460413544
2326011315465.2894909210545.7105090796
3328282314903.15183865113378.8481613492
4317480304143.36839334213336.6316066584
5317539303275.60166015614263.3983398437
6313737300233.51064121113503.4893587885
7312276297634.75913164414641.2408683556
8309391294115.83683687815275.1631631221
9302950286942.46011046716007.5398895329
10300316284712.13190625715603.8680937427
11304035290403.62467451613631.3753254835
12333476319900.92612721813575.0738727818
13337698328128.5803057769569.41969422416
14335932321649.11348006714282.8865199326
15323931320485.740571573445.2594284303
16313927309341.7743091044585.22569089605
17314485308420.8297283466064.17027165386
18313218303556.5834833969661.41651660395
19309664301221.5506873018442.44931269909
20302963296068.2235263266894.77647367394
21298989292440.3983921486548.60160785185
22298423292539.0428591755883.95714082459
23310631297260.31122478513370.6887752149
24329765322660.7478900127104.2521099877
25335083327629.3596959117453.6403040886
26327616321649.1134800675966.88651993258
27309119309980.402520509-861.40252050927
28295916296697.384470994-781.384470993921
29291413290193.8511573171219.14884268278
30291542291449.39843198892.6015680120228
31284678283605.5747322581072.42526774174
32276475272585.3201431813889.67985681915
33272566268713.3110150473852.68898495249
34264981261831.5490415353149.45095846456
35263290258257.0731858335032.9268141675
36296806288750.6453338728055.3546661276
37303598295361.2588413478236.74115865264
38286994280803.1002333986190.89976660215
39276427279741.741971264-3314.74197126373
40266424268042.121464775-1618.12146477495
41267153269838.673421192-2685.67342119227
42268381269209.120262527-828.120262527082
43262522262836.912099702-314.91209970211
44255542252922.5396876942619.46031230602
45253158251058.2656209722099.73437902802
46243803239580.4182501214222.58174987902
47250741248996.5308728471744.4691271529
48280445277222.9902947853222.00970521478
49285257281621.8394481223635.16055187836
50270976272453.092902317-1477.09290231737
51261076273723.963098006-12647.9630980065
52255603271125.351361786-15522.3513617856
53260376279237.044032988-18861.0440329881
54263903286332.387180877-22429.3871808774
55264291288132.203349094-23841.2033490943
56263276291955.079805921-28679.0798059212
57262572291080.564861365-28508.5648613652
58256167285026.857942911-28859.8579429109
59264221298000.460042019-33779.4600420189
60293860325816.690354112-31956.6903541119
61300713333223.886312979-32510.8863129792
62287224322733.290413230-35509.2904132296







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.06660045075565920.1332009015113180.93339954924434
170.02832768718860310.05665537437720620.971672312811397
180.009671258502516560.01934251700503310.990328741497484
190.003658745571723980.007317491143447970.996341254428276
200.001977507057951900.003955014115903790.998022492942048
210.0008854286494733630.001770857298946730.999114571350527
220.0003559048383498360.0007118096766996710.99964409516165
230.000294427002893440.000588854005786880.999705572997106
240.0001761265527420780.0003522531054841570.999823873447258
250.0001175430297033170.0002350860594066330.999882456970297
260.0001704122602272090.0003408245204544190.999829587739773
270.002405010156219460.004810020312438920.99759498984378
280.01169656425377980.02339312850755950.98830343574622
290.02507313667553100.05014627335106210.974926863324469
300.05748422459458930.1149684491891790.94251577540541
310.09002550930821930.1800510186164390.909974490691781
320.1151237329530750.2302474659061490.884876267046925
330.1414856937342110.2829713874684220.858514306265789
340.1928784170282130.3857568340564260.807121582971787
350.1807951616497150.361590323299430.819204838350285
360.2546473668704130.5092947337408260.745352633129587
370.4282237076391720.8564474152783430.571776292360828
380.5710236555223160.8579526889553670.428976344477684
390.7640466666452950.4719066667094110.235953333354706
400.8937183514969340.2125632970061310.106281648503066
410.955580873704070.0888382525918610.0444191262959305
420.9951880587524830.009623882495033390.00481194124751669
430.9986494031804420.002701193639115090.00135059681955755
440.999080095577250.001839808845499710.000919904422749853
450.9985979883460040.002804023307991400.00140201165399570
460.9931880766071250.01362384678575020.00681192339287512

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.0666004507556592 & 0.133200901511318 & 0.93339954924434 \tabularnewline
17 & 0.0283276871886031 & 0.0566553743772062 & 0.971672312811397 \tabularnewline
18 & 0.00967125850251656 & 0.0193425170050331 & 0.990328741497484 \tabularnewline
19 & 0.00365874557172398 & 0.00731749114344797 & 0.996341254428276 \tabularnewline
20 & 0.00197750705795190 & 0.00395501411590379 & 0.998022492942048 \tabularnewline
21 & 0.000885428649473363 & 0.00177085729894673 & 0.999114571350527 \tabularnewline
22 & 0.000355904838349836 & 0.000711809676699671 & 0.99964409516165 \tabularnewline
23 & 0.00029442700289344 & 0.00058885400578688 & 0.999705572997106 \tabularnewline
24 & 0.000176126552742078 & 0.000352253105484157 & 0.999823873447258 \tabularnewline
25 & 0.000117543029703317 & 0.000235086059406633 & 0.999882456970297 \tabularnewline
26 & 0.000170412260227209 & 0.000340824520454419 & 0.999829587739773 \tabularnewline
27 & 0.00240501015621946 & 0.00481002031243892 & 0.99759498984378 \tabularnewline
28 & 0.0116965642537798 & 0.0233931285075595 & 0.98830343574622 \tabularnewline
29 & 0.0250731366755310 & 0.0501462733510621 & 0.974926863324469 \tabularnewline
30 & 0.0574842245945893 & 0.114968449189179 & 0.94251577540541 \tabularnewline
31 & 0.0900255093082193 & 0.180051018616439 & 0.909974490691781 \tabularnewline
32 & 0.115123732953075 & 0.230247465906149 & 0.884876267046925 \tabularnewline
33 & 0.141485693734211 & 0.282971387468422 & 0.858514306265789 \tabularnewline
34 & 0.192878417028213 & 0.385756834056426 & 0.807121582971787 \tabularnewline
35 & 0.180795161649715 & 0.36159032329943 & 0.819204838350285 \tabularnewline
36 & 0.254647366870413 & 0.509294733740826 & 0.745352633129587 \tabularnewline
37 & 0.428223707639172 & 0.856447415278343 & 0.571776292360828 \tabularnewline
38 & 0.571023655522316 & 0.857952688955367 & 0.428976344477684 \tabularnewline
39 & 0.764046666645295 & 0.471906666709411 & 0.235953333354706 \tabularnewline
40 & 0.893718351496934 & 0.212563297006131 & 0.106281648503066 \tabularnewline
41 & 0.95558087370407 & 0.088838252591861 & 0.0444191262959305 \tabularnewline
42 & 0.995188058752483 & 0.00962388249503339 & 0.00481194124751669 \tabularnewline
43 & 0.998649403180442 & 0.00270119363911509 & 0.00135059681955755 \tabularnewline
44 & 0.99908009557725 & 0.00183980884549971 & 0.000919904422749853 \tabularnewline
45 & 0.998597988346004 & 0.00280402330799140 & 0.00140201165399570 \tabularnewline
46 & 0.993188076607125 & 0.0136238467857502 & 0.00681192339287512 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57395&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.0666004507556592[/C][C]0.133200901511318[/C][C]0.93339954924434[/C][/ROW]
[ROW][C]17[/C][C]0.0283276871886031[/C][C]0.0566553743772062[/C][C]0.971672312811397[/C][/ROW]
[ROW][C]18[/C][C]0.00967125850251656[/C][C]0.0193425170050331[/C][C]0.990328741497484[/C][/ROW]
[ROW][C]19[/C][C]0.00365874557172398[/C][C]0.00731749114344797[/C][C]0.996341254428276[/C][/ROW]
[ROW][C]20[/C][C]0.00197750705795190[/C][C]0.00395501411590379[/C][C]0.998022492942048[/C][/ROW]
[ROW][C]21[/C][C]0.000885428649473363[/C][C]0.00177085729894673[/C][C]0.999114571350527[/C][/ROW]
[ROW][C]22[/C][C]0.000355904838349836[/C][C]0.000711809676699671[/C][C]0.99964409516165[/C][/ROW]
[ROW][C]23[/C][C]0.00029442700289344[/C][C]0.00058885400578688[/C][C]0.999705572997106[/C][/ROW]
[ROW][C]24[/C][C]0.000176126552742078[/C][C]0.000352253105484157[/C][C]0.999823873447258[/C][/ROW]
[ROW][C]25[/C][C]0.000117543029703317[/C][C]0.000235086059406633[/C][C]0.999882456970297[/C][/ROW]
[ROW][C]26[/C][C]0.000170412260227209[/C][C]0.000340824520454419[/C][C]0.999829587739773[/C][/ROW]
[ROW][C]27[/C][C]0.00240501015621946[/C][C]0.00481002031243892[/C][C]0.99759498984378[/C][/ROW]
[ROW][C]28[/C][C]0.0116965642537798[/C][C]0.0233931285075595[/C][C]0.98830343574622[/C][/ROW]
[ROW][C]29[/C][C]0.0250731366755310[/C][C]0.0501462733510621[/C][C]0.974926863324469[/C][/ROW]
[ROW][C]30[/C][C]0.0574842245945893[/C][C]0.114968449189179[/C][C]0.94251577540541[/C][/ROW]
[ROW][C]31[/C][C]0.0900255093082193[/C][C]0.180051018616439[/C][C]0.909974490691781[/C][/ROW]
[ROW][C]32[/C][C]0.115123732953075[/C][C]0.230247465906149[/C][C]0.884876267046925[/C][/ROW]
[ROW][C]33[/C][C]0.141485693734211[/C][C]0.282971387468422[/C][C]0.858514306265789[/C][/ROW]
[ROW][C]34[/C][C]0.192878417028213[/C][C]0.385756834056426[/C][C]0.807121582971787[/C][/ROW]
[ROW][C]35[/C][C]0.180795161649715[/C][C]0.36159032329943[/C][C]0.819204838350285[/C][/ROW]
[ROW][C]36[/C][C]0.254647366870413[/C][C]0.509294733740826[/C][C]0.745352633129587[/C][/ROW]
[ROW][C]37[/C][C]0.428223707639172[/C][C]0.856447415278343[/C][C]0.571776292360828[/C][/ROW]
[ROW][C]38[/C][C]0.571023655522316[/C][C]0.857952688955367[/C][C]0.428976344477684[/C][/ROW]
[ROW][C]39[/C][C]0.764046666645295[/C][C]0.471906666709411[/C][C]0.235953333354706[/C][/ROW]
[ROW][C]40[/C][C]0.893718351496934[/C][C]0.212563297006131[/C][C]0.106281648503066[/C][/ROW]
[ROW][C]41[/C][C]0.95558087370407[/C][C]0.088838252591861[/C][C]0.0444191262959305[/C][/ROW]
[ROW][C]42[/C][C]0.995188058752483[/C][C]0.00962388249503339[/C][C]0.00481194124751669[/C][/ROW]
[ROW][C]43[/C][C]0.998649403180442[/C][C]0.00270119363911509[/C][C]0.00135059681955755[/C][/ROW]
[ROW][C]44[/C][C]0.99908009557725[/C][C]0.00183980884549971[/C][C]0.000919904422749853[/C][/ROW]
[ROW][C]45[/C][C]0.998597988346004[/C][C]0.00280402330799140[/C][C]0.00140201165399570[/C][/ROW]
[ROW][C]46[/C][C]0.993188076607125[/C][C]0.0136238467857502[/C][C]0.00681192339287512[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57395&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57395&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.06660045075565920.1332009015113180.93339954924434
170.02832768718860310.05665537437720620.971672312811397
180.009671258502516560.01934251700503310.990328741497484
190.003658745571723980.007317491143447970.996341254428276
200.001977507057951900.003955014115903790.998022492942048
210.0008854286494733630.001770857298946730.999114571350527
220.0003559048383498360.0007118096766996710.99964409516165
230.000294427002893440.000588854005786880.999705572997106
240.0001761265527420780.0003522531054841570.999823873447258
250.0001175430297033170.0002350860594066330.999882456970297
260.0001704122602272090.0003408245204544190.999829587739773
270.002405010156219460.004810020312438920.99759498984378
280.01169656425377980.02339312850755950.98830343574622
290.02507313667553100.05014627335106210.974926863324469
300.05748422459458930.1149684491891790.94251577540541
310.09002550930821930.1800510186164390.909974490691781
320.1151237329530750.2302474659061490.884876267046925
330.1414856937342110.2829713874684220.858514306265789
340.1928784170282130.3857568340564260.807121582971787
350.1807951616497150.361590323299430.819204838350285
360.2546473668704130.5092947337408260.745352633129587
370.4282237076391720.8564474152783430.571776292360828
380.5710236555223160.8579526889553670.428976344477684
390.7640466666452950.4719066667094110.235953333354706
400.8937183514969340.2125632970061310.106281648503066
410.955580873704070.0888382525918610.0444191262959305
420.9951880587524830.009623882495033390.00481194124751669
430.9986494031804420.002701193639115090.00135059681955755
440.999080095577250.001839808845499710.000919904422749853
450.9985979883460040.002804023307991400.00140201165399570
460.9931880766071250.01362384678575020.00681192339287512







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level130.419354838709677NOK
5% type I error level160.516129032258065NOK
10% type I error level190.612903225806452NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57395&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 level130.419354838709677NOK
5% type I error level160.516129032258065NOK
10% type I error level190.612903225806452NOK



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