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 computationSat, 20 Nov 2010 11:21:05 +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/20/t12902520536p6a38ucn7c7gm4.htm/, Retrieved Sat, 27 Apr 2024 12:03:21 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=98181, Retrieved Sat, 27 Apr 2024 12:03:21 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact173
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]
-    D    [Multiple Regression] [Workshop 7: Multi...] [2010-11-20 09:52:53] [62f7c80c4d96454bbd2b2b026ea9aad9]
-   P       [Multiple Regression] [Workshop 7: Multi...] [2010-11-20 10:15:55] [62f7c80c4d96454bbd2b2b026ea9aad9]
-    D          [Multiple Regression] [Workshop 7: Multi...] [2010-11-20 11:21:05] [8eb352cba3cf694c3df89d0a436a2f1b] [Current]
-    D            [Multiple Regression] [Invoer X crisis] [2010-11-25 08:22:21] [62f7c80c4d96454bbd2b2b026ea9aad9]
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 time42 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 42 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=98181&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]42 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=98181&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=98181&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 time42 seconds
R Server'George Udny Yule' @ 72.249.76.132







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=98181&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=98181&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=98181&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=98181&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=98181&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=98181&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=98181&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=98181&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=98181&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.464258211815
216554.216746.6782654748-192.478265474808
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.33597623337
1018406.617593.9889939180812.611006082026
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.707339105933
1819301.418334.4767026102966.923297389841
1918147.517714.7454510278432.754548972226
2016192.916494.2113910674-301.311391067446
2118374.417859.3377255061515.062274493871
2220515.219891.4287878568623.771212143205
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.4465802493283
3020605.520563.213258251442.2867417486092
3120056.919780.0489206677276.851079332289
3216141.418066.0608621694-1924.66086216943
3320359.820770.2869216407-410.486921640698
3419711.619345.2140481531366.385951846866
3515638.616495.5193973885-856.91939738849
3614384.515300.5737884268-916.073788426751
3713855.614647.7177612366-792.117761236598
3814308.314165.1300912049143.169908795102
3915290.615170.8788998037119.721100196259
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.7229483831275
4716007.115473.3834643488533.716535651237
4815806.816221.6703926946-414.870392694634
491516016147.8033540899-987.803354089904
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.464258211815 \tabularnewline
2 & 16554.2 & 16746.6782654748 & -192.478265474808 \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.33597623337 \tabularnewline
10 & 18406.6 & 17593.9889939180 & 812.611006082026 \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.707339105933 \tabularnewline
18 & 19301.4 & 18334.4767026102 & 966.923297389841 \tabularnewline
19 & 18147.5 & 17714.7454510278 & 432.754548972226 \tabularnewline
20 & 16192.9 & 16494.2113910674 & -301.311391067446 \tabularnewline
21 & 18374.4 & 17859.3377255061 & 515.062274493871 \tabularnewline
22 & 20515.2 & 19891.4287878568 & 623.771212143205 \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.4465802493283 \tabularnewline
30 & 20605.5 & 20563.2132582514 & 42.2867417486092 \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.91939738849 \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.721100196259 \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.7229483831275 \tabularnewline
47 & 16007.1 & 15473.3834643488 & 533.716535651237 \tabularnewline
48 & 15806.8 & 16221.6703926946 & -414.870392694634 \tabularnewline
49 & 15160 & 16147.8033540899 & -987.803354089904 \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=98181&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.464258211815[/C][/ROW]
[ROW][C]2[/C][C]16554.2[/C][C]16746.6782654748[/C][C]-192.478265474808[/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.33597623337[/C][/ROW]
[ROW][C]10[/C][C]18406.6[/C][C]17593.9889939180[/C][C]812.611006082026[/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.707339105933[/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.311391067446[/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.771212143205[/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.4465802493283[/C][/ROW]
[ROW][C]30[/C][C]20605.5[/C][C]20563.2132582514[/C][C]42.2867417486092[/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.91939738849[/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.721100196259[/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.7229483831275[/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.803354089904[/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=98181&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=98181&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.464258211815
216554.216746.6782654748-192.478265474808
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.33597623337
1018406.617593.9889939180812.611006082026
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.707339105933
1819301.418334.4767026102966.923297389841
1918147.517714.7454510278432.754548972226
2016192.916494.2113910674-301.311391067446
2118374.417859.3377255061515.062274493871
2220515.219891.4287878568623.771212143205
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.4465802493283
3020605.520563.213258251442.2867417486092
3120056.919780.0489206677276.851079332289
3216141.418066.0608621694-1924.66086216943
3320359.820770.2869216407-410.486921640698
3419711.619345.2140481531366.385951846866
3515638.616495.5193973885-856.91939738849
3614384.515300.5737884268-916.073788426751
3713855.614647.7177612366-792.117761236598
3814308.314165.1300912049143.169908795102
3915290.615170.8788998037119.721100196259
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.7229483831275
4716007.115473.3834643488533.716535651237
4815806.816221.6703926946-414.870392694634
491516016147.8033540899-987.803354089904
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.5122357933606660.9755284132786670.487764206639334
70.5875490051833160.8249019896333670.412450994816684
80.708054266700750.58389146659850.29194573329925
90.7550401026461920.4899197947076170.244959897353808
100.7236507619824880.5526984760350230.276349238017512
110.6637126735334690.6725746529330620.336287326466531
120.580187316471080.839625367057840.41981268352892
130.4885323430904360.9770646861808720.511467656909564
140.4045077395168960.8090154790337920.595492260483104
150.349800106672510.699600213345020.65019989332749
160.2892479611990420.5784959223980850.710752038800958
170.2253534476216880.4507068952433770.774646552378312
180.2390493833865540.4780987667731090.760950616613446
190.1950003786157620.3900007572315250.804999621384238
200.1566870177875070.3133740355750140.843312982212493
210.1331213215516060.2662426431032130.866878678448394
220.1228753681834790.2457507363669570.877124631816521
230.1527854782190570.3055709564381140.847214521780943
240.4868681123545240.9737362247090480.513131887645476
250.6574124088055180.6851751823889650.342587591194482
260.5975249692745690.8049500614508620.402475030725431
270.5880110493801470.8239779012397050.411988950619853
280.5273742123952820.9452515752094370.472625787604718
290.4483804372019430.8967608744038850.551619562798057
300.3717842227726940.7435684455453890.628215777227306
310.3235043245394290.6470086490788580.676495675460571
320.7756533981980450.448693203603910.224346601801955
330.731389231547830.5372215369043390.268610768452170
340.6573291708900630.6853416582198750.342670829109937
350.741262459705620.517475080588760.25873754029438
360.8137855331754020.3724289336491970.186214466824598
370.8510292211241180.2979415577517630.148970778875882
380.8027251209577550.394549758084490.197274879042245
390.741669845897480.5166603082050390.258330154102519
400.6940552039152480.6118895921695050.305944796084752
410.6167348182393760.7665303635212480.383265181760624
420.599307962892160.8013840742156810.400692037107840
430.7572511692983240.4854976614033530.242748830701676
440.6891313775235150.6217372449529690.310868622476485
450.6788737705925120.6422524588149750.321126229407488
460.5670589665390070.8658820669219860.432941033460993
470.637561999852830.7248760002943410.362438000147170
480.4900986753877310.9801973507754610.509901324612269
490.4170778091995580.8341556183991150.582922190800442

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
6 & 0.512235793360666 & 0.975528413278667 & 0.487764206639334 \tabularnewline
7 & 0.587549005183316 & 0.824901989633367 & 0.412450994816684 \tabularnewline
8 & 0.70805426670075 & 0.5838914665985 & 0.29194573329925 \tabularnewline
9 & 0.755040102646192 & 0.489919794707617 & 0.244959897353808 \tabularnewline
10 & 0.723650761982488 & 0.552698476035023 & 0.276349238017512 \tabularnewline
11 & 0.663712673533469 & 0.672574652933062 & 0.336287326466531 \tabularnewline
12 & 0.58018731647108 & 0.83962536705784 & 0.41981268352892 \tabularnewline
13 & 0.488532343090436 & 0.977064686180872 & 0.511467656909564 \tabularnewline
14 & 0.404507739516896 & 0.809015479033792 & 0.595492260483104 \tabularnewline
15 & 0.34980010667251 & 0.69960021334502 & 0.65019989332749 \tabularnewline
16 & 0.289247961199042 & 0.578495922398085 & 0.710752038800958 \tabularnewline
17 & 0.225353447621688 & 0.450706895243377 & 0.774646552378312 \tabularnewline
18 & 0.239049383386554 & 0.478098766773109 & 0.760950616613446 \tabularnewline
19 & 0.195000378615762 & 0.390000757231525 & 0.804999621384238 \tabularnewline
20 & 0.156687017787507 & 0.313374035575014 & 0.843312982212493 \tabularnewline
21 & 0.133121321551606 & 0.266242643103213 & 0.866878678448394 \tabularnewline
22 & 0.122875368183479 & 0.245750736366957 & 0.877124631816521 \tabularnewline
23 & 0.152785478219057 & 0.305570956438114 & 0.847214521780943 \tabularnewline
24 & 0.486868112354524 & 0.973736224709048 & 0.513131887645476 \tabularnewline
25 & 0.657412408805518 & 0.685175182388965 & 0.342587591194482 \tabularnewline
26 & 0.597524969274569 & 0.804950061450862 & 0.402475030725431 \tabularnewline
27 & 0.588011049380147 & 0.823977901239705 & 0.411988950619853 \tabularnewline
28 & 0.527374212395282 & 0.945251575209437 & 0.472625787604718 \tabularnewline
29 & 0.448380437201943 & 0.896760874403885 & 0.551619562798057 \tabularnewline
30 & 0.371784222772694 & 0.743568445545389 & 0.628215777227306 \tabularnewline
31 & 0.323504324539429 & 0.647008649078858 & 0.676495675460571 \tabularnewline
32 & 0.775653398198045 & 0.44869320360391 & 0.224346601801955 \tabularnewline
33 & 0.73138923154783 & 0.537221536904339 & 0.268610768452170 \tabularnewline
34 & 0.657329170890063 & 0.685341658219875 & 0.342670829109937 \tabularnewline
35 & 0.74126245970562 & 0.51747508058876 & 0.25873754029438 \tabularnewline
36 & 0.813785533175402 & 0.372428933649197 & 0.186214466824598 \tabularnewline
37 & 0.851029221124118 & 0.297941557751763 & 0.148970778875882 \tabularnewline
38 & 0.802725120957755 & 0.39454975808449 & 0.197274879042245 \tabularnewline
39 & 0.74166984589748 & 0.516660308205039 & 0.258330154102519 \tabularnewline
40 & 0.694055203915248 & 0.611889592169505 & 0.305944796084752 \tabularnewline
41 & 0.616734818239376 & 0.766530363521248 & 0.383265181760624 \tabularnewline
42 & 0.59930796289216 & 0.801384074215681 & 0.400692037107840 \tabularnewline
43 & 0.757251169298324 & 0.485497661403353 & 0.242748830701676 \tabularnewline
44 & 0.689131377523515 & 0.621737244952969 & 0.310868622476485 \tabularnewline
45 & 0.678873770592512 & 0.642252458814975 & 0.321126229407488 \tabularnewline
46 & 0.567058966539007 & 0.865882066921986 & 0.432941033460993 \tabularnewline
47 & 0.63756199985283 & 0.724876000294341 & 0.362438000147170 \tabularnewline
48 & 0.490098675387731 & 0.980197350775461 & 0.509901324612269 \tabularnewline
49 & 0.417077809199558 & 0.834155618399115 & 0.582922190800442 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=98181&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.512235793360666[/C][C]0.975528413278667[/C][C]0.487764206639334[/C][/ROW]
[ROW][C]7[/C][C]0.587549005183316[/C][C]0.824901989633367[/C][C]0.412450994816684[/C][/ROW]
[ROW][C]8[/C][C]0.70805426670075[/C][C]0.5838914665985[/C][C]0.29194573329925[/C][/ROW]
[ROW][C]9[/C][C]0.755040102646192[/C][C]0.489919794707617[/C][C]0.244959897353808[/C][/ROW]
[ROW][C]10[/C][C]0.723650761982488[/C][C]0.552698476035023[/C][C]0.276349238017512[/C][/ROW]
[ROW][C]11[/C][C]0.663712673533469[/C][C]0.672574652933062[/C][C]0.336287326466531[/C][/ROW]
[ROW][C]12[/C][C]0.58018731647108[/C][C]0.83962536705784[/C][C]0.41981268352892[/C][/ROW]
[ROW][C]13[/C][C]0.488532343090436[/C][C]0.977064686180872[/C][C]0.511467656909564[/C][/ROW]
[ROW][C]14[/C][C]0.404507739516896[/C][C]0.809015479033792[/C][C]0.595492260483104[/C][/ROW]
[ROW][C]15[/C][C]0.34980010667251[/C][C]0.69960021334502[/C][C]0.65019989332749[/C][/ROW]
[ROW][C]16[/C][C]0.289247961199042[/C][C]0.578495922398085[/C][C]0.710752038800958[/C][/ROW]
[ROW][C]17[/C][C]0.225353447621688[/C][C]0.450706895243377[/C][C]0.774646552378312[/C][/ROW]
[ROW][C]18[/C][C]0.239049383386554[/C][C]0.478098766773109[/C][C]0.760950616613446[/C][/ROW]
[ROW][C]19[/C][C]0.195000378615762[/C][C]0.390000757231525[/C][C]0.804999621384238[/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.133121321551606[/C][C]0.266242643103213[/C][C]0.866878678448394[/C][/ROW]
[ROW][C]22[/C][C]0.122875368183479[/C][C]0.245750736366957[/C][C]0.877124631816521[/C][/ROW]
[ROW][C]23[/C][C]0.152785478219057[/C][C]0.305570956438114[/C][C]0.847214521780943[/C][/ROW]
[ROW][C]24[/C][C]0.486868112354524[/C][C]0.973736224709048[/C][C]0.513131887645476[/C][/ROW]
[ROW][C]25[/C][C]0.657412408805518[/C][C]0.685175182388965[/C][C]0.342587591194482[/C][/ROW]
[ROW][C]26[/C][C]0.597524969274569[/C][C]0.804950061450862[/C][C]0.402475030725431[/C][/ROW]
[ROW][C]27[/C][C]0.588011049380147[/C][C]0.823977901239705[/C][C]0.411988950619853[/C][/ROW]
[ROW][C]28[/C][C]0.527374212395282[/C][C]0.945251575209437[/C][C]0.472625787604718[/C][/ROW]
[ROW][C]29[/C][C]0.448380437201943[/C][C]0.896760874403885[/C][C]0.551619562798057[/C][/ROW]
[ROW][C]30[/C][C]0.371784222772694[/C][C]0.743568445545389[/C][C]0.628215777227306[/C][/ROW]
[ROW][C]31[/C][C]0.323504324539429[/C][C]0.647008649078858[/C][C]0.676495675460571[/C][/ROW]
[ROW][C]32[/C][C]0.775653398198045[/C][C]0.44869320360391[/C][C]0.224346601801955[/C][/ROW]
[ROW][C]33[/C][C]0.73138923154783[/C][C]0.537221536904339[/C][C]0.268610768452170[/C][/ROW]
[ROW][C]34[/C][C]0.657329170890063[/C][C]0.685341658219875[/C][C]0.342670829109937[/C][/ROW]
[ROW][C]35[/C][C]0.74126245970562[/C][C]0.51747508058876[/C][C]0.25873754029438[/C][/ROW]
[ROW][C]36[/C][C]0.813785533175402[/C][C]0.372428933649197[/C][C]0.186214466824598[/C][/ROW]
[ROW][C]37[/C][C]0.851029221124118[/C][C]0.297941557751763[/C][C]0.148970778875882[/C][/ROW]
[ROW][C]38[/C][C]0.802725120957755[/C][C]0.39454975808449[/C][C]0.197274879042245[/C][/ROW]
[ROW][C]39[/C][C]0.74166984589748[/C][C]0.516660308205039[/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.616734818239376[/C][C]0.766530363521248[/C][C]0.383265181760624[/C][/ROW]
[ROW][C]42[/C][C]0.59930796289216[/C][C]0.801384074215681[/C][C]0.400692037107840[/C][/ROW]
[ROW][C]43[/C][C]0.757251169298324[/C][C]0.485497661403353[/C][C]0.242748830701676[/C][/ROW]
[ROW][C]44[/C][C]0.689131377523515[/C][C]0.621737244952969[/C][C]0.310868622476485[/C][/ROW]
[ROW][C]45[/C][C]0.678873770592512[/C][C]0.642252458814975[/C][C]0.321126229407488[/C][/ROW]
[ROW][C]46[/C][C]0.567058966539007[/C][C]0.865882066921986[/C][C]0.432941033460993[/C][/ROW]
[ROW][C]47[/C][C]0.63756199985283[/C][C]0.724876000294341[/C][C]0.362438000147170[/C][/ROW]
[ROW][C]48[/C][C]0.490098675387731[/C][C]0.980197350775461[/C][C]0.509901324612269[/C][/ROW]
[ROW][C]49[/C][C]0.417077809199558[/C][C]0.834155618399115[/C][C]0.582922190800442[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=98181&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=98181&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.5122357933606660.9755284132786670.487764206639334
70.5875490051833160.8249019896333670.412450994816684
80.708054266700750.58389146659850.29194573329925
90.7550401026461920.4899197947076170.244959897353808
100.7236507619824880.5526984760350230.276349238017512
110.6637126735334690.6725746529330620.336287326466531
120.580187316471080.839625367057840.41981268352892
130.4885323430904360.9770646861808720.511467656909564
140.4045077395168960.8090154790337920.595492260483104
150.349800106672510.699600213345020.65019989332749
160.2892479611990420.5784959223980850.710752038800958
170.2253534476216880.4507068952433770.774646552378312
180.2390493833865540.4780987667731090.760950616613446
190.1950003786157620.3900007572315250.804999621384238
200.1566870177875070.3133740355750140.843312982212493
210.1331213215516060.2662426431032130.866878678448394
220.1228753681834790.2457507363669570.877124631816521
230.1527854782190570.3055709564381140.847214521780943
240.4868681123545240.9737362247090480.513131887645476
250.6574124088055180.6851751823889650.342587591194482
260.5975249692745690.8049500614508620.402475030725431
270.5880110493801470.8239779012397050.411988950619853
280.5273742123952820.9452515752094370.472625787604718
290.4483804372019430.8967608744038850.551619562798057
300.3717842227726940.7435684455453890.628215777227306
310.3235043245394290.6470086490788580.676495675460571
320.7756533981980450.448693203603910.224346601801955
330.731389231547830.5372215369043390.268610768452170
340.6573291708900630.6853416582198750.342670829109937
350.741262459705620.517475080588760.25873754029438
360.8137855331754020.3724289336491970.186214466824598
370.8510292211241180.2979415577517630.148970778875882
380.8027251209577550.394549758084490.197274879042245
390.741669845897480.5166603082050390.258330154102519
400.6940552039152480.6118895921695050.305944796084752
410.6167348182393760.7665303635212480.383265181760624
420.599307962892160.8013840742156810.400692037107840
430.7572511692983240.4854976614033530.242748830701676
440.6891313775235150.6217372449529690.310868622476485
450.6788737705925120.6422524588149750.321126229407488
460.5670589665390070.8658820669219860.432941033460993
470.637561999852830.7248760002943410.362438000147170
480.4900986753877310.9801973507754610.509901324612269
490.4170778091995580.8341556183991150.582922190800442







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=98181&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=98181&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=98181&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 ;
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')
}