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 computationFri, 20 Nov 2009 06:19:23 -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/Nov/20/t1258723575peuqajrf1wsv0d7.htm/, Retrieved Sat, 20 Apr 2024 11:33:25 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58137, Retrieved Sat, 20 Apr 2024 11:33:25 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsSDHW, DSHW
Estimated Impact116
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] [workshop 7 bereke...] [2009-11-19 15:24:52] [eaf42bcf5162b5692bb3c7f9d4636222]
-   PD        [Multiple Regression] [DSHW-WS7-Multiple...] [2009-11-20 13:19:23] [36295456a56d4c7dcc9b9537ce63463b] [Current]
-   P           [Multiple Regression] [DSHW-WS7-Multiple...] [2009-11-20 13:53:17] [f15cfb7053d35072d573abca87df96a0]
-    D            [Multiple Regression] [DSHW-WS7-MultRegr1] [2009-11-20 14:59:26] [f15cfb7053d35072d573abca87df96a0]
-    D              [Multiple Regression] [DSHW-WS7-MultRegr...] [2009-11-20 15:10:50] [f15cfb7053d35072d573abca87df96a0]
-   P                 [Multiple Regression] [DSHW-WS7-MiltRegr.2] [2009-11-20 15:42:03] [f15cfb7053d35072d573abca87df96a0]
-    D                  [Multiple Regression] [review 7] [2009-11-24 20:46:35] [309ee52d0058ff0a6f7eec15e07b2d9f]
Feedback Forum

Post a new message
Dataseries X:
1.4	0.0
1.6	0.0
1.7	0.0
2.0	0.0
2.0	0.0
2.1	0.0
2.5	0.0
2.5	0.0
2.6	0.0
2.7	0.0
3.7	0.0
4.0	0.0
5.0	0.0
5.1	0.0
5.1	0.0
5.0	0.0
5.1	0.0
4.7	0.0
4.5	0.0
4.5	0.0
4.6	0.0
4.6	0.0
4.6	0.0
4.6	0.0
5.3	0.0
5.4	0.0
5.3	0.0
5.2	0.0
5.0	0.0
4.2	0.0
4.3	0.0
4.3	0.0
4.3	0.0
4.0	0.0
4.0	0.0
4.1	0.0
4.4	0.0
3.6	0.0
3.7	0.0
3.8	0.0
3.3	0.0
3.3	0.0
3.3	0.0
3.5	0.0
3.3	1.0
3.3	1.0
3.4	1.0
3.4	1.0
5.2	1.0
5.3	1.0
4.8	1.0
5.0	1.0
4.6	1.0
4.6	1.0
3.5	1.0
3.5	1.0




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 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 & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58137&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]3 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=58137&T=0

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







Multiple Linear Regression - Estimated Regression Equation
IndGez[t] = + 3.95159574468085 + 0.293617021276596InvlCrisis[t] + 0.249680851063827M1[t] + 0.189680851063829M2[t] + 0.109680851063829M3[t] + 0.189680851063830M4[t] -0.0103191489361709M5[t] -0.230319148936171M6[t] -0.390319148936171M7[t] -0.350319148936171M8[t] -0.325000000000001M9[t] -0.375000000000001M10[t] -0.100000000000001M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
IndGez[t] =  +  3.95159574468085 +  0.293617021276596InvlCrisis[t] +  0.249680851063827M1[t] +  0.189680851063829M2[t] +  0.109680851063829M3[t] +  0.189680851063830M4[t] -0.0103191489361709M5[t] -0.230319148936171M6[t] -0.390319148936171M7[t] -0.350319148936171M8[t] -0.325000000000001M9[t] -0.375000000000001M10[t] -0.100000000000001M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58137&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]IndGez[t] =  +  3.95159574468085 +  0.293617021276596InvlCrisis[t] +  0.249680851063827M1[t] +  0.189680851063829M2[t] +  0.109680851063829M3[t] +  0.189680851063830M4[t] -0.0103191489361709M5[t] -0.230319148936171M6[t] -0.390319148936171M7[t] -0.350319148936171M8[t] -0.325000000000001M9[t] -0.375000000000001M10[t] -0.100000000000001M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58137&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58137&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
IndGez[t] = + 3.95159574468085 + 0.293617021276596InvlCrisis[t] + 0.249680851063827M1[t] + 0.189680851063829M2[t] + 0.109680851063829M3[t] + 0.189680851063830M4[t] -0.0103191489361709M5[t] -0.230319148936171M6[t] -0.390319148936171M7[t] -0.350319148936171M8[t] -0.325000000000001M9[t] -0.375000000000001M10[t] -0.100000000000001M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)3.951595744680850.5966426.623100
InvlCrisis0.2936170212765960.3841320.76440.4488240.224412
M10.2496808510638270.7902760.31590.7535750.376788
M20.1896808510638290.7902760.240.8114560.405728
M30.1096808510638290.7902760.13880.8902660.445133
M40.1896808510638300.7902760.240.8114560.405728
M5-0.01031914893617090.790276-0.01310.9896420.494821
M6-0.2303191489361710.790276-0.29140.7721150.386058
M7-0.3903191489361710.790276-0.49390.6238890.311944
M8-0.3503191489361710.790276-0.44330.659780.32989
M9-0.3250000000000010.832778-0.39030.6982710.349135
M10-0.3750000000000010.832778-0.45030.6547560.327378
M11-0.1000000000000010.832778-0.12010.9049790.45249

\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) & 3.95159574468085 & 0.596642 & 6.6231 & 0 & 0 \tabularnewline
InvlCrisis & 0.293617021276596 & 0.384132 & 0.7644 & 0.448824 & 0.224412 \tabularnewline
M1 & 0.249680851063827 & 0.790276 & 0.3159 & 0.753575 & 0.376788 \tabularnewline
M2 & 0.189680851063829 & 0.790276 & 0.24 & 0.811456 & 0.405728 \tabularnewline
M3 & 0.109680851063829 & 0.790276 & 0.1388 & 0.890266 & 0.445133 \tabularnewline
M4 & 0.189680851063830 & 0.790276 & 0.24 & 0.811456 & 0.405728 \tabularnewline
M5 & -0.0103191489361709 & 0.790276 & -0.0131 & 0.989642 & 0.494821 \tabularnewline
M6 & -0.230319148936171 & 0.790276 & -0.2914 & 0.772115 & 0.386058 \tabularnewline
M7 & -0.390319148936171 & 0.790276 & -0.4939 & 0.623889 & 0.311944 \tabularnewline
M8 & -0.350319148936171 & 0.790276 & -0.4433 & 0.65978 & 0.32989 \tabularnewline
M9 & -0.325000000000001 & 0.832778 & -0.3903 & 0.698271 & 0.349135 \tabularnewline
M10 & -0.375000000000001 & 0.832778 & -0.4503 & 0.654756 & 0.327378 \tabularnewline
M11 & -0.100000000000001 & 0.832778 & -0.1201 & 0.904979 & 0.45249 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58137&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]3.95159574468085[/C][C]0.596642[/C][C]6.6231[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]InvlCrisis[/C][C]0.293617021276596[/C][C]0.384132[/C][C]0.7644[/C][C]0.448824[/C][C]0.224412[/C][/ROW]
[ROW][C]M1[/C][C]0.249680851063827[/C][C]0.790276[/C][C]0.3159[/C][C]0.753575[/C][C]0.376788[/C][/ROW]
[ROW][C]M2[/C][C]0.189680851063829[/C][C]0.790276[/C][C]0.24[/C][C]0.811456[/C][C]0.405728[/C][/ROW]
[ROW][C]M3[/C][C]0.109680851063829[/C][C]0.790276[/C][C]0.1388[/C][C]0.890266[/C][C]0.445133[/C][/ROW]
[ROW][C]M4[/C][C]0.189680851063830[/C][C]0.790276[/C][C]0.24[/C][C]0.811456[/C][C]0.405728[/C][/ROW]
[ROW][C]M5[/C][C]-0.0103191489361709[/C][C]0.790276[/C][C]-0.0131[/C][C]0.989642[/C][C]0.494821[/C][/ROW]
[ROW][C]M6[/C][C]-0.230319148936171[/C][C]0.790276[/C][C]-0.2914[/C][C]0.772115[/C][C]0.386058[/C][/ROW]
[ROW][C]M7[/C][C]-0.390319148936171[/C][C]0.790276[/C][C]-0.4939[/C][C]0.623889[/C][C]0.311944[/C][/ROW]
[ROW][C]M8[/C][C]-0.350319148936171[/C][C]0.790276[/C][C]-0.4433[/C][C]0.65978[/C][C]0.32989[/C][/ROW]
[ROW][C]M9[/C][C]-0.325000000000001[/C][C]0.832778[/C][C]-0.3903[/C][C]0.698271[/C][C]0.349135[/C][/ROW]
[ROW][C]M10[/C][C]-0.375000000000001[/C][C]0.832778[/C][C]-0.4503[/C][C]0.654756[/C][C]0.327378[/C][/ROW]
[ROW][C]M11[/C][C]-0.100000000000001[/C][C]0.832778[/C][C]-0.1201[/C][C]0.904979[/C][C]0.45249[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58137&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58137&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)3.951595744680850.5966426.623100
InvlCrisis0.2936170212765960.3841320.76440.4488240.224412
M10.2496808510638270.7902760.31590.7535750.376788
M20.1896808510638290.7902760.240.8114560.405728
M30.1096808510638290.7902760.13880.8902660.445133
M40.1896808510638300.7902760.240.8114560.405728
M5-0.01031914893617090.790276-0.01310.9896420.494821
M6-0.2303191489361710.790276-0.29140.7721150.386058
M7-0.3903191489361710.790276-0.49390.6238890.311944
M8-0.3503191489361710.790276-0.44330.659780.32989
M9-0.3250000000000010.832778-0.39030.6982710.349135
M10-0.3750000000000010.832778-0.45030.6547560.327378
M11-0.1000000000000010.832778-0.12010.9049790.45249







Multiple Linear Regression - Regression Statistics
Multiple R0.244918091516137
R-squared0.0599848715519067
Adjusted R-squared-0.202344931735933
F-TEST (value)0.228662053644315
F-TEST (DF numerator)12
F-TEST (DF denominator)43
p-value0.995819144228298
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.17772560689915
Sum Squared Residuals59.6426170212766

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.244918091516137 \tabularnewline
R-squared & 0.0599848715519067 \tabularnewline
Adjusted R-squared & -0.202344931735933 \tabularnewline
F-TEST (value) & 0.228662053644315 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 43 \tabularnewline
p-value & 0.995819144228298 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1.17772560689915 \tabularnewline
Sum Squared Residuals & 59.6426170212766 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58137&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.244918091516137[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0599848715519067[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]-0.202344931735933[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]0.228662053644315[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]43[/C][/ROW]
[ROW][C]p-value[/C][C]0.995819144228298[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]1.17772560689915[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]59.6426170212766[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58137&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58137&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.244918091516137
R-squared0.0599848715519067
Adjusted R-squared-0.202344931735933
F-TEST (value)0.228662053644315
F-TEST (DF numerator)12
F-TEST (DF denominator)43
p-value0.995819144228298
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.17772560689915
Sum Squared Residuals59.6426170212766







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11.44.20127659574469-2.80127659574469
21.64.14127659574468-2.54127659574468
31.74.06127659574468-2.36127659574468
424.14127659574468-2.14127659574468
523.94127659574468-1.94127659574468
62.13.72127659574468-1.62127659574468
72.53.56127659574468-1.06127659574468
82.53.60127659574468-1.10127659574468
92.63.62659574468085-1.02659574468085
102.73.57659574468085-0.87659574468085
113.73.85159574468085-0.151595744680851
1243.951595744680850.0484042553191475
1354.201276595744680.798723404255322
145.14.141276595744680.95872340425532
155.14.061276595744681.03872340425532
1654.141276595744680.858723404255319
175.13.941276595744681.15872340425532
184.73.721276595744680.97872340425532
194.53.561276595744680.93872340425532
204.53.601276595744680.898723404255319
214.63.626595744680850.97340425531915
224.63.576595744680851.02340425531915
234.63.851595744680850.748404255319149
244.63.951595744680850.648404255319148
255.34.201276595744681.09872340425532
265.44.141276595744681.25872340425532
275.34.061276595744681.23872340425532
285.24.141276595744681.05872340425532
2953.941276595744681.05872340425532
304.23.721276595744680.478723404255319
314.33.561276595744680.73872340425532
324.33.601276595744680.698723404255319
334.33.626595744680850.67340425531915
3443.576595744680850.423404255319150
3543.851595744680850.148404255319149
364.13.951595744680850.148404255319148
374.44.201276595744680.198723404255322
383.64.14127659574468-0.54127659574468
393.74.06127659574468-0.361276595744681
403.84.14127659574468-0.341276595744681
413.33.94127659574468-0.641276595744681
423.33.72127659574468-0.421276595744681
433.33.56127659574468-0.261276595744681
443.53.60127659574468-0.101276595744681
453.33.92021276595745-0.620212765957447
463.33.87021276595745-0.570212765957447
473.44.14521276595745-0.745212765957447
483.44.24521276595745-0.845212765957448
495.24.494893617021270.705106382978726
505.34.434893617021280.865106382978723
514.84.354893617021280.445106382978723
5254.434893617021280.565106382978723
534.64.234893617021280.365106382978723
544.64.014893617021280.585106382978723
553.53.85489361702128-0.354893617021277
563.53.89489361702128-0.394893617021277

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1.4 & 4.20127659574469 & -2.80127659574469 \tabularnewline
2 & 1.6 & 4.14127659574468 & -2.54127659574468 \tabularnewline
3 & 1.7 & 4.06127659574468 & -2.36127659574468 \tabularnewline
4 & 2 & 4.14127659574468 & -2.14127659574468 \tabularnewline
5 & 2 & 3.94127659574468 & -1.94127659574468 \tabularnewline
6 & 2.1 & 3.72127659574468 & -1.62127659574468 \tabularnewline
7 & 2.5 & 3.56127659574468 & -1.06127659574468 \tabularnewline
8 & 2.5 & 3.60127659574468 & -1.10127659574468 \tabularnewline
9 & 2.6 & 3.62659574468085 & -1.02659574468085 \tabularnewline
10 & 2.7 & 3.57659574468085 & -0.87659574468085 \tabularnewline
11 & 3.7 & 3.85159574468085 & -0.151595744680851 \tabularnewline
12 & 4 & 3.95159574468085 & 0.0484042553191475 \tabularnewline
13 & 5 & 4.20127659574468 & 0.798723404255322 \tabularnewline
14 & 5.1 & 4.14127659574468 & 0.95872340425532 \tabularnewline
15 & 5.1 & 4.06127659574468 & 1.03872340425532 \tabularnewline
16 & 5 & 4.14127659574468 & 0.858723404255319 \tabularnewline
17 & 5.1 & 3.94127659574468 & 1.15872340425532 \tabularnewline
18 & 4.7 & 3.72127659574468 & 0.97872340425532 \tabularnewline
19 & 4.5 & 3.56127659574468 & 0.93872340425532 \tabularnewline
20 & 4.5 & 3.60127659574468 & 0.898723404255319 \tabularnewline
21 & 4.6 & 3.62659574468085 & 0.97340425531915 \tabularnewline
22 & 4.6 & 3.57659574468085 & 1.02340425531915 \tabularnewline
23 & 4.6 & 3.85159574468085 & 0.748404255319149 \tabularnewline
24 & 4.6 & 3.95159574468085 & 0.648404255319148 \tabularnewline
25 & 5.3 & 4.20127659574468 & 1.09872340425532 \tabularnewline
26 & 5.4 & 4.14127659574468 & 1.25872340425532 \tabularnewline
27 & 5.3 & 4.06127659574468 & 1.23872340425532 \tabularnewline
28 & 5.2 & 4.14127659574468 & 1.05872340425532 \tabularnewline
29 & 5 & 3.94127659574468 & 1.05872340425532 \tabularnewline
30 & 4.2 & 3.72127659574468 & 0.478723404255319 \tabularnewline
31 & 4.3 & 3.56127659574468 & 0.73872340425532 \tabularnewline
32 & 4.3 & 3.60127659574468 & 0.698723404255319 \tabularnewline
33 & 4.3 & 3.62659574468085 & 0.67340425531915 \tabularnewline
34 & 4 & 3.57659574468085 & 0.423404255319150 \tabularnewline
35 & 4 & 3.85159574468085 & 0.148404255319149 \tabularnewline
36 & 4.1 & 3.95159574468085 & 0.148404255319148 \tabularnewline
37 & 4.4 & 4.20127659574468 & 0.198723404255322 \tabularnewline
38 & 3.6 & 4.14127659574468 & -0.54127659574468 \tabularnewline
39 & 3.7 & 4.06127659574468 & -0.361276595744681 \tabularnewline
40 & 3.8 & 4.14127659574468 & -0.341276595744681 \tabularnewline
41 & 3.3 & 3.94127659574468 & -0.641276595744681 \tabularnewline
42 & 3.3 & 3.72127659574468 & -0.421276595744681 \tabularnewline
43 & 3.3 & 3.56127659574468 & -0.261276595744681 \tabularnewline
44 & 3.5 & 3.60127659574468 & -0.101276595744681 \tabularnewline
45 & 3.3 & 3.92021276595745 & -0.620212765957447 \tabularnewline
46 & 3.3 & 3.87021276595745 & -0.570212765957447 \tabularnewline
47 & 3.4 & 4.14521276595745 & -0.745212765957447 \tabularnewline
48 & 3.4 & 4.24521276595745 & -0.845212765957448 \tabularnewline
49 & 5.2 & 4.49489361702127 & 0.705106382978726 \tabularnewline
50 & 5.3 & 4.43489361702128 & 0.865106382978723 \tabularnewline
51 & 4.8 & 4.35489361702128 & 0.445106382978723 \tabularnewline
52 & 5 & 4.43489361702128 & 0.565106382978723 \tabularnewline
53 & 4.6 & 4.23489361702128 & 0.365106382978723 \tabularnewline
54 & 4.6 & 4.01489361702128 & 0.585106382978723 \tabularnewline
55 & 3.5 & 3.85489361702128 & -0.354893617021277 \tabularnewline
56 & 3.5 & 3.89489361702128 & -0.394893617021277 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58137&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]1.4[/C][C]4.20127659574469[/C][C]-2.80127659574469[/C][/ROW]
[ROW][C]2[/C][C]1.6[/C][C]4.14127659574468[/C][C]-2.54127659574468[/C][/ROW]
[ROW][C]3[/C][C]1.7[/C][C]4.06127659574468[/C][C]-2.36127659574468[/C][/ROW]
[ROW][C]4[/C][C]2[/C][C]4.14127659574468[/C][C]-2.14127659574468[/C][/ROW]
[ROW][C]5[/C][C]2[/C][C]3.94127659574468[/C][C]-1.94127659574468[/C][/ROW]
[ROW][C]6[/C][C]2.1[/C][C]3.72127659574468[/C][C]-1.62127659574468[/C][/ROW]
[ROW][C]7[/C][C]2.5[/C][C]3.56127659574468[/C][C]-1.06127659574468[/C][/ROW]
[ROW][C]8[/C][C]2.5[/C][C]3.60127659574468[/C][C]-1.10127659574468[/C][/ROW]
[ROW][C]9[/C][C]2.6[/C][C]3.62659574468085[/C][C]-1.02659574468085[/C][/ROW]
[ROW][C]10[/C][C]2.7[/C][C]3.57659574468085[/C][C]-0.87659574468085[/C][/ROW]
[ROW][C]11[/C][C]3.7[/C][C]3.85159574468085[/C][C]-0.151595744680851[/C][/ROW]
[ROW][C]12[/C][C]4[/C][C]3.95159574468085[/C][C]0.0484042553191475[/C][/ROW]
[ROW][C]13[/C][C]5[/C][C]4.20127659574468[/C][C]0.798723404255322[/C][/ROW]
[ROW][C]14[/C][C]5.1[/C][C]4.14127659574468[/C][C]0.95872340425532[/C][/ROW]
[ROW][C]15[/C][C]5.1[/C][C]4.06127659574468[/C][C]1.03872340425532[/C][/ROW]
[ROW][C]16[/C][C]5[/C][C]4.14127659574468[/C][C]0.858723404255319[/C][/ROW]
[ROW][C]17[/C][C]5.1[/C][C]3.94127659574468[/C][C]1.15872340425532[/C][/ROW]
[ROW][C]18[/C][C]4.7[/C][C]3.72127659574468[/C][C]0.97872340425532[/C][/ROW]
[ROW][C]19[/C][C]4.5[/C][C]3.56127659574468[/C][C]0.93872340425532[/C][/ROW]
[ROW][C]20[/C][C]4.5[/C][C]3.60127659574468[/C][C]0.898723404255319[/C][/ROW]
[ROW][C]21[/C][C]4.6[/C][C]3.62659574468085[/C][C]0.97340425531915[/C][/ROW]
[ROW][C]22[/C][C]4.6[/C][C]3.57659574468085[/C][C]1.02340425531915[/C][/ROW]
[ROW][C]23[/C][C]4.6[/C][C]3.85159574468085[/C][C]0.748404255319149[/C][/ROW]
[ROW][C]24[/C][C]4.6[/C][C]3.95159574468085[/C][C]0.648404255319148[/C][/ROW]
[ROW][C]25[/C][C]5.3[/C][C]4.20127659574468[/C][C]1.09872340425532[/C][/ROW]
[ROW][C]26[/C][C]5.4[/C][C]4.14127659574468[/C][C]1.25872340425532[/C][/ROW]
[ROW][C]27[/C][C]5.3[/C][C]4.06127659574468[/C][C]1.23872340425532[/C][/ROW]
[ROW][C]28[/C][C]5.2[/C][C]4.14127659574468[/C][C]1.05872340425532[/C][/ROW]
[ROW][C]29[/C][C]5[/C][C]3.94127659574468[/C][C]1.05872340425532[/C][/ROW]
[ROW][C]30[/C][C]4.2[/C][C]3.72127659574468[/C][C]0.478723404255319[/C][/ROW]
[ROW][C]31[/C][C]4.3[/C][C]3.56127659574468[/C][C]0.73872340425532[/C][/ROW]
[ROW][C]32[/C][C]4.3[/C][C]3.60127659574468[/C][C]0.698723404255319[/C][/ROW]
[ROW][C]33[/C][C]4.3[/C][C]3.62659574468085[/C][C]0.67340425531915[/C][/ROW]
[ROW][C]34[/C][C]4[/C][C]3.57659574468085[/C][C]0.423404255319150[/C][/ROW]
[ROW][C]35[/C][C]4[/C][C]3.85159574468085[/C][C]0.148404255319149[/C][/ROW]
[ROW][C]36[/C][C]4.1[/C][C]3.95159574468085[/C][C]0.148404255319148[/C][/ROW]
[ROW][C]37[/C][C]4.4[/C][C]4.20127659574468[/C][C]0.198723404255322[/C][/ROW]
[ROW][C]38[/C][C]3.6[/C][C]4.14127659574468[/C][C]-0.54127659574468[/C][/ROW]
[ROW][C]39[/C][C]3.7[/C][C]4.06127659574468[/C][C]-0.361276595744681[/C][/ROW]
[ROW][C]40[/C][C]3.8[/C][C]4.14127659574468[/C][C]-0.341276595744681[/C][/ROW]
[ROW][C]41[/C][C]3.3[/C][C]3.94127659574468[/C][C]-0.641276595744681[/C][/ROW]
[ROW][C]42[/C][C]3.3[/C][C]3.72127659574468[/C][C]-0.421276595744681[/C][/ROW]
[ROW][C]43[/C][C]3.3[/C][C]3.56127659574468[/C][C]-0.261276595744681[/C][/ROW]
[ROW][C]44[/C][C]3.5[/C][C]3.60127659574468[/C][C]-0.101276595744681[/C][/ROW]
[ROW][C]45[/C][C]3.3[/C][C]3.92021276595745[/C][C]-0.620212765957447[/C][/ROW]
[ROW][C]46[/C][C]3.3[/C][C]3.87021276595745[/C][C]-0.570212765957447[/C][/ROW]
[ROW][C]47[/C][C]3.4[/C][C]4.14521276595745[/C][C]-0.745212765957447[/C][/ROW]
[ROW][C]48[/C][C]3.4[/C][C]4.24521276595745[/C][C]-0.845212765957448[/C][/ROW]
[ROW][C]49[/C][C]5.2[/C][C]4.49489361702127[/C][C]0.705106382978726[/C][/ROW]
[ROW][C]50[/C][C]5.3[/C][C]4.43489361702128[/C][C]0.865106382978723[/C][/ROW]
[ROW][C]51[/C][C]4.8[/C][C]4.35489361702128[/C][C]0.445106382978723[/C][/ROW]
[ROW][C]52[/C][C]5[/C][C]4.43489361702128[/C][C]0.565106382978723[/C][/ROW]
[ROW][C]53[/C][C]4.6[/C][C]4.23489361702128[/C][C]0.365106382978723[/C][/ROW]
[ROW][C]54[/C][C]4.6[/C][C]4.01489361702128[/C][C]0.585106382978723[/C][/ROW]
[ROW][C]55[/C][C]3.5[/C][C]3.85489361702128[/C][C]-0.354893617021277[/C][/ROW]
[ROW][C]56[/C][C]3.5[/C][C]3.89489361702128[/C][C]-0.394893617021277[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58137&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58137&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
11.44.20127659574469-2.80127659574469
21.64.14127659574468-2.54127659574468
31.74.06127659574468-2.36127659574468
424.14127659574468-2.14127659574468
523.94127659574468-1.94127659574468
62.13.72127659574468-1.62127659574468
72.53.56127659574468-1.06127659574468
82.53.60127659574468-1.10127659574468
92.63.62659574468085-1.02659574468085
102.73.57659574468085-0.87659574468085
113.73.85159574468085-0.151595744680851
1243.951595744680850.0484042553191475
1354.201276595744680.798723404255322
145.14.141276595744680.95872340425532
155.14.061276595744681.03872340425532
1654.141276595744680.858723404255319
175.13.941276595744681.15872340425532
184.73.721276595744680.97872340425532
194.53.561276595744680.93872340425532
204.53.601276595744680.898723404255319
214.63.626595744680850.97340425531915
224.63.576595744680851.02340425531915
234.63.851595744680850.748404255319149
244.63.951595744680850.648404255319148
255.34.201276595744681.09872340425532
265.44.141276595744681.25872340425532
275.34.061276595744681.23872340425532
285.24.141276595744681.05872340425532
2953.941276595744681.05872340425532
304.23.721276595744680.478723404255319
314.33.561276595744680.73872340425532
324.33.601276595744680.698723404255319
334.33.626595744680850.67340425531915
3443.576595744680850.423404255319150
3543.851595744680850.148404255319149
364.13.951595744680850.148404255319148
374.44.201276595744680.198723404255322
383.64.14127659574468-0.54127659574468
393.74.06127659574468-0.361276595744681
403.84.14127659574468-0.341276595744681
413.33.94127659574468-0.641276595744681
423.33.72127659574468-0.421276595744681
433.33.56127659574468-0.261276595744681
443.53.60127659574468-0.101276595744681
453.33.92021276595745-0.620212765957447
463.33.87021276595745-0.570212765957447
473.44.14521276595745-0.745212765957447
483.44.24521276595745-0.845212765957448
495.24.494893617021270.705106382978726
505.34.434893617021280.865106382978723
514.84.354893617021280.445106382978723
5254.434893617021280.565106382978723
534.64.234893617021280.365106382978723
544.64.014893617021280.585106382978723
553.53.85489361702128-0.354893617021277
563.53.89489361702128-0.394893617021277







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.9999960449969177.91000616585657e-063.95500308292829e-06
170.9999972223257815.55534843787163e-062.77767421893581e-06
180.999996365854897.2682902196604e-063.6341451098302e-06
190.9999937252708361.254945832706e-056.27472916353e-06
200.9999890000783522.19998432958388e-051.09999216479194e-05
210.9999812758082193.7448383562669e-051.87241917813345e-05
220.9999712863322855.74273354291272e-052.87136677145636e-05
230.9999425367853660.0001149264292676205.74632146338098e-05
240.9998826985857690.0002346028284620590.000117301414231030
250.999816902003140.0003661959937221350.000183097996861068
260.9997836375919570.000432724816085520.00021636240804276
270.9997595487848680.0004809024302632870.000240451215131643
280.999642500830270.0007149983394620380.000357499169731019
290.9995847692978650.0008304614042695210.000415230702134761
300.9989877875656680.002024424868663490.00101221243433175
310.9985598955994780.002880208801044580.00144010440052229
320.99783905401350.004321891972998450.00216094598649923
330.9978421886859630.004315622628074890.00215781131403745
340.9974663676075020.005067264784997050.00253363239249852
350.997456409354160.005087181291678490.00254359064583925
360.9991574157407520.001685168518496580.000842584259248291
370.996856647913490.006286704173018290.00314335208650915
380.9944716600952920.01105667980941690.00552833990470844
390.9809232522437880.03815349551242360.0190767477562118
400.9453263513714210.1093472972571570.0546736486285786

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.999996044996917 & 7.91000616585657e-06 & 3.95500308292829e-06 \tabularnewline
17 & 0.999997222325781 & 5.55534843787163e-06 & 2.77767421893581e-06 \tabularnewline
18 & 0.99999636585489 & 7.2682902196604e-06 & 3.6341451098302e-06 \tabularnewline
19 & 0.999993725270836 & 1.254945832706e-05 & 6.27472916353e-06 \tabularnewline
20 & 0.999989000078352 & 2.19998432958388e-05 & 1.09999216479194e-05 \tabularnewline
21 & 0.999981275808219 & 3.7448383562669e-05 & 1.87241917813345e-05 \tabularnewline
22 & 0.999971286332285 & 5.74273354291272e-05 & 2.87136677145636e-05 \tabularnewline
23 & 0.999942536785366 & 0.000114926429267620 & 5.74632146338098e-05 \tabularnewline
24 & 0.999882698585769 & 0.000234602828462059 & 0.000117301414231030 \tabularnewline
25 & 0.99981690200314 & 0.000366195993722135 & 0.000183097996861068 \tabularnewline
26 & 0.999783637591957 & 0.00043272481608552 & 0.00021636240804276 \tabularnewline
27 & 0.999759548784868 & 0.000480902430263287 & 0.000240451215131643 \tabularnewline
28 & 0.99964250083027 & 0.000714998339462038 & 0.000357499169731019 \tabularnewline
29 & 0.999584769297865 & 0.000830461404269521 & 0.000415230702134761 \tabularnewline
30 & 0.998987787565668 & 0.00202442486866349 & 0.00101221243433175 \tabularnewline
31 & 0.998559895599478 & 0.00288020880104458 & 0.00144010440052229 \tabularnewline
32 & 0.9978390540135 & 0.00432189197299845 & 0.00216094598649923 \tabularnewline
33 & 0.997842188685963 & 0.00431562262807489 & 0.00215781131403745 \tabularnewline
34 & 0.997466367607502 & 0.00506726478499705 & 0.00253363239249852 \tabularnewline
35 & 0.99745640935416 & 0.00508718129167849 & 0.00254359064583925 \tabularnewline
36 & 0.999157415740752 & 0.00168516851849658 & 0.000842584259248291 \tabularnewline
37 & 0.99685664791349 & 0.00628670417301829 & 0.00314335208650915 \tabularnewline
38 & 0.994471660095292 & 0.0110566798094169 & 0.00552833990470844 \tabularnewline
39 & 0.980923252243788 & 0.0381534955124236 & 0.0190767477562118 \tabularnewline
40 & 0.945326351371421 & 0.109347297257157 & 0.0546736486285786 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58137&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.999996044996917[/C][C]7.91000616585657e-06[/C][C]3.95500308292829e-06[/C][/ROW]
[ROW][C]17[/C][C]0.999997222325781[/C][C]5.55534843787163e-06[/C][C]2.77767421893581e-06[/C][/ROW]
[ROW][C]18[/C][C]0.99999636585489[/C][C]7.2682902196604e-06[/C][C]3.6341451098302e-06[/C][/ROW]
[ROW][C]19[/C][C]0.999993725270836[/C][C]1.254945832706e-05[/C][C]6.27472916353e-06[/C][/ROW]
[ROW][C]20[/C][C]0.999989000078352[/C][C]2.19998432958388e-05[/C][C]1.09999216479194e-05[/C][/ROW]
[ROW][C]21[/C][C]0.999981275808219[/C][C]3.7448383562669e-05[/C][C]1.87241917813345e-05[/C][/ROW]
[ROW][C]22[/C][C]0.999971286332285[/C][C]5.74273354291272e-05[/C][C]2.87136677145636e-05[/C][/ROW]
[ROW][C]23[/C][C]0.999942536785366[/C][C]0.000114926429267620[/C][C]5.74632146338098e-05[/C][/ROW]
[ROW][C]24[/C][C]0.999882698585769[/C][C]0.000234602828462059[/C][C]0.000117301414231030[/C][/ROW]
[ROW][C]25[/C][C]0.99981690200314[/C][C]0.000366195993722135[/C][C]0.000183097996861068[/C][/ROW]
[ROW][C]26[/C][C]0.999783637591957[/C][C]0.00043272481608552[/C][C]0.00021636240804276[/C][/ROW]
[ROW][C]27[/C][C]0.999759548784868[/C][C]0.000480902430263287[/C][C]0.000240451215131643[/C][/ROW]
[ROW][C]28[/C][C]0.99964250083027[/C][C]0.000714998339462038[/C][C]0.000357499169731019[/C][/ROW]
[ROW][C]29[/C][C]0.999584769297865[/C][C]0.000830461404269521[/C][C]0.000415230702134761[/C][/ROW]
[ROW][C]30[/C][C]0.998987787565668[/C][C]0.00202442486866349[/C][C]0.00101221243433175[/C][/ROW]
[ROW][C]31[/C][C]0.998559895599478[/C][C]0.00288020880104458[/C][C]0.00144010440052229[/C][/ROW]
[ROW][C]32[/C][C]0.9978390540135[/C][C]0.00432189197299845[/C][C]0.00216094598649923[/C][/ROW]
[ROW][C]33[/C][C]0.997842188685963[/C][C]0.00431562262807489[/C][C]0.00215781131403745[/C][/ROW]
[ROW][C]34[/C][C]0.997466367607502[/C][C]0.00506726478499705[/C][C]0.00253363239249852[/C][/ROW]
[ROW][C]35[/C][C]0.99745640935416[/C][C]0.00508718129167849[/C][C]0.00254359064583925[/C][/ROW]
[ROW][C]36[/C][C]0.999157415740752[/C][C]0.00168516851849658[/C][C]0.000842584259248291[/C][/ROW]
[ROW][C]37[/C][C]0.99685664791349[/C][C]0.00628670417301829[/C][C]0.00314335208650915[/C][/ROW]
[ROW][C]38[/C][C]0.994471660095292[/C][C]0.0110566798094169[/C][C]0.00552833990470844[/C][/ROW]
[ROW][C]39[/C][C]0.980923252243788[/C][C]0.0381534955124236[/C][C]0.0190767477562118[/C][/ROW]
[ROW][C]40[/C][C]0.945326351371421[/C][C]0.109347297257157[/C][C]0.0546736486285786[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58137&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58137&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.9999960449969177.91000616585657e-063.95500308292829e-06
170.9999972223257815.55534843787163e-062.77767421893581e-06
180.999996365854897.2682902196604e-063.6341451098302e-06
190.9999937252708361.254945832706e-056.27472916353e-06
200.9999890000783522.19998432958388e-051.09999216479194e-05
210.9999812758082193.7448383562669e-051.87241917813345e-05
220.9999712863322855.74273354291272e-052.87136677145636e-05
230.9999425367853660.0001149264292676205.74632146338098e-05
240.9998826985857690.0002346028284620590.000117301414231030
250.999816902003140.0003661959937221350.000183097996861068
260.9997836375919570.000432724816085520.00021636240804276
270.9997595487848680.0004809024302632870.000240451215131643
280.999642500830270.0007149983394620380.000357499169731019
290.9995847692978650.0008304614042695210.000415230702134761
300.9989877875656680.002024424868663490.00101221243433175
310.9985598955994780.002880208801044580.00144010440052229
320.99783905401350.004321891972998450.00216094598649923
330.9978421886859630.004315622628074890.00215781131403745
340.9974663676075020.005067264784997050.00253363239249852
350.997456409354160.005087181291678490.00254359064583925
360.9991574157407520.001685168518496580.000842584259248291
370.996856647913490.006286704173018290.00314335208650915
380.9944716600952920.01105667980941690.00552833990470844
390.9809232522437880.03815349551242360.0190767477562118
400.9453263513714210.1093472972571570.0546736486285786







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level220.88NOK
5% type I error level240.96NOK
10% type I error level240.96NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58137&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 level220.88NOK
5% type I error level240.96NOK
10% type I error level240.96NOK



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')
}