Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationTue, 21 Dec 2010 17:06:28 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/21/t12929511203dqzucaq9blrnml.htm/, Retrieved Wed, 15 May 2024 12:21:43 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=113759, Retrieved Wed, 15 May 2024 12:21:43 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact120
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [HPC Retail Sales] [2008-03-08 13:40:54] [1c0f2c85e8a48e42648374b3bcceca26]
-  MPD  [Multiple Regression] [ws8 - Regressie a...] [2010-11-27 11:23:58] [4a7069087cf9e0eda253aeed7d8c30d6]
-   PD    [Multiple Regression] [Paper - Regressie...] [2010-11-28 20:06:50] [4a7069087cf9e0eda253aeed7d8c30d6]
-   PD      [Multiple Regression] [Paper - Regressie...] [2010-11-29 17:19:35] [4a7069087cf9e0eda253aeed7d8c30d6]
-   PD          [Multiple Regression] [Multiple regressi...] [2010-12-21 17:06:28] [039869833c16fe697975601e6b065e0f] [Current]
Feedback Forum

Post a new message
Dataseries X:
1038.00	0
934.00	0
988.00	0
870.00	0
854.00	0
834.00	0
872.00	0
954.00	0
870.00	0
1238.00	0
1082.00	0
1053.00	0
934.00	0
787.00	0
1081.00	0
908.00	0
995.00	0
825.00	0
822.00	0
856.00	0
887.00	0
1094.00	0
990.00	0
936.00	0
1097.00	0
918.00	0
926.00	0
907.00	0
899.00	0
971.00	0
1087.00	0
1000.00	0
1071.00	0
1190.00	0
1116.00	0
1070.00	0
1314.00	0
1068.00	0
1185.00	0
1215.00	0
1145.00	0
1251.00	1
1363.00	1
1368.00	1
1535.00	1
1853.00	1
1866.00	1
2023.00	1
1373.00	1
1968.00	1
1424.00	1
1160.00	1
1243.00	1
1375.00	1
1539.00	1
1773.00	1
1906.00	1
2076.00	1
2004.00	1




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

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







Multiple Linear Regression - Estimated Regression Equation
Asielaanvragen[t] = + 980.866071428572 + 433.157738095238Verandering[t] -67.4180307539678M1[t] -89.6628472222222M2[t] -109.907663690476M3[t] -224.75248015873M4[t] -215.597296626984M5[t] -284.273660714286M6[t] -204.918477182540M7[t] -157.363293650794M8[t] -99.8081101190475M9[t] + 130.547073412699M10[t] + 45.9022569444446M11[t] + 6.04481646825396t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Asielaanvragen[t] =  +  980.866071428572 +  433.157738095238Verandering[t] -67.4180307539678M1[t] -89.6628472222222M2[t] -109.907663690476M3[t] -224.75248015873M4[t] -215.597296626984M5[t] -284.273660714286M6[t] -204.918477182540M7[t] -157.363293650794M8[t] -99.8081101190475M9[t] +  130.547073412699M10[t] +  45.9022569444446M11[t] +  6.04481646825396t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113759&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Asielaanvragen[t] =  +  980.866071428572 +  433.157738095238Verandering[t] -67.4180307539678M1[t] -89.6628472222222M2[t] -109.907663690476M3[t] -224.75248015873M4[t] -215.597296626984M5[t] -284.273660714286M6[t] -204.918477182540M7[t] -157.363293650794M8[t] -99.8081101190475M9[t] +  130.547073412699M10[t] +  45.9022569444446M11[t] +  6.04481646825396t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113759&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113759&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
Asielaanvragen[t] = + 980.866071428572 + 433.157738095238Verandering[t] -67.4180307539678M1[t] -89.6628472222222M2[t] -109.907663690476M3[t] -224.75248015873M4[t] -215.597296626984M5[t] -284.273660714286M6[t] -204.918477182540M7[t] -157.363293650794M8[t] -99.8081101190475M9[t] + 130.547073412699M10[t] + 45.9022569444446M11[t] + 6.04481646825396t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)980.86607142857295.98455610.21900
Verandering433.15773809523878.7140445.50292e-061e-06
M1-67.4180307539678110.81713-0.60840.5460.273
M2-89.6628472222222110.695264-0.810.4222050.211102
M3-109.907663690476110.613691-0.99360.3257220.162861
M4-224.75248015873110.572502-2.03260.0480160.024008
M5-215.597296626984110.571741-1.94980.0574420.028721
M6-284.273660714286111.170147-2.55710.0139970.006998
M7-204.918477182540111.011432-1.84590.0714880.035744
M8-157.363293650794110.892817-1.41910.1627720.081386
M9-99.8081101190475110.814429-0.90070.3725550.186277
M10130.547073412699110.7763541.17850.2448020.122401
M1145.9022569444446110.7786330.41440.6805790.340289
t6.044816468253962.1144922.85880.0064230.003211

\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) & 980.866071428572 & 95.984556 & 10.219 & 0 & 0 \tabularnewline
Verandering & 433.157738095238 & 78.714044 & 5.5029 & 2e-06 & 1e-06 \tabularnewline
M1 & -67.4180307539678 & 110.81713 & -0.6084 & 0.546 & 0.273 \tabularnewline
M2 & -89.6628472222222 & 110.695264 & -0.81 & 0.422205 & 0.211102 \tabularnewline
M3 & -109.907663690476 & 110.613691 & -0.9936 & 0.325722 & 0.162861 \tabularnewline
M4 & -224.75248015873 & 110.572502 & -2.0326 & 0.048016 & 0.024008 \tabularnewline
M5 & -215.597296626984 & 110.571741 & -1.9498 & 0.057442 & 0.028721 \tabularnewline
M6 & -284.273660714286 & 111.170147 & -2.5571 & 0.013997 & 0.006998 \tabularnewline
M7 & -204.918477182540 & 111.011432 & -1.8459 & 0.071488 & 0.035744 \tabularnewline
M8 & -157.363293650794 & 110.892817 & -1.4191 & 0.162772 & 0.081386 \tabularnewline
M9 & -99.8081101190475 & 110.814429 & -0.9007 & 0.372555 & 0.186277 \tabularnewline
M10 & 130.547073412699 & 110.776354 & 1.1785 & 0.244802 & 0.122401 \tabularnewline
M11 & 45.9022569444446 & 110.778633 & 0.4144 & 0.680579 & 0.340289 \tabularnewline
t & 6.04481646825396 & 2.114492 & 2.8588 & 0.006423 & 0.003211 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113759&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]980.866071428572[/C][C]95.984556[/C][C]10.219[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Verandering[/C][C]433.157738095238[/C][C]78.714044[/C][C]5.5029[/C][C]2e-06[/C][C]1e-06[/C][/ROW]
[ROW][C]M1[/C][C]-67.4180307539678[/C][C]110.81713[/C][C]-0.6084[/C][C]0.546[/C][C]0.273[/C][/ROW]
[ROW][C]M2[/C][C]-89.6628472222222[/C][C]110.695264[/C][C]-0.81[/C][C]0.422205[/C][C]0.211102[/C][/ROW]
[ROW][C]M3[/C][C]-109.907663690476[/C][C]110.613691[/C][C]-0.9936[/C][C]0.325722[/C][C]0.162861[/C][/ROW]
[ROW][C]M4[/C][C]-224.75248015873[/C][C]110.572502[/C][C]-2.0326[/C][C]0.048016[/C][C]0.024008[/C][/ROW]
[ROW][C]M5[/C][C]-215.597296626984[/C][C]110.571741[/C][C]-1.9498[/C][C]0.057442[/C][C]0.028721[/C][/ROW]
[ROW][C]M6[/C][C]-284.273660714286[/C][C]111.170147[/C][C]-2.5571[/C][C]0.013997[/C][C]0.006998[/C][/ROW]
[ROW][C]M7[/C][C]-204.918477182540[/C][C]111.011432[/C][C]-1.8459[/C][C]0.071488[/C][C]0.035744[/C][/ROW]
[ROW][C]M8[/C][C]-157.363293650794[/C][C]110.892817[/C][C]-1.4191[/C][C]0.162772[/C][C]0.081386[/C][/ROW]
[ROW][C]M9[/C][C]-99.8081101190475[/C][C]110.814429[/C][C]-0.9007[/C][C]0.372555[/C][C]0.186277[/C][/ROW]
[ROW][C]M10[/C][C]130.547073412699[/C][C]110.776354[/C][C]1.1785[/C][C]0.244802[/C][C]0.122401[/C][/ROW]
[ROW][C]M11[/C][C]45.9022569444446[/C][C]110.778633[/C][C]0.4144[/C][C]0.680579[/C][C]0.340289[/C][/ROW]
[ROW][C]t[/C][C]6.04481646825396[/C][C]2.114492[/C][C]2.8588[/C][C]0.006423[/C][C]0.003211[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113759&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113759&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)980.86607142857295.98455610.21900
Verandering433.15773809523878.7140445.50292e-061e-06
M1-67.4180307539678110.81713-0.60840.5460.273
M2-89.6628472222222110.695264-0.810.4222050.211102
M3-109.907663690476110.613691-0.99360.3257220.162861
M4-224.75248015873110.572502-2.03260.0480160.024008
M5-215.597296626984110.571741-1.94980.0574420.028721
M6-284.273660714286111.170147-2.55710.0139970.006998
M7-204.918477182540111.011432-1.84590.0714880.035744
M8-157.363293650794110.892817-1.41910.1627720.081386
M9-99.8081101190475110.814429-0.90070.3725550.186277
M10130.547073412699110.7763541.17850.2448020.122401
M1145.9022569444446110.7786330.41440.6805790.340289
t6.044816468253962.1144922.85880.0064230.003211







Multiple Linear Regression - Regression Statistics
Multiple R0.91005535453701
R-squared0.828200748321482
Adjusted R-squared0.778569853392133
F-TEST (value)16.6872015807984
F-TEST (DF numerator)13
F-TEST (DF denominator)45
p-value4.51638726417514e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation164.785340947761
Sum Squared Residuals1221939.38660714

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.91005535453701 \tabularnewline
R-squared & 0.828200748321482 \tabularnewline
Adjusted R-squared & 0.778569853392133 \tabularnewline
F-TEST (value) & 16.6872015807984 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 45 \tabularnewline
p-value & 4.51638726417514e-13 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 164.785340947761 \tabularnewline
Sum Squared Residuals & 1221939.38660714 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113759&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.91005535453701[/C][/ROW]
[ROW][C]R-squared[/C][C]0.828200748321482[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.778569853392133[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]16.6872015807984[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]45[/C][/ROW]
[ROW][C]p-value[/C][C]4.51638726417514e-13[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]164.785340947761[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1221939.38660714[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113759&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113759&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.91005535453701
R-squared0.828200748321482
Adjusted R-squared0.778569853392133
F-TEST (value)16.6872015807984
F-TEST (DF numerator)13
F-TEST (DF denominator)45
p-value4.51638726417514e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation164.785340947761
Sum Squared Residuals1221939.38660714







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11038919.492857142856118.507142857144
2934903.29285714285730.7071428571429
3988889.09285714285798.9071428571428
4870780.29285714285789.707142857143
5854795.49285714285758.5071428571426
6834732.86130952381101.13869047619
7872818.2613095238153.7386904761904
8954871.8613095238182.1386904761905
9870935.46130952381-65.4613095238097
1012381171.8613095238166.1386904761906
1110821093.26130952381-11.2613095238096
1210531053.40386904762-0.40386904761896
13934992.030654761905-58.0306547619052
14787975.830654761905-188.830654761905
151081961.630654761905119.369345238095
16908852.83065476190555.1693452380951
17995868.030654761905126.969345238095
18825805.39910714285719.6008928571429
19822890.799107142857-68.7991071428571
20856944.399107142857-88.3991071428572
218871007.99910714286-120.999107142857
2210941244.39910714286-150.399107142857
239901165.79910714286-175.799107142857
249361125.94166666667-189.941666666667
2510971064.5684523809532.4315476190473
269181048.36845238095-130.368452380952
279261034.16845238095-108.168452380952
28907925.368452380952-18.3684523809524
29899940.568452380952-41.5684523809524
30971877.93690476190593.0630952380954
311087963.336904761905123.663095238095
3210001016.93690476190-16.9369047619048
3310711080.53690476190-9.53690476190468
3411901316.93690476190-126.936904761905
3511161238.33690476190-122.336904761905
3610701198.47946428571-128.479464285714
3713141137.10625176.893750000000
3810681120.90625-52.90625
3911851106.7062578.2937500000002
401215997.90625217.09375
4111451013.10625131.89375
4212511383.63244047619-132.632440476190
4313631469.03244047619-106.032440476190
4413681522.63244047619-154.632440476190
4515351586.23244047619-51.2324404761905
4618531822.6324404761930.3675595238094
4718661744.03244047619121.967559523809
4820231704.175318.825
4913731642.80178571429-269.801785714286
5019681626.60178571429341.398214285714
5114241612.40178571429-188.401785714286
5211601503.60178571429-343.601785714286
5312431518.80178571429-275.801785714286
5413751456.17023809524-81.1702380952379
5515391541.57023809524-2.57023809523802
5617731595.17023809524177.829761904762
5719061658.77023809524247.229761904762
5820761895.17023809524180.829761904762
5920041816.57023809524187.429761904762

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1038 & 919.492857142856 & 118.507142857144 \tabularnewline
2 & 934 & 903.292857142857 & 30.7071428571429 \tabularnewline
3 & 988 & 889.092857142857 & 98.9071428571428 \tabularnewline
4 & 870 & 780.292857142857 & 89.707142857143 \tabularnewline
5 & 854 & 795.492857142857 & 58.5071428571426 \tabularnewline
6 & 834 & 732.86130952381 & 101.13869047619 \tabularnewline
7 & 872 & 818.26130952381 & 53.7386904761904 \tabularnewline
8 & 954 & 871.86130952381 & 82.1386904761905 \tabularnewline
9 & 870 & 935.46130952381 & -65.4613095238097 \tabularnewline
10 & 1238 & 1171.86130952381 & 66.1386904761906 \tabularnewline
11 & 1082 & 1093.26130952381 & -11.2613095238096 \tabularnewline
12 & 1053 & 1053.40386904762 & -0.40386904761896 \tabularnewline
13 & 934 & 992.030654761905 & -58.0306547619052 \tabularnewline
14 & 787 & 975.830654761905 & -188.830654761905 \tabularnewline
15 & 1081 & 961.630654761905 & 119.369345238095 \tabularnewline
16 & 908 & 852.830654761905 & 55.1693452380951 \tabularnewline
17 & 995 & 868.030654761905 & 126.969345238095 \tabularnewline
18 & 825 & 805.399107142857 & 19.6008928571429 \tabularnewline
19 & 822 & 890.799107142857 & -68.7991071428571 \tabularnewline
20 & 856 & 944.399107142857 & -88.3991071428572 \tabularnewline
21 & 887 & 1007.99910714286 & -120.999107142857 \tabularnewline
22 & 1094 & 1244.39910714286 & -150.399107142857 \tabularnewline
23 & 990 & 1165.79910714286 & -175.799107142857 \tabularnewline
24 & 936 & 1125.94166666667 & -189.941666666667 \tabularnewline
25 & 1097 & 1064.56845238095 & 32.4315476190473 \tabularnewline
26 & 918 & 1048.36845238095 & -130.368452380952 \tabularnewline
27 & 926 & 1034.16845238095 & -108.168452380952 \tabularnewline
28 & 907 & 925.368452380952 & -18.3684523809524 \tabularnewline
29 & 899 & 940.568452380952 & -41.5684523809524 \tabularnewline
30 & 971 & 877.936904761905 & 93.0630952380954 \tabularnewline
31 & 1087 & 963.336904761905 & 123.663095238095 \tabularnewline
32 & 1000 & 1016.93690476190 & -16.9369047619048 \tabularnewline
33 & 1071 & 1080.53690476190 & -9.53690476190468 \tabularnewline
34 & 1190 & 1316.93690476190 & -126.936904761905 \tabularnewline
35 & 1116 & 1238.33690476190 & -122.336904761905 \tabularnewline
36 & 1070 & 1198.47946428571 & -128.479464285714 \tabularnewline
37 & 1314 & 1137.10625 & 176.893750000000 \tabularnewline
38 & 1068 & 1120.90625 & -52.90625 \tabularnewline
39 & 1185 & 1106.70625 & 78.2937500000002 \tabularnewline
40 & 1215 & 997.90625 & 217.09375 \tabularnewline
41 & 1145 & 1013.10625 & 131.89375 \tabularnewline
42 & 1251 & 1383.63244047619 & -132.632440476190 \tabularnewline
43 & 1363 & 1469.03244047619 & -106.032440476190 \tabularnewline
44 & 1368 & 1522.63244047619 & -154.632440476190 \tabularnewline
45 & 1535 & 1586.23244047619 & -51.2324404761905 \tabularnewline
46 & 1853 & 1822.63244047619 & 30.3675595238094 \tabularnewline
47 & 1866 & 1744.03244047619 & 121.967559523809 \tabularnewline
48 & 2023 & 1704.175 & 318.825 \tabularnewline
49 & 1373 & 1642.80178571429 & -269.801785714286 \tabularnewline
50 & 1968 & 1626.60178571429 & 341.398214285714 \tabularnewline
51 & 1424 & 1612.40178571429 & -188.401785714286 \tabularnewline
52 & 1160 & 1503.60178571429 & -343.601785714286 \tabularnewline
53 & 1243 & 1518.80178571429 & -275.801785714286 \tabularnewline
54 & 1375 & 1456.17023809524 & -81.1702380952379 \tabularnewline
55 & 1539 & 1541.57023809524 & -2.57023809523802 \tabularnewline
56 & 1773 & 1595.17023809524 & 177.829761904762 \tabularnewline
57 & 1906 & 1658.77023809524 & 247.229761904762 \tabularnewline
58 & 2076 & 1895.17023809524 & 180.829761904762 \tabularnewline
59 & 2004 & 1816.57023809524 & 187.429761904762 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113759&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]1038[/C][C]919.492857142856[/C][C]118.507142857144[/C][/ROW]
[ROW][C]2[/C][C]934[/C][C]903.292857142857[/C][C]30.7071428571429[/C][/ROW]
[ROW][C]3[/C][C]988[/C][C]889.092857142857[/C][C]98.9071428571428[/C][/ROW]
[ROW][C]4[/C][C]870[/C][C]780.292857142857[/C][C]89.707142857143[/C][/ROW]
[ROW][C]5[/C][C]854[/C][C]795.492857142857[/C][C]58.5071428571426[/C][/ROW]
[ROW][C]6[/C][C]834[/C][C]732.86130952381[/C][C]101.13869047619[/C][/ROW]
[ROW][C]7[/C][C]872[/C][C]818.26130952381[/C][C]53.7386904761904[/C][/ROW]
[ROW][C]8[/C][C]954[/C][C]871.86130952381[/C][C]82.1386904761905[/C][/ROW]
[ROW][C]9[/C][C]870[/C][C]935.46130952381[/C][C]-65.4613095238097[/C][/ROW]
[ROW][C]10[/C][C]1238[/C][C]1171.86130952381[/C][C]66.1386904761906[/C][/ROW]
[ROW][C]11[/C][C]1082[/C][C]1093.26130952381[/C][C]-11.2613095238096[/C][/ROW]
[ROW][C]12[/C][C]1053[/C][C]1053.40386904762[/C][C]-0.40386904761896[/C][/ROW]
[ROW][C]13[/C][C]934[/C][C]992.030654761905[/C][C]-58.0306547619052[/C][/ROW]
[ROW][C]14[/C][C]787[/C][C]975.830654761905[/C][C]-188.830654761905[/C][/ROW]
[ROW][C]15[/C][C]1081[/C][C]961.630654761905[/C][C]119.369345238095[/C][/ROW]
[ROW][C]16[/C][C]908[/C][C]852.830654761905[/C][C]55.1693452380951[/C][/ROW]
[ROW][C]17[/C][C]995[/C][C]868.030654761905[/C][C]126.969345238095[/C][/ROW]
[ROW][C]18[/C][C]825[/C][C]805.399107142857[/C][C]19.6008928571429[/C][/ROW]
[ROW][C]19[/C][C]822[/C][C]890.799107142857[/C][C]-68.7991071428571[/C][/ROW]
[ROW][C]20[/C][C]856[/C][C]944.399107142857[/C][C]-88.3991071428572[/C][/ROW]
[ROW][C]21[/C][C]887[/C][C]1007.99910714286[/C][C]-120.999107142857[/C][/ROW]
[ROW][C]22[/C][C]1094[/C][C]1244.39910714286[/C][C]-150.399107142857[/C][/ROW]
[ROW][C]23[/C][C]990[/C][C]1165.79910714286[/C][C]-175.799107142857[/C][/ROW]
[ROW][C]24[/C][C]936[/C][C]1125.94166666667[/C][C]-189.941666666667[/C][/ROW]
[ROW][C]25[/C][C]1097[/C][C]1064.56845238095[/C][C]32.4315476190473[/C][/ROW]
[ROW][C]26[/C][C]918[/C][C]1048.36845238095[/C][C]-130.368452380952[/C][/ROW]
[ROW][C]27[/C][C]926[/C][C]1034.16845238095[/C][C]-108.168452380952[/C][/ROW]
[ROW][C]28[/C][C]907[/C][C]925.368452380952[/C][C]-18.3684523809524[/C][/ROW]
[ROW][C]29[/C][C]899[/C][C]940.568452380952[/C][C]-41.5684523809524[/C][/ROW]
[ROW][C]30[/C][C]971[/C][C]877.936904761905[/C][C]93.0630952380954[/C][/ROW]
[ROW][C]31[/C][C]1087[/C][C]963.336904761905[/C][C]123.663095238095[/C][/ROW]
[ROW][C]32[/C][C]1000[/C][C]1016.93690476190[/C][C]-16.9369047619048[/C][/ROW]
[ROW][C]33[/C][C]1071[/C][C]1080.53690476190[/C][C]-9.53690476190468[/C][/ROW]
[ROW][C]34[/C][C]1190[/C][C]1316.93690476190[/C][C]-126.936904761905[/C][/ROW]
[ROW][C]35[/C][C]1116[/C][C]1238.33690476190[/C][C]-122.336904761905[/C][/ROW]
[ROW][C]36[/C][C]1070[/C][C]1198.47946428571[/C][C]-128.479464285714[/C][/ROW]
[ROW][C]37[/C][C]1314[/C][C]1137.10625[/C][C]176.893750000000[/C][/ROW]
[ROW][C]38[/C][C]1068[/C][C]1120.90625[/C][C]-52.90625[/C][/ROW]
[ROW][C]39[/C][C]1185[/C][C]1106.70625[/C][C]78.2937500000002[/C][/ROW]
[ROW][C]40[/C][C]1215[/C][C]997.90625[/C][C]217.09375[/C][/ROW]
[ROW][C]41[/C][C]1145[/C][C]1013.10625[/C][C]131.89375[/C][/ROW]
[ROW][C]42[/C][C]1251[/C][C]1383.63244047619[/C][C]-132.632440476190[/C][/ROW]
[ROW][C]43[/C][C]1363[/C][C]1469.03244047619[/C][C]-106.032440476190[/C][/ROW]
[ROW][C]44[/C][C]1368[/C][C]1522.63244047619[/C][C]-154.632440476190[/C][/ROW]
[ROW][C]45[/C][C]1535[/C][C]1586.23244047619[/C][C]-51.2324404761905[/C][/ROW]
[ROW][C]46[/C][C]1853[/C][C]1822.63244047619[/C][C]30.3675595238094[/C][/ROW]
[ROW][C]47[/C][C]1866[/C][C]1744.03244047619[/C][C]121.967559523809[/C][/ROW]
[ROW][C]48[/C][C]2023[/C][C]1704.175[/C][C]318.825[/C][/ROW]
[ROW][C]49[/C][C]1373[/C][C]1642.80178571429[/C][C]-269.801785714286[/C][/ROW]
[ROW][C]50[/C][C]1968[/C][C]1626.60178571429[/C][C]341.398214285714[/C][/ROW]
[ROW][C]51[/C][C]1424[/C][C]1612.40178571429[/C][C]-188.401785714286[/C][/ROW]
[ROW][C]52[/C][C]1160[/C][C]1503.60178571429[/C][C]-343.601785714286[/C][/ROW]
[ROW][C]53[/C][C]1243[/C][C]1518.80178571429[/C][C]-275.801785714286[/C][/ROW]
[ROW][C]54[/C][C]1375[/C][C]1456.17023809524[/C][C]-81.1702380952379[/C][/ROW]
[ROW][C]55[/C][C]1539[/C][C]1541.57023809524[/C][C]-2.57023809523802[/C][/ROW]
[ROW][C]56[/C][C]1773[/C][C]1595.17023809524[/C][C]177.829761904762[/C][/ROW]
[ROW][C]57[/C][C]1906[/C][C]1658.77023809524[/C][C]247.229761904762[/C][/ROW]
[ROW][C]58[/C][C]2076[/C][C]1895.17023809524[/C][C]180.829761904762[/C][/ROW]
[ROW][C]59[/C][C]2004[/C][C]1816.57023809524[/C][C]187.429761904762[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113759&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113759&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
11038919.492857142856118.507142857144
2934903.29285714285730.7071428571429
3988889.09285714285798.9071428571428
4870780.29285714285789.707142857143
5854795.49285714285758.5071428571426
6834732.86130952381101.13869047619
7872818.2613095238153.7386904761904
8954871.8613095238182.1386904761905
9870935.46130952381-65.4613095238097
1012381171.8613095238166.1386904761906
1110821093.26130952381-11.2613095238096
1210531053.40386904762-0.40386904761896
13934992.030654761905-58.0306547619052
14787975.830654761905-188.830654761905
151081961.630654761905119.369345238095
16908852.83065476190555.1693452380951
17995868.030654761905126.969345238095
18825805.39910714285719.6008928571429
19822890.799107142857-68.7991071428571
20856944.399107142857-88.3991071428572
218871007.99910714286-120.999107142857
2210941244.39910714286-150.399107142857
239901165.79910714286-175.799107142857
249361125.94166666667-189.941666666667
2510971064.5684523809532.4315476190473
269181048.36845238095-130.368452380952
279261034.16845238095-108.168452380952
28907925.368452380952-18.3684523809524
29899940.568452380952-41.5684523809524
30971877.93690476190593.0630952380954
311087963.336904761905123.663095238095
3210001016.93690476190-16.9369047619048
3310711080.53690476190-9.53690476190468
3411901316.93690476190-126.936904761905
3511161238.33690476190-122.336904761905
3610701198.47946428571-128.479464285714
3713141137.10625176.893750000000
3810681120.90625-52.90625
3911851106.7062578.2937500000002
401215997.90625217.09375
4111451013.10625131.89375
4212511383.63244047619-132.632440476190
4313631469.03244047619-106.032440476190
4413681522.63244047619-154.632440476190
4515351586.23244047619-51.2324404761905
4618531822.6324404761930.3675595238094
4718661744.03244047619121.967559523809
4820231704.175318.825
4913731642.80178571429-269.801785714286
5019681626.60178571429341.398214285714
5114241612.40178571429-188.401785714286
5211601503.60178571429-343.601785714286
5312431518.80178571429-275.801785714286
5413751456.17023809524-81.1702380952379
5515391541.57023809524-2.57023809523802
5617731595.17023809524177.829761904762
5719061658.77023809524247.229761904762
5820761895.17023809524180.829761904762
5920041816.57023809524187.429761904762







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.2121690565909480.4243381131818960.787830943409052
180.1022566601337670.2045133202675350.897743339866233
190.04618999079247280.09237998158494560.953810009207527
200.02364987883431370.04729975766862740.976350121165686
210.009167711308852010.01833542261770400.990832288691148
220.006061945152548520.01212389030509700.993938054847451
230.002574940354757180.005149880709514360.997425059645243
240.001303825175416560.002607650350833110.998696174824584
250.001699135101260150.003398270202520300.99830086489874
260.0009069085491075720.001813817098215140.999093091450892
270.0004749813615473410.0009499627230946820.999525018638453
280.0001992992705898330.0003985985411796660.99980070072941
297.59769774509428e-050.0001519539549018860.99992402302255
300.0001091587165794410.0002183174331588820.99989084128342
310.0004359585848641620.0008719171697283230.999564041415136
320.0001938660567217760.0003877321134435520.999806133943278
330.0001632752114586920.0003265504229173850.999836724788541
347.72650041082006e-050.0001545300082164010.999922734995892
355.89521512398906e-050.0001179043024797810.99994104784876
360.0007065806141003230.001413161228200650.9992934193859
370.00179997069878230.00359994139756460.998200029301218
380.4434253805004930.8868507610009850.556574619499507
390.5278591704874760.9442816590250480.472140829512524
400.5553446628839350.889310674232130.444655337116065
410.4191350940807270.8382701881614530.580864905919273
420.3696012082111530.7392024164223050.630398791788847

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.212169056590948 & 0.424338113181896 & 0.787830943409052 \tabularnewline
18 & 0.102256660133767 & 0.204513320267535 & 0.897743339866233 \tabularnewline
19 & 0.0461899907924728 & 0.0923799815849456 & 0.953810009207527 \tabularnewline
20 & 0.0236498788343137 & 0.0472997576686274 & 0.976350121165686 \tabularnewline
21 & 0.00916771130885201 & 0.0183354226177040 & 0.990832288691148 \tabularnewline
22 & 0.00606194515254852 & 0.0121238903050970 & 0.993938054847451 \tabularnewline
23 & 0.00257494035475718 & 0.00514988070951436 & 0.997425059645243 \tabularnewline
24 & 0.00130382517541656 & 0.00260765035083311 & 0.998696174824584 \tabularnewline
25 & 0.00169913510126015 & 0.00339827020252030 & 0.99830086489874 \tabularnewline
26 & 0.000906908549107572 & 0.00181381709821514 & 0.999093091450892 \tabularnewline
27 & 0.000474981361547341 & 0.000949962723094682 & 0.999525018638453 \tabularnewline
28 & 0.000199299270589833 & 0.000398598541179666 & 0.99980070072941 \tabularnewline
29 & 7.59769774509428e-05 & 0.000151953954901886 & 0.99992402302255 \tabularnewline
30 & 0.000109158716579441 & 0.000218317433158882 & 0.99989084128342 \tabularnewline
31 & 0.000435958584864162 & 0.000871917169728323 & 0.999564041415136 \tabularnewline
32 & 0.000193866056721776 & 0.000387732113443552 & 0.999806133943278 \tabularnewline
33 & 0.000163275211458692 & 0.000326550422917385 & 0.999836724788541 \tabularnewline
34 & 7.72650041082006e-05 & 0.000154530008216401 & 0.999922734995892 \tabularnewline
35 & 5.89521512398906e-05 & 0.000117904302479781 & 0.99994104784876 \tabularnewline
36 & 0.000706580614100323 & 0.00141316122820065 & 0.9992934193859 \tabularnewline
37 & 0.0017999706987823 & 0.0035999413975646 & 0.998200029301218 \tabularnewline
38 & 0.443425380500493 & 0.886850761000985 & 0.556574619499507 \tabularnewline
39 & 0.527859170487476 & 0.944281659025048 & 0.472140829512524 \tabularnewline
40 & 0.555344662883935 & 0.88931067423213 & 0.444655337116065 \tabularnewline
41 & 0.419135094080727 & 0.838270188161453 & 0.580864905919273 \tabularnewline
42 & 0.369601208211153 & 0.739202416422305 & 0.630398791788847 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113759&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.212169056590948[/C][C]0.424338113181896[/C][C]0.787830943409052[/C][/ROW]
[ROW][C]18[/C][C]0.102256660133767[/C][C]0.204513320267535[/C][C]0.897743339866233[/C][/ROW]
[ROW][C]19[/C][C]0.0461899907924728[/C][C]0.0923799815849456[/C][C]0.953810009207527[/C][/ROW]
[ROW][C]20[/C][C]0.0236498788343137[/C][C]0.0472997576686274[/C][C]0.976350121165686[/C][/ROW]
[ROW][C]21[/C][C]0.00916771130885201[/C][C]0.0183354226177040[/C][C]0.990832288691148[/C][/ROW]
[ROW][C]22[/C][C]0.00606194515254852[/C][C]0.0121238903050970[/C][C]0.993938054847451[/C][/ROW]
[ROW][C]23[/C][C]0.00257494035475718[/C][C]0.00514988070951436[/C][C]0.997425059645243[/C][/ROW]
[ROW][C]24[/C][C]0.00130382517541656[/C][C]0.00260765035083311[/C][C]0.998696174824584[/C][/ROW]
[ROW][C]25[/C][C]0.00169913510126015[/C][C]0.00339827020252030[/C][C]0.99830086489874[/C][/ROW]
[ROW][C]26[/C][C]0.000906908549107572[/C][C]0.00181381709821514[/C][C]0.999093091450892[/C][/ROW]
[ROW][C]27[/C][C]0.000474981361547341[/C][C]0.000949962723094682[/C][C]0.999525018638453[/C][/ROW]
[ROW][C]28[/C][C]0.000199299270589833[/C][C]0.000398598541179666[/C][C]0.99980070072941[/C][/ROW]
[ROW][C]29[/C][C]7.59769774509428e-05[/C][C]0.000151953954901886[/C][C]0.99992402302255[/C][/ROW]
[ROW][C]30[/C][C]0.000109158716579441[/C][C]0.000218317433158882[/C][C]0.99989084128342[/C][/ROW]
[ROW][C]31[/C][C]0.000435958584864162[/C][C]0.000871917169728323[/C][C]0.999564041415136[/C][/ROW]
[ROW][C]32[/C][C]0.000193866056721776[/C][C]0.000387732113443552[/C][C]0.999806133943278[/C][/ROW]
[ROW][C]33[/C][C]0.000163275211458692[/C][C]0.000326550422917385[/C][C]0.999836724788541[/C][/ROW]
[ROW][C]34[/C][C]7.72650041082006e-05[/C][C]0.000154530008216401[/C][C]0.999922734995892[/C][/ROW]
[ROW][C]35[/C][C]5.89521512398906e-05[/C][C]0.000117904302479781[/C][C]0.99994104784876[/C][/ROW]
[ROW][C]36[/C][C]0.000706580614100323[/C][C]0.00141316122820065[/C][C]0.9992934193859[/C][/ROW]
[ROW][C]37[/C][C]0.0017999706987823[/C][C]0.0035999413975646[/C][C]0.998200029301218[/C][/ROW]
[ROW][C]38[/C][C]0.443425380500493[/C][C]0.886850761000985[/C][C]0.556574619499507[/C][/ROW]
[ROW][C]39[/C][C]0.527859170487476[/C][C]0.944281659025048[/C][C]0.472140829512524[/C][/ROW]
[ROW][C]40[/C][C]0.555344662883935[/C][C]0.88931067423213[/C][C]0.444655337116065[/C][/ROW]
[ROW][C]41[/C][C]0.419135094080727[/C][C]0.838270188161453[/C][C]0.580864905919273[/C][/ROW]
[ROW][C]42[/C][C]0.369601208211153[/C][C]0.739202416422305[/C][C]0.630398791788847[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113759&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113759&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.2121690565909480.4243381131818960.787830943409052
180.1022566601337670.2045133202675350.897743339866233
190.04618999079247280.09237998158494560.953810009207527
200.02364987883431370.04729975766862740.976350121165686
210.009167711308852010.01833542261770400.990832288691148
220.006061945152548520.01212389030509700.993938054847451
230.002574940354757180.005149880709514360.997425059645243
240.001303825175416560.002607650350833110.998696174824584
250.001699135101260150.003398270202520300.99830086489874
260.0009069085491075720.001813817098215140.999093091450892
270.0004749813615473410.0009499627230946820.999525018638453
280.0001992992705898330.0003985985411796660.99980070072941
297.59769774509428e-050.0001519539549018860.99992402302255
300.0001091587165794410.0002183174331588820.99989084128342
310.0004359585848641620.0008719171697283230.999564041415136
320.0001938660567217760.0003877321134435520.999806133943278
330.0001632752114586920.0003265504229173850.999836724788541
347.72650041082006e-050.0001545300082164010.999922734995892
355.89521512398906e-050.0001179043024797810.99994104784876
360.0007065806141003230.001413161228200650.9992934193859
370.00179997069878230.00359994139756460.998200029301218
380.4434253805004930.8868507610009850.556574619499507
390.5278591704874760.9442816590250480.472140829512524
400.5553446628839350.889310674232130.444655337116065
410.4191350940807270.8382701881614530.580864905919273
420.3696012082111530.7392024164223050.630398791788847







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level150.576923076923077NOK
5% type I error level180.692307692307692NOK
10% type I error level190.730769230769231NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113759&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 level150.576923076923077NOK
5% type I error level180.692307692307692NOK
10% type I error level190.730769230769231NOK



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