Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationMon, 14 Dec 2009 12:31:04 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Dec/14/t1260819123nahf0mr00er817u.htm/, Retrieved Sun, 05 May 2024 10:53:05 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=67639, Retrieved Sun, 05 May 2024 10:53:05 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact175
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [blog] [2008-12-01 15:44:12] [12d343c4448a5f9e527bb31caeac580b]
-   PD  [Multiple Regression] [blog] [2008-12-01 16:17:50] [12d343c4448a5f9e527bb31caeac580b]
-   PD    [Multiple Regression] [dioxine] [2008-12-01 16:30:23] [7a664918911e34206ce9d0436dd7c1c8]
-    D      [Multiple Regression] [Hypothese 1 en 2 ...] [2008-12-03 15:49:48] [12d343c4448a5f9e527bb31caeac580b]
-  MPD          [Multiple Regression] [mutiple regression ] [2009-12-14 19:31:04] [244731fa3e7e6c85774b8c0902c58f85] [Current]
Feedback Forum

Post a new message
Dataseries X:
2058,00	0
2160,00	0
2260,00	0
2498,00	0
2695,00	0
2799,00	0
2947,00	0
2930,00	0
2318,00	0
2540,00	0
2570,00	0
2669,00	0
2450,00	0
2842,00	0
3440,00	0
2678,00	0
2981,00	0
2260,00	0
2844,00	0
2546,00	0
2456,00	0
2295,00	0
2379,00	0
2479,00	0
2057,00	0
2280,00	0
2351,00	0
2276,00	0
2548,00	0
2311,00	0
2201,00	0
2725,00	0
2408,00	0
2139,00	0
1898,00	0
2537,00	0
2069,00	0
2063,00	0
2526,00	0
2440,00	0
2191,00	0
2797,00	0
2074,00	0
2628,00	0
2287,00	0
2146,00	0
2430,00	1
2141,00	1
1827,00	1
2082,00	1
1788,00	1
1743,00	1
2245,00	1
1963,00	1
1828,00	1
2527,00	1
2114,00	1
2424,00	1




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

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







Multiple Linear Regression - Estimated Regression Equation
Bouwvergunningen[t] = + 2746.77616279070 -111.695736434109dummy_1[t] -413.610158268736M1[t] -211.665083979328M2[t] -15.3200096899224M3[t] -152.574935400517M4[t] + 61.1701388888889M5[t] -36.0847868217053M6[t] -74.5397125322998M7[t] + 226.605361757106M8[t] -119.249563953488M9[t] -118.304489664083M10[t] -145.995074289406M11[t] -8.74507428940567t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Bouwvergunningen[t] =  +  2746.77616279070 -111.695736434109dummy_1[t] -413.610158268736M1[t] -211.665083979328M2[t] -15.3200096899224M3[t] -152.574935400517M4[t] +  61.1701388888889M5[t] -36.0847868217053M6[t] -74.5397125322998M7[t] +  226.605361757106M8[t] -119.249563953488M9[t] -118.304489664083M10[t] -145.995074289406M11[t] -8.74507428940567t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67639&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Bouwvergunningen[t] =  +  2746.77616279070 -111.695736434109dummy_1[t] -413.610158268736M1[t] -211.665083979328M2[t] -15.3200096899224M3[t] -152.574935400517M4[t] +  61.1701388888889M5[t] -36.0847868217053M6[t] -74.5397125322998M7[t] +  226.605361757106M8[t] -119.249563953488M9[t] -118.304489664083M10[t] -145.995074289406M11[t] -8.74507428940567t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67639&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67639&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
Bouwvergunningen[t] = + 2746.77616279070 -111.695736434109dummy_1[t] -413.610158268736M1[t] -211.665083979328M2[t] -15.3200096899224M3[t] -152.574935400517M4[t] + 61.1701388888889M5[t] -36.0847868217053M6[t] -74.5397125322998M7[t] + 226.605361757106M8[t] -119.249563953488M9[t] -118.304489664083M10[t] -145.995074289406M11[t] -8.74507428940567t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)2746.77616279070156.95009917.50100
dummy_1-111.695736434109127.570665-0.87560.3860240.193012
M1-413.610158268736185.732139-2.22690.0311180.015559
M2-211.665083979328185.571927-1.14060.2602030.130102
M3-15.3200096899224185.464211-0.08260.9345410.467271
M4-152.574935400517185.409083-0.82290.4149970.207499
M561.1701388888889185.406590.32990.7430230.371511
M6-36.0847868217053185.456733-0.19460.8466230.423312
M7-74.5397125322998185.55947-0.40170.6898470.344924
M8226.605361757106185.7147141.22020.2288960.114448
M9-119.249563953488185.922333-0.64140.5245940.262297
M10-118.304489664083186.182152-0.63540.5284430.264222
M11-145.995074289406195.39788-0.74720.4589360.229468
t-8.745074289405673.124173-2.79920.0075790.003789

\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) & 2746.77616279070 & 156.950099 & 17.501 & 0 & 0 \tabularnewline
dummy_1 & -111.695736434109 & 127.570665 & -0.8756 & 0.386024 & 0.193012 \tabularnewline
M1 & -413.610158268736 & 185.732139 & -2.2269 & 0.031118 & 0.015559 \tabularnewline
M2 & -211.665083979328 & 185.571927 & -1.1406 & 0.260203 & 0.130102 \tabularnewline
M3 & -15.3200096899224 & 185.464211 & -0.0826 & 0.934541 & 0.467271 \tabularnewline
M4 & -152.574935400517 & 185.409083 & -0.8229 & 0.414997 & 0.207499 \tabularnewline
M5 & 61.1701388888889 & 185.40659 & 0.3299 & 0.743023 & 0.371511 \tabularnewline
M6 & -36.0847868217053 & 185.456733 & -0.1946 & 0.846623 & 0.423312 \tabularnewline
M7 & -74.5397125322998 & 185.55947 & -0.4017 & 0.689847 & 0.344924 \tabularnewline
M8 & 226.605361757106 & 185.714714 & 1.2202 & 0.228896 & 0.114448 \tabularnewline
M9 & -119.249563953488 & 185.922333 & -0.6414 & 0.524594 & 0.262297 \tabularnewline
M10 & -118.304489664083 & 186.182152 & -0.6354 & 0.528443 & 0.264222 \tabularnewline
M11 & -145.995074289406 & 195.39788 & -0.7472 & 0.458936 & 0.229468 \tabularnewline
t & -8.74507428940567 & 3.124173 & -2.7992 & 0.007579 & 0.003789 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67639&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]2746.77616279070[/C][C]156.950099[/C][C]17.501[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]dummy_1[/C][C]-111.695736434109[/C][C]127.570665[/C][C]-0.8756[/C][C]0.386024[/C][C]0.193012[/C][/ROW]
[ROW][C]M1[/C][C]-413.610158268736[/C][C]185.732139[/C][C]-2.2269[/C][C]0.031118[/C][C]0.015559[/C][/ROW]
[ROW][C]M2[/C][C]-211.665083979328[/C][C]185.571927[/C][C]-1.1406[/C][C]0.260203[/C][C]0.130102[/C][/ROW]
[ROW][C]M3[/C][C]-15.3200096899224[/C][C]185.464211[/C][C]-0.0826[/C][C]0.934541[/C][C]0.467271[/C][/ROW]
[ROW][C]M4[/C][C]-152.574935400517[/C][C]185.409083[/C][C]-0.8229[/C][C]0.414997[/C][C]0.207499[/C][/ROW]
[ROW][C]M5[/C][C]61.1701388888889[/C][C]185.40659[/C][C]0.3299[/C][C]0.743023[/C][C]0.371511[/C][/ROW]
[ROW][C]M6[/C][C]-36.0847868217053[/C][C]185.456733[/C][C]-0.1946[/C][C]0.846623[/C][C]0.423312[/C][/ROW]
[ROW][C]M7[/C][C]-74.5397125322998[/C][C]185.55947[/C][C]-0.4017[/C][C]0.689847[/C][C]0.344924[/C][/ROW]
[ROW][C]M8[/C][C]226.605361757106[/C][C]185.714714[/C][C]1.2202[/C][C]0.228896[/C][C]0.114448[/C][/ROW]
[ROW][C]M9[/C][C]-119.249563953488[/C][C]185.922333[/C][C]-0.6414[/C][C]0.524594[/C][C]0.262297[/C][/ROW]
[ROW][C]M10[/C][C]-118.304489664083[/C][C]186.182152[/C][C]-0.6354[/C][C]0.528443[/C][C]0.264222[/C][/ROW]
[ROW][C]M11[/C][C]-145.995074289406[/C][C]195.39788[/C][C]-0.7472[/C][C]0.458936[/C][C]0.229468[/C][/ROW]
[ROW][C]t[/C][C]-8.74507428940567[/C][C]3.124173[/C][C]-2.7992[/C][C]0.007579[/C][C]0.003789[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67639&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67639&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)2746.77616279070156.95009917.50100
dummy_1-111.695736434109127.570665-0.87560.3860240.193012
M1-413.610158268736185.732139-2.22690.0311180.015559
M2-211.665083979328185.571927-1.14060.2602030.130102
M3-15.3200096899224185.464211-0.08260.9345410.467271
M4-152.574935400517185.409083-0.82290.4149970.207499
M561.1701388888889185.406590.32990.7430230.371511
M6-36.0847868217053185.456733-0.19460.8466230.423312
M7-74.5397125322998185.55947-0.40170.6898470.344924
M8226.605361757106185.7147141.22020.2288960.114448
M9-119.249563953488185.922333-0.64140.5245940.262297
M10-118.304489664083186.182152-0.63540.5284430.264222
M11-145.995074289406195.39788-0.74720.4589360.229468
t-8.745074289405673.124173-2.79920.0075790.003789







Multiple Linear Regression - Regression Statistics
Multiple R0.687985427411683
R-squared0.473323948330836
Adjusted R-squared0.317715114883128
F-TEST (value)3.04175500737172
F-TEST (DF numerator)13
F-TEST (DF denominator)44
p-value0.00288549698944451
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation276.299008771407
Sum Squared Residuals3359010.25891473

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.687985427411683 \tabularnewline
R-squared & 0.473323948330836 \tabularnewline
Adjusted R-squared & 0.317715114883128 \tabularnewline
F-TEST (value) & 3.04175500737172 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 44 \tabularnewline
p-value & 0.00288549698944451 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 276.299008771407 \tabularnewline
Sum Squared Residuals & 3359010.25891473 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67639&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.687985427411683[/C][/ROW]
[ROW][C]R-squared[/C][C]0.473323948330836[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.317715114883128[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]3.04175500737172[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]44[/C][/ROW]
[ROW][C]p-value[/C][C]0.00288549698944451[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]276.299008771407[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]3359010.25891473[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67639&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67639&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.687985427411683
R-squared0.473323948330836
Adjusted R-squared0.317715114883128
F-TEST (value)3.04175500737172
F-TEST (DF numerator)13
F-TEST (DF denominator)44
p-value0.00288549698944451
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation276.299008771407
Sum Squared Residuals3359010.25891473







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
120582324.42093023257-266.420930232565
221602517.62093023256-357.620930232557
322602705.22093023256-445.220930232558
424982559.22093023256-61.2209302325575
526952764.22093023256-69.2209302325579
627992658.22093023256140.779069767443
729472611.02093023256335.979069767442
829302903.4209302325626.5790697674421
923182548.82093023256-230.820930232558
1025402541.02093023256-1.02093023255754
1125702504.5852713178365.4147286821708
1226692641.8352713178327.1647286821708
1324502219.48003875969230.519961240312
1428422412.68003875969429.319961240311
1534402600.28003875969839.71996124031
1626782454.28003875969223.71996124031
1729812659.28003875969321.71996124031
1822602553.28003875969-293.28003875969
1928442506.08003875969337.91996124031
2025462798.48003875969-252.480038759690
2124562443.8800387596912.1199612403102
2222952436.08003875969-141.080038759690
2323792399.64437984496-20.6443798449612
2424792536.89437984496-57.8943798449613
2520572114.53914728682-57.53914728682
2622802307.73914728682-27.7391472868218
2723512495.33914728682-144.339147286822
2822762349.33914728682-73.339147286822
2925482554.33914728682-6.33914728682182
3023112448.33914728682-137.339147286822
3122012401.13914728682-200.139147286822
3227252693.5391472868231.4608527131782
3324082338.9391472868269.0608527131781
3421392331.13914728682-192.139147286822
3518982294.70348837209-396.703488372093
3625372431.95348837209105.046511627907
3720692009.5982558139559.4017441860479
3820632202.79825581395-139.798255813954
3925262390.39825581395135.601744186046
4024402244.39825581395195.601744186046
4121912449.39825581395-258.398255813954
4227972343.39825581395453.601744186046
4320742296.19825581395-222.198255813954
4426282588.5982558139539.4017441860462
4522872233.9982558139553.0017441860461
4621462226.19825581395-80.198255813954
4724302078.06686046512351.933139534884
4821412215.31686046512-74.3168604651164
4918271792.9616279069834.0383720930248
5020821986.1616279069895.838372093023
5117882173.76162790698-385.761627906977
5217432027.76162790698-284.761627906977
5322452232.7616279069812.2383720930231
5419632126.76162790698-163.761627906977
5518282079.56162790698-251.561627906977
5625272371.96162790698155.038372093023
5721142017.3616279069896.638372093023
5824242009.56162790698414.438372093023

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 2058 & 2324.42093023257 & -266.420930232565 \tabularnewline
2 & 2160 & 2517.62093023256 & -357.620930232557 \tabularnewline
3 & 2260 & 2705.22093023256 & -445.220930232558 \tabularnewline
4 & 2498 & 2559.22093023256 & -61.2209302325575 \tabularnewline
5 & 2695 & 2764.22093023256 & -69.2209302325579 \tabularnewline
6 & 2799 & 2658.22093023256 & 140.779069767443 \tabularnewline
7 & 2947 & 2611.02093023256 & 335.979069767442 \tabularnewline
8 & 2930 & 2903.42093023256 & 26.5790697674421 \tabularnewline
9 & 2318 & 2548.82093023256 & -230.820930232558 \tabularnewline
10 & 2540 & 2541.02093023256 & -1.02093023255754 \tabularnewline
11 & 2570 & 2504.58527131783 & 65.4147286821708 \tabularnewline
12 & 2669 & 2641.83527131783 & 27.1647286821708 \tabularnewline
13 & 2450 & 2219.48003875969 & 230.519961240312 \tabularnewline
14 & 2842 & 2412.68003875969 & 429.319961240311 \tabularnewline
15 & 3440 & 2600.28003875969 & 839.71996124031 \tabularnewline
16 & 2678 & 2454.28003875969 & 223.71996124031 \tabularnewline
17 & 2981 & 2659.28003875969 & 321.71996124031 \tabularnewline
18 & 2260 & 2553.28003875969 & -293.28003875969 \tabularnewline
19 & 2844 & 2506.08003875969 & 337.91996124031 \tabularnewline
20 & 2546 & 2798.48003875969 & -252.480038759690 \tabularnewline
21 & 2456 & 2443.88003875969 & 12.1199612403102 \tabularnewline
22 & 2295 & 2436.08003875969 & -141.080038759690 \tabularnewline
23 & 2379 & 2399.64437984496 & -20.6443798449612 \tabularnewline
24 & 2479 & 2536.89437984496 & -57.8943798449613 \tabularnewline
25 & 2057 & 2114.53914728682 & -57.53914728682 \tabularnewline
26 & 2280 & 2307.73914728682 & -27.7391472868218 \tabularnewline
27 & 2351 & 2495.33914728682 & -144.339147286822 \tabularnewline
28 & 2276 & 2349.33914728682 & -73.339147286822 \tabularnewline
29 & 2548 & 2554.33914728682 & -6.33914728682182 \tabularnewline
30 & 2311 & 2448.33914728682 & -137.339147286822 \tabularnewline
31 & 2201 & 2401.13914728682 & -200.139147286822 \tabularnewline
32 & 2725 & 2693.53914728682 & 31.4608527131782 \tabularnewline
33 & 2408 & 2338.93914728682 & 69.0608527131781 \tabularnewline
34 & 2139 & 2331.13914728682 & -192.139147286822 \tabularnewline
35 & 1898 & 2294.70348837209 & -396.703488372093 \tabularnewline
36 & 2537 & 2431.95348837209 & 105.046511627907 \tabularnewline
37 & 2069 & 2009.59825581395 & 59.4017441860479 \tabularnewline
38 & 2063 & 2202.79825581395 & -139.798255813954 \tabularnewline
39 & 2526 & 2390.39825581395 & 135.601744186046 \tabularnewline
40 & 2440 & 2244.39825581395 & 195.601744186046 \tabularnewline
41 & 2191 & 2449.39825581395 & -258.398255813954 \tabularnewline
42 & 2797 & 2343.39825581395 & 453.601744186046 \tabularnewline
43 & 2074 & 2296.19825581395 & -222.198255813954 \tabularnewline
44 & 2628 & 2588.59825581395 & 39.4017441860462 \tabularnewline
45 & 2287 & 2233.99825581395 & 53.0017441860461 \tabularnewline
46 & 2146 & 2226.19825581395 & -80.198255813954 \tabularnewline
47 & 2430 & 2078.06686046512 & 351.933139534884 \tabularnewline
48 & 2141 & 2215.31686046512 & -74.3168604651164 \tabularnewline
49 & 1827 & 1792.96162790698 & 34.0383720930248 \tabularnewline
50 & 2082 & 1986.16162790698 & 95.838372093023 \tabularnewline
51 & 1788 & 2173.76162790698 & -385.761627906977 \tabularnewline
52 & 1743 & 2027.76162790698 & -284.761627906977 \tabularnewline
53 & 2245 & 2232.76162790698 & 12.2383720930231 \tabularnewline
54 & 1963 & 2126.76162790698 & -163.761627906977 \tabularnewline
55 & 1828 & 2079.56162790698 & -251.561627906977 \tabularnewline
56 & 2527 & 2371.96162790698 & 155.038372093023 \tabularnewline
57 & 2114 & 2017.36162790698 & 96.638372093023 \tabularnewline
58 & 2424 & 2009.56162790698 & 414.438372093023 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67639&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]2058[/C][C]2324.42093023257[/C][C]-266.420930232565[/C][/ROW]
[ROW][C]2[/C][C]2160[/C][C]2517.62093023256[/C][C]-357.620930232557[/C][/ROW]
[ROW][C]3[/C][C]2260[/C][C]2705.22093023256[/C][C]-445.220930232558[/C][/ROW]
[ROW][C]4[/C][C]2498[/C][C]2559.22093023256[/C][C]-61.2209302325575[/C][/ROW]
[ROW][C]5[/C][C]2695[/C][C]2764.22093023256[/C][C]-69.2209302325579[/C][/ROW]
[ROW][C]6[/C][C]2799[/C][C]2658.22093023256[/C][C]140.779069767443[/C][/ROW]
[ROW][C]7[/C][C]2947[/C][C]2611.02093023256[/C][C]335.979069767442[/C][/ROW]
[ROW][C]8[/C][C]2930[/C][C]2903.42093023256[/C][C]26.5790697674421[/C][/ROW]
[ROW][C]9[/C][C]2318[/C][C]2548.82093023256[/C][C]-230.820930232558[/C][/ROW]
[ROW][C]10[/C][C]2540[/C][C]2541.02093023256[/C][C]-1.02093023255754[/C][/ROW]
[ROW][C]11[/C][C]2570[/C][C]2504.58527131783[/C][C]65.4147286821708[/C][/ROW]
[ROW][C]12[/C][C]2669[/C][C]2641.83527131783[/C][C]27.1647286821708[/C][/ROW]
[ROW][C]13[/C][C]2450[/C][C]2219.48003875969[/C][C]230.519961240312[/C][/ROW]
[ROW][C]14[/C][C]2842[/C][C]2412.68003875969[/C][C]429.319961240311[/C][/ROW]
[ROW][C]15[/C][C]3440[/C][C]2600.28003875969[/C][C]839.71996124031[/C][/ROW]
[ROW][C]16[/C][C]2678[/C][C]2454.28003875969[/C][C]223.71996124031[/C][/ROW]
[ROW][C]17[/C][C]2981[/C][C]2659.28003875969[/C][C]321.71996124031[/C][/ROW]
[ROW][C]18[/C][C]2260[/C][C]2553.28003875969[/C][C]-293.28003875969[/C][/ROW]
[ROW][C]19[/C][C]2844[/C][C]2506.08003875969[/C][C]337.91996124031[/C][/ROW]
[ROW][C]20[/C][C]2546[/C][C]2798.48003875969[/C][C]-252.480038759690[/C][/ROW]
[ROW][C]21[/C][C]2456[/C][C]2443.88003875969[/C][C]12.1199612403102[/C][/ROW]
[ROW][C]22[/C][C]2295[/C][C]2436.08003875969[/C][C]-141.080038759690[/C][/ROW]
[ROW][C]23[/C][C]2379[/C][C]2399.64437984496[/C][C]-20.6443798449612[/C][/ROW]
[ROW][C]24[/C][C]2479[/C][C]2536.89437984496[/C][C]-57.8943798449613[/C][/ROW]
[ROW][C]25[/C][C]2057[/C][C]2114.53914728682[/C][C]-57.53914728682[/C][/ROW]
[ROW][C]26[/C][C]2280[/C][C]2307.73914728682[/C][C]-27.7391472868218[/C][/ROW]
[ROW][C]27[/C][C]2351[/C][C]2495.33914728682[/C][C]-144.339147286822[/C][/ROW]
[ROW][C]28[/C][C]2276[/C][C]2349.33914728682[/C][C]-73.339147286822[/C][/ROW]
[ROW][C]29[/C][C]2548[/C][C]2554.33914728682[/C][C]-6.33914728682182[/C][/ROW]
[ROW][C]30[/C][C]2311[/C][C]2448.33914728682[/C][C]-137.339147286822[/C][/ROW]
[ROW][C]31[/C][C]2201[/C][C]2401.13914728682[/C][C]-200.139147286822[/C][/ROW]
[ROW][C]32[/C][C]2725[/C][C]2693.53914728682[/C][C]31.4608527131782[/C][/ROW]
[ROW][C]33[/C][C]2408[/C][C]2338.93914728682[/C][C]69.0608527131781[/C][/ROW]
[ROW][C]34[/C][C]2139[/C][C]2331.13914728682[/C][C]-192.139147286822[/C][/ROW]
[ROW][C]35[/C][C]1898[/C][C]2294.70348837209[/C][C]-396.703488372093[/C][/ROW]
[ROW][C]36[/C][C]2537[/C][C]2431.95348837209[/C][C]105.046511627907[/C][/ROW]
[ROW][C]37[/C][C]2069[/C][C]2009.59825581395[/C][C]59.4017441860479[/C][/ROW]
[ROW][C]38[/C][C]2063[/C][C]2202.79825581395[/C][C]-139.798255813954[/C][/ROW]
[ROW][C]39[/C][C]2526[/C][C]2390.39825581395[/C][C]135.601744186046[/C][/ROW]
[ROW][C]40[/C][C]2440[/C][C]2244.39825581395[/C][C]195.601744186046[/C][/ROW]
[ROW][C]41[/C][C]2191[/C][C]2449.39825581395[/C][C]-258.398255813954[/C][/ROW]
[ROW][C]42[/C][C]2797[/C][C]2343.39825581395[/C][C]453.601744186046[/C][/ROW]
[ROW][C]43[/C][C]2074[/C][C]2296.19825581395[/C][C]-222.198255813954[/C][/ROW]
[ROW][C]44[/C][C]2628[/C][C]2588.59825581395[/C][C]39.4017441860462[/C][/ROW]
[ROW][C]45[/C][C]2287[/C][C]2233.99825581395[/C][C]53.0017441860461[/C][/ROW]
[ROW][C]46[/C][C]2146[/C][C]2226.19825581395[/C][C]-80.198255813954[/C][/ROW]
[ROW][C]47[/C][C]2430[/C][C]2078.06686046512[/C][C]351.933139534884[/C][/ROW]
[ROW][C]48[/C][C]2141[/C][C]2215.31686046512[/C][C]-74.3168604651164[/C][/ROW]
[ROW][C]49[/C][C]1827[/C][C]1792.96162790698[/C][C]34.0383720930248[/C][/ROW]
[ROW][C]50[/C][C]2082[/C][C]1986.16162790698[/C][C]95.838372093023[/C][/ROW]
[ROW][C]51[/C][C]1788[/C][C]2173.76162790698[/C][C]-385.761627906977[/C][/ROW]
[ROW][C]52[/C][C]1743[/C][C]2027.76162790698[/C][C]-284.761627906977[/C][/ROW]
[ROW][C]53[/C][C]2245[/C][C]2232.76162790698[/C][C]12.2383720930231[/C][/ROW]
[ROW][C]54[/C][C]1963[/C][C]2126.76162790698[/C][C]-163.761627906977[/C][/ROW]
[ROW][C]55[/C][C]1828[/C][C]2079.56162790698[/C][C]-251.561627906977[/C][/ROW]
[ROW][C]56[/C][C]2527[/C][C]2371.96162790698[/C][C]155.038372093023[/C][/ROW]
[ROW][C]57[/C][C]2114[/C][C]2017.36162790698[/C][C]96.638372093023[/C][/ROW]
[ROW][C]58[/C][C]2424[/C][C]2009.56162790698[/C][C]414.438372093023[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67639&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67639&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
120582324.42093023257-266.420930232565
221602517.62093023256-357.620930232557
322602705.22093023256-445.220930232558
424982559.22093023256-61.2209302325575
526952764.22093023256-69.2209302325579
627992658.22093023256140.779069767443
729472611.02093023256335.979069767442
829302903.4209302325626.5790697674421
923182548.82093023256-230.820930232558
1025402541.02093023256-1.02093023255754
1125702504.5852713178365.4147286821708
1226692641.8352713178327.1647286821708
1324502219.48003875969230.519961240312
1428422412.68003875969429.319961240311
1534402600.28003875969839.71996124031
1626782454.28003875969223.71996124031
1729812659.28003875969321.71996124031
1822602553.28003875969-293.28003875969
1928442506.08003875969337.91996124031
2025462798.48003875969-252.480038759690
2124562443.8800387596912.1199612403102
2222952436.08003875969-141.080038759690
2323792399.64437984496-20.6443798449612
2424792536.89437984496-57.8943798449613
2520572114.53914728682-57.53914728682
2622802307.73914728682-27.7391472868218
2723512495.33914728682-144.339147286822
2822762349.33914728682-73.339147286822
2925482554.33914728682-6.33914728682182
3023112448.33914728682-137.339147286822
3122012401.13914728682-200.139147286822
3227252693.5391472868231.4608527131782
3324082338.9391472868269.0608527131781
3421392331.13914728682-192.139147286822
3518982294.70348837209-396.703488372093
3625372431.95348837209105.046511627907
3720692009.5982558139559.4017441860479
3820632202.79825581395-139.798255813954
3925262390.39825581395135.601744186046
4024402244.39825581395195.601744186046
4121912449.39825581395-258.398255813954
4227972343.39825581395453.601744186046
4320742296.19825581395-222.198255813954
4426282588.5982558139539.4017441860462
4522872233.9982558139553.0017441860461
4621462226.19825581395-80.198255813954
4724302078.06686046512351.933139534884
4821412215.31686046512-74.3168604651164
4918271792.9616279069834.0383720930248
5020821986.1616279069895.838372093023
5117882173.76162790698-385.761627906977
5217432027.76162790698-284.761627906977
5322452232.7616279069812.2383720930231
5419632126.76162790698-163.761627906977
5518282079.56162790698-251.561627906977
5625272371.96162790698155.038372093023
5721142017.3616279069896.638372093023
5824242009.56162790698414.438372093023







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.85649456226550.2870108754690010.143505437734500
180.9837257412046590.03254851759068200.0162742587953410
190.9927656322377760.01446873552444780.00723436776222388
200.9946322875541370.01073542489172640.00536771244586318
210.9881997608232370.02360047835352650.0118002391767632
220.983379569053130.03324086189374120.0166204309468706
230.9737997632713940.05240047345721270.0262002367286064
240.9584208495286950.08315830094260970.0415791504713049
250.93993656416220.1201268716755990.0600634358377994
260.913075578843930.1738488423121420.086924421156071
270.9032837543877410.1934324912245180.0967162456122591
280.8616335020256940.2767329959486130.138366497974306
290.8202274647191590.3595450705616820.179772535280841
300.755445020323610.489109959352780.24455497967639
310.748345671783440.503308656433120.25165432821656
320.6636100399040220.6727799201919560.336389960095978
330.5962730848816210.8074538302367580.403726915118379
340.4897130275274540.9794260550549090.510286972472546
350.6773140438859930.6453719122280140.322685956114007
360.5742464466293950.851507106741210.425753553370605
370.4528279771829010.9056559543658020.547172022817099
380.3788524661657310.7577049323314620.621147533834269
390.3640763108619390.7281526217238770.635923689138061
400.3781639822259320.7563279644518630.621836017774068
410.2827624204125430.5655248408250850.717237579587457

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.8564945622655 & 0.287010875469001 & 0.143505437734500 \tabularnewline
18 & 0.983725741204659 & 0.0325485175906820 & 0.0162742587953410 \tabularnewline
19 & 0.992765632237776 & 0.0144687355244478 & 0.00723436776222388 \tabularnewline
20 & 0.994632287554137 & 0.0107354248917264 & 0.00536771244586318 \tabularnewline
21 & 0.988199760823237 & 0.0236004783535265 & 0.0118002391767632 \tabularnewline
22 & 0.98337956905313 & 0.0332408618937412 & 0.0166204309468706 \tabularnewline
23 & 0.973799763271394 & 0.0524004734572127 & 0.0262002367286064 \tabularnewline
24 & 0.958420849528695 & 0.0831583009426097 & 0.0415791504713049 \tabularnewline
25 & 0.9399365641622 & 0.120126871675599 & 0.0600634358377994 \tabularnewline
26 & 0.91307557884393 & 0.173848842312142 & 0.086924421156071 \tabularnewline
27 & 0.903283754387741 & 0.193432491224518 & 0.0967162456122591 \tabularnewline
28 & 0.861633502025694 & 0.276732995948613 & 0.138366497974306 \tabularnewline
29 & 0.820227464719159 & 0.359545070561682 & 0.179772535280841 \tabularnewline
30 & 0.75544502032361 & 0.48910995935278 & 0.24455497967639 \tabularnewline
31 & 0.74834567178344 & 0.50330865643312 & 0.25165432821656 \tabularnewline
32 & 0.663610039904022 & 0.672779920191956 & 0.336389960095978 \tabularnewline
33 & 0.596273084881621 & 0.807453830236758 & 0.403726915118379 \tabularnewline
34 & 0.489713027527454 & 0.979426055054909 & 0.510286972472546 \tabularnewline
35 & 0.677314043885993 & 0.645371912228014 & 0.322685956114007 \tabularnewline
36 & 0.574246446629395 & 0.85150710674121 & 0.425753553370605 \tabularnewline
37 & 0.452827977182901 & 0.905655954365802 & 0.547172022817099 \tabularnewline
38 & 0.378852466165731 & 0.757704932331462 & 0.621147533834269 \tabularnewline
39 & 0.364076310861939 & 0.728152621723877 & 0.635923689138061 \tabularnewline
40 & 0.378163982225932 & 0.756327964451863 & 0.621836017774068 \tabularnewline
41 & 0.282762420412543 & 0.565524840825085 & 0.717237579587457 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67639&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]17[/C][C]0.8564945622655[/C][C]0.287010875469001[/C][C]0.143505437734500[/C][/ROW]
[ROW][C]18[/C][C]0.983725741204659[/C][C]0.0325485175906820[/C][C]0.0162742587953410[/C][/ROW]
[ROW][C]19[/C][C]0.992765632237776[/C][C]0.0144687355244478[/C][C]0.00723436776222388[/C][/ROW]
[ROW][C]20[/C][C]0.994632287554137[/C][C]0.0107354248917264[/C][C]0.00536771244586318[/C][/ROW]
[ROW][C]21[/C][C]0.988199760823237[/C][C]0.0236004783535265[/C][C]0.0118002391767632[/C][/ROW]
[ROW][C]22[/C][C]0.98337956905313[/C][C]0.0332408618937412[/C][C]0.0166204309468706[/C][/ROW]
[ROW][C]23[/C][C]0.973799763271394[/C][C]0.0524004734572127[/C][C]0.0262002367286064[/C][/ROW]
[ROW][C]24[/C][C]0.958420849528695[/C][C]0.0831583009426097[/C][C]0.0415791504713049[/C][/ROW]
[ROW][C]25[/C][C]0.9399365641622[/C][C]0.120126871675599[/C][C]0.0600634358377994[/C][/ROW]
[ROW][C]26[/C][C]0.91307557884393[/C][C]0.173848842312142[/C][C]0.086924421156071[/C][/ROW]
[ROW][C]27[/C][C]0.903283754387741[/C][C]0.193432491224518[/C][C]0.0967162456122591[/C][/ROW]
[ROW][C]28[/C][C]0.861633502025694[/C][C]0.276732995948613[/C][C]0.138366497974306[/C][/ROW]
[ROW][C]29[/C][C]0.820227464719159[/C][C]0.359545070561682[/C][C]0.179772535280841[/C][/ROW]
[ROW][C]30[/C][C]0.75544502032361[/C][C]0.48910995935278[/C][C]0.24455497967639[/C][/ROW]
[ROW][C]31[/C][C]0.74834567178344[/C][C]0.50330865643312[/C][C]0.25165432821656[/C][/ROW]
[ROW][C]32[/C][C]0.663610039904022[/C][C]0.672779920191956[/C][C]0.336389960095978[/C][/ROW]
[ROW][C]33[/C][C]0.596273084881621[/C][C]0.807453830236758[/C][C]0.403726915118379[/C][/ROW]
[ROW][C]34[/C][C]0.489713027527454[/C][C]0.979426055054909[/C][C]0.510286972472546[/C][/ROW]
[ROW][C]35[/C][C]0.677314043885993[/C][C]0.645371912228014[/C][C]0.322685956114007[/C][/ROW]
[ROW][C]36[/C][C]0.574246446629395[/C][C]0.85150710674121[/C][C]0.425753553370605[/C][/ROW]
[ROW][C]37[/C][C]0.452827977182901[/C][C]0.905655954365802[/C][C]0.547172022817099[/C][/ROW]
[ROW][C]38[/C][C]0.378852466165731[/C][C]0.757704932331462[/C][C]0.621147533834269[/C][/ROW]
[ROW][C]39[/C][C]0.364076310861939[/C][C]0.728152621723877[/C][C]0.635923689138061[/C][/ROW]
[ROW][C]40[/C][C]0.378163982225932[/C][C]0.756327964451863[/C][C]0.621836017774068[/C][/ROW]
[ROW][C]41[/C][C]0.282762420412543[/C][C]0.565524840825085[/C][C]0.717237579587457[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67639&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.85649456226550.2870108754690010.143505437734500
180.9837257412046590.03254851759068200.0162742587953410
190.9927656322377760.01446873552444780.00723436776222388
200.9946322875541370.01073542489172640.00536771244586318
210.9881997608232370.02360047835352650.0118002391767632
220.983379569053130.03324086189374120.0166204309468706
230.9737997632713940.05240047345721270.0262002367286064
240.9584208495286950.08315830094260970.0415791504713049
250.93993656416220.1201268716755990.0600634358377994
260.913075578843930.1738488423121420.086924421156071
270.9032837543877410.1934324912245180.0967162456122591
280.8616335020256940.2767329959486130.138366497974306
290.8202274647191590.3595450705616820.179772535280841
300.755445020323610.489109959352780.24455497967639
310.748345671783440.503308656433120.25165432821656
320.6636100399040220.6727799201919560.336389960095978
330.5962730848816210.8074538302367580.403726915118379
340.4897130275274540.9794260550549090.510286972472546
350.6773140438859930.6453719122280140.322685956114007
360.5742464466293950.851507106741210.425753553370605
370.4528279771829010.9056559543658020.547172022817099
380.3788524661657310.7577049323314620.621147533834269
390.3640763108619390.7281526217238770.635923689138061
400.3781639822259320.7563279644518630.621836017774068
410.2827624204125430.5655248408250850.717237579587457







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level50.2NOK
10% type I error level70.28NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67639&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 level00OK
5% type I error level50.2NOK
10% type I error level70.28NOK



Parameters (Session):
par1 = Industriële omzetcijfers volgens BTW ; par2 = ADSEI ; par3 = maandelijkse industriële omzet volgens BTW in België ;
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')
}