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 computationMon, 01 Dec 2008 11:56:26 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Dec/01/t1228157847jmw5zoc5039zynd.htm/, Retrieved Sun, 05 May 2024 17:49:28 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=27158, Retrieved Sun, 05 May 2024 17:49:28 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact223
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
F    D  [Multiple Regression] [The seatbelt law Q1] [2008-11-24 20:21:07] [3754dd41128068acfc463ebbabce5a9c]
- R  D    [Multiple Regression] [Q1] [2008-11-30 15:45:50] [299afd6311e4c20059ea2f05c8dd029d]
-   PD      [Multiple Regression] [Q3 ] [2008-12-01 18:46:16] [299afd6311e4c20059ea2f05c8dd029d]
-   P           [Multiple Regression] [Q3 Monthly Dummies] [2008-12-01 18:56:26] [5e2b1e7aa808f9f0d23fd35605d4968f] [Current]
-   P             [Multiple Regression] [Q3 Monthly Dummie...] [2008-12-01 18:59:20] [299afd6311e4c20059ea2f05c8dd029d]
Feedback Forum

Post a new message
Dataseries X:
12192.5	0
11268.8	0
9097.4	0
12639.8	0
13040.1	0
11687.3	0
11191.7	0
11391.9	0
11793.1	0
13933.2	0
12778.1	0
11810.3	0
13698.4	0
11956.6	0
10723.8	0
13938.9	0
13979.8	0
13807.4	0
12973.9	0
12509.8	0
12934.1	0
14908.3	0
13772.1	0
13012.6	0
14049.9	0
11816.5	0
11593.2	0
14466.2	0
13615.9	0
14733.9	0
13880.7	0
13527.5	0
13584	0
16170.2	0
13260.6	0
14741.9	0
15486.5	0
13154.5	0
12621.2	0
15031.6	0
15452.4	0
15428	0
13105.9	0
14716.8	1
14180	1
16202.2	1
14392.4	1
15140.6	1
15960.1	1
14351.3	1
13230.2	1
15202.1	1
17157.3	1
16159.1	1
13405.7	1
17224.7	1
17338.4	1
17370.6	1
18817.8	1
16593.2	1
17979.5	1




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=27158&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=27158&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27158&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
y[t] = + 13249.3123076923 + 2526.01923076923x[t] + 803.164615384617M1[t] -1244.97615384615M2[t] -2301.35615384615M3[t] + 501.203846153846M4[t] + 894.583846153845M5[t] + 608.623846153846M6[t] -842.936153846154M7[t] -385.580000000001M8[t] -293.8M9[t] + 1457.18M10[t] + 344.48M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
y[t] =  +  13249.3123076923 +  2526.01923076923x[t] +  803.164615384617M1[t] -1244.97615384615M2[t] -2301.35615384615M3[t] +  501.203846153846M4[t] +  894.583846153845M5[t] +  608.623846153846M6[t] -842.936153846154M7[t] -385.580000000001M8[t] -293.8M9[t] +  1457.18M10[t] +  344.48M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27158&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]y[t] =  +  13249.3123076923 +  2526.01923076923x[t] +  803.164615384617M1[t] -1244.97615384615M2[t] -2301.35615384615M3[t] +  501.203846153846M4[t] +  894.583846153845M5[t] +  608.623846153846M6[t] -842.936153846154M7[t] -385.580000000001M8[t] -293.8M9[t] +  1457.18M10[t] +  344.48M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27158&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27158&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
y[t] = + 13249.3123076923 + 2526.01923076923x[t] + 803.164615384617M1[t] -1244.97615384615M2[t] -2301.35615384615M3[t] + 501.203846153846M4[t] + 894.583846153845M5[t] + 608.623846153846M6[t] -842.936153846154M7[t] -385.580000000001M8[t] -293.8M9[t] + 1457.18M10[t] + 344.48M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)13249.3123076923570.61106223.219500
x2526.01923076923354.7888427.119800
M1803.164615384617748.708141.07270.2887540.144377
M2-1244.97615384615784.824142-1.58630.1192350.059618
M3-2301.35615384615784.824142-2.93230.0051420.002571
M4501.203846153846784.8241420.63860.5261060.263053
M5894.583846153845784.8241421.13990.2600040.130002
M6608.623846153846784.8241420.77550.4418540.220927
M7-842.936153846154784.824142-1.0740.2881720.144086
M8-385.580000000001781.609831-0.49330.6240390.31202
M9-293.8781.609831-0.37590.7086540.354327
M101457.18781.6098311.86430.0683970.034198
M11344.48781.6098310.44070.6613860.330693

\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) & 13249.3123076923 & 570.611062 & 23.2195 & 0 & 0 \tabularnewline
x & 2526.01923076923 & 354.788842 & 7.1198 & 0 & 0 \tabularnewline
M1 & 803.164615384617 & 748.70814 & 1.0727 & 0.288754 & 0.144377 \tabularnewline
M2 & -1244.97615384615 & 784.824142 & -1.5863 & 0.119235 & 0.059618 \tabularnewline
M3 & -2301.35615384615 & 784.824142 & -2.9323 & 0.005142 & 0.002571 \tabularnewline
M4 & 501.203846153846 & 784.824142 & 0.6386 & 0.526106 & 0.263053 \tabularnewline
M5 & 894.583846153845 & 784.824142 & 1.1399 & 0.260004 & 0.130002 \tabularnewline
M6 & 608.623846153846 & 784.824142 & 0.7755 & 0.441854 & 0.220927 \tabularnewline
M7 & -842.936153846154 & 784.824142 & -1.074 & 0.288172 & 0.144086 \tabularnewline
M8 & -385.580000000001 & 781.609831 & -0.4933 & 0.624039 & 0.31202 \tabularnewline
M9 & -293.8 & 781.609831 & -0.3759 & 0.708654 & 0.354327 \tabularnewline
M10 & 1457.18 & 781.609831 & 1.8643 & 0.068397 & 0.034198 \tabularnewline
M11 & 344.48 & 781.609831 & 0.4407 & 0.661386 & 0.330693 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27158&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]13249.3123076923[/C][C]570.611062[/C][C]23.2195[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]x[/C][C]2526.01923076923[/C][C]354.788842[/C][C]7.1198[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]803.164615384617[/C][C]748.70814[/C][C]1.0727[/C][C]0.288754[/C][C]0.144377[/C][/ROW]
[ROW][C]M2[/C][C]-1244.97615384615[/C][C]784.824142[/C][C]-1.5863[/C][C]0.119235[/C][C]0.059618[/C][/ROW]
[ROW][C]M3[/C][C]-2301.35615384615[/C][C]784.824142[/C][C]-2.9323[/C][C]0.005142[/C][C]0.002571[/C][/ROW]
[ROW][C]M4[/C][C]501.203846153846[/C][C]784.824142[/C][C]0.6386[/C][C]0.526106[/C][C]0.263053[/C][/ROW]
[ROW][C]M5[/C][C]894.583846153845[/C][C]784.824142[/C][C]1.1399[/C][C]0.260004[/C][C]0.130002[/C][/ROW]
[ROW][C]M6[/C][C]608.623846153846[/C][C]784.824142[/C][C]0.7755[/C][C]0.441854[/C][C]0.220927[/C][/ROW]
[ROW][C]M7[/C][C]-842.936153846154[/C][C]784.824142[/C][C]-1.074[/C][C]0.288172[/C][C]0.144086[/C][/ROW]
[ROW][C]M8[/C][C]-385.580000000001[/C][C]781.609831[/C][C]-0.4933[/C][C]0.624039[/C][C]0.31202[/C][/ROW]
[ROW][C]M9[/C][C]-293.8[/C][C]781.609831[/C][C]-0.3759[/C][C]0.708654[/C][C]0.354327[/C][/ROW]
[ROW][C]M10[/C][C]1457.18[/C][C]781.609831[/C][C]1.8643[/C][C]0.068397[/C][C]0.034198[/C][/ROW]
[ROW][C]M11[/C][C]344.48[/C][C]781.609831[/C][C]0.4407[/C][C]0.661386[/C][C]0.330693[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27158&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27158&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)13249.3123076923570.61106223.219500
x2526.01923076923354.7888427.119800
M1803.164615384617748.708141.07270.2887540.144377
M2-1244.97615384615784.824142-1.58630.1192350.059618
M3-2301.35615384615784.824142-2.93230.0051420.002571
M4501.203846153846784.8241420.63860.5261060.263053
M5894.583846153845784.8241421.13990.2600040.130002
M6608.623846153846784.8241420.77550.4418540.220927
M7-842.936153846154784.824142-1.0740.2881720.144086
M8-385.580000000001781.609831-0.49330.6240390.31202
M9-293.8781.609831-0.37590.7086540.354327
M101457.18781.6098311.86430.0683970.034198
M11344.48781.6098310.44070.6613860.330693







Multiple Linear Regression - Regression Statistics
Multiple R0.821100104405425
R-squared0.6742053814546
Adjusted R-squared0.592756726818249
F-TEST (value)8.27767363948213
F-TEST (DF numerator)12
F-TEST (DF denominator)48
p-value3.73530576469605e-08
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1235.83365422433
Sum Squared Residuals73309671.4038461

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.821100104405425 \tabularnewline
R-squared & 0.6742053814546 \tabularnewline
Adjusted R-squared & 0.592756726818249 \tabularnewline
F-TEST (value) & 8.27767363948213 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 48 \tabularnewline
p-value & 3.73530576469605e-08 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1235.83365422433 \tabularnewline
Sum Squared Residuals & 73309671.4038461 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27158&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.821100104405425[/C][/ROW]
[ROW][C]R-squared[/C][C]0.6742053814546[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.592756726818249[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]8.27767363948213[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]48[/C][/ROW]
[ROW][C]p-value[/C][C]3.73530576469605e-08[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]1235.83365422433[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]73309671.4038461[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27158&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27158&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.821100104405425
R-squared0.6742053814546
Adjusted R-squared0.592756726818249
F-TEST (value)8.27767363948213
F-TEST (DF numerator)12
F-TEST (DF denominator)48
p-value3.73530576469605e-08
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1235.83365422433
Sum Squared Residuals73309671.4038461







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
112192.514052.4769230769-1859.97692307691
211268.812004.3361538462-735.536153846155
39097.410947.9561538462-1850.55615384615
412639.813750.5161538462-1110.71615384616
513040.114143.8961538462-1103.79615384615
611687.313857.9361538462-2170.63615384615
711191.712406.3761538462-1214.67615384615
811391.912863.7323076923-1471.83230769231
911793.112955.5123076923-1162.41230769231
1013933.214706.4923076923-773.292307692307
1112778.113593.7923076923-815.692307692308
1211810.313249.3123076923-1439.01230769231
1313698.414052.4769230769-354.076923076925
1411956.612004.3361538462-47.7361538461534
1510723.810947.9561538462-224.156153846155
1613938.913750.5161538462188.383846153846
1713979.814143.8961538462-164.096153846154
1813807.413857.9361538462-50.5361538461538
1912973.912406.3761538462567.523846153845
2012509.812863.7323076923-353.932307692308
2112934.112955.5123076923-21.4123076923074
2214908.314706.4923076923201.807692307692
2313772.113593.7923076923178.307692307693
2413012.613249.3123076923-236.712307692308
2514049.914052.4769230769-2.57692307692543
2611816.512004.3361538462-187.836153846154
2711593.210947.9561538462645.243846153846
2814466.213750.5161538462715.683846153847
2913615.914143.8961538462-527.996153846154
3014733.913857.9361538462875.963846153846
3113880.712406.37615384621474.32384615385
3213527.512863.7323076923663.767692307693
331358412955.5123076923628.487692307692
3416170.214706.49230769231463.70769230769
3513260.613593.7923076923-333.192307692307
3614741.913249.31230769231492.58769230769
3715486.514052.47692307691434.02307692308
3813154.512004.33615384621150.16384615385
3912621.210947.95615384621673.24384615385
4015031.613750.51615384621281.08384615385
4115452.414143.89615384621308.50384615385
421542813857.93615384621570.06384615385
4313105.912406.3761538462699.523846153846
4414716.815389.7515384615-672.951538461539
451418015481.5315384615-1301.53153846154
4616202.217232.5115384615-1030.31153846154
4714392.416119.8115384615-1727.41153846154
4815140.615775.3315384615-634.731538461538
4915960.116578.4961538462-618.396153846156
5014351.314530.3553846154-179.055384615384
5113230.213473.9753846154-243.775384615384
5215202.116276.5353846154-1074.43538461538
5317157.316669.9153846154487.384615384615
5416159.116383.9553846154-224.855384615384
5513405.714932.3953846154-1526.69538461538
5617224.715389.75153846151834.94846153846
5717338.415481.53153846151856.86846153846
5817370.617232.5115384615138.088461538460
5918817.816119.81153846152697.98846153846
6016593.215775.3315384615817.868461538462
6117979.516578.49615384621401.00384615384

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 12192.5 & 14052.4769230769 & -1859.97692307691 \tabularnewline
2 & 11268.8 & 12004.3361538462 & -735.536153846155 \tabularnewline
3 & 9097.4 & 10947.9561538462 & -1850.55615384615 \tabularnewline
4 & 12639.8 & 13750.5161538462 & -1110.71615384616 \tabularnewline
5 & 13040.1 & 14143.8961538462 & -1103.79615384615 \tabularnewline
6 & 11687.3 & 13857.9361538462 & -2170.63615384615 \tabularnewline
7 & 11191.7 & 12406.3761538462 & -1214.67615384615 \tabularnewline
8 & 11391.9 & 12863.7323076923 & -1471.83230769231 \tabularnewline
9 & 11793.1 & 12955.5123076923 & -1162.41230769231 \tabularnewline
10 & 13933.2 & 14706.4923076923 & -773.292307692307 \tabularnewline
11 & 12778.1 & 13593.7923076923 & -815.692307692308 \tabularnewline
12 & 11810.3 & 13249.3123076923 & -1439.01230769231 \tabularnewline
13 & 13698.4 & 14052.4769230769 & -354.076923076925 \tabularnewline
14 & 11956.6 & 12004.3361538462 & -47.7361538461534 \tabularnewline
15 & 10723.8 & 10947.9561538462 & -224.156153846155 \tabularnewline
16 & 13938.9 & 13750.5161538462 & 188.383846153846 \tabularnewline
17 & 13979.8 & 14143.8961538462 & -164.096153846154 \tabularnewline
18 & 13807.4 & 13857.9361538462 & -50.5361538461538 \tabularnewline
19 & 12973.9 & 12406.3761538462 & 567.523846153845 \tabularnewline
20 & 12509.8 & 12863.7323076923 & -353.932307692308 \tabularnewline
21 & 12934.1 & 12955.5123076923 & -21.4123076923074 \tabularnewline
22 & 14908.3 & 14706.4923076923 & 201.807692307692 \tabularnewline
23 & 13772.1 & 13593.7923076923 & 178.307692307693 \tabularnewline
24 & 13012.6 & 13249.3123076923 & -236.712307692308 \tabularnewline
25 & 14049.9 & 14052.4769230769 & -2.57692307692543 \tabularnewline
26 & 11816.5 & 12004.3361538462 & -187.836153846154 \tabularnewline
27 & 11593.2 & 10947.9561538462 & 645.243846153846 \tabularnewline
28 & 14466.2 & 13750.5161538462 & 715.683846153847 \tabularnewline
29 & 13615.9 & 14143.8961538462 & -527.996153846154 \tabularnewline
30 & 14733.9 & 13857.9361538462 & 875.963846153846 \tabularnewline
31 & 13880.7 & 12406.3761538462 & 1474.32384615385 \tabularnewline
32 & 13527.5 & 12863.7323076923 & 663.767692307693 \tabularnewline
33 & 13584 & 12955.5123076923 & 628.487692307692 \tabularnewline
34 & 16170.2 & 14706.4923076923 & 1463.70769230769 \tabularnewline
35 & 13260.6 & 13593.7923076923 & -333.192307692307 \tabularnewline
36 & 14741.9 & 13249.3123076923 & 1492.58769230769 \tabularnewline
37 & 15486.5 & 14052.4769230769 & 1434.02307692308 \tabularnewline
38 & 13154.5 & 12004.3361538462 & 1150.16384615385 \tabularnewline
39 & 12621.2 & 10947.9561538462 & 1673.24384615385 \tabularnewline
40 & 15031.6 & 13750.5161538462 & 1281.08384615385 \tabularnewline
41 & 15452.4 & 14143.8961538462 & 1308.50384615385 \tabularnewline
42 & 15428 & 13857.9361538462 & 1570.06384615385 \tabularnewline
43 & 13105.9 & 12406.3761538462 & 699.523846153846 \tabularnewline
44 & 14716.8 & 15389.7515384615 & -672.951538461539 \tabularnewline
45 & 14180 & 15481.5315384615 & -1301.53153846154 \tabularnewline
46 & 16202.2 & 17232.5115384615 & -1030.31153846154 \tabularnewline
47 & 14392.4 & 16119.8115384615 & -1727.41153846154 \tabularnewline
48 & 15140.6 & 15775.3315384615 & -634.731538461538 \tabularnewline
49 & 15960.1 & 16578.4961538462 & -618.396153846156 \tabularnewline
50 & 14351.3 & 14530.3553846154 & -179.055384615384 \tabularnewline
51 & 13230.2 & 13473.9753846154 & -243.775384615384 \tabularnewline
52 & 15202.1 & 16276.5353846154 & -1074.43538461538 \tabularnewline
53 & 17157.3 & 16669.9153846154 & 487.384615384615 \tabularnewline
54 & 16159.1 & 16383.9553846154 & -224.855384615384 \tabularnewline
55 & 13405.7 & 14932.3953846154 & -1526.69538461538 \tabularnewline
56 & 17224.7 & 15389.7515384615 & 1834.94846153846 \tabularnewline
57 & 17338.4 & 15481.5315384615 & 1856.86846153846 \tabularnewline
58 & 17370.6 & 17232.5115384615 & 138.088461538460 \tabularnewline
59 & 18817.8 & 16119.8115384615 & 2697.98846153846 \tabularnewline
60 & 16593.2 & 15775.3315384615 & 817.868461538462 \tabularnewline
61 & 17979.5 & 16578.4961538462 & 1401.00384615384 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27158&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]12192.5[/C][C]14052.4769230769[/C][C]-1859.97692307691[/C][/ROW]
[ROW][C]2[/C][C]11268.8[/C][C]12004.3361538462[/C][C]-735.536153846155[/C][/ROW]
[ROW][C]3[/C][C]9097.4[/C][C]10947.9561538462[/C][C]-1850.55615384615[/C][/ROW]
[ROW][C]4[/C][C]12639.8[/C][C]13750.5161538462[/C][C]-1110.71615384616[/C][/ROW]
[ROW][C]5[/C][C]13040.1[/C][C]14143.8961538462[/C][C]-1103.79615384615[/C][/ROW]
[ROW][C]6[/C][C]11687.3[/C][C]13857.9361538462[/C][C]-2170.63615384615[/C][/ROW]
[ROW][C]7[/C][C]11191.7[/C][C]12406.3761538462[/C][C]-1214.67615384615[/C][/ROW]
[ROW][C]8[/C][C]11391.9[/C][C]12863.7323076923[/C][C]-1471.83230769231[/C][/ROW]
[ROW][C]9[/C][C]11793.1[/C][C]12955.5123076923[/C][C]-1162.41230769231[/C][/ROW]
[ROW][C]10[/C][C]13933.2[/C][C]14706.4923076923[/C][C]-773.292307692307[/C][/ROW]
[ROW][C]11[/C][C]12778.1[/C][C]13593.7923076923[/C][C]-815.692307692308[/C][/ROW]
[ROW][C]12[/C][C]11810.3[/C][C]13249.3123076923[/C][C]-1439.01230769231[/C][/ROW]
[ROW][C]13[/C][C]13698.4[/C][C]14052.4769230769[/C][C]-354.076923076925[/C][/ROW]
[ROW][C]14[/C][C]11956.6[/C][C]12004.3361538462[/C][C]-47.7361538461534[/C][/ROW]
[ROW][C]15[/C][C]10723.8[/C][C]10947.9561538462[/C][C]-224.156153846155[/C][/ROW]
[ROW][C]16[/C][C]13938.9[/C][C]13750.5161538462[/C][C]188.383846153846[/C][/ROW]
[ROW][C]17[/C][C]13979.8[/C][C]14143.8961538462[/C][C]-164.096153846154[/C][/ROW]
[ROW][C]18[/C][C]13807.4[/C][C]13857.9361538462[/C][C]-50.5361538461538[/C][/ROW]
[ROW][C]19[/C][C]12973.9[/C][C]12406.3761538462[/C][C]567.523846153845[/C][/ROW]
[ROW][C]20[/C][C]12509.8[/C][C]12863.7323076923[/C][C]-353.932307692308[/C][/ROW]
[ROW][C]21[/C][C]12934.1[/C][C]12955.5123076923[/C][C]-21.4123076923074[/C][/ROW]
[ROW][C]22[/C][C]14908.3[/C][C]14706.4923076923[/C][C]201.807692307692[/C][/ROW]
[ROW][C]23[/C][C]13772.1[/C][C]13593.7923076923[/C][C]178.307692307693[/C][/ROW]
[ROW][C]24[/C][C]13012.6[/C][C]13249.3123076923[/C][C]-236.712307692308[/C][/ROW]
[ROW][C]25[/C][C]14049.9[/C][C]14052.4769230769[/C][C]-2.57692307692543[/C][/ROW]
[ROW][C]26[/C][C]11816.5[/C][C]12004.3361538462[/C][C]-187.836153846154[/C][/ROW]
[ROW][C]27[/C][C]11593.2[/C][C]10947.9561538462[/C][C]645.243846153846[/C][/ROW]
[ROW][C]28[/C][C]14466.2[/C][C]13750.5161538462[/C][C]715.683846153847[/C][/ROW]
[ROW][C]29[/C][C]13615.9[/C][C]14143.8961538462[/C][C]-527.996153846154[/C][/ROW]
[ROW][C]30[/C][C]14733.9[/C][C]13857.9361538462[/C][C]875.963846153846[/C][/ROW]
[ROW][C]31[/C][C]13880.7[/C][C]12406.3761538462[/C][C]1474.32384615385[/C][/ROW]
[ROW][C]32[/C][C]13527.5[/C][C]12863.7323076923[/C][C]663.767692307693[/C][/ROW]
[ROW][C]33[/C][C]13584[/C][C]12955.5123076923[/C][C]628.487692307692[/C][/ROW]
[ROW][C]34[/C][C]16170.2[/C][C]14706.4923076923[/C][C]1463.70769230769[/C][/ROW]
[ROW][C]35[/C][C]13260.6[/C][C]13593.7923076923[/C][C]-333.192307692307[/C][/ROW]
[ROW][C]36[/C][C]14741.9[/C][C]13249.3123076923[/C][C]1492.58769230769[/C][/ROW]
[ROW][C]37[/C][C]15486.5[/C][C]14052.4769230769[/C][C]1434.02307692308[/C][/ROW]
[ROW][C]38[/C][C]13154.5[/C][C]12004.3361538462[/C][C]1150.16384615385[/C][/ROW]
[ROW][C]39[/C][C]12621.2[/C][C]10947.9561538462[/C][C]1673.24384615385[/C][/ROW]
[ROW][C]40[/C][C]15031.6[/C][C]13750.5161538462[/C][C]1281.08384615385[/C][/ROW]
[ROW][C]41[/C][C]15452.4[/C][C]14143.8961538462[/C][C]1308.50384615385[/C][/ROW]
[ROW][C]42[/C][C]15428[/C][C]13857.9361538462[/C][C]1570.06384615385[/C][/ROW]
[ROW][C]43[/C][C]13105.9[/C][C]12406.3761538462[/C][C]699.523846153846[/C][/ROW]
[ROW][C]44[/C][C]14716.8[/C][C]15389.7515384615[/C][C]-672.951538461539[/C][/ROW]
[ROW][C]45[/C][C]14180[/C][C]15481.5315384615[/C][C]-1301.53153846154[/C][/ROW]
[ROW][C]46[/C][C]16202.2[/C][C]17232.5115384615[/C][C]-1030.31153846154[/C][/ROW]
[ROW][C]47[/C][C]14392.4[/C][C]16119.8115384615[/C][C]-1727.41153846154[/C][/ROW]
[ROW][C]48[/C][C]15140.6[/C][C]15775.3315384615[/C][C]-634.731538461538[/C][/ROW]
[ROW][C]49[/C][C]15960.1[/C][C]16578.4961538462[/C][C]-618.396153846156[/C][/ROW]
[ROW][C]50[/C][C]14351.3[/C][C]14530.3553846154[/C][C]-179.055384615384[/C][/ROW]
[ROW][C]51[/C][C]13230.2[/C][C]13473.9753846154[/C][C]-243.775384615384[/C][/ROW]
[ROW][C]52[/C][C]15202.1[/C][C]16276.5353846154[/C][C]-1074.43538461538[/C][/ROW]
[ROW][C]53[/C][C]17157.3[/C][C]16669.9153846154[/C][C]487.384615384615[/C][/ROW]
[ROW][C]54[/C][C]16159.1[/C][C]16383.9553846154[/C][C]-224.855384615384[/C][/ROW]
[ROW][C]55[/C][C]13405.7[/C][C]14932.3953846154[/C][C]-1526.69538461538[/C][/ROW]
[ROW][C]56[/C][C]17224.7[/C][C]15389.7515384615[/C][C]1834.94846153846[/C][/ROW]
[ROW][C]57[/C][C]17338.4[/C][C]15481.5315384615[/C][C]1856.86846153846[/C][/ROW]
[ROW][C]58[/C][C]17370.6[/C][C]17232.5115384615[/C][C]138.088461538460[/C][/ROW]
[ROW][C]59[/C][C]18817.8[/C][C]16119.8115384615[/C][C]2697.98846153846[/C][/ROW]
[ROW][C]60[/C][C]16593.2[/C][C]15775.3315384615[/C][C]817.868461538462[/C][/ROW]
[ROW][C]61[/C][C]17979.5[/C][C]16578.4961538462[/C][C]1401.00384615384[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27158&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27158&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
112192.514052.4769230769-1859.97692307691
211268.812004.3361538462-735.536153846155
39097.410947.9561538462-1850.55615384615
412639.813750.5161538462-1110.71615384616
513040.114143.8961538462-1103.79615384615
611687.313857.9361538462-2170.63615384615
711191.712406.3761538462-1214.67615384615
811391.912863.7323076923-1471.83230769231
911793.112955.5123076923-1162.41230769231
1013933.214706.4923076923-773.292307692307
1112778.113593.7923076923-815.692307692308
1211810.313249.3123076923-1439.01230769231
1313698.414052.4769230769-354.076923076925
1411956.612004.3361538462-47.7361538461534
1510723.810947.9561538462-224.156153846155
1613938.913750.5161538462188.383846153846
1713979.814143.8961538462-164.096153846154
1813807.413857.9361538462-50.5361538461538
1912973.912406.3761538462567.523846153845
2012509.812863.7323076923-353.932307692308
2112934.112955.5123076923-21.4123076923074
2214908.314706.4923076923201.807692307692
2313772.113593.7923076923178.307692307693
2413012.613249.3123076923-236.712307692308
2514049.914052.4769230769-2.57692307692543
2611816.512004.3361538462-187.836153846154
2711593.210947.9561538462645.243846153846
2814466.213750.5161538462715.683846153847
2913615.914143.8961538462-527.996153846154
3014733.913857.9361538462875.963846153846
3113880.712406.37615384621474.32384615385
3213527.512863.7323076923663.767692307693
331358412955.5123076923628.487692307692
3416170.214706.49230769231463.70769230769
3513260.613593.7923076923-333.192307692307
3614741.913249.31230769231492.58769230769
3715486.514052.47692307691434.02307692308
3813154.512004.33615384621150.16384615385
3912621.210947.95615384621673.24384615385
4015031.613750.51615384621281.08384615385
4115452.414143.89615384621308.50384615385
421542813857.93615384621570.06384615385
4313105.912406.3761538462699.523846153846
4414716.815389.7515384615-672.951538461539
451418015481.5315384615-1301.53153846154
4616202.217232.5115384615-1030.31153846154
4714392.416119.8115384615-1727.41153846154
4815140.615775.3315384615-634.731538461538
4915960.116578.4961538462-618.396153846156
5014351.314530.3553846154-179.055384615384
5113230.213473.9753846154-243.775384615384
5215202.116276.5353846154-1074.43538461538
5317157.316669.9153846154487.384615384615
5416159.116383.9553846154-224.855384615384
5513405.714932.3953846154-1526.69538461538
5617224.715389.75153846151834.94846153846
5717338.415481.53153846151856.86846153846
5817370.617232.5115384615138.088461538460
5918817.816119.81153846152697.98846153846
6016593.215775.3315384615817.868461538462
6117979.516578.49615384621401.00384615384







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.5734369562420770.8531260875158460.426563043757923
170.4585633829727230.9171267659454460.541436617027277
180.5507284661506230.8985430676987540.449271533849377
190.5469286429640140.9061427140719720.453071357035986
200.4920188555465160.9840377110930320.507981144453484
210.4301259287941660.8602518575883320.569874071205834
220.3540139200736520.7080278401473040.645986079926348
230.2880344911502480.5760689823004960.711965508849752
240.2617828570586730.5235657141173450.738217142941327
250.2439530003649050.4879060007298110.756046999635095
260.1848414922605000.3696829845209990.8151585077395
270.1971664828487310.3943329656974620.802833517151269
280.164603564467930.329207128935860.83539643553207
290.1461444866411890.2922889732823790.85385551335881
300.1690979837323160.3381959674646310.830902016267684
310.1896307961330170.3792615922660340.810369203866983
320.1854127499356310.3708254998712620.814587250064369
330.1586426749452100.3172853498904210.84135732505479
340.1483259515167280.2966519030334550.851674048483272
350.1555782013173220.3111564026346440.844421798682678
360.1648400217394730.3296800434789470.835159978260526
370.1677110883378520.3354221766757040.832288911662148
380.1327314244958650.2654628489917290.867268575504135
390.1184710023865990.2369420047731970.881528997613401
400.08563994285370660.1712798857074130.914360057146293
410.06958698076272610.1391739615254520.930413019237274
420.05089505688942090.1017901137788420.94910494311058
430.02607979346320790.05215958692641580.973920206536792
440.02278426764977990.04556853529955990.97721573235022
450.03236102878576410.06472205757152820.967638971214236

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.573436956242077 & 0.853126087515846 & 0.426563043757923 \tabularnewline
17 & 0.458563382972723 & 0.917126765945446 & 0.541436617027277 \tabularnewline
18 & 0.550728466150623 & 0.898543067698754 & 0.449271533849377 \tabularnewline
19 & 0.546928642964014 & 0.906142714071972 & 0.453071357035986 \tabularnewline
20 & 0.492018855546516 & 0.984037711093032 & 0.507981144453484 \tabularnewline
21 & 0.430125928794166 & 0.860251857588332 & 0.569874071205834 \tabularnewline
22 & 0.354013920073652 & 0.708027840147304 & 0.645986079926348 \tabularnewline
23 & 0.288034491150248 & 0.576068982300496 & 0.711965508849752 \tabularnewline
24 & 0.261782857058673 & 0.523565714117345 & 0.738217142941327 \tabularnewline
25 & 0.243953000364905 & 0.487906000729811 & 0.756046999635095 \tabularnewline
26 & 0.184841492260500 & 0.369682984520999 & 0.8151585077395 \tabularnewline
27 & 0.197166482848731 & 0.394332965697462 & 0.802833517151269 \tabularnewline
28 & 0.16460356446793 & 0.32920712893586 & 0.83539643553207 \tabularnewline
29 & 0.146144486641189 & 0.292288973282379 & 0.85385551335881 \tabularnewline
30 & 0.169097983732316 & 0.338195967464631 & 0.830902016267684 \tabularnewline
31 & 0.189630796133017 & 0.379261592266034 & 0.810369203866983 \tabularnewline
32 & 0.185412749935631 & 0.370825499871262 & 0.814587250064369 \tabularnewline
33 & 0.158642674945210 & 0.317285349890421 & 0.84135732505479 \tabularnewline
34 & 0.148325951516728 & 0.296651903033455 & 0.851674048483272 \tabularnewline
35 & 0.155578201317322 & 0.311156402634644 & 0.844421798682678 \tabularnewline
36 & 0.164840021739473 & 0.329680043478947 & 0.835159978260526 \tabularnewline
37 & 0.167711088337852 & 0.335422176675704 & 0.832288911662148 \tabularnewline
38 & 0.132731424495865 & 0.265462848991729 & 0.867268575504135 \tabularnewline
39 & 0.118471002386599 & 0.236942004773197 & 0.881528997613401 \tabularnewline
40 & 0.0856399428537066 & 0.171279885707413 & 0.914360057146293 \tabularnewline
41 & 0.0695869807627261 & 0.139173961525452 & 0.930413019237274 \tabularnewline
42 & 0.0508950568894209 & 0.101790113778842 & 0.94910494311058 \tabularnewline
43 & 0.0260797934632079 & 0.0521595869264158 & 0.973920206536792 \tabularnewline
44 & 0.0227842676497799 & 0.0455685352995599 & 0.97721573235022 \tabularnewline
45 & 0.0323610287857641 & 0.0647220575715282 & 0.967638971214236 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27158&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]16[/C][C]0.573436956242077[/C][C]0.853126087515846[/C][C]0.426563043757923[/C][/ROW]
[ROW][C]17[/C][C]0.458563382972723[/C][C]0.917126765945446[/C][C]0.541436617027277[/C][/ROW]
[ROW][C]18[/C][C]0.550728466150623[/C][C]0.898543067698754[/C][C]0.449271533849377[/C][/ROW]
[ROW][C]19[/C][C]0.546928642964014[/C][C]0.906142714071972[/C][C]0.453071357035986[/C][/ROW]
[ROW][C]20[/C][C]0.492018855546516[/C][C]0.984037711093032[/C][C]0.507981144453484[/C][/ROW]
[ROW][C]21[/C][C]0.430125928794166[/C][C]0.860251857588332[/C][C]0.569874071205834[/C][/ROW]
[ROW][C]22[/C][C]0.354013920073652[/C][C]0.708027840147304[/C][C]0.645986079926348[/C][/ROW]
[ROW][C]23[/C][C]0.288034491150248[/C][C]0.576068982300496[/C][C]0.711965508849752[/C][/ROW]
[ROW][C]24[/C][C]0.261782857058673[/C][C]0.523565714117345[/C][C]0.738217142941327[/C][/ROW]
[ROW][C]25[/C][C]0.243953000364905[/C][C]0.487906000729811[/C][C]0.756046999635095[/C][/ROW]
[ROW][C]26[/C][C]0.184841492260500[/C][C]0.369682984520999[/C][C]0.8151585077395[/C][/ROW]
[ROW][C]27[/C][C]0.197166482848731[/C][C]0.394332965697462[/C][C]0.802833517151269[/C][/ROW]
[ROW][C]28[/C][C]0.16460356446793[/C][C]0.32920712893586[/C][C]0.83539643553207[/C][/ROW]
[ROW][C]29[/C][C]0.146144486641189[/C][C]0.292288973282379[/C][C]0.85385551335881[/C][/ROW]
[ROW][C]30[/C][C]0.169097983732316[/C][C]0.338195967464631[/C][C]0.830902016267684[/C][/ROW]
[ROW][C]31[/C][C]0.189630796133017[/C][C]0.379261592266034[/C][C]0.810369203866983[/C][/ROW]
[ROW][C]32[/C][C]0.185412749935631[/C][C]0.370825499871262[/C][C]0.814587250064369[/C][/ROW]
[ROW][C]33[/C][C]0.158642674945210[/C][C]0.317285349890421[/C][C]0.84135732505479[/C][/ROW]
[ROW][C]34[/C][C]0.148325951516728[/C][C]0.296651903033455[/C][C]0.851674048483272[/C][/ROW]
[ROW][C]35[/C][C]0.155578201317322[/C][C]0.311156402634644[/C][C]0.844421798682678[/C][/ROW]
[ROW][C]36[/C][C]0.164840021739473[/C][C]0.329680043478947[/C][C]0.835159978260526[/C][/ROW]
[ROW][C]37[/C][C]0.167711088337852[/C][C]0.335422176675704[/C][C]0.832288911662148[/C][/ROW]
[ROW][C]38[/C][C]0.132731424495865[/C][C]0.265462848991729[/C][C]0.867268575504135[/C][/ROW]
[ROW][C]39[/C][C]0.118471002386599[/C][C]0.236942004773197[/C][C]0.881528997613401[/C][/ROW]
[ROW][C]40[/C][C]0.0856399428537066[/C][C]0.171279885707413[/C][C]0.914360057146293[/C][/ROW]
[ROW][C]41[/C][C]0.0695869807627261[/C][C]0.139173961525452[/C][C]0.930413019237274[/C][/ROW]
[ROW][C]42[/C][C]0.0508950568894209[/C][C]0.101790113778842[/C][C]0.94910494311058[/C][/ROW]
[ROW][C]43[/C][C]0.0260797934632079[/C][C]0.0521595869264158[/C][C]0.973920206536792[/C][/ROW]
[ROW][C]44[/C][C]0.0227842676497799[/C][C]0.0455685352995599[/C][C]0.97721573235022[/C][/ROW]
[ROW][C]45[/C][C]0.0323610287857641[/C][C]0.0647220575715282[/C][C]0.967638971214236[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27158&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.5734369562420770.8531260875158460.426563043757923
170.4585633829727230.9171267659454460.541436617027277
180.5507284661506230.8985430676987540.449271533849377
190.5469286429640140.9061427140719720.453071357035986
200.4920188555465160.9840377110930320.507981144453484
210.4301259287941660.8602518575883320.569874071205834
220.3540139200736520.7080278401473040.645986079926348
230.2880344911502480.5760689823004960.711965508849752
240.2617828570586730.5235657141173450.738217142941327
250.2439530003649050.4879060007298110.756046999635095
260.1848414922605000.3696829845209990.8151585077395
270.1971664828487310.3943329656974620.802833517151269
280.164603564467930.329207128935860.83539643553207
290.1461444866411890.2922889732823790.85385551335881
300.1690979837323160.3381959674646310.830902016267684
310.1896307961330170.3792615922660340.810369203866983
320.1854127499356310.3708254998712620.814587250064369
330.1586426749452100.3172853498904210.84135732505479
340.1483259515167280.2966519030334550.851674048483272
350.1555782013173220.3111564026346440.844421798682678
360.1648400217394730.3296800434789470.835159978260526
370.1677110883378520.3354221766757040.832288911662148
380.1327314244958650.2654628489917290.867268575504135
390.1184710023865990.2369420047731970.881528997613401
400.08563994285370660.1712798857074130.914360057146293
410.06958698076272610.1391739615254520.930413019237274
420.05089505688942090.1017901137788420.94910494311058
430.02607979346320790.05215958692641580.973920206536792
440.02278426764977990.04556853529955990.97721573235022
450.03236102878576410.06472205757152820.967638971214236







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

\begin{tabular}{lllllllll}
\hline
Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
Description & # significant tests & % significant tests & OK/NOK \tabularnewline
1% type I error level & 0 & 0 & OK \tabularnewline
5% type I error level & 1 & 0.0333333333333333 & OK \tabularnewline
10% type I error level & 3 & 0.1 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27158&T=6

[TABLE]
[ROW][C]Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]Description[/C][C]# significant tests[/C][C]% significant tests[/C][C]OK/NOK[/C][/ROW]
[ROW][C]1% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]1[/C][C]0.0333333333333333[/C][C]OK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]3[/C][C]0.1[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27158&T=6

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

As an alternative you can also use a QR Code:  

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

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



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly 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')
}