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 computationSun, 06 Dec 2009 06:06:41 -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/2009/Dec/06/t1260104876bp2devaqukifjld.htm/, Retrieved Sun, 05 May 2024 09:48:16 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=64378, Retrieved Sun, 05 May 2024 09:48:16 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact140
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]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 13:54:52] [b98453cac15ba1066b407e146608df68]
-    D    [Multiple Regression] [model 1] [2009-11-17 14:36:29] [ed603017d2bee8fbd82b6d5ec04e12c3]
-    D      [Multiple Regression] [multiple regression] [2009-11-19 21:38:11] [ed603017d2bee8fbd82b6d5ec04e12c3]
-   PD          [Multiple Regression] [multiple regressi...] [2009-12-06 13:06:41] [87085ce7f5378f281469a8b1f0969170] [Current]
Feedback Forum

Post a new message
Dataseries X:
3,6	4,5	3,9
3,3	4,6	3,6
3,2	4,9	3,3
3,4	4,9	3,2
3,4	4,5	3,4
3,5	4,6	3,4
3,2	4,7	3,5
3,3	4,7	3,2
3,3	4,3	3,3
3,4	4,2	3,3
3,7	4,4	3,4
3,9	4	3,7
4	3,8	3,9
3,7	3,6	4
3,9	3,6	3,7
4,2	3,3	3,9
4,4	3,4	4,2
4,3	3,4	4,4
4,2	3,3	4,3
4,3	3,3	4,2
4,3	3,2	4,3
4,3	3,1	4,3
4,5	3,1	4,3
5	2,4	4,5
5,2	2,4	5
5,2	2,4	5,2
5,4	2,1	5,2
5,5	2	5,4
5,4	2	5,5
5,5	2,1	5,4
5,4	2,1	5,5
5,7	2	5,4
5,7	2	5,7
6,1	2	5,7
6,5	1,7	6,1
6,9	1,3	6,5
6,8	1,2	6,9
6,7	1,1	6,8
6,6	1,4	6,7
6,5	1,5	6,6
6,4	1,4	6,5
6,1	1,1	6,4
6,2	1,1	6,1
6,3	1	6,2
6,4	1,4	6,3
6,5	1,3	6,4
6,7	1,2	6,5
7	1,5	6,7
7	1,6	7
6,8	1,8	7
6,7	1,5	6,8
6,7	1,3	6,7
6,5	1,6	6,7
6,4	1,6	6,5
6,1	1,8	6,4
6,2	1,8	6,1
6	1,6	6,2
6,1	1,8	6
6,1	2	6,1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 4 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=64378&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]4 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=64378&T=0

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







Multiple Linear Regression - Estimated Regression Equation
Werkl[t] = + 1.81590223889269 -0.200998083864732Infl[t] + 0.82498581429753`M1(t)`[t] -0.302564367060396M1[t] -0.463821959024594M2[t] -0.293081820701185M3[t] -0.227438653623756M4[t] -0.351714504980950M5[t] -0.380492342336491M6[t] -0.460710578374196M7[t] -0.211009795977278M8[t] -0.356325003260963M9[t] -0.201602556902454M10[t] -0.0948578791542544M11[t] -0.00224269174985331t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Werkl[t] =  +  1.81590223889269 -0.200998083864732Infl[t] +  0.82498581429753`M1(t)`[t] -0.302564367060396M1[t] -0.463821959024594M2[t] -0.293081820701185M3[t] -0.227438653623756M4[t] -0.351714504980950M5[t] -0.380492342336491M6[t] -0.460710578374196M7[t] -0.211009795977278M8[t] -0.356325003260963M9[t] -0.201602556902454M10[t] -0.0948578791542544M11[t] -0.00224269174985331t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=64378&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Werkl[t] =  +  1.81590223889269 -0.200998083864732Infl[t] +  0.82498581429753`M1(t)`[t] -0.302564367060396M1[t] -0.463821959024594M2[t] -0.293081820701185M3[t] -0.227438653623756M4[t] -0.351714504980950M5[t] -0.380492342336491M6[t] -0.460710578374196M7[t] -0.211009795977278M8[t] -0.356325003260963M9[t] -0.201602556902454M10[t] -0.0948578791542544M11[t] -0.00224269174985331t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=64378&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=64378&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
Werkl[t] = + 1.81590223889269 -0.200998083864732Infl[t] + 0.82498581429753`M1(t)`[t] -0.302564367060396M1[t] -0.463821959024594M2[t] -0.293081820701185M3[t] -0.227438653623756M4[t] -0.351714504980950M5[t] -0.380492342336491M6[t] -0.460710578374196M7[t] -0.211009795977278M8[t] -0.356325003260963M9[t] -0.201602556902454M10[t] -0.0948578791542544M11[t] -0.00224269174985331t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)1.815902238892690.4167454.35737.8e-053.9e-05
Infl-0.2009980838647320.052076-3.85970.0003680.000184
`M1(t)`0.824985814297530.06679112.351800
M1-0.3025643670603960.091674-3.30040.001920.00096
M2-0.4638219590245940.090772-5.10977e-063e-06
M3-0.2930818207011850.088408-3.31510.0018410.000921
M4-0.2274386536237560.08797-2.58540.0131170.006558
M5-0.3517145049809500.088296-3.98340.0002520.000126
M6-0.3804923423364910.088137-4.3178.8e-054.4e-05
M7-0.4607105783741960.088588-5.20065e-062e-06
M8-0.2110097959772780.090105-2.34180.0237810.01189
M9-0.3563250032609630.089442-3.98390.0002510.000126
M10-0.2016025569024540.090357-2.23120.0308130.015406
M11-0.09485787915425440.089853-1.05570.2968650.148433
t-0.002242691749853310.003246-0.69090.4932510.246625

\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) & 1.81590223889269 & 0.416745 & 4.3573 & 7.8e-05 & 3.9e-05 \tabularnewline
Infl & -0.200998083864732 & 0.052076 & -3.8597 & 0.000368 & 0.000184 \tabularnewline
`M1(t)` & 0.82498581429753 & 0.066791 & 12.3518 & 0 & 0 \tabularnewline
M1 & -0.302564367060396 & 0.091674 & -3.3004 & 0.00192 & 0.00096 \tabularnewline
M2 & -0.463821959024594 & 0.090772 & -5.1097 & 7e-06 & 3e-06 \tabularnewline
M3 & -0.293081820701185 & 0.088408 & -3.3151 & 0.001841 & 0.000921 \tabularnewline
M4 & -0.227438653623756 & 0.08797 & -2.5854 & 0.013117 & 0.006558 \tabularnewline
M5 & -0.351714504980950 & 0.088296 & -3.9834 & 0.000252 & 0.000126 \tabularnewline
M6 & -0.380492342336491 & 0.088137 & -4.317 & 8.8e-05 & 4.4e-05 \tabularnewline
M7 & -0.460710578374196 & 0.088588 & -5.2006 & 5e-06 & 2e-06 \tabularnewline
M8 & -0.211009795977278 & 0.090105 & -2.3418 & 0.023781 & 0.01189 \tabularnewline
M9 & -0.356325003260963 & 0.089442 & -3.9839 & 0.000251 & 0.000126 \tabularnewline
M10 & -0.201602556902454 & 0.090357 & -2.2312 & 0.030813 & 0.015406 \tabularnewline
M11 & -0.0948578791542544 & 0.089853 & -1.0557 & 0.296865 & 0.148433 \tabularnewline
t & -0.00224269174985331 & 0.003246 & -0.6909 & 0.493251 & 0.246625 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=64378&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]1.81590223889269[/C][C]0.416745[/C][C]4.3573[/C][C]7.8e-05[/C][C]3.9e-05[/C][/ROW]
[ROW][C]Infl[/C][C]-0.200998083864732[/C][C]0.052076[/C][C]-3.8597[/C][C]0.000368[/C][C]0.000184[/C][/ROW]
[ROW][C]`M1(t)`[/C][C]0.82498581429753[/C][C]0.066791[/C][C]12.3518[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]-0.302564367060396[/C][C]0.091674[/C][C]-3.3004[/C][C]0.00192[/C][C]0.00096[/C][/ROW]
[ROW][C]M2[/C][C]-0.463821959024594[/C][C]0.090772[/C][C]-5.1097[/C][C]7e-06[/C][C]3e-06[/C][/ROW]
[ROW][C]M3[/C][C]-0.293081820701185[/C][C]0.088408[/C][C]-3.3151[/C][C]0.001841[/C][C]0.000921[/C][/ROW]
[ROW][C]M4[/C][C]-0.227438653623756[/C][C]0.08797[/C][C]-2.5854[/C][C]0.013117[/C][C]0.006558[/C][/ROW]
[ROW][C]M5[/C][C]-0.351714504980950[/C][C]0.088296[/C][C]-3.9834[/C][C]0.000252[/C][C]0.000126[/C][/ROW]
[ROW][C]M6[/C][C]-0.380492342336491[/C][C]0.088137[/C][C]-4.317[/C][C]8.8e-05[/C][C]4.4e-05[/C][/ROW]
[ROW][C]M7[/C][C]-0.460710578374196[/C][C]0.088588[/C][C]-5.2006[/C][C]5e-06[/C][C]2e-06[/C][/ROW]
[ROW][C]M8[/C][C]-0.211009795977278[/C][C]0.090105[/C][C]-2.3418[/C][C]0.023781[/C][C]0.01189[/C][/ROW]
[ROW][C]M9[/C][C]-0.356325003260963[/C][C]0.089442[/C][C]-3.9839[/C][C]0.000251[/C][C]0.000126[/C][/ROW]
[ROW][C]M10[/C][C]-0.201602556902454[/C][C]0.090357[/C][C]-2.2312[/C][C]0.030813[/C][C]0.015406[/C][/ROW]
[ROW][C]M11[/C][C]-0.0948578791542544[/C][C]0.089853[/C][C]-1.0557[/C][C]0.296865[/C][C]0.148433[/C][/ROW]
[ROW][C]t[/C][C]-0.00224269174985331[/C][C]0.003246[/C][C]-0.6909[/C][C]0.493251[/C][C]0.246625[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=64378&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=64378&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)1.815902238892690.4167454.35737.8e-053.9e-05
Infl-0.2009980838647320.052076-3.85970.0003680.000184
`M1(t)`0.824985814297530.06679112.351800
M1-0.3025643670603960.091674-3.30040.001920.00096
M2-0.4638219590245940.090772-5.10977e-063e-06
M3-0.2930818207011850.088408-3.31510.0018410.000921
M4-0.2274386536237560.08797-2.58540.0131170.006558
M5-0.3517145049809500.088296-3.98340.0002520.000126
M6-0.3804923423364910.088137-4.3178.8e-054.4e-05
M7-0.4607105783741960.088588-5.20065e-062e-06
M8-0.2110097959772780.090105-2.34180.0237810.01189
M9-0.3563250032609630.089442-3.98390.0002510.000126
M10-0.2016025569024540.090357-2.23120.0308130.015406
M11-0.09485787915425440.089853-1.05570.2968650.148433
t-0.002242691749853310.003246-0.69090.4932510.246625







Multiple Linear Regression - Regression Statistics
Multiple R0.996027266261953
R-squared0.99207031513726
Adjusted R-squared0.989547233590024
F-TEST (value)393.197879879969
F-TEST (DF numerator)14
F-TEST (DF denominator)44
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.130727785118641
Sum Squared Residuals0.75194916728912

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.996027266261953 \tabularnewline
R-squared & 0.99207031513726 \tabularnewline
Adjusted R-squared & 0.989547233590024 \tabularnewline
F-TEST (value) & 393.197879879969 \tabularnewline
F-TEST (DF numerator) & 14 \tabularnewline
F-TEST (DF denominator) & 44 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.130727785118641 \tabularnewline
Sum Squared Residuals & 0.75194916728912 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=64378&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.996027266261953[/C][/ROW]
[ROW][C]R-squared[/C][C]0.99207031513726[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.989547233590024[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]393.197879879969[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]14[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]44[/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]0.130727785118641[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]0.75194916728912[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=64378&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=64378&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.996027266261953
R-squared0.99207031513726
Adjusted R-squared0.989547233590024
F-TEST (value)393.197879879969
F-TEST (DF numerator)14
F-TEST (DF denominator)44
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.130727785118641
Sum Squared Residuals0.75194916728912







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
13.63.82404847845151-0.224048478451508
23.33.39295264206174-0.0929526420617366
33.23.25365491918661-0.0536549191866102
43.43.234556813084440.165443186915564
53.43.353434666382790.0465653336172135
63.53.302314328890920.197685671109080
73.23.28225217414664-0.0822521741466406
83.33.282214520504450.0177854794955533
93.33.297554436446550.00244556355344526
103.43.47013399944168-0.070133999441683
113.73.616934950096840.0830650499031642
123.94.03744511533639-0.137445115336390
1343.937834836158590.0621651638414075
143.73.89703275064724-0.19703275064724
153.93.818034452931540.0819655470684627
164.24.106731516278040.0932684837219614
174.44.207608909073780.192391090926223
184.34.34158554282789-0.0415855428278899
194.24.196725841997050.00327415800294924
204.34.36168535121436-0.061685351214363
214.34.31672584199705-0.0167258419970509
224.34.48930540499218-0.18930540499218
234.54.59380739099053-0.0938073909905258
2454.992118399959750.007881600040254
255.25.099804248298260.100195751701738
265.25.101301127443720.0986988725562839
275.45.330097999176690.0699020008233085
285.55.57859544575025-0.0785954457502471
295.45.53457548407295-0.134575484072952
305.55.400956565151330.0990434348486674
315.45.40099421879353-0.00099421879352644
325.75.586053536397310.113946463602688
335.75.685991381653030.0140086183469673
346.15.838471136261690.261528863738311
356.56.333266873138470.166733126861534
366.96.836275619807770.0637243801922278
376.86.88156269510301-0.0815626951030091
386.76.655663638345680.0443363616543233
396.66.68136307833006-0.0813630783300608
406.56.64216516384141-0.142165163841409
416.46.45324784769108-0.0532478476910823
426.16.40002816231536-0.300028162315356
436.26.070071490238540.129928509761463
446.36.42012797070183-0.120127970701829
456.46.274669419552150.125330580447850
466.56.52974756397703-0.0297475639770330
476.76.7368479397916-0.0368479397916049
4876.93416086489610.0658391351039074
4976.856749741988630.143250258011371
506.86.653049841501630.146950158498369
516.76.7168495503751-0.0168495503751000
526.76.73795106104587-0.0379510610458694
536.56.5511330927794-0.0511330927794023
546.46.35511540081450.044884599185498
556.16.14995627482424-0.049956274824245
566.26.149918621182050.0500813788179506
5766.12505892035121-0.125058920351211
586.16.072341895327410.0276581046725850
596.16.21914284598257-0.119142845982567

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 3.6 & 3.82404847845151 & -0.224048478451508 \tabularnewline
2 & 3.3 & 3.39295264206174 & -0.0929526420617366 \tabularnewline
3 & 3.2 & 3.25365491918661 & -0.0536549191866102 \tabularnewline
4 & 3.4 & 3.23455681308444 & 0.165443186915564 \tabularnewline
5 & 3.4 & 3.35343466638279 & 0.0465653336172135 \tabularnewline
6 & 3.5 & 3.30231432889092 & 0.197685671109080 \tabularnewline
7 & 3.2 & 3.28225217414664 & -0.0822521741466406 \tabularnewline
8 & 3.3 & 3.28221452050445 & 0.0177854794955533 \tabularnewline
9 & 3.3 & 3.29755443644655 & 0.00244556355344526 \tabularnewline
10 & 3.4 & 3.47013399944168 & -0.070133999441683 \tabularnewline
11 & 3.7 & 3.61693495009684 & 0.0830650499031642 \tabularnewline
12 & 3.9 & 4.03744511533639 & -0.137445115336390 \tabularnewline
13 & 4 & 3.93783483615859 & 0.0621651638414075 \tabularnewline
14 & 3.7 & 3.89703275064724 & -0.19703275064724 \tabularnewline
15 & 3.9 & 3.81803445293154 & 0.0819655470684627 \tabularnewline
16 & 4.2 & 4.10673151627804 & 0.0932684837219614 \tabularnewline
17 & 4.4 & 4.20760890907378 & 0.192391090926223 \tabularnewline
18 & 4.3 & 4.34158554282789 & -0.0415855428278899 \tabularnewline
19 & 4.2 & 4.19672584199705 & 0.00327415800294924 \tabularnewline
20 & 4.3 & 4.36168535121436 & -0.061685351214363 \tabularnewline
21 & 4.3 & 4.31672584199705 & -0.0167258419970509 \tabularnewline
22 & 4.3 & 4.48930540499218 & -0.18930540499218 \tabularnewline
23 & 4.5 & 4.59380739099053 & -0.0938073909905258 \tabularnewline
24 & 5 & 4.99211839995975 & 0.007881600040254 \tabularnewline
25 & 5.2 & 5.09980424829826 & 0.100195751701738 \tabularnewline
26 & 5.2 & 5.10130112744372 & 0.0986988725562839 \tabularnewline
27 & 5.4 & 5.33009799917669 & 0.0699020008233085 \tabularnewline
28 & 5.5 & 5.57859544575025 & -0.0785954457502471 \tabularnewline
29 & 5.4 & 5.53457548407295 & -0.134575484072952 \tabularnewline
30 & 5.5 & 5.40095656515133 & 0.0990434348486674 \tabularnewline
31 & 5.4 & 5.40099421879353 & -0.00099421879352644 \tabularnewline
32 & 5.7 & 5.58605353639731 & 0.113946463602688 \tabularnewline
33 & 5.7 & 5.68599138165303 & 0.0140086183469673 \tabularnewline
34 & 6.1 & 5.83847113626169 & 0.261528863738311 \tabularnewline
35 & 6.5 & 6.33326687313847 & 0.166733126861534 \tabularnewline
36 & 6.9 & 6.83627561980777 & 0.0637243801922278 \tabularnewline
37 & 6.8 & 6.88156269510301 & -0.0815626951030091 \tabularnewline
38 & 6.7 & 6.65566363834568 & 0.0443363616543233 \tabularnewline
39 & 6.6 & 6.68136307833006 & -0.0813630783300608 \tabularnewline
40 & 6.5 & 6.64216516384141 & -0.142165163841409 \tabularnewline
41 & 6.4 & 6.45324784769108 & -0.0532478476910823 \tabularnewline
42 & 6.1 & 6.40002816231536 & -0.300028162315356 \tabularnewline
43 & 6.2 & 6.07007149023854 & 0.129928509761463 \tabularnewline
44 & 6.3 & 6.42012797070183 & -0.120127970701829 \tabularnewline
45 & 6.4 & 6.27466941955215 & 0.125330580447850 \tabularnewline
46 & 6.5 & 6.52974756397703 & -0.0297475639770330 \tabularnewline
47 & 6.7 & 6.7368479397916 & -0.0368479397916049 \tabularnewline
48 & 7 & 6.9341608648961 & 0.0658391351039074 \tabularnewline
49 & 7 & 6.85674974198863 & 0.143250258011371 \tabularnewline
50 & 6.8 & 6.65304984150163 & 0.146950158498369 \tabularnewline
51 & 6.7 & 6.7168495503751 & -0.0168495503751000 \tabularnewline
52 & 6.7 & 6.73795106104587 & -0.0379510610458694 \tabularnewline
53 & 6.5 & 6.5511330927794 & -0.0511330927794023 \tabularnewline
54 & 6.4 & 6.3551154008145 & 0.044884599185498 \tabularnewline
55 & 6.1 & 6.14995627482424 & -0.049956274824245 \tabularnewline
56 & 6.2 & 6.14991862118205 & 0.0500813788179506 \tabularnewline
57 & 6 & 6.12505892035121 & -0.125058920351211 \tabularnewline
58 & 6.1 & 6.07234189532741 & 0.0276581046725850 \tabularnewline
59 & 6.1 & 6.21914284598257 & -0.119142845982567 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=64378&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]3.6[/C][C]3.82404847845151[/C][C]-0.224048478451508[/C][/ROW]
[ROW][C]2[/C][C]3.3[/C][C]3.39295264206174[/C][C]-0.0929526420617366[/C][/ROW]
[ROW][C]3[/C][C]3.2[/C][C]3.25365491918661[/C][C]-0.0536549191866102[/C][/ROW]
[ROW][C]4[/C][C]3.4[/C][C]3.23455681308444[/C][C]0.165443186915564[/C][/ROW]
[ROW][C]5[/C][C]3.4[/C][C]3.35343466638279[/C][C]0.0465653336172135[/C][/ROW]
[ROW][C]6[/C][C]3.5[/C][C]3.30231432889092[/C][C]0.197685671109080[/C][/ROW]
[ROW][C]7[/C][C]3.2[/C][C]3.28225217414664[/C][C]-0.0822521741466406[/C][/ROW]
[ROW][C]8[/C][C]3.3[/C][C]3.28221452050445[/C][C]0.0177854794955533[/C][/ROW]
[ROW][C]9[/C][C]3.3[/C][C]3.29755443644655[/C][C]0.00244556355344526[/C][/ROW]
[ROW][C]10[/C][C]3.4[/C][C]3.47013399944168[/C][C]-0.070133999441683[/C][/ROW]
[ROW][C]11[/C][C]3.7[/C][C]3.61693495009684[/C][C]0.0830650499031642[/C][/ROW]
[ROW][C]12[/C][C]3.9[/C][C]4.03744511533639[/C][C]-0.137445115336390[/C][/ROW]
[ROW][C]13[/C][C]4[/C][C]3.93783483615859[/C][C]0.0621651638414075[/C][/ROW]
[ROW][C]14[/C][C]3.7[/C][C]3.89703275064724[/C][C]-0.19703275064724[/C][/ROW]
[ROW][C]15[/C][C]3.9[/C][C]3.81803445293154[/C][C]0.0819655470684627[/C][/ROW]
[ROW][C]16[/C][C]4.2[/C][C]4.10673151627804[/C][C]0.0932684837219614[/C][/ROW]
[ROW][C]17[/C][C]4.4[/C][C]4.20760890907378[/C][C]0.192391090926223[/C][/ROW]
[ROW][C]18[/C][C]4.3[/C][C]4.34158554282789[/C][C]-0.0415855428278899[/C][/ROW]
[ROW][C]19[/C][C]4.2[/C][C]4.19672584199705[/C][C]0.00327415800294924[/C][/ROW]
[ROW][C]20[/C][C]4.3[/C][C]4.36168535121436[/C][C]-0.061685351214363[/C][/ROW]
[ROW][C]21[/C][C]4.3[/C][C]4.31672584199705[/C][C]-0.0167258419970509[/C][/ROW]
[ROW][C]22[/C][C]4.3[/C][C]4.48930540499218[/C][C]-0.18930540499218[/C][/ROW]
[ROW][C]23[/C][C]4.5[/C][C]4.59380739099053[/C][C]-0.0938073909905258[/C][/ROW]
[ROW][C]24[/C][C]5[/C][C]4.99211839995975[/C][C]0.007881600040254[/C][/ROW]
[ROW][C]25[/C][C]5.2[/C][C]5.09980424829826[/C][C]0.100195751701738[/C][/ROW]
[ROW][C]26[/C][C]5.2[/C][C]5.10130112744372[/C][C]0.0986988725562839[/C][/ROW]
[ROW][C]27[/C][C]5.4[/C][C]5.33009799917669[/C][C]0.0699020008233085[/C][/ROW]
[ROW][C]28[/C][C]5.5[/C][C]5.57859544575025[/C][C]-0.0785954457502471[/C][/ROW]
[ROW][C]29[/C][C]5.4[/C][C]5.53457548407295[/C][C]-0.134575484072952[/C][/ROW]
[ROW][C]30[/C][C]5.5[/C][C]5.40095656515133[/C][C]0.0990434348486674[/C][/ROW]
[ROW][C]31[/C][C]5.4[/C][C]5.40099421879353[/C][C]-0.00099421879352644[/C][/ROW]
[ROW][C]32[/C][C]5.7[/C][C]5.58605353639731[/C][C]0.113946463602688[/C][/ROW]
[ROW][C]33[/C][C]5.7[/C][C]5.68599138165303[/C][C]0.0140086183469673[/C][/ROW]
[ROW][C]34[/C][C]6.1[/C][C]5.83847113626169[/C][C]0.261528863738311[/C][/ROW]
[ROW][C]35[/C][C]6.5[/C][C]6.33326687313847[/C][C]0.166733126861534[/C][/ROW]
[ROW][C]36[/C][C]6.9[/C][C]6.83627561980777[/C][C]0.0637243801922278[/C][/ROW]
[ROW][C]37[/C][C]6.8[/C][C]6.88156269510301[/C][C]-0.0815626951030091[/C][/ROW]
[ROW][C]38[/C][C]6.7[/C][C]6.65566363834568[/C][C]0.0443363616543233[/C][/ROW]
[ROW][C]39[/C][C]6.6[/C][C]6.68136307833006[/C][C]-0.0813630783300608[/C][/ROW]
[ROW][C]40[/C][C]6.5[/C][C]6.64216516384141[/C][C]-0.142165163841409[/C][/ROW]
[ROW][C]41[/C][C]6.4[/C][C]6.45324784769108[/C][C]-0.0532478476910823[/C][/ROW]
[ROW][C]42[/C][C]6.1[/C][C]6.40002816231536[/C][C]-0.300028162315356[/C][/ROW]
[ROW][C]43[/C][C]6.2[/C][C]6.07007149023854[/C][C]0.129928509761463[/C][/ROW]
[ROW][C]44[/C][C]6.3[/C][C]6.42012797070183[/C][C]-0.120127970701829[/C][/ROW]
[ROW][C]45[/C][C]6.4[/C][C]6.27466941955215[/C][C]0.125330580447850[/C][/ROW]
[ROW][C]46[/C][C]6.5[/C][C]6.52974756397703[/C][C]-0.0297475639770330[/C][/ROW]
[ROW][C]47[/C][C]6.7[/C][C]6.7368479397916[/C][C]-0.0368479397916049[/C][/ROW]
[ROW][C]48[/C][C]7[/C][C]6.9341608648961[/C][C]0.0658391351039074[/C][/ROW]
[ROW][C]49[/C][C]7[/C][C]6.85674974198863[/C][C]0.143250258011371[/C][/ROW]
[ROW][C]50[/C][C]6.8[/C][C]6.65304984150163[/C][C]0.146950158498369[/C][/ROW]
[ROW][C]51[/C][C]6.7[/C][C]6.7168495503751[/C][C]-0.0168495503751000[/C][/ROW]
[ROW][C]52[/C][C]6.7[/C][C]6.73795106104587[/C][C]-0.0379510610458694[/C][/ROW]
[ROW][C]53[/C][C]6.5[/C][C]6.5511330927794[/C][C]-0.0511330927794023[/C][/ROW]
[ROW][C]54[/C][C]6.4[/C][C]6.3551154008145[/C][C]0.044884599185498[/C][/ROW]
[ROW][C]55[/C][C]6.1[/C][C]6.14995627482424[/C][C]-0.049956274824245[/C][/ROW]
[ROW][C]56[/C][C]6.2[/C][C]6.14991862118205[/C][C]0.0500813788179506[/C][/ROW]
[ROW][C]57[/C][C]6[/C][C]6.12505892035121[/C][C]-0.125058920351211[/C][/ROW]
[ROW][C]58[/C][C]6.1[/C][C]6.07234189532741[/C][C]0.0276581046725850[/C][/ROW]
[ROW][C]59[/C][C]6.1[/C][C]6.21914284598257[/C][C]-0.119142845982567[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=64378&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=64378&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
13.63.82404847845151-0.224048478451508
23.33.39295264206174-0.0929526420617366
33.23.25365491918661-0.0536549191866102
43.43.234556813084440.165443186915564
53.43.353434666382790.0465653336172135
63.53.302314328890920.197685671109080
73.23.28225217414664-0.0822521741466406
83.33.282214520504450.0177854794955533
93.33.297554436446550.00244556355344526
103.43.47013399944168-0.070133999441683
113.73.616934950096840.0830650499031642
123.94.03744511533639-0.137445115336390
1343.937834836158590.0621651638414075
143.73.89703275064724-0.19703275064724
153.93.818034452931540.0819655470684627
164.24.106731516278040.0932684837219614
174.44.207608909073780.192391090926223
184.34.34158554282789-0.0415855428278899
194.24.196725841997050.00327415800294924
204.34.36168535121436-0.061685351214363
214.34.31672584199705-0.0167258419970509
224.34.48930540499218-0.18930540499218
234.54.59380739099053-0.0938073909905258
2454.992118399959750.007881600040254
255.25.099804248298260.100195751701738
265.25.101301127443720.0986988725562839
275.45.330097999176690.0699020008233085
285.55.57859544575025-0.0785954457502471
295.45.53457548407295-0.134575484072952
305.55.400956565151330.0990434348486674
315.45.40099421879353-0.00099421879352644
325.75.586053536397310.113946463602688
335.75.685991381653030.0140086183469673
346.15.838471136261690.261528863738311
356.56.333266873138470.166733126861534
366.96.836275619807770.0637243801922278
376.86.88156269510301-0.0815626951030091
386.76.655663638345680.0443363616543233
396.66.68136307833006-0.0813630783300608
406.56.64216516384141-0.142165163841409
416.46.45324784769108-0.0532478476910823
426.16.40002816231536-0.300028162315356
436.26.070071490238540.129928509761463
446.36.42012797070183-0.120127970701829
456.46.274669419552150.125330580447850
466.56.52974756397703-0.0297475639770330
476.76.7368479397916-0.0368479397916049
4876.93416086489610.0658391351039074
4976.856749741988630.143250258011371
506.86.653049841501630.146950158498369
516.76.7168495503751-0.0168495503751000
526.76.73795106104587-0.0379510610458694
536.56.5511330927794-0.0511330927794023
546.46.35511540081450.044884599185498
556.16.14995627482424-0.049956274824245
566.26.149918621182050.0500813788179506
5766.12505892035121-0.125058920351211
586.16.072341895327410.0276581046725850
596.16.21914284598257-0.119142845982567







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
180.6291856988765440.7416286022469120.370814301123456
190.551517163557630.896965672884740.44848283644237
200.4067373289727870.8134746579455740.593262671027213
210.2876663388603250.5753326777206510.712333661139675
220.3007713343308660.6015426686617320.699228665669134
230.3006060908947820.6012121817895640.699393909105218
240.3088354047316540.6176708094633080.691164595268346
250.3303543657071240.6607087314142490.669645634292876
260.478450957545100.956901915090200.5215490424549
270.4226387769143350.845277553828670.577361223085665
280.3696264902019750.739252980403950.630373509798025
290.3878879618466170.7757759236932330.612112038153383
300.3253103845100690.6506207690201380.674689615489931
310.3029502181453010.6059004362906030.697049781854699
320.2918184327420320.5836368654840640.708181567257968
330.2592961499873140.5185922999746270.740703850012686
340.4003671474739260.8007342949478520.599632852526074
350.4789092499117160.9578184998234310.521090750088284
360.3758214258910590.7516428517821170.624178574108941
370.3672466404958710.7344932809917430.632753359504129
380.261533689436020.523067378872040.73846631056398
390.2084990071449280.4169980142898560.791500992855072
400.1876072463000940.3752144926001890.812392753699906
410.1062310234085950.2124620468171910.893768976591405

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
18 & 0.629185698876544 & 0.741628602246912 & 0.370814301123456 \tabularnewline
19 & 0.55151716355763 & 0.89696567288474 & 0.44848283644237 \tabularnewline
20 & 0.406737328972787 & 0.813474657945574 & 0.593262671027213 \tabularnewline
21 & 0.287666338860325 & 0.575332677720651 & 0.712333661139675 \tabularnewline
22 & 0.300771334330866 & 0.601542668661732 & 0.699228665669134 \tabularnewline
23 & 0.300606090894782 & 0.601212181789564 & 0.699393909105218 \tabularnewline
24 & 0.308835404731654 & 0.617670809463308 & 0.691164595268346 \tabularnewline
25 & 0.330354365707124 & 0.660708731414249 & 0.669645634292876 \tabularnewline
26 & 0.47845095754510 & 0.95690191509020 & 0.5215490424549 \tabularnewline
27 & 0.422638776914335 & 0.84527755382867 & 0.577361223085665 \tabularnewline
28 & 0.369626490201975 & 0.73925298040395 & 0.630373509798025 \tabularnewline
29 & 0.387887961846617 & 0.775775923693233 & 0.612112038153383 \tabularnewline
30 & 0.325310384510069 & 0.650620769020138 & 0.674689615489931 \tabularnewline
31 & 0.302950218145301 & 0.605900436290603 & 0.697049781854699 \tabularnewline
32 & 0.291818432742032 & 0.583636865484064 & 0.708181567257968 \tabularnewline
33 & 0.259296149987314 & 0.518592299974627 & 0.740703850012686 \tabularnewline
34 & 0.400367147473926 & 0.800734294947852 & 0.599632852526074 \tabularnewline
35 & 0.478909249911716 & 0.957818499823431 & 0.521090750088284 \tabularnewline
36 & 0.375821425891059 & 0.751642851782117 & 0.624178574108941 \tabularnewline
37 & 0.367246640495871 & 0.734493280991743 & 0.632753359504129 \tabularnewline
38 & 0.26153368943602 & 0.52306737887204 & 0.73846631056398 \tabularnewline
39 & 0.208499007144928 & 0.416998014289856 & 0.791500992855072 \tabularnewline
40 & 0.187607246300094 & 0.375214492600189 & 0.812392753699906 \tabularnewline
41 & 0.106231023408595 & 0.212462046817191 & 0.893768976591405 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=64378&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]18[/C][C]0.629185698876544[/C][C]0.741628602246912[/C][C]0.370814301123456[/C][/ROW]
[ROW][C]19[/C][C]0.55151716355763[/C][C]0.89696567288474[/C][C]0.44848283644237[/C][/ROW]
[ROW][C]20[/C][C]0.406737328972787[/C][C]0.813474657945574[/C][C]0.593262671027213[/C][/ROW]
[ROW][C]21[/C][C]0.287666338860325[/C][C]0.575332677720651[/C][C]0.712333661139675[/C][/ROW]
[ROW][C]22[/C][C]0.300771334330866[/C][C]0.601542668661732[/C][C]0.699228665669134[/C][/ROW]
[ROW][C]23[/C][C]0.300606090894782[/C][C]0.601212181789564[/C][C]0.699393909105218[/C][/ROW]
[ROW][C]24[/C][C]0.308835404731654[/C][C]0.617670809463308[/C][C]0.691164595268346[/C][/ROW]
[ROW][C]25[/C][C]0.330354365707124[/C][C]0.660708731414249[/C][C]0.669645634292876[/C][/ROW]
[ROW][C]26[/C][C]0.47845095754510[/C][C]0.95690191509020[/C][C]0.5215490424549[/C][/ROW]
[ROW][C]27[/C][C]0.422638776914335[/C][C]0.84527755382867[/C][C]0.577361223085665[/C][/ROW]
[ROW][C]28[/C][C]0.369626490201975[/C][C]0.73925298040395[/C][C]0.630373509798025[/C][/ROW]
[ROW][C]29[/C][C]0.387887961846617[/C][C]0.775775923693233[/C][C]0.612112038153383[/C][/ROW]
[ROW][C]30[/C][C]0.325310384510069[/C][C]0.650620769020138[/C][C]0.674689615489931[/C][/ROW]
[ROW][C]31[/C][C]0.302950218145301[/C][C]0.605900436290603[/C][C]0.697049781854699[/C][/ROW]
[ROW][C]32[/C][C]0.291818432742032[/C][C]0.583636865484064[/C][C]0.708181567257968[/C][/ROW]
[ROW][C]33[/C][C]0.259296149987314[/C][C]0.518592299974627[/C][C]0.740703850012686[/C][/ROW]
[ROW][C]34[/C][C]0.400367147473926[/C][C]0.800734294947852[/C][C]0.599632852526074[/C][/ROW]
[ROW][C]35[/C][C]0.478909249911716[/C][C]0.957818499823431[/C][C]0.521090750088284[/C][/ROW]
[ROW][C]36[/C][C]0.375821425891059[/C][C]0.751642851782117[/C][C]0.624178574108941[/C][/ROW]
[ROW][C]37[/C][C]0.367246640495871[/C][C]0.734493280991743[/C][C]0.632753359504129[/C][/ROW]
[ROW][C]38[/C][C]0.26153368943602[/C][C]0.52306737887204[/C][C]0.73846631056398[/C][/ROW]
[ROW][C]39[/C][C]0.208499007144928[/C][C]0.416998014289856[/C][C]0.791500992855072[/C][/ROW]
[ROW][C]40[/C][C]0.187607246300094[/C][C]0.375214492600189[/C][C]0.812392753699906[/C][/ROW]
[ROW][C]41[/C][C]0.106231023408595[/C][C]0.212462046817191[/C][C]0.893768976591405[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=64378&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=64378&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
180.6291856988765440.7416286022469120.370814301123456
190.551517163557630.896965672884740.44848283644237
200.4067373289727870.8134746579455740.593262671027213
210.2876663388603250.5753326777206510.712333661139675
220.3007713343308660.6015426686617320.699228665669134
230.3006060908947820.6012121817895640.699393909105218
240.3088354047316540.6176708094633080.691164595268346
250.3303543657071240.6607087314142490.669645634292876
260.478450957545100.956901915090200.5215490424549
270.4226387769143350.845277553828670.577361223085665
280.3696264902019750.739252980403950.630373509798025
290.3878879618466170.7757759236932330.612112038153383
300.3253103845100690.6506207690201380.674689615489931
310.3029502181453010.6059004362906030.697049781854699
320.2918184327420320.5836368654840640.708181567257968
330.2592961499873140.5185922999746270.740703850012686
340.4003671474739260.8007342949478520.599632852526074
350.4789092499117160.9578184998234310.521090750088284
360.3758214258910590.7516428517821170.624178574108941
370.3672466404958710.7344932809917430.632753359504129
380.261533689436020.523067378872040.73846631056398
390.2084990071449280.4169980142898560.791500992855072
400.1876072463000940.3752144926001890.812392753699906
410.1062310234085950.2124620468171910.893768976591405







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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=64378&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 = Include Monthly Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT
H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation
Forecast', 1, TRUE)
a<-table.element(a, 'Residuals
Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,gqarr[mypoint-kp3+1,1])
a<-table.element(a,gqarr[mypoint-kp3+1,2])
a<-table.element(a,gqarr[mypoint-kp3+1,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,numsignificant1)
a<-table.element(a,numsignificant1/numgqtests)
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,numsignificant5)
a<-table.element(a,numsignificant5/numgqtests)
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,numsignificant10)
a<-table.element(a,numsignificant10/numgqtests)
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}