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, 22 Nov 2013 10:36:17 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2013/Nov/22/t1385134603s7oi65a4kqknokg.htm/, Retrieved Mon, 29 Apr 2024 17:08:46 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=227605, Retrieved Mon, 29 Apr 2024 17:08:46 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact74
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [] [2013-11-22 15:36:17] [a5501fab9c787febb2a952032c60b28f] [Current]
Feedback Forum

Post a new message
Dataseries X:
9700
9081
9084
9743
8587
9731
9563
9998
9437
10038
9918
9252
9737
9035
9133
9487
8700
9627
8947
9283
8829
9947
9628
9318
9605
8640
9214
9567
8547
9185
9470
9123
9278
10170
9434
9655
9429
8739
9552
9687
9019
9672
9206
9069
9788
10312
10105
9863
9656
9295
9946
9701
9049
10190
9706
9765
9893
9994
10433
10073
10112
9266
9820
10097
9115
10411
9678
10408
10153
10368
10581
10597
10680
9738
9556




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time8 seconds
R Server'Sir Ronald Aylmer Fisher' @ fisher.wessa.net

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=227605&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 time8 seconds
R Server'Sir Ronald Aylmer Fisher' @ fisher.wessa.net







Multiple Linear Regression - Estimated Regression Equation
Births[t] = + 9330.59 + 107.621M1[t] -635.532M2[t] -287.828M3[t] + 8.74534M4[t] -879.764M5[t] + 75.7257M6[t] -309.617M7[t] -141.294M8[t] -196.97M9[t] + 367.186M10[t] + 234.51M11[t] + 11.0098t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Births[t] =  +  9330.59 +  107.621M1[t] -635.532M2[t] -287.828M3[t] +  8.74534M4[t] -879.764M5[t] +  75.7257M6[t] -309.617M7[t] -141.294M8[t] -196.97M9[t] +  367.186M10[t] +  234.51M11[t] +  11.0098t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=227605&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Births[t] =  +  9330.59 +  107.621M1[t] -635.532M2[t] -287.828M3[t] +  8.74534M4[t] -879.764M5[t] +  75.7257M6[t] -309.617M7[t] -141.294M8[t] -196.97M9[t] +  367.186M10[t] +  234.51M11[t] +  11.0098t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=227605&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=227605&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
Births[t] = + 9330.59 + 107.621M1[t] -635.532M2[t] -287.828M3[t] + 8.74534M4[t] -879.764M5[t] + 75.7257M6[t] -309.617M7[t] -141.294M8[t] -196.97M9[t] + 367.186M10[t] + 234.51M11[t] + 11.0098t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)9330.59136.43268.394.20864e-602.10432e-60
M1107.621162.9850.66030.51150.25575
M2-635.532162.917-3.9010.0002384130.000119206
M3-287.828162.864-1.7670.0821010.0410505
M48.74534169.4070.051620.9589950.479497
M5-879.764169.298-5.1972.40438e-061.20219e-06
M675.7257169.2030.44750.6560430.328022
M7-309.617169.123-1.8310.07194910.0359745
M8-141.294169.058-0.83580.4064920.203246
M9-196.97169.007-1.1650.2482980.124149
M10367.186168.972.1730.03360380.0168019
M11234.51168.9491.3880.1700880.0850442
t11.00981.569127.0172.01289e-091.00644e-09

\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) & 9330.59 & 136.432 & 68.39 & 4.20864e-60 & 2.10432e-60 \tabularnewline
M1 & 107.621 & 162.985 & 0.6603 & 0.5115 & 0.25575 \tabularnewline
M2 & -635.532 & 162.917 & -3.901 & 0.000238413 & 0.000119206 \tabularnewline
M3 & -287.828 & 162.864 & -1.767 & 0.082101 & 0.0410505 \tabularnewline
M4 & 8.74534 & 169.407 & 0.05162 & 0.958995 & 0.479497 \tabularnewline
M5 & -879.764 & 169.298 & -5.197 & 2.40438e-06 & 1.20219e-06 \tabularnewline
M6 & 75.7257 & 169.203 & 0.4475 & 0.656043 & 0.328022 \tabularnewline
M7 & -309.617 & 169.123 & -1.831 & 0.0719491 & 0.0359745 \tabularnewline
M8 & -141.294 & 169.058 & -0.8358 & 0.406492 & 0.203246 \tabularnewline
M9 & -196.97 & 169.007 & -1.165 & 0.248298 & 0.124149 \tabularnewline
M10 & 367.186 & 168.97 & 2.173 & 0.0336038 & 0.0168019 \tabularnewline
M11 & 234.51 & 168.949 & 1.388 & 0.170088 & 0.0850442 \tabularnewline
t & 11.0098 & 1.56912 & 7.017 & 2.01289e-09 & 1.00644e-09 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=227605&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]9330.59[/C][C]136.432[/C][C]68.39[/C][C]4.20864e-60[/C][C]2.10432e-60[/C][/ROW]
[ROW][C]M1[/C][C]107.621[/C][C]162.985[/C][C]0.6603[/C][C]0.5115[/C][C]0.25575[/C][/ROW]
[ROW][C]M2[/C][C]-635.532[/C][C]162.917[/C][C]-3.901[/C][C]0.000238413[/C][C]0.000119206[/C][/ROW]
[ROW][C]M3[/C][C]-287.828[/C][C]162.864[/C][C]-1.767[/C][C]0.082101[/C][C]0.0410505[/C][/ROW]
[ROW][C]M4[/C][C]8.74534[/C][C]169.407[/C][C]0.05162[/C][C]0.958995[/C][C]0.479497[/C][/ROW]
[ROW][C]M5[/C][C]-879.764[/C][C]169.298[/C][C]-5.197[/C][C]2.40438e-06[/C][C]1.20219e-06[/C][/ROW]
[ROW][C]M6[/C][C]75.7257[/C][C]169.203[/C][C]0.4475[/C][C]0.656043[/C][C]0.328022[/C][/ROW]
[ROW][C]M7[/C][C]-309.617[/C][C]169.123[/C][C]-1.831[/C][C]0.0719491[/C][C]0.0359745[/C][/ROW]
[ROW][C]M8[/C][C]-141.294[/C][C]169.058[/C][C]-0.8358[/C][C]0.406492[/C][C]0.203246[/C][/ROW]
[ROW][C]M9[/C][C]-196.97[/C][C]169.007[/C][C]-1.165[/C][C]0.248298[/C][C]0.124149[/C][/ROW]
[ROW][C]M10[/C][C]367.186[/C][C]168.97[/C][C]2.173[/C][C]0.0336038[/C][C]0.0168019[/C][/ROW]
[ROW][C]M11[/C][C]234.51[/C][C]168.949[/C][C]1.388[/C][C]0.170088[/C][C]0.0850442[/C][/ROW]
[ROW][C]t[/C][C]11.0098[/C][C]1.56912[/C][C]7.017[/C][C]2.01289e-09[/C][C]1.00644e-09[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=227605&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=227605&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)9330.59136.43268.394.20864e-602.10432e-60
M1107.621162.9850.66030.51150.25575
M2-635.532162.917-3.9010.0002384130.000119206
M3-287.828162.864-1.7670.0821010.0410505
M48.74534169.4070.051620.9589950.479497
M5-879.764169.298-5.1972.40438e-061.20219e-06
M675.7257169.2030.44750.6560430.328022
M7-309.617169.123-1.8310.07194910.0359745
M8-141.294169.058-0.83580.4064920.203246
M9-196.97169.007-1.1650.2482980.124149
M10367.186168.972.1730.03360380.0168019
M11234.51168.9491.3880.1700880.0850442
t11.00981.569127.0172.01289e-091.00644e-09







Multiple Linear Regression - Regression Statistics
Multiple R0.846484
R-squared0.716535
Adjusted R-squared0.66167
F-TEST (value)13.0601
F-TEST (DF numerator)12
F-TEST (DF denominator)62
p-value8.07798e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation292.615
Sum Squared Residuals5308660

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.846484 \tabularnewline
R-squared & 0.716535 \tabularnewline
Adjusted R-squared & 0.66167 \tabularnewline
F-TEST (value) & 13.0601 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 62 \tabularnewline
p-value & 8.07798e-13 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 292.615 \tabularnewline
Sum Squared Residuals & 5308660 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=227605&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.846484[/C][/ROW]
[ROW][C]R-squared[/C][C]0.716535[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.66167[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]13.0601[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]62[/C][/ROW]
[ROW][C]p-value[/C][C]8.07798e-13[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]292.615[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]5308660[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=227605&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=227605&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.846484
R-squared0.716535
Adjusted R-squared0.66167
F-TEST (value)13.0601
F-TEST (DF numerator)12
F-TEST (DF denominator)62
p-value8.07798e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation292.615
Sum Squared Residuals5308660







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
197009449.22250.783
290818717.07363.925
390849075.798.21118
497439383.37359.628
585878505.8781.1284
697319472.37258.628
795639098.04464.962
899989277.37720.628
994379232.7204.295
10100389807.87230.128
1199189686.2231.795
1292529462.7-210.705
1397379581.34155.665
1490358849.19185.807
1591339207.91-74.9068
1694879515.49-28.4896
1787008637.9962.0104
1896279604.4922.5104
1989479230.16-283.156
2092839409.49-126.49
2188299364.82-535.823
2299479939.997.01035
2396289818.32-190.323
2493189594.82-276.823
2596059713.45-108.453
2686408981.31-341.311
2792149340.02-126.025
2895679647.61-80.6077
2985478770.11-223.108
3091859736.61-551.608
3194709362.27107.726
3291239541.61-418.608
3392789496.94-218.941
341017010072.197.8923
3594349950.44-516.441
3696559726.94-71.941
3794299845.57-416.571
3887399113.43-374.429
3995529472.1479.8571
4096879779.73-92.7257
4190198902.23116.774
4296729868.73-196.726
4392069494.39-288.392
4490699673.73-604.726
4597889629.06158.941
461031210204.2107.774
471010510082.622.441
4898639859.063.94099
4996569977.69-321.689
5092959245.5549.4534
5199469604.26341.739
5297019911.84-210.844
5390499034.3414.6563
541019010000.8189.156
5597069626.5179.4896
5697659805.84-40.8437
5798939761.18131.823
58999410336.3-342.344
591043310214.7218.323
60100739991.1881.823
611011210109.82.19255
6292669377.66-111.665
6398209736.3883.6211
64100971004453.0383
6591159166.46-51.4617
661041110133278.038
6796789758.63-80.6284
68104089937.96470.038
69101539893.3259.705
701036810468.5-100.462
711058110346.8234.205
721059710123.3473.705
731068010241.9438.075
7497389509.78228.217
7595569868.5-312.497

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 9700 & 9449.22 & 250.783 \tabularnewline
2 & 9081 & 8717.07 & 363.925 \tabularnewline
3 & 9084 & 9075.79 & 8.21118 \tabularnewline
4 & 9743 & 9383.37 & 359.628 \tabularnewline
5 & 8587 & 8505.87 & 81.1284 \tabularnewline
6 & 9731 & 9472.37 & 258.628 \tabularnewline
7 & 9563 & 9098.04 & 464.962 \tabularnewline
8 & 9998 & 9277.37 & 720.628 \tabularnewline
9 & 9437 & 9232.7 & 204.295 \tabularnewline
10 & 10038 & 9807.87 & 230.128 \tabularnewline
11 & 9918 & 9686.2 & 231.795 \tabularnewline
12 & 9252 & 9462.7 & -210.705 \tabularnewline
13 & 9737 & 9581.34 & 155.665 \tabularnewline
14 & 9035 & 8849.19 & 185.807 \tabularnewline
15 & 9133 & 9207.91 & -74.9068 \tabularnewline
16 & 9487 & 9515.49 & -28.4896 \tabularnewline
17 & 8700 & 8637.99 & 62.0104 \tabularnewline
18 & 9627 & 9604.49 & 22.5104 \tabularnewline
19 & 8947 & 9230.16 & -283.156 \tabularnewline
20 & 9283 & 9409.49 & -126.49 \tabularnewline
21 & 8829 & 9364.82 & -535.823 \tabularnewline
22 & 9947 & 9939.99 & 7.01035 \tabularnewline
23 & 9628 & 9818.32 & -190.323 \tabularnewline
24 & 9318 & 9594.82 & -276.823 \tabularnewline
25 & 9605 & 9713.45 & -108.453 \tabularnewline
26 & 8640 & 8981.31 & -341.311 \tabularnewline
27 & 9214 & 9340.02 & -126.025 \tabularnewline
28 & 9567 & 9647.61 & -80.6077 \tabularnewline
29 & 8547 & 8770.11 & -223.108 \tabularnewline
30 & 9185 & 9736.61 & -551.608 \tabularnewline
31 & 9470 & 9362.27 & 107.726 \tabularnewline
32 & 9123 & 9541.61 & -418.608 \tabularnewline
33 & 9278 & 9496.94 & -218.941 \tabularnewline
34 & 10170 & 10072.1 & 97.8923 \tabularnewline
35 & 9434 & 9950.44 & -516.441 \tabularnewline
36 & 9655 & 9726.94 & -71.941 \tabularnewline
37 & 9429 & 9845.57 & -416.571 \tabularnewline
38 & 8739 & 9113.43 & -374.429 \tabularnewline
39 & 9552 & 9472.14 & 79.8571 \tabularnewline
40 & 9687 & 9779.73 & -92.7257 \tabularnewline
41 & 9019 & 8902.23 & 116.774 \tabularnewline
42 & 9672 & 9868.73 & -196.726 \tabularnewline
43 & 9206 & 9494.39 & -288.392 \tabularnewline
44 & 9069 & 9673.73 & -604.726 \tabularnewline
45 & 9788 & 9629.06 & 158.941 \tabularnewline
46 & 10312 & 10204.2 & 107.774 \tabularnewline
47 & 10105 & 10082.6 & 22.441 \tabularnewline
48 & 9863 & 9859.06 & 3.94099 \tabularnewline
49 & 9656 & 9977.69 & -321.689 \tabularnewline
50 & 9295 & 9245.55 & 49.4534 \tabularnewline
51 & 9946 & 9604.26 & 341.739 \tabularnewline
52 & 9701 & 9911.84 & -210.844 \tabularnewline
53 & 9049 & 9034.34 & 14.6563 \tabularnewline
54 & 10190 & 10000.8 & 189.156 \tabularnewline
55 & 9706 & 9626.51 & 79.4896 \tabularnewline
56 & 9765 & 9805.84 & -40.8437 \tabularnewline
57 & 9893 & 9761.18 & 131.823 \tabularnewline
58 & 9994 & 10336.3 & -342.344 \tabularnewline
59 & 10433 & 10214.7 & 218.323 \tabularnewline
60 & 10073 & 9991.18 & 81.823 \tabularnewline
61 & 10112 & 10109.8 & 2.19255 \tabularnewline
62 & 9266 & 9377.66 & -111.665 \tabularnewline
63 & 9820 & 9736.38 & 83.6211 \tabularnewline
64 & 10097 & 10044 & 53.0383 \tabularnewline
65 & 9115 & 9166.46 & -51.4617 \tabularnewline
66 & 10411 & 10133 & 278.038 \tabularnewline
67 & 9678 & 9758.63 & -80.6284 \tabularnewline
68 & 10408 & 9937.96 & 470.038 \tabularnewline
69 & 10153 & 9893.3 & 259.705 \tabularnewline
70 & 10368 & 10468.5 & -100.462 \tabularnewline
71 & 10581 & 10346.8 & 234.205 \tabularnewline
72 & 10597 & 10123.3 & 473.705 \tabularnewline
73 & 10680 & 10241.9 & 438.075 \tabularnewline
74 & 9738 & 9509.78 & 228.217 \tabularnewline
75 & 9556 & 9868.5 & -312.497 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=227605&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]9700[/C][C]9449.22[/C][C]250.783[/C][/ROW]
[ROW][C]2[/C][C]9081[/C][C]8717.07[/C][C]363.925[/C][/ROW]
[ROW][C]3[/C][C]9084[/C][C]9075.79[/C][C]8.21118[/C][/ROW]
[ROW][C]4[/C][C]9743[/C][C]9383.37[/C][C]359.628[/C][/ROW]
[ROW][C]5[/C][C]8587[/C][C]8505.87[/C][C]81.1284[/C][/ROW]
[ROW][C]6[/C][C]9731[/C][C]9472.37[/C][C]258.628[/C][/ROW]
[ROW][C]7[/C][C]9563[/C][C]9098.04[/C][C]464.962[/C][/ROW]
[ROW][C]8[/C][C]9998[/C][C]9277.37[/C][C]720.628[/C][/ROW]
[ROW][C]9[/C][C]9437[/C][C]9232.7[/C][C]204.295[/C][/ROW]
[ROW][C]10[/C][C]10038[/C][C]9807.87[/C][C]230.128[/C][/ROW]
[ROW][C]11[/C][C]9918[/C][C]9686.2[/C][C]231.795[/C][/ROW]
[ROW][C]12[/C][C]9252[/C][C]9462.7[/C][C]-210.705[/C][/ROW]
[ROW][C]13[/C][C]9737[/C][C]9581.34[/C][C]155.665[/C][/ROW]
[ROW][C]14[/C][C]9035[/C][C]8849.19[/C][C]185.807[/C][/ROW]
[ROW][C]15[/C][C]9133[/C][C]9207.91[/C][C]-74.9068[/C][/ROW]
[ROW][C]16[/C][C]9487[/C][C]9515.49[/C][C]-28.4896[/C][/ROW]
[ROW][C]17[/C][C]8700[/C][C]8637.99[/C][C]62.0104[/C][/ROW]
[ROW][C]18[/C][C]9627[/C][C]9604.49[/C][C]22.5104[/C][/ROW]
[ROW][C]19[/C][C]8947[/C][C]9230.16[/C][C]-283.156[/C][/ROW]
[ROW][C]20[/C][C]9283[/C][C]9409.49[/C][C]-126.49[/C][/ROW]
[ROW][C]21[/C][C]8829[/C][C]9364.82[/C][C]-535.823[/C][/ROW]
[ROW][C]22[/C][C]9947[/C][C]9939.99[/C][C]7.01035[/C][/ROW]
[ROW][C]23[/C][C]9628[/C][C]9818.32[/C][C]-190.323[/C][/ROW]
[ROW][C]24[/C][C]9318[/C][C]9594.82[/C][C]-276.823[/C][/ROW]
[ROW][C]25[/C][C]9605[/C][C]9713.45[/C][C]-108.453[/C][/ROW]
[ROW][C]26[/C][C]8640[/C][C]8981.31[/C][C]-341.311[/C][/ROW]
[ROW][C]27[/C][C]9214[/C][C]9340.02[/C][C]-126.025[/C][/ROW]
[ROW][C]28[/C][C]9567[/C][C]9647.61[/C][C]-80.6077[/C][/ROW]
[ROW][C]29[/C][C]8547[/C][C]8770.11[/C][C]-223.108[/C][/ROW]
[ROW][C]30[/C][C]9185[/C][C]9736.61[/C][C]-551.608[/C][/ROW]
[ROW][C]31[/C][C]9470[/C][C]9362.27[/C][C]107.726[/C][/ROW]
[ROW][C]32[/C][C]9123[/C][C]9541.61[/C][C]-418.608[/C][/ROW]
[ROW][C]33[/C][C]9278[/C][C]9496.94[/C][C]-218.941[/C][/ROW]
[ROW][C]34[/C][C]10170[/C][C]10072.1[/C][C]97.8923[/C][/ROW]
[ROW][C]35[/C][C]9434[/C][C]9950.44[/C][C]-516.441[/C][/ROW]
[ROW][C]36[/C][C]9655[/C][C]9726.94[/C][C]-71.941[/C][/ROW]
[ROW][C]37[/C][C]9429[/C][C]9845.57[/C][C]-416.571[/C][/ROW]
[ROW][C]38[/C][C]8739[/C][C]9113.43[/C][C]-374.429[/C][/ROW]
[ROW][C]39[/C][C]9552[/C][C]9472.14[/C][C]79.8571[/C][/ROW]
[ROW][C]40[/C][C]9687[/C][C]9779.73[/C][C]-92.7257[/C][/ROW]
[ROW][C]41[/C][C]9019[/C][C]8902.23[/C][C]116.774[/C][/ROW]
[ROW][C]42[/C][C]9672[/C][C]9868.73[/C][C]-196.726[/C][/ROW]
[ROW][C]43[/C][C]9206[/C][C]9494.39[/C][C]-288.392[/C][/ROW]
[ROW][C]44[/C][C]9069[/C][C]9673.73[/C][C]-604.726[/C][/ROW]
[ROW][C]45[/C][C]9788[/C][C]9629.06[/C][C]158.941[/C][/ROW]
[ROW][C]46[/C][C]10312[/C][C]10204.2[/C][C]107.774[/C][/ROW]
[ROW][C]47[/C][C]10105[/C][C]10082.6[/C][C]22.441[/C][/ROW]
[ROW][C]48[/C][C]9863[/C][C]9859.06[/C][C]3.94099[/C][/ROW]
[ROW][C]49[/C][C]9656[/C][C]9977.69[/C][C]-321.689[/C][/ROW]
[ROW][C]50[/C][C]9295[/C][C]9245.55[/C][C]49.4534[/C][/ROW]
[ROW][C]51[/C][C]9946[/C][C]9604.26[/C][C]341.739[/C][/ROW]
[ROW][C]52[/C][C]9701[/C][C]9911.84[/C][C]-210.844[/C][/ROW]
[ROW][C]53[/C][C]9049[/C][C]9034.34[/C][C]14.6563[/C][/ROW]
[ROW][C]54[/C][C]10190[/C][C]10000.8[/C][C]189.156[/C][/ROW]
[ROW][C]55[/C][C]9706[/C][C]9626.51[/C][C]79.4896[/C][/ROW]
[ROW][C]56[/C][C]9765[/C][C]9805.84[/C][C]-40.8437[/C][/ROW]
[ROW][C]57[/C][C]9893[/C][C]9761.18[/C][C]131.823[/C][/ROW]
[ROW][C]58[/C][C]9994[/C][C]10336.3[/C][C]-342.344[/C][/ROW]
[ROW][C]59[/C][C]10433[/C][C]10214.7[/C][C]218.323[/C][/ROW]
[ROW][C]60[/C][C]10073[/C][C]9991.18[/C][C]81.823[/C][/ROW]
[ROW][C]61[/C][C]10112[/C][C]10109.8[/C][C]2.19255[/C][/ROW]
[ROW][C]62[/C][C]9266[/C][C]9377.66[/C][C]-111.665[/C][/ROW]
[ROW][C]63[/C][C]9820[/C][C]9736.38[/C][C]83.6211[/C][/ROW]
[ROW][C]64[/C][C]10097[/C][C]10044[/C][C]53.0383[/C][/ROW]
[ROW][C]65[/C][C]9115[/C][C]9166.46[/C][C]-51.4617[/C][/ROW]
[ROW][C]66[/C][C]10411[/C][C]10133[/C][C]278.038[/C][/ROW]
[ROW][C]67[/C][C]9678[/C][C]9758.63[/C][C]-80.6284[/C][/ROW]
[ROW][C]68[/C][C]10408[/C][C]9937.96[/C][C]470.038[/C][/ROW]
[ROW][C]69[/C][C]10153[/C][C]9893.3[/C][C]259.705[/C][/ROW]
[ROW][C]70[/C][C]10368[/C][C]10468.5[/C][C]-100.462[/C][/ROW]
[ROW][C]71[/C][C]10581[/C][C]10346.8[/C][C]234.205[/C][/ROW]
[ROW][C]72[/C][C]10597[/C][C]10123.3[/C][C]473.705[/C][/ROW]
[ROW][C]73[/C][C]10680[/C][C]10241.9[/C][C]438.075[/C][/ROW]
[ROW][C]74[/C][C]9738[/C][C]9509.78[/C][C]228.217[/C][/ROW]
[ROW][C]75[/C][C]9556[/C][C]9868.5[/C][C]-312.497[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=227605&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=227605&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
197009449.22250.783
290818717.07363.925
390849075.798.21118
497439383.37359.628
585878505.8781.1284
697319472.37258.628
795639098.04464.962
899989277.37720.628
994379232.7204.295
10100389807.87230.128
1199189686.2231.795
1292529462.7-210.705
1397379581.34155.665
1490358849.19185.807
1591339207.91-74.9068
1694879515.49-28.4896
1787008637.9962.0104
1896279604.4922.5104
1989479230.16-283.156
2092839409.49-126.49
2188299364.82-535.823
2299479939.997.01035
2396289818.32-190.323
2493189594.82-276.823
2596059713.45-108.453
2686408981.31-341.311
2792149340.02-126.025
2895679647.61-80.6077
2985478770.11-223.108
3091859736.61-551.608
3194709362.27107.726
3291239541.61-418.608
3392789496.94-218.941
341017010072.197.8923
3594349950.44-516.441
3696559726.94-71.941
3794299845.57-416.571
3887399113.43-374.429
3995529472.1479.8571
4096879779.73-92.7257
4190198902.23116.774
4296729868.73-196.726
4392069494.39-288.392
4490699673.73-604.726
4597889629.06158.941
461031210204.2107.774
471010510082.622.441
4898639859.063.94099
4996569977.69-321.689
5092959245.5549.4534
5199469604.26341.739
5297019911.84-210.844
5390499034.3414.6563
541019010000.8189.156
5597069626.5179.4896
5697659805.84-40.8437
5798939761.18131.823
58999410336.3-342.344
591043310214.7218.323
60100739991.1881.823
611011210109.82.19255
6292669377.66-111.665
6398209736.3883.6211
64100971004453.0383
6591159166.46-51.4617
661041110133278.038
6796789758.63-80.6284
68104089937.96470.038
69101539893.3259.705
701036810468.5-100.462
711058110346.8234.205
721059710123.3473.705
731068010241.9438.075
7497389509.78228.217
7595569868.5-312.497







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.0857950.171590.914205
170.05249910.1049980.947501
180.02310440.04620880.976896
190.2314950.462990.768505
200.4557930.9115850.544207
210.5046250.990750.495375
220.4376780.8753550.562322
230.3403520.6807040.659648
240.3108560.6217120.689144
250.2672360.5344730.732764
260.206850.41370.79315
270.2399160.4798330.760084
280.2056310.4112630.794369
290.1532690.3065380.846731
300.1730080.3460170.826992
310.2680030.5360060.731997
320.2614160.5228330.738584
330.2684590.5369180.731541
340.3429950.685990.657005
350.3587740.7175470.641226
360.4319060.8638110.568094
370.3803630.7607260.619637
380.3291010.6582020.670899
390.4505050.901010.549495
400.403190.806380.59681
410.4850940.9701880.514906
420.4543170.9086340.545683
430.3807560.7615130.619244
440.6061270.7877460.393873
450.6749970.6500060.325003
460.7522910.4954180.247709
470.7288120.5423760.271188
480.7041390.5917230.295861
490.7471270.5057460.252873
500.6994220.6011560.300578
510.9162250.1675510.0837754
520.8726870.2546260.127313
530.8375870.3248270.162413
540.7913210.4173590.208679
550.7894840.4210320.210516
560.7759250.4481490.224075
570.6730590.6538830.326941
580.5394520.9210950.460548
590.416110.8322210.58389

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.085795 & 0.17159 & 0.914205 \tabularnewline
17 & 0.0524991 & 0.104998 & 0.947501 \tabularnewline
18 & 0.0231044 & 0.0462088 & 0.976896 \tabularnewline
19 & 0.231495 & 0.46299 & 0.768505 \tabularnewline
20 & 0.455793 & 0.911585 & 0.544207 \tabularnewline
21 & 0.504625 & 0.99075 & 0.495375 \tabularnewline
22 & 0.437678 & 0.875355 & 0.562322 \tabularnewline
23 & 0.340352 & 0.680704 & 0.659648 \tabularnewline
24 & 0.310856 & 0.621712 & 0.689144 \tabularnewline
25 & 0.267236 & 0.534473 & 0.732764 \tabularnewline
26 & 0.20685 & 0.4137 & 0.79315 \tabularnewline
27 & 0.239916 & 0.479833 & 0.760084 \tabularnewline
28 & 0.205631 & 0.411263 & 0.794369 \tabularnewline
29 & 0.153269 & 0.306538 & 0.846731 \tabularnewline
30 & 0.173008 & 0.346017 & 0.826992 \tabularnewline
31 & 0.268003 & 0.536006 & 0.731997 \tabularnewline
32 & 0.261416 & 0.522833 & 0.738584 \tabularnewline
33 & 0.268459 & 0.536918 & 0.731541 \tabularnewline
34 & 0.342995 & 0.68599 & 0.657005 \tabularnewline
35 & 0.358774 & 0.717547 & 0.641226 \tabularnewline
36 & 0.431906 & 0.863811 & 0.568094 \tabularnewline
37 & 0.380363 & 0.760726 & 0.619637 \tabularnewline
38 & 0.329101 & 0.658202 & 0.670899 \tabularnewline
39 & 0.450505 & 0.90101 & 0.549495 \tabularnewline
40 & 0.40319 & 0.80638 & 0.59681 \tabularnewline
41 & 0.485094 & 0.970188 & 0.514906 \tabularnewline
42 & 0.454317 & 0.908634 & 0.545683 \tabularnewline
43 & 0.380756 & 0.761513 & 0.619244 \tabularnewline
44 & 0.606127 & 0.787746 & 0.393873 \tabularnewline
45 & 0.674997 & 0.650006 & 0.325003 \tabularnewline
46 & 0.752291 & 0.495418 & 0.247709 \tabularnewline
47 & 0.728812 & 0.542376 & 0.271188 \tabularnewline
48 & 0.704139 & 0.591723 & 0.295861 \tabularnewline
49 & 0.747127 & 0.505746 & 0.252873 \tabularnewline
50 & 0.699422 & 0.601156 & 0.300578 \tabularnewline
51 & 0.916225 & 0.167551 & 0.0837754 \tabularnewline
52 & 0.872687 & 0.254626 & 0.127313 \tabularnewline
53 & 0.837587 & 0.324827 & 0.162413 \tabularnewline
54 & 0.791321 & 0.417359 & 0.208679 \tabularnewline
55 & 0.789484 & 0.421032 & 0.210516 \tabularnewline
56 & 0.775925 & 0.448149 & 0.224075 \tabularnewline
57 & 0.673059 & 0.653883 & 0.326941 \tabularnewline
58 & 0.539452 & 0.921095 & 0.460548 \tabularnewline
59 & 0.41611 & 0.832221 & 0.58389 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=227605&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]16[/C][C]0.085795[/C][C]0.17159[/C][C]0.914205[/C][/ROW]
[ROW][C]17[/C][C]0.0524991[/C][C]0.104998[/C][C]0.947501[/C][/ROW]
[ROW][C]18[/C][C]0.0231044[/C][C]0.0462088[/C][C]0.976896[/C][/ROW]
[ROW][C]19[/C][C]0.231495[/C][C]0.46299[/C][C]0.768505[/C][/ROW]
[ROW][C]20[/C][C]0.455793[/C][C]0.911585[/C][C]0.544207[/C][/ROW]
[ROW][C]21[/C][C]0.504625[/C][C]0.99075[/C][C]0.495375[/C][/ROW]
[ROW][C]22[/C][C]0.437678[/C][C]0.875355[/C][C]0.562322[/C][/ROW]
[ROW][C]23[/C][C]0.340352[/C][C]0.680704[/C][C]0.659648[/C][/ROW]
[ROW][C]24[/C][C]0.310856[/C][C]0.621712[/C][C]0.689144[/C][/ROW]
[ROW][C]25[/C][C]0.267236[/C][C]0.534473[/C][C]0.732764[/C][/ROW]
[ROW][C]26[/C][C]0.20685[/C][C]0.4137[/C][C]0.79315[/C][/ROW]
[ROW][C]27[/C][C]0.239916[/C][C]0.479833[/C][C]0.760084[/C][/ROW]
[ROW][C]28[/C][C]0.205631[/C][C]0.411263[/C][C]0.794369[/C][/ROW]
[ROW][C]29[/C][C]0.153269[/C][C]0.306538[/C][C]0.846731[/C][/ROW]
[ROW][C]30[/C][C]0.173008[/C][C]0.346017[/C][C]0.826992[/C][/ROW]
[ROW][C]31[/C][C]0.268003[/C][C]0.536006[/C][C]0.731997[/C][/ROW]
[ROW][C]32[/C][C]0.261416[/C][C]0.522833[/C][C]0.738584[/C][/ROW]
[ROW][C]33[/C][C]0.268459[/C][C]0.536918[/C][C]0.731541[/C][/ROW]
[ROW][C]34[/C][C]0.342995[/C][C]0.68599[/C][C]0.657005[/C][/ROW]
[ROW][C]35[/C][C]0.358774[/C][C]0.717547[/C][C]0.641226[/C][/ROW]
[ROW][C]36[/C][C]0.431906[/C][C]0.863811[/C][C]0.568094[/C][/ROW]
[ROW][C]37[/C][C]0.380363[/C][C]0.760726[/C][C]0.619637[/C][/ROW]
[ROW][C]38[/C][C]0.329101[/C][C]0.658202[/C][C]0.670899[/C][/ROW]
[ROW][C]39[/C][C]0.450505[/C][C]0.90101[/C][C]0.549495[/C][/ROW]
[ROW][C]40[/C][C]0.40319[/C][C]0.80638[/C][C]0.59681[/C][/ROW]
[ROW][C]41[/C][C]0.485094[/C][C]0.970188[/C][C]0.514906[/C][/ROW]
[ROW][C]42[/C][C]0.454317[/C][C]0.908634[/C][C]0.545683[/C][/ROW]
[ROW][C]43[/C][C]0.380756[/C][C]0.761513[/C][C]0.619244[/C][/ROW]
[ROW][C]44[/C][C]0.606127[/C][C]0.787746[/C][C]0.393873[/C][/ROW]
[ROW][C]45[/C][C]0.674997[/C][C]0.650006[/C][C]0.325003[/C][/ROW]
[ROW][C]46[/C][C]0.752291[/C][C]0.495418[/C][C]0.247709[/C][/ROW]
[ROW][C]47[/C][C]0.728812[/C][C]0.542376[/C][C]0.271188[/C][/ROW]
[ROW][C]48[/C][C]0.704139[/C][C]0.591723[/C][C]0.295861[/C][/ROW]
[ROW][C]49[/C][C]0.747127[/C][C]0.505746[/C][C]0.252873[/C][/ROW]
[ROW][C]50[/C][C]0.699422[/C][C]0.601156[/C][C]0.300578[/C][/ROW]
[ROW][C]51[/C][C]0.916225[/C][C]0.167551[/C][C]0.0837754[/C][/ROW]
[ROW][C]52[/C][C]0.872687[/C][C]0.254626[/C][C]0.127313[/C][/ROW]
[ROW][C]53[/C][C]0.837587[/C][C]0.324827[/C][C]0.162413[/C][/ROW]
[ROW][C]54[/C][C]0.791321[/C][C]0.417359[/C][C]0.208679[/C][/ROW]
[ROW][C]55[/C][C]0.789484[/C][C]0.421032[/C][C]0.210516[/C][/ROW]
[ROW][C]56[/C][C]0.775925[/C][C]0.448149[/C][C]0.224075[/C][/ROW]
[ROW][C]57[/C][C]0.673059[/C][C]0.653883[/C][C]0.326941[/C][/ROW]
[ROW][C]58[/C][C]0.539452[/C][C]0.921095[/C][C]0.460548[/C][/ROW]
[ROW][C]59[/C][C]0.41611[/C][C]0.832221[/C][C]0.58389[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=227605&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.0857950.171590.914205
170.05249910.1049980.947501
180.02310440.04620880.976896
190.2314950.462990.768505
200.4557930.9115850.544207
210.5046250.990750.495375
220.4376780.8753550.562322
230.3403520.6807040.659648
240.3108560.6217120.689144
250.2672360.5344730.732764
260.206850.41370.79315
270.2399160.4798330.760084
280.2056310.4112630.794369
290.1532690.3065380.846731
300.1730080.3460170.826992
310.2680030.5360060.731997
320.2614160.5228330.738584
330.2684590.5369180.731541
340.3429950.685990.657005
350.3587740.7175470.641226
360.4319060.8638110.568094
370.3803630.7607260.619637
380.3291010.6582020.670899
390.4505050.901010.549495
400.403190.806380.59681
410.4850940.9701880.514906
420.4543170.9086340.545683
430.3807560.7615130.619244
440.6061270.7877460.393873
450.6749970.6500060.325003
460.7522910.4954180.247709
470.7288120.5423760.271188
480.7041390.5917230.295861
490.7471270.5057460.252873
500.6994220.6011560.300578
510.9162250.1675510.0837754
520.8726870.2546260.127313
530.8375870.3248270.162413
540.7913210.4173590.208679
550.7894840.4210320.210516
560.7759250.4481490.224075
570.6730590.6538830.326941
580.5394520.9210950.460548
590.416110.8322210.58389







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

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

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



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = 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, signif(mysum$coefficients[i,1],6), 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,signif(mysum$coefficients[i,1],6))
a<-table.element(a, signif(mysum$coefficients[i,2],6))
a<-table.element(a, signif(mysum$coefficients[i,3],4))
a<-table.element(a, signif(mysum$coefficients[i,4],6))
a<-table.element(a, signif(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, signif(sqrt(mysum$r.squared),6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, signif(mysum$r.squared,6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, signif(mysum$adj.r.squared,6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, signif(mysum$fstatistic[1],6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, signif(mysum$fstatistic[2],6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, signif(mysum$fstatistic[3],6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, signif(1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]),6))
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, signif(mysum$sigma,6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, signif(sum(myerror*myerror),6))
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,signif(x[i],6))
a<-table.element(a,signif(x[i]-mysum$resid[i],6))
a<-table.element(a,signif(mysum$resid[i],6))
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,signif(gqarr[mypoint-kp3+1,1],6))
a<-table.element(a,signif(gqarr[mypoint-kp3+1,2],6))
a<-table.element(a,signif(gqarr[mypoint-kp3+1,3],6))
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,signif(numsignificant1,6))
a<-table.element(a,signif(numsignificant1/numgqtests,6))
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,signif(numsignificant5,6))
a<-table.element(a,signif(numsignificant5/numgqtests,6))
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,signif(numsignificant10,6))
a<-table.element(a,signif(numsignificant10/numgqtests,6))
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')
}