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 computationThu, 25 Nov 2010 08:22:21 +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/25/t12906733177weelrhx085744p.htm/, Retrieved Sat, 20 Apr 2024 11:55:49 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=100622, Retrieved Sat, 20 Apr 2024 11:55:49 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact174
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] [62f7c80c4d96454bbd2b2b026ea9aad9]
-    D            [Multiple Regression] [Invoer X crisis] [2010-11-25 08:22:21] [8eb352cba3cf694c3df89d0a436a2f1b] [Current]
Feedback Forum

Post a new message
Dataseries X:
16198.9	16896.2	0	0
16554.2	16698.00	0	0
19554.2	19691.6	0	0
15903.8	15930.7	0	0
18003.8	17444.6	0	0
18329.6	17699.4	0	0
16260.7	15189.8	0	0
14851.9	15672.7	0	0
18174.1	17180.8	0	0
18406.6	17664.9	0	0
18466.5	17862.9	0	0
16016.5	16162.3	0	0
17428.5	17463.6	0	0
17167.2	16772.1	0	0
19630.00	19106.9	0	0
17183.6	16721.3	0	0
18344.7	18161.3	0	0
19301.4	18509.9	0	0
18147.5	17802.7	0	0
16192.9	16409.9	0	0
18374.4	17967.7	0	0
20515.2	20286.6	0	0
18957.2	19537.3	0	0
16471.5	18021.9	0	0
18746.8	20194.3	0	0
19009.5	19049.6	0	0
19211.2	20244.7	0	0
20547.7	21473.3	0	0
19325.8	19673.6	0	0
20605.5	21053.2	0	0
20056.9	20159.5	0	0
16141.4	18203.6	0	0
20359.8	21289.5	0	0
19711.6	20432.3	1	20432.3
15638.6	17180.4	1	17180.4
14384.5	15816.8	1	15816.8
13855.6	15071.8	1	15071.8
14308.3	14521.1	1	14521.1
15290.6	15668.8	1	15668.8
14423.8	14346.9	1	14346.9
13779.7	13881.00	1	13881.00
15686.3	15465.9	1	15465.9
14733.8	14238.2	1	14238.2
12522.5	13557.7	1	13557.7
16189.4	16127.6	1	16127.6
16059.1	16793.9	1	16793.9
16007.1	16014.00	1	16014.00
15806.8	16867.9	1	16867.9
15160.00	16014.6	0	0
15692.1	15878.6	0	0
18908.9	18664.9	0	0
16969.9	17962.5	0	0
16997.5	17332.7	0	0
19858.9	19542.1	0	0
17681.2	17203.6	0	0




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 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 & 5 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=100622&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]5 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=100622&T=0

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







Multiple Linear Regression - Estimated Regression Equation
uitvoer[t] = + 2114.23967542119 + 0.876300281407902invoer[t] -674.860763094272crisis[t] + 5.89353497229609e-05invoerXcrisis[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
uitvoer[t] =  +  2114.23967542119 +  0.876300281407902invoer[t] -674.860763094272crisis[t] +  5.89353497229609e-05invoerXcrisis[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=100622&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]uitvoer[t] =  +  2114.23967542119 +  0.876300281407902invoer[t] -674.860763094272crisis[t] +  5.89353497229609e-05invoerXcrisis[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=100622&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=100622&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] = + 2114.23967542119 + 0.876300281407902invoer[t] -674.860763094272crisis[t] + 5.89353497229609e-05invoerXcrisis[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)2114.239675421191216.8610871.73750.0883430.044172
invoer0.8763002814079020.06688813.10100
crisis-674.8607630942722086.161701-0.32350.7476440.373822
invoerXcrisis5.89353497229609e-050.1262855e-040.9996290.499815

\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) & 2114.23967542119 & 1216.861087 & 1.7375 & 0.088343 & 0.044172 \tabularnewline
invoer & 0.876300281407902 & 0.066888 & 13.101 & 0 & 0 \tabularnewline
crisis & -674.860763094272 & 2086.161701 & -0.3235 & 0.747644 & 0.373822 \tabularnewline
invoerXcrisis & 5.89353497229609e-05 & 0.126285 & 5e-04 & 0.999629 & 0.499815 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=100622&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]2114.23967542119[/C][C]1216.861087[/C][C]1.7375[/C][C]0.088343[/C][C]0.044172[/C][/ROW]
[ROW][C]invoer[/C][C]0.876300281407902[/C][C]0.066888[/C][C]13.101[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]crisis[/C][C]-674.860763094272[/C][C]2086.161701[/C][C]-0.3235[/C][C]0.747644[/C][C]0.373822[/C][/ROW]
[ROW][C]invoerXcrisis[/C][C]5.89353497229609e-05[/C][C]0.126285[/C][C]5e-04[/C][C]0.999629[/C][C]0.499815[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=100622&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=100622&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)2114.239675421191216.8610871.73750.0883430.044172
invoer0.8763002814079020.06688813.10100
crisis-674.8607630942722086.161701-0.32350.7476440.373822
invoerXcrisis5.89353497229609e-050.1262855e-040.9996290.499815







Multiple Linear Regression - Regression Statistics
Multiple R0.943748600071709
R-squared0.89066142013731
Adjusted R-squared0.884229738968916
F-TEST (value)138.480343912908
F-TEST (DF numerator)3
F-TEST (DF denominator)51
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation686.987281817376
Sum Squared Residuals24069527.7943201

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.943748600071709 \tabularnewline
R-squared & 0.89066142013731 \tabularnewline
Adjusted R-squared & 0.884229738968916 \tabularnewline
F-TEST (value) & 138.480343912908 \tabularnewline
F-TEST (DF numerator) & 3 \tabularnewline
F-TEST (DF denominator) & 51 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 686.987281817376 \tabularnewline
Sum Squared Residuals & 24069527.7943201 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=100622&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.943748600071709[/C][/ROW]
[ROW][C]R-squared[/C][C]0.89066142013731[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.884229738968916[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]138.480343912908[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]3[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]51[/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]686.987281817376[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]24069527.7943201[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=100622&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=100622&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.943748600071709
R-squared0.89066142013731
Adjusted R-squared0.884229738968916
F-TEST (value)138.480343912908
F-TEST (DF numerator)3
F-TEST (DF denominator)51
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation686.987281817376
Sum Squared Residuals24069527.7943201







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
116198.916920.3844901454-721.48449014536
216554.216746.7017743703-192.501774370325
319554.219369.994296793184.205703206981
415903.816074.3165684460-170.516568446044
518003.817400.9475644695602.852435530535
618329.617624.2288761722705.371123827798
716260.715425.0656899509835.634310049072
814851.915848.2310958428-996.331095842806
918174.117169.77955023411004.32044976594
1018406.617593.9965164636812.603483536371
1118466.517767.5039721824698.996027817608
1216016.516277.2677136201-260.767713620112
1317428.517417.597269816210.9027301837855
1417167.216811.6356252227355.56437477735
151963018857.6215222538772.378477746178
1617183.616767.1195709271416.480429072869
1718344.718028.9919761545315.708023845493
1819301.418334.4702542533966.929745746697
1918147.517714.7506952416432.749304758364
2016192.916494.2396632967-301.339663296711
2118374.417859.3402416739515.059758326062
2220515.219891.3929642307623.807035769279
2318957.219234.7811633718-277.58116337178
2416471.517906.8357169262-1435.33571692625
2518746.819810.5104482568-1063.71044825677
2619009.518807.4095161291202.090483870853
2719211.219854.6759824397-643.475982439732
2820547.720931.2985081775-383.598508177478
2919325.819354.2208917277-28.4208917276783
3020605.520563.164759958042.335240041979
3120056.919780.0151984638276.884801536223
3216141.418066.0594780581-1924.65947805806
3320359.820770.2345164547-410.434516454708
3419711.619345.4133368837366.186663116273
3515638.616495.5807999096-856.980799909607
3614384.515300.5773719389-916.077371938909
3713855.614647.6897554545-792.089755454478
3814308.314165.0787347861143.221265213944
3915290.615170.8762078588119.723792141221
4014423.814012.4169592269411.383040773123
4113779.713604.1212001395175.578799860502
4215686.314993.0629227787693.237077221341
4314733.813917.1567123653816.643287634676
4412522.513320.7942653618-798.29426536176
4516189.415572.9498165072616.450183492821
4616059.116156.8679626328-97.7679626327849
4716007.115473.3954094835533.704590516488
4815806.816221.7185446728-414.91854467285
491516016147.8381620562-987.838162056166
5015692.116028.6613237847-336.561323784691
5118908.918470.2967978715438.603202128472
5216969.917854.7834802106-884.883480210616
5316997.517302.8895629799-305.389562979922
5419858.919238.9874047225619.912595277463
5517681.217189.7591966502491.440803349841

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 16198.9 & 16920.3844901454 & -721.48449014536 \tabularnewline
2 & 16554.2 & 16746.7017743703 & -192.501774370325 \tabularnewline
3 & 19554.2 & 19369.994296793 & 184.205703206981 \tabularnewline
4 & 15903.8 & 16074.3165684460 & -170.516568446044 \tabularnewline
5 & 18003.8 & 17400.9475644695 & 602.852435530535 \tabularnewline
6 & 18329.6 & 17624.2288761722 & 705.371123827798 \tabularnewline
7 & 16260.7 & 15425.0656899509 & 835.634310049072 \tabularnewline
8 & 14851.9 & 15848.2310958428 & -996.331095842806 \tabularnewline
9 & 18174.1 & 17169.7795502341 & 1004.32044976594 \tabularnewline
10 & 18406.6 & 17593.9965164636 & 812.603483536371 \tabularnewline
11 & 18466.5 & 17767.5039721824 & 698.996027817608 \tabularnewline
12 & 16016.5 & 16277.2677136201 & -260.767713620112 \tabularnewline
13 & 17428.5 & 17417.5972698162 & 10.9027301837855 \tabularnewline
14 & 17167.2 & 16811.6356252227 & 355.56437477735 \tabularnewline
15 & 19630 & 18857.6215222538 & 772.378477746178 \tabularnewline
16 & 17183.6 & 16767.1195709271 & 416.480429072869 \tabularnewline
17 & 18344.7 & 18028.9919761545 & 315.708023845493 \tabularnewline
18 & 19301.4 & 18334.4702542533 & 966.929745746697 \tabularnewline
19 & 18147.5 & 17714.7506952416 & 432.749304758364 \tabularnewline
20 & 16192.9 & 16494.2396632967 & -301.339663296711 \tabularnewline
21 & 18374.4 & 17859.3402416739 & 515.059758326062 \tabularnewline
22 & 20515.2 & 19891.3929642307 & 623.807035769279 \tabularnewline
23 & 18957.2 & 19234.7811633718 & -277.58116337178 \tabularnewline
24 & 16471.5 & 17906.8357169262 & -1435.33571692625 \tabularnewline
25 & 18746.8 & 19810.5104482568 & -1063.71044825677 \tabularnewline
26 & 19009.5 & 18807.4095161291 & 202.090483870853 \tabularnewline
27 & 19211.2 & 19854.6759824397 & -643.475982439732 \tabularnewline
28 & 20547.7 & 20931.2985081775 & -383.598508177478 \tabularnewline
29 & 19325.8 & 19354.2208917277 & -28.4208917276783 \tabularnewline
30 & 20605.5 & 20563.1647599580 & 42.335240041979 \tabularnewline
31 & 20056.9 & 19780.0151984638 & 276.884801536223 \tabularnewline
32 & 16141.4 & 18066.0594780581 & -1924.65947805806 \tabularnewline
33 & 20359.8 & 20770.2345164547 & -410.434516454708 \tabularnewline
34 & 19711.6 & 19345.4133368837 & 366.186663116273 \tabularnewline
35 & 15638.6 & 16495.5807999096 & -856.980799909607 \tabularnewline
36 & 14384.5 & 15300.5773719389 & -916.077371938909 \tabularnewline
37 & 13855.6 & 14647.6897554545 & -792.089755454478 \tabularnewline
38 & 14308.3 & 14165.0787347861 & 143.221265213944 \tabularnewline
39 & 15290.6 & 15170.8762078588 & 119.723792141221 \tabularnewline
40 & 14423.8 & 14012.4169592269 & 411.383040773123 \tabularnewline
41 & 13779.7 & 13604.1212001395 & 175.578799860502 \tabularnewline
42 & 15686.3 & 14993.0629227787 & 693.237077221341 \tabularnewline
43 & 14733.8 & 13917.1567123653 & 816.643287634676 \tabularnewline
44 & 12522.5 & 13320.7942653618 & -798.29426536176 \tabularnewline
45 & 16189.4 & 15572.9498165072 & 616.450183492821 \tabularnewline
46 & 16059.1 & 16156.8679626328 & -97.7679626327849 \tabularnewline
47 & 16007.1 & 15473.3954094835 & 533.704590516488 \tabularnewline
48 & 15806.8 & 16221.7185446728 & -414.91854467285 \tabularnewline
49 & 15160 & 16147.8381620562 & -987.838162056166 \tabularnewline
50 & 15692.1 & 16028.6613237847 & -336.561323784691 \tabularnewline
51 & 18908.9 & 18470.2967978715 & 438.603202128472 \tabularnewline
52 & 16969.9 & 17854.7834802106 & -884.883480210616 \tabularnewline
53 & 16997.5 & 17302.8895629799 & -305.389562979922 \tabularnewline
54 & 19858.9 & 19238.9874047225 & 619.912595277463 \tabularnewline
55 & 17681.2 & 17189.7591966502 & 491.440803349841 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=100622&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.3844901454[/C][C]-721.48449014536[/C][/ROW]
[ROW][C]2[/C][C]16554.2[/C][C]16746.7017743703[/C][C]-192.501774370325[/C][/ROW]
[ROW][C]3[/C][C]19554.2[/C][C]19369.994296793[/C][C]184.205703206981[/C][/ROW]
[ROW][C]4[/C][C]15903.8[/C][C]16074.3165684460[/C][C]-170.516568446044[/C][/ROW]
[ROW][C]5[/C][C]18003.8[/C][C]17400.9475644695[/C][C]602.852435530535[/C][/ROW]
[ROW][C]6[/C][C]18329.6[/C][C]17624.2288761722[/C][C]705.371123827798[/C][/ROW]
[ROW][C]7[/C][C]16260.7[/C][C]15425.0656899509[/C][C]835.634310049072[/C][/ROW]
[ROW][C]8[/C][C]14851.9[/C][C]15848.2310958428[/C][C]-996.331095842806[/C][/ROW]
[ROW][C]9[/C][C]18174.1[/C][C]17169.7795502341[/C][C]1004.32044976594[/C][/ROW]
[ROW][C]10[/C][C]18406.6[/C][C]17593.9965164636[/C][C]812.603483536371[/C][/ROW]
[ROW][C]11[/C][C]18466.5[/C][C]17767.5039721824[/C][C]698.996027817608[/C][/ROW]
[ROW][C]12[/C][C]16016.5[/C][C]16277.2677136201[/C][C]-260.767713620112[/C][/ROW]
[ROW][C]13[/C][C]17428.5[/C][C]17417.5972698162[/C][C]10.9027301837855[/C][/ROW]
[ROW][C]14[/C][C]17167.2[/C][C]16811.6356252227[/C][C]355.56437477735[/C][/ROW]
[ROW][C]15[/C][C]19630[/C][C]18857.6215222538[/C][C]772.378477746178[/C][/ROW]
[ROW][C]16[/C][C]17183.6[/C][C]16767.1195709271[/C][C]416.480429072869[/C][/ROW]
[ROW][C]17[/C][C]18344.7[/C][C]18028.9919761545[/C][C]315.708023845493[/C][/ROW]
[ROW][C]18[/C][C]19301.4[/C][C]18334.4702542533[/C][C]966.929745746697[/C][/ROW]
[ROW][C]19[/C][C]18147.5[/C][C]17714.7506952416[/C][C]432.749304758364[/C][/ROW]
[ROW][C]20[/C][C]16192.9[/C][C]16494.2396632967[/C][C]-301.339663296711[/C][/ROW]
[ROW][C]21[/C][C]18374.4[/C][C]17859.3402416739[/C][C]515.059758326062[/C][/ROW]
[ROW][C]22[/C][C]20515.2[/C][C]19891.3929642307[/C][C]623.807035769279[/C][/ROW]
[ROW][C]23[/C][C]18957.2[/C][C]19234.7811633718[/C][C]-277.58116337178[/C][/ROW]
[ROW][C]24[/C][C]16471.5[/C][C]17906.8357169262[/C][C]-1435.33571692625[/C][/ROW]
[ROW][C]25[/C][C]18746.8[/C][C]19810.5104482568[/C][C]-1063.71044825677[/C][/ROW]
[ROW][C]26[/C][C]19009.5[/C][C]18807.4095161291[/C][C]202.090483870853[/C][/ROW]
[ROW][C]27[/C][C]19211.2[/C][C]19854.6759824397[/C][C]-643.475982439732[/C][/ROW]
[ROW][C]28[/C][C]20547.7[/C][C]20931.2985081775[/C][C]-383.598508177478[/C][/ROW]
[ROW][C]29[/C][C]19325.8[/C][C]19354.2208917277[/C][C]-28.4208917276783[/C][/ROW]
[ROW][C]30[/C][C]20605.5[/C][C]20563.1647599580[/C][C]42.335240041979[/C][/ROW]
[ROW][C]31[/C][C]20056.9[/C][C]19780.0151984638[/C][C]276.884801536223[/C][/ROW]
[ROW][C]32[/C][C]16141.4[/C][C]18066.0594780581[/C][C]-1924.65947805806[/C][/ROW]
[ROW][C]33[/C][C]20359.8[/C][C]20770.2345164547[/C][C]-410.434516454708[/C][/ROW]
[ROW][C]34[/C][C]19711.6[/C][C]19345.4133368837[/C][C]366.186663116273[/C][/ROW]
[ROW][C]35[/C][C]15638.6[/C][C]16495.5807999096[/C][C]-856.980799909607[/C][/ROW]
[ROW][C]36[/C][C]14384.5[/C][C]15300.5773719389[/C][C]-916.077371938909[/C][/ROW]
[ROW][C]37[/C][C]13855.6[/C][C]14647.6897554545[/C][C]-792.089755454478[/C][/ROW]
[ROW][C]38[/C][C]14308.3[/C][C]14165.0787347861[/C][C]143.221265213944[/C][/ROW]
[ROW][C]39[/C][C]15290.6[/C][C]15170.8762078588[/C][C]119.723792141221[/C][/ROW]
[ROW][C]40[/C][C]14423.8[/C][C]14012.4169592269[/C][C]411.383040773123[/C][/ROW]
[ROW][C]41[/C][C]13779.7[/C][C]13604.1212001395[/C][C]175.578799860502[/C][/ROW]
[ROW][C]42[/C][C]15686.3[/C][C]14993.0629227787[/C][C]693.237077221341[/C][/ROW]
[ROW][C]43[/C][C]14733.8[/C][C]13917.1567123653[/C][C]816.643287634676[/C][/ROW]
[ROW][C]44[/C][C]12522.5[/C][C]13320.7942653618[/C][C]-798.29426536176[/C][/ROW]
[ROW][C]45[/C][C]16189.4[/C][C]15572.9498165072[/C][C]616.450183492821[/C][/ROW]
[ROW][C]46[/C][C]16059.1[/C][C]16156.8679626328[/C][C]-97.7679626327849[/C][/ROW]
[ROW][C]47[/C][C]16007.1[/C][C]15473.3954094835[/C][C]533.704590516488[/C][/ROW]
[ROW][C]48[/C][C]15806.8[/C][C]16221.7185446728[/C][C]-414.91854467285[/C][/ROW]
[ROW][C]49[/C][C]15160[/C][C]16147.8381620562[/C][C]-987.838162056166[/C][/ROW]
[ROW][C]50[/C][C]15692.1[/C][C]16028.6613237847[/C][C]-336.561323784691[/C][/ROW]
[ROW][C]51[/C][C]18908.9[/C][C]18470.2967978715[/C][C]438.603202128472[/C][/ROW]
[ROW][C]52[/C][C]16969.9[/C][C]17854.7834802106[/C][C]-884.883480210616[/C][/ROW]
[ROW][C]53[/C][C]16997.5[/C][C]17302.8895629799[/C][C]-305.389562979922[/C][/ROW]
[ROW][C]54[/C][C]19858.9[/C][C]19238.9874047225[/C][C]619.912595277463[/C][/ROW]
[ROW][C]55[/C][C]17681.2[/C][C]17189.7591966502[/C][C]491.440803349841[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=100622&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=100622&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.3844901454-721.48449014536
216554.216746.7017743703-192.501774370325
319554.219369.994296793184.205703206981
415903.816074.3165684460-170.516568446044
518003.817400.9475644695602.852435530535
618329.617624.2288761722705.371123827798
716260.715425.0656899509835.634310049072
814851.915848.2310958428-996.331095842806
918174.117169.77955023411004.32044976594
1018406.617593.9965164636812.603483536371
1118466.517767.5039721824698.996027817608
1216016.516277.2677136201-260.767713620112
1317428.517417.597269816210.9027301837855
1417167.216811.6356252227355.56437477735
151963018857.6215222538772.378477746178
1617183.616767.1195709271416.480429072869
1718344.718028.9919761545315.708023845493
1819301.418334.4702542533966.929745746697
1918147.517714.7506952416432.749304758364
2016192.916494.2396632967-301.339663296711
2118374.417859.3402416739515.059758326062
2220515.219891.3929642307623.807035769279
2318957.219234.7811633718-277.58116337178
2416471.517906.8357169262-1435.33571692625
2518746.819810.5104482568-1063.71044825677
2619009.518807.4095161291202.090483870853
2719211.219854.6759824397-643.475982439732
2820547.720931.2985081775-383.598508177478
2919325.819354.2208917277-28.4208917276783
3020605.520563.164759958042.335240041979
3120056.919780.0151984638276.884801536223
3216141.418066.0594780581-1924.65947805806
3320359.820770.2345164547-410.434516454708
3419711.619345.4133368837366.186663116273
3515638.616495.5807999096-856.980799909607
3614384.515300.5773719389-916.077371938909
3713855.614647.6897554545-792.089755454478
3814308.314165.0787347861143.221265213944
3915290.615170.8762078588119.723792141221
4014423.814012.4169592269411.383040773123
4113779.713604.1212001395175.578799860502
4215686.314993.0629227787693.237077221341
4314733.813917.1567123653816.643287634676
4412522.513320.7942653618-798.29426536176
4516189.415572.9498165072616.450183492821
4616059.116156.8679626328-97.7679626327849
4716007.115473.3954094835533.704590516488
4815806.816221.7185446728-414.91854467285
491516016147.8381620562-987.838162056166
5015692.116028.6613237847-336.561323784691
5118908.918470.2967978715438.603202128472
5216969.917854.7834802106-884.883480210616
5316997.517302.8895629799-305.389562979922
5419858.919238.9874047225619.912595277463
5517681.217189.7591966502491.440803349841







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
70.7191521523898840.5616956952202320.280847847610116
80.7970640412913640.4058719174172720.202935958708636
90.8231845316405020.3536309367189960.176815468359498
100.7893488977450060.4213022045099880.210651102254994
110.7304451058701340.5391097882597310.269554894129865
120.6475586467092210.7048827065815580.352441353290779
130.5538934705076530.8922130589846950.446106529492347
140.4654604821571560.9309209643143110.534539517842844
150.4038531181897930.8077062363795860.596146881810207
160.3378109085006100.6756218170012210.66218909149939
170.2664523790683430.5329047581366870.733547620931656
180.2779636487929250.5559272975858510.722036351207075
190.2295158242163880.4590316484327760.770484175783612
200.1858500079830030.3717000159660060.814149992016997
210.1606564620568010.3213129241136020.839343537943199
220.1440002690744720.2880005381489440.855999730925528
230.1738623255118070.3477246510236140.826137674488193
240.5051687781994420.9896624436011160.494831221800558
250.673022538889560.6539549222208790.326977461110440
260.6117326774412240.7765346451175520.388267322558776
270.6038020464575340.7923959070849320.396197953542466
280.5510628076330290.8978743847339420.448937192366971
290.4685114156935340.9370228313870680.531488584306466
300.3862952321234680.7725904642469360.613704767876532
310.3253361624911170.6506723249822340.674663837508883
320.7727030432317940.4545939135364120.227296956768206
330.7900573179352130.4198853641295730.209942682064787
340.7576992357369770.4846015285260460.242300764263023
350.7487544802837380.5024910394325230.251245519716262
360.7998455635758530.4003088728482950.200154436424147
370.8492429829060360.3015140341879270.150757017093964
380.8204437005327860.3591125989344270.179556299467214
390.7613680511061520.4772638977876970.238631948893848
400.7090955323098880.5818089353802240.290904467690112
410.6204828456985630.7590343086028740.379517154301437
420.5966417328530540.8067165342938930.403358267146946
430.6966094356448520.6067811287102950.303390564355148
440.8463753229769560.3072493540460890.153624677023044
450.7662414823535780.4675170352928430.233758517646422
460.6521351297407280.6957297405185450.347864870259272
470.5075864640775930.9848270718448130.492413535922406
480.3451928987711310.6903857975422620.654807101228869

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
7 & 0.719152152389884 & 0.561695695220232 & 0.280847847610116 \tabularnewline
8 & 0.797064041291364 & 0.405871917417272 & 0.202935958708636 \tabularnewline
9 & 0.823184531640502 & 0.353630936718996 & 0.176815468359498 \tabularnewline
10 & 0.789348897745006 & 0.421302204509988 & 0.210651102254994 \tabularnewline
11 & 0.730445105870134 & 0.539109788259731 & 0.269554894129865 \tabularnewline
12 & 0.647558646709221 & 0.704882706581558 & 0.352441353290779 \tabularnewline
13 & 0.553893470507653 & 0.892213058984695 & 0.446106529492347 \tabularnewline
14 & 0.465460482157156 & 0.930920964314311 & 0.534539517842844 \tabularnewline
15 & 0.403853118189793 & 0.807706236379586 & 0.596146881810207 \tabularnewline
16 & 0.337810908500610 & 0.675621817001221 & 0.66218909149939 \tabularnewline
17 & 0.266452379068343 & 0.532904758136687 & 0.733547620931656 \tabularnewline
18 & 0.277963648792925 & 0.555927297585851 & 0.722036351207075 \tabularnewline
19 & 0.229515824216388 & 0.459031648432776 & 0.770484175783612 \tabularnewline
20 & 0.185850007983003 & 0.371700015966006 & 0.814149992016997 \tabularnewline
21 & 0.160656462056801 & 0.321312924113602 & 0.839343537943199 \tabularnewline
22 & 0.144000269074472 & 0.288000538148944 & 0.855999730925528 \tabularnewline
23 & 0.173862325511807 & 0.347724651023614 & 0.826137674488193 \tabularnewline
24 & 0.505168778199442 & 0.989662443601116 & 0.494831221800558 \tabularnewline
25 & 0.67302253888956 & 0.653954922220879 & 0.326977461110440 \tabularnewline
26 & 0.611732677441224 & 0.776534645117552 & 0.388267322558776 \tabularnewline
27 & 0.603802046457534 & 0.792395907084932 & 0.396197953542466 \tabularnewline
28 & 0.551062807633029 & 0.897874384733942 & 0.448937192366971 \tabularnewline
29 & 0.468511415693534 & 0.937022831387068 & 0.531488584306466 \tabularnewline
30 & 0.386295232123468 & 0.772590464246936 & 0.613704767876532 \tabularnewline
31 & 0.325336162491117 & 0.650672324982234 & 0.674663837508883 \tabularnewline
32 & 0.772703043231794 & 0.454593913536412 & 0.227296956768206 \tabularnewline
33 & 0.790057317935213 & 0.419885364129573 & 0.209942682064787 \tabularnewline
34 & 0.757699235736977 & 0.484601528526046 & 0.242300764263023 \tabularnewline
35 & 0.748754480283738 & 0.502491039432523 & 0.251245519716262 \tabularnewline
36 & 0.799845563575853 & 0.400308872848295 & 0.200154436424147 \tabularnewline
37 & 0.849242982906036 & 0.301514034187927 & 0.150757017093964 \tabularnewline
38 & 0.820443700532786 & 0.359112598934427 & 0.179556299467214 \tabularnewline
39 & 0.761368051106152 & 0.477263897787697 & 0.238631948893848 \tabularnewline
40 & 0.709095532309888 & 0.581808935380224 & 0.290904467690112 \tabularnewline
41 & 0.620482845698563 & 0.759034308602874 & 0.379517154301437 \tabularnewline
42 & 0.596641732853054 & 0.806716534293893 & 0.403358267146946 \tabularnewline
43 & 0.696609435644852 & 0.606781128710295 & 0.303390564355148 \tabularnewline
44 & 0.846375322976956 & 0.307249354046089 & 0.153624677023044 \tabularnewline
45 & 0.766241482353578 & 0.467517035292843 & 0.233758517646422 \tabularnewline
46 & 0.652135129740728 & 0.695729740518545 & 0.347864870259272 \tabularnewline
47 & 0.507586464077593 & 0.984827071844813 & 0.492413535922406 \tabularnewline
48 & 0.345192898771131 & 0.690385797542262 & 0.654807101228869 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=100622&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]7[/C][C]0.719152152389884[/C][C]0.561695695220232[/C][C]0.280847847610116[/C][/ROW]
[ROW][C]8[/C][C]0.797064041291364[/C][C]0.405871917417272[/C][C]0.202935958708636[/C][/ROW]
[ROW][C]9[/C][C]0.823184531640502[/C][C]0.353630936718996[/C][C]0.176815468359498[/C][/ROW]
[ROW][C]10[/C][C]0.789348897745006[/C][C]0.421302204509988[/C][C]0.210651102254994[/C][/ROW]
[ROW][C]11[/C][C]0.730445105870134[/C][C]0.539109788259731[/C][C]0.269554894129865[/C][/ROW]
[ROW][C]12[/C][C]0.647558646709221[/C][C]0.704882706581558[/C][C]0.352441353290779[/C][/ROW]
[ROW][C]13[/C][C]0.553893470507653[/C][C]0.892213058984695[/C][C]0.446106529492347[/C][/ROW]
[ROW][C]14[/C][C]0.465460482157156[/C][C]0.930920964314311[/C][C]0.534539517842844[/C][/ROW]
[ROW][C]15[/C][C]0.403853118189793[/C][C]0.807706236379586[/C][C]0.596146881810207[/C][/ROW]
[ROW][C]16[/C][C]0.337810908500610[/C][C]0.675621817001221[/C][C]0.66218909149939[/C][/ROW]
[ROW][C]17[/C][C]0.266452379068343[/C][C]0.532904758136687[/C][C]0.733547620931656[/C][/ROW]
[ROW][C]18[/C][C]0.277963648792925[/C][C]0.555927297585851[/C][C]0.722036351207075[/C][/ROW]
[ROW][C]19[/C][C]0.229515824216388[/C][C]0.459031648432776[/C][C]0.770484175783612[/C][/ROW]
[ROW][C]20[/C][C]0.185850007983003[/C][C]0.371700015966006[/C][C]0.814149992016997[/C][/ROW]
[ROW][C]21[/C][C]0.160656462056801[/C][C]0.321312924113602[/C][C]0.839343537943199[/C][/ROW]
[ROW][C]22[/C][C]0.144000269074472[/C][C]0.288000538148944[/C][C]0.855999730925528[/C][/ROW]
[ROW][C]23[/C][C]0.173862325511807[/C][C]0.347724651023614[/C][C]0.826137674488193[/C][/ROW]
[ROW][C]24[/C][C]0.505168778199442[/C][C]0.989662443601116[/C][C]0.494831221800558[/C][/ROW]
[ROW][C]25[/C][C]0.67302253888956[/C][C]0.653954922220879[/C][C]0.326977461110440[/C][/ROW]
[ROW][C]26[/C][C]0.611732677441224[/C][C]0.776534645117552[/C][C]0.388267322558776[/C][/ROW]
[ROW][C]27[/C][C]0.603802046457534[/C][C]0.792395907084932[/C][C]0.396197953542466[/C][/ROW]
[ROW][C]28[/C][C]0.551062807633029[/C][C]0.897874384733942[/C][C]0.448937192366971[/C][/ROW]
[ROW][C]29[/C][C]0.468511415693534[/C][C]0.937022831387068[/C][C]0.531488584306466[/C][/ROW]
[ROW][C]30[/C][C]0.386295232123468[/C][C]0.772590464246936[/C][C]0.613704767876532[/C][/ROW]
[ROW][C]31[/C][C]0.325336162491117[/C][C]0.650672324982234[/C][C]0.674663837508883[/C][/ROW]
[ROW][C]32[/C][C]0.772703043231794[/C][C]0.454593913536412[/C][C]0.227296956768206[/C][/ROW]
[ROW][C]33[/C][C]0.790057317935213[/C][C]0.419885364129573[/C][C]0.209942682064787[/C][/ROW]
[ROW][C]34[/C][C]0.757699235736977[/C][C]0.484601528526046[/C][C]0.242300764263023[/C][/ROW]
[ROW][C]35[/C][C]0.748754480283738[/C][C]0.502491039432523[/C][C]0.251245519716262[/C][/ROW]
[ROW][C]36[/C][C]0.799845563575853[/C][C]0.400308872848295[/C][C]0.200154436424147[/C][/ROW]
[ROW][C]37[/C][C]0.849242982906036[/C][C]0.301514034187927[/C][C]0.150757017093964[/C][/ROW]
[ROW][C]38[/C][C]0.820443700532786[/C][C]0.359112598934427[/C][C]0.179556299467214[/C][/ROW]
[ROW][C]39[/C][C]0.761368051106152[/C][C]0.477263897787697[/C][C]0.238631948893848[/C][/ROW]
[ROW][C]40[/C][C]0.709095532309888[/C][C]0.581808935380224[/C][C]0.290904467690112[/C][/ROW]
[ROW][C]41[/C][C]0.620482845698563[/C][C]0.759034308602874[/C][C]0.379517154301437[/C][/ROW]
[ROW][C]42[/C][C]0.596641732853054[/C][C]0.806716534293893[/C][C]0.403358267146946[/C][/ROW]
[ROW][C]43[/C][C]0.696609435644852[/C][C]0.606781128710295[/C][C]0.303390564355148[/C][/ROW]
[ROW][C]44[/C][C]0.846375322976956[/C][C]0.307249354046089[/C][C]0.153624677023044[/C][/ROW]
[ROW][C]45[/C][C]0.766241482353578[/C][C]0.467517035292843[/C][C]0.233758517646422[/C][/ROW]
[ROW][C]46[/C][C]0.652135129740728[/C][C]0.695729740518545[/C][C]0.347864870259272[/C][/ROW]
[ROW][C]47[/C][C]0.507586464077593[/C][C]0.984827071844813[/C][C]0.492413535922406[/C][/ROW]
[ROW][C]48[/C][C]0.345192898771131[/C][C]0.690385797542262[/C][C]0.654807101228869[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=100622&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=100622&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
70.7191521523898840.5616956952202320.280847847610116
80.7970640412913640.4058719174172720.202935958708636
90.8231845316405020.3536309367189960.176815468359498
100.7893488977450060.4213022045099880.210651102254994
110.7304451058701340.5391097882597310.269554894129865
120.6475586467092210.7048827065815580.352441353290779
130.5538934705076530.8922130589846950.446106529492347
140.4654604821571560.9309209643143110.534539517842844
150.4038531181897930.8077062363795860.596146881810207
160.3378109085006100.6756218170012210.66218909149939
170.2664523790683430.5329047581366870.733547620931656
180.2779636487929250.5559272975858510.722036351207075
190.2295158242163880.4590316484327760.770484175783612
200.1858500079830030.3717000159660060.814149992016997
210.1606564620568010.3213129241136020.839343537943199
220.1440002690744720.2880005381489440.855999730925528
230.1738623255118070.3477246510236140.826137674488193
240.5051687781994420.9896624436011160.494831221800558
250.673022538889560.6539549222208790.326977461110440
260.6117326774412240.7765346451175520.388267322558776
270.6038020464575340.7923959070849320.396197953542466
280.5510628076330290.8978743847339420.448937192366971
290.4685114156935340.9370228313870680.531488584306466
300.3862952321234680.7725904642469360.613704767876532
310.3253361624911170.6506723249822340.674663837508883
320.7727030432317940.4545939135364120.227296956768206
330.7900573179352130.4198853641295730.209942682064787
340.7576992357369770.4846015285260460.242300764263023
350.7487544802837380.5024910394325230.251245519716262
360.7998455635758530.4003088728482950.200154436424147
370.8492429829060360.3015140341879270.150757017093964
380.8204437005327860.3591125989344270.179556299467214
390.7613680511061520.4772638977876970.238631948893848
400.7090955323098880.5818089353802240.290904467690112
410.6204828456985630.7590343086028740.379517154301437
420.5966417328530540.8067165342938930.403358267146946
430.6966094356448520.6067811287102950.303390564355148
440.8463753229769560.3072493540460890.153624677023044
450.7662414823535780.4675170352928430.233758517646422
460.6521351297407280.6957297405185450.347864870259272
470.5075864640775930.9848270718448130.492413535922406
480.3451928987711310.6903857975422620.654807101228869







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

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