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, 23 Nov 2010 19:52:07 +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/Nov/23/t1290541833dr5wgdvtxec53jh.htm/, Retrieved Sat, 27 Apr 2024 05:01:35 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=99621, Retrieved Sat, 27 Apr 2024 05:01:35 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact159
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Competence to learn] [2010-11-17 07:43:53] [b98453cac15ba1066b407e146608df68]
-   PD  [Multiple Regression] [Meervoudige regre...] [2010-11-19 12:47:27] [2960375a246cc0628590c95c4038a43c]
-   PD    [Multiple Regression] [Meervoudige regre...] [2010-11-21 10:08:26] [2960375a246cc0628590c95c4038a43c]
-             [Multiple Regression] [Eerste meervoudig...] [2010-11-23 19:52:07] [85c2b01fe80f9fc86b9396d4d142e465] [Current]
Feedback Forum

Post a new message
Dataseries X:
16198,9	16896,2	0
16554,2	16698	0
19554,2	19691,6	0
15903,8	15930,7	0
18003,8	17444,6	0
18329,6	17699,4	0
16260,7	15189,8	0
14851,9	15672,7	0
18174,1	17180,8	0
18406,6	17664,9	0
18466,5	17862,9	0
16016,5	16162,3	0
17428,5	17463,6	0
17167,2	16772,1	0
19630	19106,9	0
17183,6	16721,3	0
18344,7	18161,3	0
19301,4	18509,9	0
18147,5	17802,7	0
16192,9	16409,9	0
18374,4	17967,7	0
20515,2	20286,6	0
18957,2	19537,3	0
16471,5	18021,9	0
18746,8	20194,3	0
19009,5	19049,6	0
19211,2	20244,7	0
20547,7	21473,3	0
19325,8	19673,6	0
20605,5	21053,2	0
20056,9	20159,5	0
16141,4	18203,6	0
20359,8	21289,5	0
19711,6	20432,3	1
15638,6	17180,4	1
14384,5	15816,8	1
13855,6	15071,8	1
14308,3	14521,1	1
15290,6	15668,8	1
14423,8	14346,9	1
13779,7	13881	1
15686,3	15465,9	1
14733,8	14238,2	1
12522,5	13557,7	1
16189,4	16127,6	1
16059,1	16793,9	1
16007,1	16014	1
15806,8	16867,9	1
15160	16014,6	0
15692,1	15878,6	0
18908,9	18664,9	0
16969,9	17962,5	0
16997,5	17332,7	0
19858,9	19542,1	0
17681,2	17203,6	0




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time12 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

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

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







Multiple Linear Regression - Estimated Regression Equation
uitvoer[t] = + 2113.94008826516 + 0.87631681502034invoer[t] -673.894099652128crisis[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
uitvoer[t] =  +  2113.94008826516 +  0.87631681502034invoer[t] -673.894099652128crisis[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=99621&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]uitvoer[t] =  +  2113.94008826516 +  0.87631681502034invoer[t] -673.894099652128crisis[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=99621&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=99621&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
uitvoer[t] = + 2113.94008826516 + 0.87631681502034invoer[t] -673.894099652128crisis[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)2113.940088265161023.7689212.06490.0439390.021969
invoer0.876316815020340.05618715.596400
crisis-673.894099652128245.819041-2.74140.0083670.004184

\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) & 2113.94008826516 & 1023.768921 & 2.0649 & 0.043939 & 0.021969 \tabularnewline
invoer & 0.87631681502034 & 0.056187 & 15.5964 & 0 & 0 \tabularnewline
crisis & -673.894099652128 & 245.819041 & -2.7414 & 0.008367 & 0.004184 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=99621&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]2113.94008826516[/C][C]1023.768921[/C][C]2.0649[/C][C]0.043939[/C][C]0.021969[/C][/ROW]
[ROW][C]invoer[/C][C]0.87631681502034[/C][C]0.056187[/C][C]15.5964[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]crisis[/C][C]-673.894099652128[/C][C]245.819041[/C][C]-2.7414[/C][C]0.008367[/C][C]0.004184[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=99621&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=99621&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)2113.940088265161023.7689212.06490.0439390.021969
invoer0.876316815020340.05618715.596400
crisis-673.894099652128245.819041-2.74140.0083670.004184







Multiple Linear Regression - Regression Statistics
Multiple R0.943748599824329
R-squared0.890661419670381
Adjusted R-squared0.886456089657704
F-TEST (value)211.793466145425
F-TEST (DF numerator)2
F-TEST (DF denominator)52
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation680.349569326576
Sum Squared Residuals24069527.8971086

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.943748599824329 \tabularnewline
R-squared & 0.890661419670381 \tabularnewline
Adjusted R-squared & 0.886456089657704 \tabularnewline
F-TEST (value) & 211.793466145425 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 52 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 680.349569326576 \tabularnewline
Sum Squared Residuals & 24069527.8971086 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=99621&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.943748599824329[/C][/ROW]
[ROW][C]R-squared[/C][C]0.890661419670381[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.886456089657704[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]211.793466145425[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]2[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]52[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]680.349569326576[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]24069527.8971086[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=99621&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=99621&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.943748599824329
R-squared0.890661419670381
Adjusted R-squared0.886456089657704
F-TEST (value)211.793466145425
F-TEST (DF numerator)2
F-TEST (DF denominator)52
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation680.349569326576
Sum Squared Residuals24069527.8971086







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
116198.916920.3642582118-721.464258211822
216554.216746.6782654748-192.478265474802
319554.219370.0202829197184.179717080307
415903.816074.2803733097-170.480373309698
518003.817400.936399569602.863600431011
618329.617624.2219240362705.378075963825
716260.715425.0172450611835.682754938875
814851.915848.1906350344-996.29063503445
918174.117169.76402376661004.33597623338
1018406.617593.9889939180812.611006082027
1118466.517767.499723292699.000276708
1216016.516277.2353476684-260.735347668407
1317428.517417.586419054410.9135809456248
1417167.216811.6133414678355.586658532191
151963018857.6378411773772.362158822697
1617183.616767.0964472648416.503552735221
1718344.718028.9926608941315.707339105934
1819301.418334.4767026102966.923297389841
1918147.517714.7454510278432.754548972226
2016192.916494.2113910674-301.311391067445
2118374.417859.3377255061515.062274493871
2220515.219891.4287878568623.771212143204
2318957.219234.8045983621-277.604598362055
2416471.517906.8340968802-1435.33409688023
2518746.819810.5447458304-1063.74474583042
2619009.518807.4248876766202.075112323365
2719211.219854.7111133074-643.511113307445
2820547.720931.3539522414-383.653952241434
2919325.819354.2465802493-28.4465802493284
3020605.520563.213258251442.2867417486085
3120056.919780.0489206677276.851079332289
3216141.418066.0608621694-1924.66086216943
3320359.820770.2869216407-410.486921640698
3419711.619345.2140481531366.385951846866
3515638.616495.5193973885-856.919397388489
3614384.515300.5737884268-916.073788426751
3713855.614647.7177612366-792.117761236598
3814308.314165.1300912049143.169908795102
3915290.615170.8788998037119.721100196260
4014423.814012.4757020284411.324297971646
4113779.713604.1996979104175.500302089624
4215686.314993.0742180361693.225781963885
4314733.813917.2200642356816.579935764356
4412522.513320.8864716143-798.386471614302
4516189.415572.9330545351616.466945464926
4616059.116156.8229483831-97.7229483831274
4716007.115473.3834643488533.716535651237
4815806.816221.6703926946-414.870392694634
491516016147.8033540899-987.803354089903
5015692.116028.6242672471-336.524267247137
5118908.918470.3058089383438.594191061689
5216969.917854.7808780680-884.880878068023
5316997.517302.8765479682-305.376547968215
5419858.919239.0109190742619.889080925849
5517681.217189.7440471491491.455952850914

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 16198.9 & 16920.3642582118 & -721.464258211822 \tabularnewline
2 & 16554.2 & 16746.6782654748 & -192.478265474802 \tabularnewline
3 & 19554.2 & 19370.0202829197 & 184.179717080307 \tabularnewline
4 & 15903.8 & 16074.2803733097 & -170.480373309698 \tabularnewline
5 & 18003.8 & 17400.936399569 & 602.863600431011 \tabularnewline
6 & 18329.6 & 17624.2219240362 & 705.378075963825 \tabularnewline
7 & 16260.7 & 15425.0172450611 & 835.682754938875 \tabularnewline
8 & 14851.9 & 15848.1906350344 & -996.29063503445 \tabularnewline
9 & 18174.1 & 17169.7640237666 & 1004.33597623338 \tabularnewline
10 & 18406.6 & 17593.9889939180 & 812.611006082027 \tabularnewline
11 & 18466.5 & 17767.499723292 & 699.000276708 \tabularnewline
12 & 16016.5 & 16277.2353476684 & -260.735347668407 \tabularnewline
13 & 17428.5 & 17417.5864190544 & 10.9135809456248 \tabularnewline
14 & 17167.2 & 16811.6133414678 & 355.586658532191 \tabularnewline
15 & 19630 & 18857.6378411773 & 772.362158822697 \tabularnewline
16 & 17183.6 & 16767.0964472648 & 416.503552735221 \tabularnewline
17 & 18344.7 & 18028.9926608941 & 315.707339105934 \tabularnewline
18 & 19301.4 & 18334.4767026102 & 966.923297389841 \tabularnewline
19 & 18147.5 & 17714.7454510278 & 432.754548972226 \tabularnewline
20 & 16192.9 & 16494.2113910674 & -301.311391067445 \tabularnewline
21 & 18374.4 & 17859.3377255061 & 515.062274493871 \tabularnewline
22 & 20515.2 & 19891.4287878568 & 623.771212143204 \tabularnewline
23 & 18957.2 & 19234.8045983621 & -277.604598362055 \tabularnewline
24 & 16471.5 & 17906.8340968802 & -1435.33409688023 \tabularnewline
25 & 18746.8 & 19810.5447458304 & -1063.74474583042 \tabularnewline
26 & 19009.5 & 18807.4248876766 & 202.075112323365 \tabularnewline
27 & 19211.2 & 19854.7111133074 & -643.511113307445 \tabularnewline
28 & 20547.7 & 20931.3539522414 & -383.653952241434 \tabularnewline
29 & 19325.8 & 19354.2465802493 & -28.4465802493284 \tabularnewline
30 & 20605.5 & 20563.2132582514 & 42.2867417486085 \tabularnewline
31 & 20056.9 & 19780.0489206677 & 276.851079332289 \tabularnewline
32 & 16141.4 & 18066.0608621694 & -1924.66086216943 \tabularnewline
33 & 20359.8 & 20770.2869216407 & -410.486921640698 \tabularnewline
34 & 19711.6 & 19345.2140481531 & 366.385951846866 \tabularnewline
35 & 15638.6 & 16495.5193973885 & -856.919397388489 \tabularnewline
36 & 14384.5 & 15300.5737884268 & -916.073788426751 \tabularnewline
37 & 13855.6 & 14647.7177612366 & -792.117761236598 \tabularnewline
38 & 14308.3 & 14165.1300912049 & 143.169908795102 \tabularnewline
39 & 15290.6 & 15170.8788998037 & 119.721100196260 \tabularnewline
40 & 14423.8 & 14012.4757020284 & 411.324297971646 \tabularnewline
41 & 13779.7 & 13604.1996979104 & 175.500302089624 \tabularnewline
42 & 15686.3 & 14993.0742180361 & 693.225781963885 \tabularnewline
43 & 14733.8 & 13917.2200642356 & 816.579935764356 \tabularnewline
44 & 12522.5 & 13320.8864716143 & -798.386471614302 \tabularnewline
45 & 16189.4 & 15572.9330545351 & 616.466945464926 \tabularnewline
46 & 16059.1 & 16156.8229483831 & -97.7229483831274 \tabularnewline
47 & 16007.1 & 15473.3834643488 & 533.716535651237 \tabularnewline
48 & 15806.8 & 16221.6703926946 & -414.870392694634 \tabularnewline
49 & 15160 & 16147.8033540899 & -987.803354089903 \tabularnewline
50 & 15692.1 & 16028.6242672471 & -336.524267247137 \tabularnewline
51 & 18908.9 & 18470.3058089383 & 438.594191061689 \tabularnewline
52 & 16969.9 & 17854.7808780680 & -884.880878068023 \tabularnewline
53 & 16997.5 & 17302.8765479682 & -305.376547968215 \tabularnewline
54 & 19858.9 & 19239.0109190742 & 619.889080925849 \tabularnewline
55 & 17681.2 & 17189.7440471491 & 491.455952850914 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=99621&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]16198.9[/C][C]16920.3642582118[/C][C]-721.464258211822[/C][/ROW]
[ROW][C]2[/C][C]16554.2[/C][C]16746.6782654748[/C][C]-192.478265474802[/C][/ROW]
[ROW][C]3[/C][C]19554.2[/C][C]19370.0202829197[/C][C]184.179717080307[/C][/ROW]
[ROW][C]4[/C][C]15903.8[/C][C]16074.2803733097[/C][C]-170.480373309698[/C][/ROW]
[ROW][C]5[/C][C]18003.8[/C][C]17400.936399569[/C][C]602.863600431011[/C][/ROW]
[ROW][C]6[/C][C]18329.6[/C][C]17624.2219240362[/C][C]705.378075963825[/C][/ROW]
[ROW][C]7[/C][C]16260.7[/C][C]15425.0172450611[/C][C]835.682754938875[/C][/ROW]
[ROW][C]8[/C][C]14851.9[/C][C]15848.1906350344[/C][C]-996.29063503445[/C][/ROW]
[ROW][C]9[/C][C]18174.1[/C][C]17169.7640237666[/C][C]1004.33597623338[/C][/ROW]
[ROW][C]10[/C][C]18406.6[/C][C]17593.9889939180[/C][C]812.611006082027[/C][/ROW]
[ROW][C]11[/C][C]18466.5[/C][C]17767.499723292[/C][C]699.000276708[/C][/ROW]
[ROW][C]12[/C][C]16016.5[/C][C]16277.2353476684[/C][C]-260.735347668407[/C][/ROW]
[ROW][C]13[/C][C]17428.5[/C][C]17417.5864190544[/C][C]10.9135809456248[/C][/ROW]
[ROW][C]14[/C][C]17167.2[/C][C]16811.6133414678[/C][C]355.586658532191[/C][/ROW]
[ROW][C]15[/C][C]19630[/C][C]18857.6378411773[/C][C]772.362158822697[/C][/ROW]
[ROW][C]16[/C][C]17183.6[/C][C]16767.0964472648[/C][C]416.503552735221[/C][/ROW]
[ROW][C]17[/C][C]18344.7[/C][C]18028.9926608941[/C][C]315.707339105934[/C][/ROW]
[ROW][C]18[/C][C]19301.4[/C][C]18334.4767026102[/C][C]966.923297389841[/C][/ROW]
[ROW][C]19[/C][C]18147.5[/C][C]17714.7454510278[/C][C]432.754548972226[/C][/ROW]
[ROW][C]20[/C][C]16192.9[/C][C]16494.2113910674[/C][C]-301.311391067445[/C][/ROW]
[ROW][C]21[/C][C]18374.4[/C][C]17859.3377255061[/C][C]515.062274493871[/C][/ROW]
[ROW][C]22[/C][C]20515.2[/C][C]19891.4287878568[/C][C]623.771212143204[/C][/ROW]
[ROW][C]23[/C][C]18957.2[/C][C]19234.8045983621[/C][C]-277.604598362055[/C][/ROW]
[ROW][C]24[/C][C]16471.5[/C][C]17906.8340968802[/C][C]-1435.33409688023[/C][/ROW]
[ROW][C]25[/C][C]18746.8[/C][C]19810.5447458304[/C][C]-1063.74474583042[/C][/ROW]
[ROW][C]26[/C][C]19009.5[/C][C]18807.4248876766[/C][C]202.075112323365[/C][/ROW]
[ROW][C]27[/C][C]19211.2[/C][C]19854.7111133074[/C][C]-643.511113307445[/C][/ROW]
[ROW][C]28[/C][C]20547.7[/C][C]20931.3539522414[/C][C]-383.653952241434[/C][/ROW]
[ROW][C]29[/C][C]19325.8[/C][C]19354.2465802493[/C][C]-28.4465802493284[/C][/ROW]
[ROW][C]30[/C][C]20605.5[/C][C]20563.2132582514[/C][C]42.2867417486085[/C][/ROW]
[ROW][C]31[/C][C]20056.9[/C][C]19780.0489206677[/C][C]276.851079332289[/C][/ROW]
[ROW][C]32[/C][C]16141.4[/C][C]18066.0608621694[/C][C]-1924.66086216943[/C][/ROW]
[ROW][C]33[/C][C]20359.8[/C][C]20770.2869216407[/C][C]-410.486921640698[/C][/ROW]
[ROW][C]34[/C][C]19711.6[/C][C]19345.2140481531[/C][C]366.385951846866[/C][/ROW]
[ROW][C]35[/C][C]15638.6[/C][C]16495.5193973885[/C][C]-856.919397388489[/C][/ROW]
[ROW][C]36[/C][C]14384.5[/C][C]15300.5737884268[/C][C]-916.073788426751[/C][/ROW]
[ROW][C]37[/C][C]13855.6[/C][C]14647.7177612366[/C][C]-792.117761236598[/C][/ROW]
[ROW][C]38[/C][C]14308.3[/C][C]14165.1300912049[/C][C]143.169908795102[/C][/ROW]
[ROW][C]39[/C][C]15290.6[/C][C]15170.8788998037[/C][C]119.721100196260[/C][/ROW]
[ROW][C]40[/C][C]14423.8[/C][C]14012.4757020284[/C][C]411.324297971646[/C][/ROW]
[ROW][C]41[/C][C]13779.7[/C][C]13604.1996979104[/C][C]175.500302089624[/C][/ROW]
[ROW][C]42[/C][C]15686.3[/C][C]14993.0742180361[/C][C]693.225781963885[/C][/ROW]
[ROW][C]43[/C][C]14733.8[/C][C]13917.2200642356[/C][C]816.579935764356[/C][/ROW]
[ROW][C]44[/C][C]12522.5[/C][C]13320.8864716143[/C][C]-798.386471614302[/C][/ROW]
[ROW][C]45[/C][C]16189.4[/C][C]15572.9330545351[/C][C]616.466945464926[/C][/ROW]
[ROW][C]46[/C][C]16059.1[/C][C]16156.8229483831[/C][C]-97.7229483831274[/C][/ROW]
[ROW][C]47[/C][C]16007.1[/C][C]15473.3834643488[/C][C]533.716535651237[/C][/ROW]
[ROW][C]48[/C][C]15806.8[/C][C]16221.6703926946[/C][C]-414.870392694634[/C][/ROW]
[ROW][C]49[/C][C]15160[/C][C]16147.8033540899[/C][C]-987.803354089903[/C][/ROW]
[ROW][C]50[/C][C]15692.1[/C][C]16028.6242672471[/C][C]-336.524267247137[/C][/ROW]
[ROW][C]51[/C][C]18908.9[/C][C]18470.3058089383[/C][C]438.594191061689[/C][/ROW]
[ROW][C]52[/C][C]16969.9[/C][C]17854.7808780680[/C][C]-884.880878068023[/C][/ROW]
[ROW][C]53[/C][C]16997.5[/C][C]17302.8765479682[/C][C]-305.376547968215[/C][/ROW]
[ROW][C]54[/C][C]19858.9[/C][C]19239.0109190742[/C][C]619.889080925849[/C][/ROW]
[ROW][C]55[/C][C]17681.2[/C][C]17189.7440471491[/C][C]491.455952850914[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=99621&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=99621&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
116198.916920.3642582118-721.464258211822
216554.216746.6782654748-192.478265474802
319554.219370.0202829197184.179717080307
415903.816074.2803733097-170.480373309698
518003.817400.936399569602.863600431011
618329.617624.2219240362705.378075963825
716260.715425.0172450611835.682754938875
814851.915848.1906350344-996.29063503445
918174.117169.76402376661004.33597623338
1018406.617593.9889939180812.611006082027
1118466.517767.499723292699.000276708
1216016.516277.2353476684-260.735347668407
1317428.517417.586419054410.9135809456248
1417167.216811.6133414678355.586658532191
151963018857.6378411773772.362158822697
1617183.616767.0964472648416.503552735221
1718344.718028.9926608941315.707339105934
1819301.418334.4767026102966.923297389841
1918147.517714.7454510278432.754548972226
2016192.916494.2113910674-301.311391067445
2118374.417859.3377255061515.062274493871
2220515.219891.4287878568623.771212143204
2318957.219234.8045983621-277.604598362055
2416471.517906.8340968802-1435.33409688023
2518746.819810.5447458304-1063.74474583042
2619009.518807.4248876766202.075112323365
2719211.219854.7111133074-643.511113307445
2820547.720931.3539522414-383.653952241434
2919325.819354.2465802493-28.4465802493284
3020605.520563.213258251442.2867417486085
3120056.919780.0489206677276.851079332289
3216141.418066.0608621694-1924.66086216943
3320359.820770.2869216407-410.486921640698
3419711.619345.2140481531366.385951846866
3515638.616495.5193973885-856.919397388489
3614384.515300.5737884268-916.073788426751
3713855.614647.7177612366-792.117761236598
3814308.314165.1300912049143.169908795102
3915290.615170.8788998037119.721100196260
4014423.814012.4757020284411.324297971646
4113779.713604.1996979104175.500302089624
4215686.314993.0742180361693.225781963885
4314733.813917.2200642356816.579935764356
4412522.513320.8864716143-798.386471614302
4516189.415572.9330545351616.466945464926
4616059.116156.8229483831-97.7229483831274
4716007.115473.3834643488533.716535651237
4815806.816221.6703926946-414.870392694634
491516016147.8033540899-987.803354089903
5015692.116028.6242672471-336.524267247137
5118908.918470.3058089383438.594191061689
5216969.917854.7808780680-884.880878068023
5316997.517302.8765479682-305.376547968215
5419858.919239.0109190742619.889080925849
5517681.217189.7440471491491.455952850914







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
60.5122357933606640.9755284132786720.487764206639336
70.5875490051833180.8249019896333630.412450994816682
80.7080542667007530.5838914665984930.291945733299247
90.7550401026461880.4899197947076240.244959897353812
100.7236507619824860.5526984760350280.276349238017514
110.6637126735334660.6725746529330690.336287326466534
120.5801873164710730.8396253670578530.419812683528927
130.4885323430904350.977064686180870.511467656909565
140.4045077395168980.8090154790337970.595492260483102
150.3498001066725120.6996002133450230.650199893327488
160.2892479611990470.5784959223980930.710752038800953
170.2253534476216830.4507068952433670.774646552378317
180.2390493833865560.4780987667731130.760950616613444
190.1950003786157630.3900007572315250.804999621384237
200.1566870177875070.3133740355750140.843312982212493
210.1331213215516050.2662426431032110.866878678448395
220.1228753681834780.2457507363669570.877124631816522
230.1527854782190560.3055709564381120.847214521780944
240.486868112354520.973736224709040.51313188764548
250.6574124088055180.6851751823889630.342587591194482
260.5975249692745740.8049500614508520.402475030725426
270.5880110493801480.8239779012397030.411988950619852
280.5273742123952780.9452515752094430.472625787604722
290.4483804372019450.8967608744038890.551619562798055
300.3717842227727030.7435684455454060.628215777227297
310.3235043245394280.6470086490788550.676495675460572
320.7756533981980490.4486932036039030.224346601801951
330.7313892315478320.5372215369043360.268610768452168
340.6573291708900610.6853416582198790.342670829109939
350.7412624597056230.5174750805887550.258737540294378
360.8137855331754040.3724289336491920.186214466824596
370.8510292211241170.2979415577517650.148970778875883
380.8027251209577560.3945497580844870.197274879042244
390.7416698458974810.5166603082050380.258330154102519
400.6940552039152480.6118895921695050.305944796084752
410.6167348182393780.7665303635212440.383265181760622
420.5993079628921570.8013840742156850.400692037107843
430.7572511692983240.4854976614033510.242748830701676
440.6891313775235160.6217372449529680.310868622476484
450.6788737705925120.6422524588149760.321126229407488
460.5670589665390060.8658820669219880.432941033460994
470.637561999852830.724876000294340.36243800014717
480.4900986753877340.9801973507754680.509901324612266
490.4170778091995590.8341556183991190.58292219080044

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
6 & 0.512235793360664 & 0.975528413278672 & 0.487764206639336 \tabularnewline
7 & 0.587549005183318 & 0.824901989633363 & 0.412450994816682 \tabularnewline
8 & 0.708054266700753 & 0.583891466598493 & 0.291945733299247 \tabularnewline
9 & 0.755040102646188 & 0.489919794707624 & 0.244959897353812 \tabularnewline
10 & 0.723650761982486 & 0.552698476035028 & 0.276349238017514 \tabularnewline
11 & 0.663712673533466 & 0.672574652933069 & 0.336287326466534 \tabularnewline
12 & 0.580187316471073 & 0.839625367057853 & 0.419812683528927 \tabularnewline
13 & 0.488532343090435 & 0.97706468618087 & 0.511467656909565 \tabularnewline
14 & 0.404507739516898 & 0.809015479033797 & 0.595492260483102 \tabularnewline
15 & 0.349800106672512 & 0.699600213345023 & 0.650199893327488 \tabularnewline
16 & 0.289247961199047 & 0.578495922398093 & 0.710752038800953 \tabularnewline
17 & 0.225353447621683 & 0.450706895243367 & 0.774646552378317 \tabularnewline
18 & 0.239049383386556 & 0.478098766773113 & 0.760950616613444 \tabularnewline
19 & 0.195000378615763 & 0.390000757231525 & 0.804999621384237 \tabularnewline
20 & 0.156687017787507 & 0.313374035575014 & 0.843312982212493 \tabularnewline
21 & 0.133121321551605 & 0.266242643103211 & 0.866878678448395 \tabularnewline
22 & 0.122875368183478 & 0.245750736366957 & 0.877124631816522 \tabularnewline
23 & 0.152785478219056 & 0.305570956438112 & 0.847214521780944 \tabularnewline
24 & 0.48686811235452 & 0.97373622470904 & 0.51313188764548 \tabularnewline
25 & 0.657412408805518 & 0.685175182388963 & 0.342587591194482 \tabularnewline
26 & 0.597524969274574 & 0.804950061450852 & 0.402475030725426 \tabularnewline
27 & 0.588011049380148 & 0.823977901239703 & 0.411988950619852 \tabularnewline
28 & 0.527374212395278 & 0.945251575209443 & 0.472625787604722 \tabularnewline
29 & 0.448380437201945 & 0.896760874403889 & 0.551619562798055 \tabularnewline
30 & 0.371784222772703 & 0.743568445545406 & 0.628215777227297 \tabularnewline
31 & 0.323504324539428 & 0.647008649078855 & 0.676495675460572 \tabularnewline
32 & 0.775653398198049 & 0.448693203603903 & 0.224346601801951 \tabularnewline
33 & 0.731389231547832 & 0.537221536904336 & 0.268610768452168 \tabularnewline
34 & 0.657329170890061 & 0.685341658219879 & 0.342670829109939 \tabularnewline
35 & 0.741262459705623 & 0.517475080588755 & 0.258737540294378 \tabularnewline
36 & 0.813785533175404 & 0.372428933649192 & 0.186214466824596 \tabularnewline
37 & 0.851029221124117 & 0.297941557751765 & 0.148970778875883 \tabularnewline
38 & 0.802725120957756 & 0.394549758084487 & 0.197274879042244 \tabularnewline
39 & 0.741669845897481 & 0.516660308205038 & 0.258330154102519 \tabularnewline
40 & 0.694055203915248 & 0.611889592169505 & 0.305944796084752 \tabularnewline
41 & 0.616734818239378 & 0.766530363521244 & 0.383265181760622 \tabularnewline
42 & 0.599307962892157 & 0.801384074215685 & 0.400692037107843 \tabularnewline
43 & 0.757251169298324 & 0.485497661403351 & 0.242748830701676 \tabularnewline
44 & 0.689131377523516 & 0.621737244952968 & 0.310868622476484 \tabularnewline
45 & 0.678873770592512 & 0.642252458814976 & 0.321126229407488 \tabularnewline
46 & 0.567058966539006 & 0.865882066921988 & 0.432941033460994 \tabularnewline
47 & 0.63756199985283 & 0.72487600029434 & 0.36243800014717 \tabularnewline
48 & 0.490098675387734 & 0.980197350775468 & 0.509901324612266 \tabularnewline
49 & 0.417077809199559 & 0.834155618399119 & 0.58292219080044 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=99621&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]6[/C][C]0.512235793360664[/C][C]0.975528413278672[/C][C]0.487764206639336[/C][/ROW]
[ROW][C]7[/C][C]0.587549005183318[/C][C]0.824901989633363[/C][C]0.412450994816682[/C][/ROW]
[ROW][C]8[/C][C]0.708054266700753[/C][C]0.583891466598493[/C][C]0.291945733299247[/C][/ROW]
[ROW][C]9[/C][C]0.755040102646188[/C][C]0.489919794707624[/C][C]0.244959897353812[/C][/ROW]
[ROW][C]10[/C][C]0.723650761982486[/C][C]0.552698476035028[/C][C]0.276349238017514[/C][/ROW]
[ROW][C]11[/C][C]0.663712673533466[/C][C]0.672574652933069[/C][C]0.336287326466534[/C][/ROW]
[ROW][C]12[/C][C]0.580187316471073[/C][C]0.839625367057853[/C][C]0.419812683528927[/C][/ROW]
[ROW][C]13[/C][C]0.488532343090435[/C][C]0.97706468618087[/C][C]0.511467656909565[/C][/ROW]
[ROW][C]14[/C][C]0.404507739516898[/C][C]0.809015479033797[/C][C]0.595492260483102[/C][/ROW]
[ROW][C]15[/C][C]0.349800106672512[/C][C]0.699600213345023[/C][C]0.650199893327488[/C][/ROW]
[ROW][C]16[/C][C]0.289247961199047[/C][C]0.578495922398093[/C][C]0.710752038800953[/C][/ROW]
[ROW][C]17[/C][C]0.225353447621683[/C][C]0.450706895243367[/C][C]0.774646552378317[/C][/ROW]
[ROW][C]18[/C][C]0.239049383386556[/C][C]0.478098766773113[/C][C]0.760950616613444[/C][/ROW]
[ROW][C]19[/C][C]0.195000378615763[/C][C]0.390000757231525[/C][C]0.804999621384237[/C][/ROW]
[ROW][C]20[/C][C]0.156687017787507[/C][C]0.313374035575014[/C][C]0.843312982212493[/C][/ROW]
[ROW][C]21[/C][C]0.133121321551605[/C][C]0.266242643103211[/C][C]0.866878678448395[/C][/ROW]
[ROW][C]22[/C][C]0.122875368183478[/C][C]0.245750736366957[/C][C]0.877124631816522[/C][/ROW]
[ROW][C]23[/C][C]0.152785478219056[/C][C]0.305570956438112[/C][C]0.847214521780944[/C][/ROW]
[ROW][C]24[/C][C]0.48686811235452[/C][C]0.97373622470904[/C][C]0.51313188764548[/C][/ROW]
[ROW][C]25[/C][C]0.657412408805518[/C][C]0.685175182388963[/C][C]0.342587591194482[/C][/ROW]
[ROW][C]26[/C][C]0.597524969274574[/C][C]0.804950061450852[/C][C]0.402475030725426[/C][/ROW]
[ROW][C]27[/C][C]0.588011049380148[/C][C]0.823977901239703[/C][C]0.411988950619852[/C][/ROW]
[ROW][C]28[/C][C]0.527374212395278[/C][C]0.945251575209443[/C][C]0.472625787604722[/C][/ROW]
[ROW][C]29[/C][C]0.448380437201945[/C][C]0.896760874403889[/C][C]0.551619562798055[/C][/ROW]
[ROW][C]30[/C][C]0.371784222772703[/C][C]0.743568445545406[/C][C]0.628215777227297[/C][/ROW]
[ROW][C]31[/C][C]0.323504324539428[/C][C]0.647008649078855[/C][C]0.676495675460572[/C][/ROW]
[ROW][C]32[/C][C]0.775653398198049[/C][C]0.448693203603903[/C][C]0.224346601801951[/C][/ROW]
[ROW][C]33[/C][C]0.731389231547832[/C][C]0.537221536904336[/C][C]0.268610768452168[/C][/ROW]
[ROW][C]34[/C][C]0.657329170890061[/C][C]0.685341658219879[/C][C]0.342670829109939[/C][/ROW]
[ROW][C]35[/C][C]0.741262459705623[/C][C]0.517475080588755[/C][C]0.258737540294378[/C][/ROW]
[ROW][C]36[/C][C]0.813785533175404[/C][C]0.372428933649192[/C][C]0.186214466824596[/C][/ROW]
[ROW][C]37[/C][C]0.851029221124117[/C][C]0.297941557751765[/C][C]0.148970778875883[/C][/ROW]
[ROW][C]38[/C][C]0.802725120957756[/C][C]0.394549758084487[/C][C]0.197274879042244[/C][/ROW]
[ROW][C]39[/C][C]0.741669845897481[/C][C]0.516660308205038[/C][C]0.258330154102519[/C][/ROW]
[ROW][C]40[/C][C]0.694055203915248[/C][C]0.611889592169505[/C][C]0.305944796084752[/C][/ROW]
[ROW][C]41[/C][C]0.616734818239378[/C][C]0.766530363521244[/C][C]0.383265181760622[/C][/ROW]
[ROW][C]42[/C][C]0.599307962892157[/C][C]0.801384074215685[/C][C]0.400692037107843[/C][/ROW]
[ROW][C]43[/C][C]0.757251169298324[/C][C]0.485497661403351[/C][C]0.242748830701676[/C][/ROW]
[ROW][C]44[/C][C]0.689131377523516[/C][C]0.621737244952968[/C][C]0.310868622476484[/C][/ROW]
[ROW][C]45[/C][C]0.678873770592512[/C][C]0.642252458814976[/C][C]0.321126229407488[/C][/ROW]
[ROW][C]46[/C][C]0.567058966539006[/C][C]0.865882066921988[/C][C]0.432941033460994[/C][/ROW]
[ROW][C]47[/C][C]0.63756199985283[/C][C]0.72487600029434[/C][C]0.36243800014717[/C][/ROW]
[ROW][C]48[/C][C]0.490098675387734[/C][C]0.980197350775468[/C][C]0.509901324612266[/C][/ROW]
[ROW][C]49[/C][C]0.417077809199559[/C][C]0.834155618399119[/C][C]0.58292219080044[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=99621&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=99621&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
60.5122357933606640.9755284132786720.487764206639336
70.5875490051833180.8249019896333630.412450994816682
80.7080542667007530.5838914665984930.291945733299247
90.7550401026461880.4899197947076240.244959897353812
100.7236507619824860.5526984760350280.276349238017514
110.6637126735334660.6725746529330690.336287326466534
120.5801873164710730.8396253670578530.419812683528927
130.4885323430904350.977064686180870.511467656909565
140.4045077395168980.8090154790337970.595492260483102
150.3498001066725120.6996002133450230.650199893327488
160.2892479611990470.5784959223980930.710752038800953
170.2253534476216830.4507068952433670.774646552378317
180.2390493833865560.4780987667731130.760950616613444
190.1950003786157630.3900007572315250.804999621384237
200.1566870177875070.3133740355750140.843312982212493
210.1331213215516050.2662426431032110.866878678448395
220.1228753681834780.2457507363669570.877124631816522
230.1527854782190560.3055709564381120.847214521780944
240.486868112354520.973736224709040.51313188764548
250.6574124088055180.6851751823889630.342587591194482
260.5975249692745740.8049500614508520.402475030725426
270.5880110493801480.8239779012397030.411988950619852
280.5273742123952780.9452515752094430.472625787604722
290.4483804372019450.8967608744038890.551619562798055
300.3717842227727030.7435684455454060.628215777227297
310.3235043245394280.6470086490788550.676495675460572
320.7756533981980490.4486932036039030.224346601801951
330.7313892315478320.5372215369043360.268610768452168
340.6573291708900610.6853416582198790.342670829109939
350.7412624597056230.5174750805887550.258737540294378
360.8137855331754040.3724289336491920.186214466824596
370.8510292211241170.2979415577517650.148970778875883
380.8027251209577560.3945497580844870.197274879042244
390.7416698458974810.5166603082050380.258330154102519
400.6940552039152480.6118895921695050.305944796084752
410.6167348182393780.7665303635212440.383265181760622
420.5993079628921570.8013840742156850.400692037107843
430.7572511692983240.4854976614033510.242748830701676
440.6891313775235160.6217372449529680.310868622476484
450.6788737705925120.6422524588149760.321126229407488
460.5670589665390060.8658820669219880.432941033460994
470.637561999852830.724876000294340.36243800014717
480.4900986753877340.9801973507754680.509901324612266
490.4170778091995590.8341556183991190.58292219080044







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

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

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



Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ; par4 = ; par5 = ; par6 = ; par7 = ; par8 = ; par9 = ; par10 = ; par11 = ; par12 = ; par13 = ; par14 = ; par15 = ; par16 = ; par17 = ; par18 = ; par19 = ; par20 = ;
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')
}