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 computationFri, 20 Nov 2009 05:20:08 -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/20/t1258719703cbzbpi2qb0gxtfb.htm/, Retrieved Tue, 16 Apr 2024 15:50:10 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58077, Retrieved Tue, 16 Apr 2024 15:50:10 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsETSHWW7(4)
Estimated Impact151
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [invoer-textiel] [2008-12-19 19:19:44] [5e74953d94072114d25d7276793b561e]
-   PD  [Multiple Regression] [invoer-textiel] [2008-12-19 19:31:41] [5e74953d94072114d25d7276793b561e]
-   PD    [Multiple Regression] [werkloosheid/invoer] [2008-12-19 20:08:51] [5e74953d94072114d25d7276793b561e]
-  M D        [Multiple Regression] [Workshop 7: Multi...] [2009-11-20 12:20:08] [af31b947d6acaef3c71f428c4bb503e9] [Current]
Feedback Forum

Post a new message
Dataseries X:
1.43	0.51
1.43	0.51
1.43	0.51
1.43	0.51
1.43	0.52
1.43	0.52
1.44	0.52
1.48	0.53
1.48	0.53
1.48	0.52
1.48	0.52
1.48	0.52
1.48	0.52
1.48	0.52
1.48	0.52
1.48	0.52
1.48	0.52
1.48	0.52
1.48	0.52
1.48	0.53
1.48	0.53
1.48	0.53
1.48	0.54
1.48	0.54
1.48	0.54
1.48	0.54
1.48	0.54
1.48	0.54
1.48	0.54
1.48	0.54
1.48	0.54
1.48	0.54
1.48	0.53
1.48	0.53
1.48	0.53
1.48	0.53
1.48	0.53
1.57	0.54
1.58	0.55
1.58	0.55
1.58	0.55
1.58	0.55
1.59	0.55
1.6	0.55
1.6	0.55
1.61	0.55
1.61	0.56
1.61	0.56
1.62	0.56
1.63	0.56
1.63	0.56
1.64	0.55
1.64	0.56
1.64	0.55
1.64	0.55
1.64	0.56
1.65	0.55
1.65	0.55
1.65	0.55
1.65	0.55




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=58077&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=58077&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58077&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
Broodprijs[t] = + 0.865076923076913 + 1.03846153846156Bakmeelprijs[t] + 0.00118803418803283M1[t] + 0.0159401709401710M2[t] + 0.0126923076923077M3[t] + 0.0135982905982907M4[t] + 0.00627350427350428M5[t] + 0.00517948717948723M6[t] + 0.00600854700854706M7[t] + 0.00660683760683758M8[t] + 0.00958974358974363M9[t] + 0.0104957264957266M10[t] + 0.00317094017094018M11[t] + 0.00317094017094017t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Broodprijs[t] =  +  0.865076923076913 +  1.03846153846156Bakmeelprijs[t] +  0.00118803418803283M1[t] +  0.0159401709401710M2[t] +  0.0126923076923077M3[t] +  0.0135982905982907M4[t] +  0.00627350427350428M5[t] +  0.00517948717948723M6[t] +  0.00600854700854706M7[t] +  0.00660683760683758M8[t] +  0.00958974358974363M9[t] +  0.0104957264957266M10[t] +  0.00317094017094018M11[t] +  0.00317094017094017t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58077&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Broodprijs[t] =  +  0.865076923076913 +  1.03846153846156Bakmeelprijs[t] +  0.00118803418803283M1[t] +  0.0159401709401710M2[t] +  0.0126923076923077M3[t] +  0.0135982905982907M4[t] +  0.00627350427350428M5[t] +  0.00517948717948723M6[t] +  0.00600854700854706M7[t] +  0.00660683760683758M8[t] +  0.00958974358974363M9[t] +  0.0104957264957266M10[t] +  0.00317094017094018M11[t] +  0.00317094017094017t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58077&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58077&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
Broodprijs[t] = + 0.865076923076913 + 1.03846153846156Bakmeelprijs[t] + 0.00118803418803283M1[t] + 0.0159401709401710M2[t] + 0.0126923076923077M3[t] + 0.0135982905982907M4[t] + 0.00627350427350428M5[t] + 0.00517948717948723M6[t] + 0.00600854700854706M7[t] + 0.00660683760683758M8[t] + 0.00958974358974363M9[t] + 0.0104957264957266M10[t] + 0.00317094017094018M11[t] + 0.00317094017094017t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)0.8650769230769130.3452792.50540.0158320.007916
Bakmeelprijs1.038461538461560.674251.54020.1303690.065185
M10.001188034188032830.0202270.05870.9534180.476709
M20.01594017094017100.0202330.78780.434830.217415
M30.01269230769230770.0202740.6260.534380.26719
M40.01359829059829070.0201410.67520.5029520.251476
M50.006273504273504280.0202590.30970.7582150.379107
M60.005179487179487230.0201050.25760.7978520.398926
M70.006008547008547060.0200830.29920.7661470.383074
M80.006606837606837580.020370.32430.7471520.373576
M90.009589743589743630.0200620.4780.6349020.317451
M100.01049572649572660.0201190.52170.604390.302195
M110.003170940170940180.0200550.15810.8750630.437532
t0.003170940170940170.0005865.41382e-061e-06

\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) & 0.865076923076913 & 0.345279 & 2.5054 & 0.015832 & 0.007916 \tabularnewline
Bakmeelprijs & 1.03846153846156 & 0.67425 & 1.5402 & 0.130369 & 0.065185 \tabularnewline
M1 & 0.00118803418803283 & 0.020227 & 0.0587 & 0.953418 & 0.476709 \tabularnewline
M2 & 0.0159401709401710 & 0.020233 & 0.7878 & 0.43483 & 0.217415 \tabularnewline
M3 & 0.0126923076923077 & 0.020274 & 0.626 & 0.53438 & 0.26719 \tabularnewline
M4 & 0.0135982905982907 & 0.020141 & 0.6752 & 0.502952 & 0.251476 \tabularnewline
M5 & 0.00627350427350428 & 0.020259 & 0.3097 & 0.758215 & 0.379107 \tabularnewline
M6 & 0.00517948717948723 & 0.020105 & 0.2576 & 0.797852 & 0.398926 \tabularnewline
M7 & 0.00600854700854706 & 0.020083 & 0.2992 & 0.766147 & 0.383074 \tabularnewline
M8 & 0.00660683760683758 & 0.02037 & 0.3243 & 0.747152 & 0.373576 \tabularnewline
M9 & 0.00958974358974363 & 0.020062 & 0.478 & 0.634902 & 0.317451 \tabularnewline
M10 & 0.0104957264957266 & 0.020119 & 0.5217 & 0.60439 & 0.302195 \tabularnewline
M11 & 0.00317094017094018 & 0.020055 & 0.1581 & 0.875063 & 0.437532 \tabularnewline
t & 0.00317094017094017 & 0.000586 & 5.4138 & 2e-06 & 1e-06 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58077&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]0.865076923076913[/C][C]0.345279[/C][C]2.5054[/C][C]0.015832[/C][C]0.007916[/C][/ROW]
[ROW][C]Bakmeelprijs[/C][C]1.03846153846156[/C][C]0.67425[/C][C]1.5402[/C][C]0.130369[/C][C]0.065185[/C][/ROW]
[ROW][C]M1[/C][C]0.00118803418803283[/C][C]0.020227[/C][C]0.0587[/C][C]0.953418[/C][C]0.476709[/C][/ROW]
[ROW][C]M2[/C][C]0.0159401709401710[/C][C]0.020233[/C][C]0.7878[/C][C]0.43483[/C][C]0.217415[/C][/ROW]
[ROW][C]M3[/C][C]0.0126923076923077[/C][C]0.020274[/C][C]0.626[/C][C]0.53438[/C][C]0.26719[/C][/ROW]
[ROW][C]M4[/C][C]0.0135982905982907[/C][C]0.020141[/C][C]0.6752[/C][C]0.502952[/C][C]0.251476[/C][/ROW]
[ROW][C]M5[/C][C]0.00627350427350428[/C][C]0.020259[/C][C]0.3097[/C][C]0.758215[/C][C]0.379107[/C][/ROW]
[ROW][C]M6[/C][C]0.00517948717948723[/C][C]0.020105[/C][C]0.2576[/C][C]0.797852[/C][C]0.398926[/C][/ROW]
[ROW][C]M7[/C][C]0.00600854700854706[/C][C]0.020083[/C][C]0.2992[/C][C]0.766147[/C][C]0.383074[/C][/ROW]
[ROW][C]M8[/C][C]0.00660683760683758[/C][C]0.02037[/C][C]0.3243[/C][C]0.747152[/C][C]0.373576[/C][/ROW]
[ROW][C]M9[/C][C]0.00958974358974363[/C][C]0.020062[/C][C]0.478[/C][C]0.634902[/C][C]0.317451[/C][/ROW]
[ROW][C]M10[/C][C]0.0104957264957266[/C][C]0.020119[/C][C]0.5217[/C][C]0.60439[/C][C]0.302195[/C][/ROW]
[ROW][C]M11[/C][C]0.00317094017094018[/C][C]0.020055[/C][C]0.1581[/C][C]0.875063[/C][C]0.437532[/C][/ROW]
[ROW][C]t[/C][C]0.00317094017094017[/C][C]0.000586[/C][C]5.4138[/C][C]2e-06[/C][C]1e-06[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58077&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58077&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)0.8650769230769130.3452792.50540.0158320.007916
Bakmeelprijs1.038461538461560.674251.54020.1303690.065185
M10.001188034188032830.0202270.05870.9534180.476709
M20.01594017094017100.0202330.78780.434830.217415
M30.01269230769230770.0202740.6260.534380.26719
M40.01359829059829070.0201410.67520.5029520.251476
M50.006273504273504280.0202590.30970.7582150.379107
M60.005179487179487230.0201050.25760.7978520.398926
M70.006008547008547060.0200830.29920.7661470.383074
M80.006606837606837580.020370.32430.7471520.373576
M90.009589743589743630.0200620.4780.6349020.317451
M100.01049572649572660.0201190.52170.604390.302195
M110.003170940170940180.0200550.15810.8750630.437532
t0.003170940170940170.0005865.41382e-061e-06







Multiple Linear Regression - Regression Statistics
Multiple R0.927993068953007
R-squared0.861171136024821
Adjusted R-squared0.821936891857923
F-TEST (value)21.9494768998605
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value1.88737914186277e-15
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.031696899257175
Sum Squared Residuals0.046215897435897

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.927993068953007 \tabularnewline
R-squared & 0.861171136024821 \tabularnewline
Adjusted R-squared & 0.821936891857923 \tabularnewline
F-TEST (value) & 21.9494768998605 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 1.88737914186277e-15 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.031696899257175 \tabularnewline
Sum Squared Residuals & 0.046215897435897 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58077&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.927993068953007[/C][/ROW]
[ROW][C]R-squared[/C][C]0.861171136024821[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.821936891857923[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]21.9494768998605[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]46[/C][/ROW]
[ROW][C]p-value[/C][C]1.88737914186277e-15[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.031696899257175[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]0.046215897435897[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58077&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58077&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.927993068953007
R-squared0.861171136024821
Adjusted R-squared0.821936891857923
F-TEST (value)21.9494768998605
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value1.88737914186277e-15
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.031696899257175
Sum Squared Residuals0.046215897435897







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11.431.399051282051290.0309487179487123
21.431.416974358974360.0130256410256412
31.431.416897435897440.0131025641025644
41.431.420974358974360.00902564102564134
51.431.427205128205130.00279487179487202
61.431.429282051282050.000717948717948887
71.441.433282051282050.00671794871794893
81.481.447435897435900.0325641025641027
91.481.453589743589740.0264102564102565
101.481.447282051282050.0327179487179489
111.481.443128205128200.0368717948717951
121.481.443128205128200.0368717948717951
131.481.447487179487180.0325128205128222
141.481.465410256410260.0145897435897438
151.481.465333333333330.0146666666666669
161.481.469410256410260.0105897435897438
171.481.465256410256410.01474358974359
181.481.467333333333330.0126666666666669
191.481.471333333333330.0086666666666669
201.481.48548717948718-0.00548717948717933
211.481.49164102564103-0.0116410256410255
221.481.49571794871795-0.0157179487179486
231.481.50194871794872-0.0219487179487180
241.481.50194871794872-0.0219487179487180
251.481.50630769230769-0.0263076923076910
261.481.52423076923077-0.0442307692307693
271.481.52415384615385-0.0441538461538462
281.481.52823076923077-0.0482307692307693
291.481.52407692307692-0.0440769230769231
301.481.52615384615385-0.0461538461538462
311.481.53015384615385-0.0501538461538462
321.481.53392307692308-0.0539230769230769
331.481.52969230769231-0.0496923076923076
341.481.53376923076923-0.0537692307692307
351.481.52961538461538-0.0496153846153845
361.481.52961538461538-0.0496153846153845
371.481.53397435897436-0.0539743589743575
381.571.562282051282050.0077179487179488
391.581.572589743589740.0074102564102563
401.581.576666666666670.00333333333333320
411.581.572512820512820.0074871794871794
421.581.574589743589740.00541025641025631
431.591.578589743589740.0114102564102563
441.61.582358974358970.0176410256410256
451.61.588512820512820.0114871794871794
461.611.592589743589740.0174102564102563
471.611.598820512820510.011179487179487
481.611.598820512820510.011179487179487
491.621.603179487179490.016820512820514
501.631.621102564102560.00889743589743551
511.631.621025641025640.00897435897435856
521.641.614717948717950.025282051282051
531.641.620948717948720.0190512820512817
541.641.612641025641030.0273589743589741
551.641.616641025641030.0233589743589741
561.641.630794871794870.0092051282051279
571.651.626564102564100.0234358974358972
581.651.630641025641030.0193589743589741
591.651.626487179487180.0235128205128203
601.651.626487179487180.0235128205128203

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1.43 & 1.39905128205129 & 0.0309487179487123 \tabularnewline
2 & 1.43 & 1.41697435897436 & 0.0130256410256412 \tabularnewline
3 & 1.43 & 1.41689743589744 & 0.0131025641025644 \tabularnewline
4 & 1.43 & 1.42097435897436 & 0.00902564102564134 \tabularnewline
5 & 1.43 & 1.42720512820513 & 0.00279487179487202 \tabularnewline
6 & 1.43 & 1.42928205128205 & 0.000717948717948887 \tabularnewline
7 & 1.44 & 1.43328205128205 & 0.00671794871794893 \tabularnewline
8 & 1.48 & 1.44743589743590 & 0.0325641025641027 \tabularnewline
9 & 1.48 & 1.45358974358974 & 0.0264102564102565 \tabularnewline
10 & 1.48 & 1.44728205128205 & 0.0327179487179489 \tabularnewline
11 & 1.48 & 1.44312820512820 & 0.0368717948717951 \tabularnewline
12 & 1.48 & 1.44312820512820 & 0.0368717948717951 \tabularnewline
13 & 1.48 & 1.44748717948718 & 0.0325128205128222 \tabularnewline
14 & 1.48 & 1.46541025641026 & 0.0145897435897438 \tabularnewline
15 & 1.48 & 1.46533333333333 & 0.0146666666666669 \tabularnewline
16 & 1.48 & 1.46941025641026 & 0.0105897435897438 \tabularnewline
17 & 1.48 & 1.46525641025641 & 0.01474358974359 \tabularnewline
18 & 1.48 & 1.46733333333333 & 0.0126666666666669 \tabularnewline
19 & 1.48 & 1.47133333333333 & 0.0086666666666669 \tabularnewline
20 & 1.48 & 1.48548717948718 & -0.00548717948717933 \tabularnewline
21 & 1.48 & 1.49164102564103 & -0.0116410256410255 \tabularnewline
22 & 1.48 & 1.49571794871795 & -0.0157179487179486 \tabularnewline
23 & 1.48 & 1.50194871794872 & -0.0219487179487180 \tabularnewline
24 & 1.48 & 1.50194871794872 & -0.0219487179487180 \tabularnewline
25 & 1.48 & 1.50630769230769 & -0.0263076923076910 \tabularnewline
26 & 1.48 & 1.52423076923077 & -0.0442307692307693 \tabularnewline
27 & 1.48 & 1.52415384615385 & -0.0441538461538462 \tabularnewline
28 & 1.48 & 1.52823076923077 & -0.0482307692307693 \tabularnewline
29 & 1.48 & 1.52407692307692 & -0.0440769230769231 \tabularnewline
30 & 1.48 & 1.52615384615385 & -0.0461538461538462 \tabularnewline
31 & 1.48 & 1.53015384615385 & -0.0501538461538462 \tabularnewline
32 & 1.48 & 1.53392307692308 & -0.0539230769230769 \tabularnewline
33 & 1.48 & 1.52969230769231 & -0.0496923076923076 \tabularnewline
34 & 1.48 & 1.53376923076923 & -0.0537692307692307 \tabularnewline
35 & 1.48 & 1.52961538461538 & -0.0496153846153845 \tabularnewline
36 & 1.48 & 1.52961538461538 & -0.0496153846153845 \tabularnewline
37 & 1.48 & 1.53397435897436 & -0.0539743589743575 \tabularnewline
38 & 1.57 & 1.56228205128205 & 0.0077179487179488 \tabularnewline
39 & 1.58 & 1.57258974358974 & 0.0074102564102563 \tabularnewline
40 & 1.58 & 1.57666666666667 & 0.00333333333333320 \tabularnewline
41 & 1.58 & 1.57251282051282 & 0.0074871794871794 \tabularnewline
42 & 1.58 & 1.57458974358974 & 0.00541025641025631 \tabularnewline
43 & 1.59 & 1.57858974358974 & 0.0114102564102563 \tabularnewline
44 & 1.6 & 1.58235897435897 & 0.0176410256410256 \tabularnewline
45 & 1.6 & 1.58851282051282 & 0.0114871794871794 \tabularnewline
46 & 1.61 & 1.59258974358974 & 0.0174102564102563 \tabularnewline
47 & 1.61 & 1.59882051282051 & 0.011179487179487 \tabularnewline
48 & 1.61 & 1.59882051282051 & 0.011179487179487 \tabularnewline
49 & 1.62 & 1.60317948717949 & 0.016820512820514 \tabularnewline
50 & 1.63 & 1.62110256410256 & 0.00889743589743551 \tabularnewline
51 & 1.63 & 1.62102564102564 & 0.00897435897435856 \tabularnewline
52 & 1.64 & 1.61471794871795 & 0.025282051282051 \tabularnewline
53 & 1.64 & 1.62094871794872 & 0.0190512820512817 \tabularnewline
54 & 1.64 & 1.61264102564103 & 0.0273589743589741 \tabularnewline
55 & 1.64 & 1.61664102564103 & 0.0233589743589741 \tabularnewline
56 & 1.64 & 1.63079487179487 & 0.0092051282051279 \tabularnewline
57 & 1.65 & 1.62656410256410 & 0.0234358974358972 \tabularnewline
58 & 1.65 & 1.63064102564103 & 0.0193589743589741 \tabularnewline
59 & 1.65 & 1.62648717948718 & 0.0235128205128203 \tabularnewline
60 & 1.65 & 1.62648717948718 & 0.0235128205128203 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58077&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]1.43[/C][C]1.39905128205129[/C][C]0.0309487179487123[/C][/ROW]
[ROW][C]2[/C][C]1.43[/C][C]1.41697435897436[/C][C]0.0130256410256412[/C][/ROW]
[ROW][C]3[/C][C]1.43[/C][C]1.41689743589744[/C][C]0.0131025641025644[/C][/ROW]
[ROW][C]4[/C][C]1.43[/C][C]1.42097435897436[/C][C]0.00902564102564134[/C][/ROW]
[ROW][C]5[/C][C]1.43[/C][C]1.42720512820513[/C][C]0.00279487179487202[/C][/ROW]
[ROW][C]6[/C][C]1.43[/C][C]1.42928205128205[/C][C]0.000717948717948887[/C][/ROW]
[ROW][C]7[/C][C]1.44[/C][C]1.43328205128205[/C][C]0.00671794871794893[/C][/ROW]
[ROW][C]8[/C][C]1.48[/C][C]1.44743589743590[/C][C]0.0325641025641027[/C][/ROW]
[ROW][C]9[/C][C]1.48[/C][C]1.45358974358974[/C][C]0.0264102564102565[/C][/ROW]
[ROW][C]10[/C][C]1.48[/C][C]1.44728205128205[/C][C]0.0327179487179489[/C][/ROW]
[ROW][C]11[/C][C]1.48[/C][C]1.44312820512820[/C][C]0.0368717948717951[/C][/ROW]
[ROW][C]12[/C][C]1.48[/C][C]1.44312820512820[/C][C]0.0368717948717951[/C][/ROW]
[ROW][C]13[/C][C]1.48[/C][C]1.44748717948718[/C][C]0.0325128205128222[/C][/ROW]
[ROW][C]14[/C][C]1.48[/C][C]1.46541025641026[/C][C]0.0145897435897438[/C][/ROW]
[ROW][C]15[/C][C]1.48[/C][C]1.46533333333333[/C][C]0.0146666666666669[/C][/ROW]
[ROW][C]16[/C][C]1.48[/C][C]1.46941025641026[/C][C]0.0105897435897438[/C][/ROW]
[ROW][C]17[/C][C]1.48[/C][C]1.46525641025641[/C][C]0.01474358974359[/C][/ROW]
[ROW][C]18[/C][C]1.48[/C][C]1.46733333333333[/C][C]0.0126666666666669[/C][/ROW]
[ROW][C]19[/C][C]1.48[/C][C]1.47133333333333[/C][C]0.0086666666666669[/C][/ROW]
[ROW][C]20[/C][C]1.48[/C][C]1.48548717948718[/C][C]-0.00548717948717933[/C][/ROW]
[ROW][C]21[/C][C]1.48[/C][C]1.49164102564103[/C][C]-0.0116410256410255[/C][/ROW]
[ROW][C]22[/C][C]1.48[/C][C]1.49571794871795[/C][C]-0.0157179487179486[/C][/ROW]
[ROW][C]23[/C][C]1.48[/C][C]1.50194871794872[/C][C]-0.0219487179487180[/C][/ROW]
[ROW][C]24[/C][C]1.48[/C][C]1.50194871794872[/C][C]-0.0219487179487180[/C][/ROW]
[ROW][C]25[/C][C]1.48[/C][C]1.50630769230769[/C][C]-0.0263076923076910[/C][/ROW]
[ROW][C]26[/C][C]1.48[/C][C]1.52423076923077[/C][C]-0.0442307692307693[/C][/ROW]
[ROW][C]27[/C][C]1.48[/C][C]1.52415384615385[/C][C]-0.0441538461538462[/C][/ROW]
[ROW][C]28[/C][C]1.48[/C][C]1.52823076923077[/C][C]-0.0482307692307693[/C][/ROW]
[ROW][C]29[/C][C]1.48[/C][C]1.52407692307692[/C][C]-0.0440769230769231[/C][/ROW]
[ROW][C]30[/C][C]1.48[/C][C]1.52615384615385[/C][C]-0.0461538461538462[/C][/ROW]
[ROW][C]31[/C][C]1.48[/C][C]1.53015384615385[/C][C]-0.0501538461538462[/C][/ROW]
[ROW][C]32[/C][C]1.48[/C][C]1.53392307692308[/C][C]-0.0539230769230769[/C][/ROW]
[ROW][C]33[/C][C]1.48[/C][C]1.52969230769231[/C][C]-0.0496923076923076[/C][/ROW]
[ROW][C]34[/C][C]1.48[/C][C]1.53376923076923[/C][C]-0.0537692307692307[/C][/ROW]
[ROW][C]35[/C][C]1.48[/C][C]1.52961538461538[/C][C]-0.0496153846153845[/C][/ROW]
[ROW][C]36[/C][C]1.48[/C][C]1.52961538461538[/C][C]-0.0496153846153845[/C][/ROW]
[ROW][C]37[/C][C]1.48[/C][C]1.53397435897436[/C][C]-0.0539743589743575[/C][/ROW]
[ROW][C]38[/C][C]1.57[/C][C]1.56228205128205[/C][C]0.0077179487179488[/C][/ROW]
[ROW][C]39[/C][C]1.58[/C][C]1.57258974358974[/C][C]0.0074102564102563[/C][/ROW]
[ROW][C]40[/C][C]1.58[/C][C]1.57666666666667[/C][C]0.00333333333333320[/C][/ROW]
[ROW][C]41[/C][C]1.58[/C][C]1.57251282051282[/C][C]0.0074871794871794[/C][/ROW]
[ROW][C]42[/C][C]1.58[/C][C]1.57458974358974[/C][C]0.00541025641025631[/C][/ROW]
[ROW][C]43[/C][C]1.59[/C][C]1.57858974358974[/C][C]0.0114102564102563[/C][/ROW]
[ROW][C]44[/C][C]1.6[/C][C]1.58235897435897[/C][C]0.0176410256410256[/C][/ROW]
[ROW][C]45[/C][C]1.6[/C][C]1.58851282051282[/C][C]0.0114871794871794[/C][/ROW]
[ROW][C]46[/C][C]1.61[/C][C]1.59258974358974[/C][C]0.0174102564102563[/C][/ROW]
[ROW][C]47[/C][C]1.61[/C][C]1.59882051282051[/C][C]0.011179487179487[/C][/ROW]
[ROW][C]48[/C][C]1.61[/C][C]1.59882051282051[/C][C]0.011179487179487[/C][/ROW]
[ROW][C]49[/C][C]1.62[/C][C]1.60317948717949[/C][C]0.016820512820514[/C][/ROW]
[ROW][C]50[/C][C]1.63[/C][C]1.62110256410256[/C][C]0.00889743589743551[/C][/ROW]
[ROW][C]51[/C][C]1.63[/C][C]1.62102564102564[/C][C]0.00897435897435856[/C][/ROW]
[ROW][C]52[/C][C]1.64[/C][C]1.61471794871795[/C][C]0.025282051282051[/C][/ROW]
[ROW][C]53[/C][C]1.64[/C][C]1.62094871794872[/C][C]0.0190512820512817[/C][/ROW]
[ROW][C]54[/C][C]1.64[/C][C]1.61264102564103[/C][C]0.0273589743589741[/C][/ROW]
[ROW][C]55[/C][C]1.64[/C][C]1.61664102564103[/C][C]0.0233589743589741[/C][/ROW]
[ROW][C]56[/C][C]1.64[/C][C]1.63079487179487[/C][C]0.0092051282051279[/C][/ROW]
[ROW][C]57[/C][C]1.65[/C][C]1.62656410256410[/C][C]0.0234358974358972[/C][/ROW]
[ROW][C]58[/C][C]1.65[/C][C]1.63064102564103[/C][C]0.0193589743589741[/C][/ROW]
[ROW][C]59[/C][C]1.65[/C][C]1.62648717948718[/C][C]0.0235128205128203[/C][/ROW]
[ROW][C]60[/C][C]1.65[/C][C]1.62648717948718[/C][C]0.0235128205128203[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58077&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58077&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
11.431.399051282051290.0309487179487123
21.431.416974358974360.0130256410256412
31.431.416897435897440.0131025641025644
41.431.420974358974360.00902564102564134
51.431.427205128205130.00279487179487202
61.431.429282051282050.000717948717948887
71.441.433282051282050.00671794871794893
81.481.447435897435900.0325641025641027
91.481.453589743589740.0264102564102565
101.481.447282051282050.0327179487179489
111.481.443128205128200.0368717948717951
121.481.443128205128200.0368717948717951
131.481.447487179487180.0325128205128222
141.481.465410256410260.0145897435897438
151.481.465333333333330.0146666666666669
161.481.469410256410260.0105897435897438
171.481.465256410256410.01474358974359
181.481.467333333333330.0126666666666669
191.481.471333333333330.0086666666666669
201.481.48548717948718-0.00548717948717933
211.481.49164102564103-0.0116410256410255
221.481.49571794871795-0.0157179487179486
231.481.50194871794872-0.0219487179487180
241.481.50194871794872-0.0219487179487180
251.481.50630769230769-0.0263076923076910
261.481.52423076923077-0.0442307692307693
271.481.52415384615385-0.0441538461538462
281.481.52823076923077-0.0482307692307693
291.481.52407692307692-0.0440769230769231
301.481.52615384615385-0.0461538461538462
311.481.53015384615385-0.0501538461538462
321.481.53392307692308-0.0539230769230769
331.481.52969230769231-0.0496923076923076
341.481.53376923076923-0.0537692307692307
351.481.52961538461538-0.0496153846153845
361.481.52961538461538-0.0496153846153845
371.481.53397435897436-0.0539743589743575
381.571.562282051282050.0077179487179488
391.581.572589743589740.0074102564102563
401.581.576666666666670.00333333333333320
411.581.572512820512820.0074871794871794
421.581.574589743589740.00541025641025631
431.591.578589743589740.0114102564102563
441.61.582358974358970.0176410256410256
451.61.588512820512820.0114871794871794
461.611.592589743589740.0174102564102563
471.611.598820512820510.011179487179487
481.611.598820512820510.011179487179487
491.621.603179487179490.016820512820514
501.631.621102564102560.00889743589743551
511.631.621025641025640.00897435897435856
521.641.614717948717950.025282051282051
531.641.620948717948720.0190512820512817
541.641.612641025641030.0273589743589741
551.641.616641025641030.0233589743589741
561.641.630794871794870.0092051282051279
571.651.626564102564100.0234358974358972
581.651.630641025641030.0193589743589741
591.651.626487179487180.0235128205128203
601.651.626487179487180.0235128205128203







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
174.14511201567853e-438.29022403135707e-431
182.56484413468655e-535.12968826937309e-531
190.0001100567971729120.0002201135943458230.999889943202827
200.1471558321530320.2943116643060650.852844167846968
210.2876863638423970.5753727276847940.712313636157603
220.6269805002009780.7460389995980450.373019499799022
230.7407197656044030.5185604687911950.259280234395597
240.7757553322046430.4484893355907130.224244667795357
250.7830820219355970.4338359561288070.216917978064404
260.701559464516340.5968810709673190.298440535483659
270.6060553474304210.7878893051391580.393944652569579
280.5360866352759760.9278267294480480.463913364724024
290.4436242715800760.8872485431601520.556375728419924
300.3909311358039820.7818622716079640.609068864196018
310.3986437341756480.7972874683512950.601356265824353
320.5560340854790680.8879318290418650.443965914520932
330.6301284494680490.7397431010639020.369871550531951
340.697740753690050.60451849261990.302259246309950
350.6980994691673130.6038010616653740.301900530832687
360.761352825239910.4772943495201790.238647174760090
370.9984805812276610.003038837544677550.00151941877233878
380.9993373005286890.001325398942622310.000662699471311155
390.9991961060234880.001607787953024980.000803893976512492
400.9991352617637550.001729476472490820.00086473823624541
410.9983947654572590.003210469085482660.00160523454274133
420.999136939200460.001726121599077820.000863060799538912
430.9973347443133510.00533051137329760.0026652556866488

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 4.14511201567853e-43 & 8.29022403135707e-43 & 1 \tabularnewline
18 & 2.56484413468655e-53 & 5.12968826937309e-53 & 1 \tabularnewline
19 & 0.000110056797172912 & 0.000220113594345823 & 0.999889943202827 \tabularnewline
20 & 0.147155832153032 & 0.294311664306065 & 0.852844167846968 \tabularnewline
21 & 0.287686363842397 & 0.575372727684794 & 0.712313636157603 \tabularnewline
22 & 0.626980500200978 & 0.746038999598045 & 0.373019499799022 \tabularnewline
23 & 0.740719765604403 & 0.518560468791195 & 0.259280234395597 \tabularnewline
24 & 0.775755332204643 & 0.448489335590713 & 0.224244667795357 \tabularnewline
25 & 0.783082021935597 & 0.433835956128807 & 0.216917978064404 \tabularnewline
26 & 0.70155946451634 & 0.596881070967319 & 0.298440535483659 \tabularnewline
27 & 0.606055347430421 & 0.787889305139158 & 0.393944652569579 \tabularnewline
28 & 0.536086635275976 & 0.927826729448048 & 0.463913364724024 \tabularnewline
29 & 0.443624271580076 & 0.887248543160152 & 0.556375728419924 \tabularnewline
30 & 0.390931135803982 & 0.781862271607964 & 0.609068864196018 \tabularnewline
31 & 0.398643734175648 & 0.797287468351295 & 0.601356265824353 \tabularnewline
32 & 0.556034085479068 & 0.887931829041865 & 0.443965914520932 \tabularnewline
33 & 0.630128449468049 & 0.739743101063902 & 0.369871550531951 \tabularnewline
34 & 0.69774075369005 & 0.6045184926199 & 0.302259246309950 \tabularnewline
35 & 0.698099469167313 & 0.603801061665374 & 0.301900530832687 \tabularnewline
36 & 0.76135282523991 & 0.477294349520179 & 0.238647174760090 \tabularnewline
37 & 0.998480581227661 & 0.00303883754467755 & 0.00151941877233878 \tabularnewline
38 & 0.999337300528689 & 0.00132539894262231 & 0.000662699471311155 \tabularnewline
39 & 0.999196106023488 & 0.00160778795302498 & 0.000803893976512492 \tabularnewline
40 & 0.999135261763755 & 0.00172947647249082 & 0.00086473823624541 \tabularnewline
41 & 0.998394765457259 & 0.00321046908548266 & 0.00160523454274133 \tabularnewline
42 & 0.99913693920046 & 0.00172612159907782 & 0.000863060799538912 \tabularnewline
43 & 0.997334744313351 & 0.0053305113732976 & 0.0026652556866488 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58077&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]17[/C][C]4.14511201567853e-43[/C][C]8.29022403135707e-43[/C][C]1[/C][/ROW]
[ROW][C]18[/C][C]2.56484413468655e-53[/C][C]5.12968826937309e-53[/C][C]1[/C][/ROW]
[ROW][C]19[/C][C]0.000110056797172912[/C][C]0.000220113594345823[/C][C]0.999889943202827[/C][/ROW]
[ROW][C]20[/C][C]0.147155832153032[/C][C]0.294311664306065[/C][C]0.852844167846968[/C][/ROW]
[ROW][C]21[/C][C]0.287686363842397[/C][C]0.575372727684794[/C][C]0.712313636157603[/C][/ROW]
[ROW][C]22[/C][C]0.626980500200978[/C][C]0.746038999598045[/C][C]0.373019499799022[/C][/ROW]
[ROW][C]23[/C][C]0.740719765604403[/C][C]0.518560468791195[/C][C]0.259280234395597[/C][/ROW]
[ROW][C]24[/C][C]0.775755332204643[/C][C]0.448489335590713[/C][C]0.224244667795357[/C][/ROW]
[ROW][C]25[/C][C]0.783082021935597[/C][C]0.433835956128807[/C][C]0.216917978064404[/C][/ROW]
[ROW][C]26[/C][C]0.70155946451634[/C][C]0.596881070967319[/C][C]0.298440535483659[/C][/ROW]
[ROW][C]27[/C][C]0.606055347430421[/C][C]0.787889305139158[/C][C]0.393944652569579[/C][/ROW]
[ROW][C]28[/C][C]0.536086635275976[/C][C]0.927826729448048[/C][C]0.463913364724024[/C][/ROW]
[ROW][C]29[/C][C]0.443624271580076[/C][C]0.887248543160152[/C][C]0.556375728419924[/C][/ROW]
[ROW][C]30[/C][C]0.390931135803982[/C][C]0.781862271607964[/C][C]0.609068864196018[/C][/ROW]
[ROW][C]31[/C][C]0.398643734175648[/C][C]0.797287468351295[/C][C]0.601356265824353[/C][/ROW]
[ROW][C]32[/C][C]0.556034085479068[/C][C]0.887931829041865[/C][C]0.443965914520932[/C][/ROW]
[ROW][C]33[/C][C]0.630128449468049[/C][C]0.739743101063902[/C][C]0.369871550531951[/C][/ROW]
[ROW][C]34[/C][C]0.69774075369005[/C][C]0.6045184926199[/C][C]0.302259246309950[/C][/ROW]
[ROW][C]35[/C][C]0.698099469167313[/C][C]0.603801061665374[/C][C]0.301900530832687[/C][/ROW]
[ROW][C]36[/C][C]0.76135282523991[/C][C]0.477294349520179[/C][C]0.238647174760090[/C][/ROW]
[ROW][C]37[/C][C]0.998480581227661[/C][C]0.00303883754467755[/C][C]0.00151941877233878[/C][/ROW]
[ROW][C]38[/C][C]0.999337300528689[/C][C]0.00132539894262231[/C][C]0.000662699471311155[/C][/ROW]
[ROW][C]39[/C][C]0.999196106023488[/C][C]0.00160778795302498[/C][C]0.000803893976512492[/C][/ROW]
[ROW][C]40[/C][C]0.999135261763755[/C][C]0.00172947647249082[/C][C]0.00086473823624541[/C][/ROW]
[ROW][C]41[/C][C]0.998394765457259[/C][C]0.00321046908548266[/C][C]0.00160523454274133[/C][/ROW]
[ROW][C]42[/C][C]0.99913693920046[/C][C]0.00172612159907782[/C][C]0.000863060799538912[/C][/ROW]
[ROW][C]43[/C][C]0.997334744313351[/C][C]0.0053305113732976[/C][C]0.0026652556866488[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58077&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58077&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
174.14511201567853e-438.29022403135707e-431
182.56484413468655e-535.12968826937309e-531
190.0001100567971729120.0002201135943458230.999889943202827
200.1471558321530320.2943116643060650.852844167846968
210.2876863638423970.5753727276847940.712313636157603
220.6269805002009780.7460389995980450.373019499799022
230.7407197656044030.5185604687911950.259280234395597
240.7757553322046430.4484893355907130.224244667795357
250.7830820219355970.4338359561288070.216917978064404
260.701559464516340.5968810709673190.298440535483659
270.6060553474304210.7878893051391580.393944652569579
280.5360866352759760.9278267294480480.463913364724024
290.4436242715800760.8872485431601520.556375728419924
300.3909311358039820.7818622716079640.609068864196018
310.3986437341756480.7972874683512950.601356265824353
320.5560340854790680.8879318290418650.443965914520932
330.6301284494680490.7397431010639020.369871550531951
340.697740753690050.60451849261990.302259246309950
350.6980994691673130.6038010616653740.301900530832687
360.761352825239910.4772943495201790.238647174760090
370.9984805812276610.003038837544677550.00151941877233878
380.9993373005286890.001325398942622310.000662699471311155
390.9991961060234880.001607787953024980.000803893976512492
400.9991352617637550.001729476472490820.00086473823624541
410.9983947654572590.003210469085482660.00160523454274133
420.999136939200460.001726121599077820.000863060799538912
430.9973347443133510.00533051137329760.0026652556866488







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

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

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



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