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, 20 Dec 2009 04:37:21 -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/20/t1261309117wl644xjss9jlob6.htm/, Retrieved Sat, 27 Apr 2024 10:55:54 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=69843, Retrieved Sat, 27 Apr 2024 10:55:54 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact122
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Model 5] [2009-12-20 11:37:21] [e458b4e05bf28a297f8af8d9f96e59d6] [Current]
Feedback Forum

Post a new message
Dataseries X:
95,3	100,0	100,6
90,7	95,3	114,2
88,4	90,7	91,5
86,0	88,4	94,7
86,0	86,0	110,6
95,3	86,0	71,3
95,3	95,3	104,1
88,4	95,3	112,3
86,0	88,4	110,2
81,4	86,0	112,9
83,7	81,4	95,1
95,3	83,7	103,1
88,4	95,3	101,9
86,0	88,4	100,4
83,7	86,0	106,9
76,7	83,7	100,7
79,1	76,7	114,3
86,0	79,1	73,3
86,0	86,0	105,9
79,1	86,0	113,9
76,7	79,1	112,1
69,8	76,7	117,5
69,8	69,8	97,5
76,7	69,8	112,3
69,8	76,7	106,9
67,4	69,8	120,9
65,1	67,4	92,7
58,1	65,1	110,9
60,5	58,1	116,5
65,1	60,5	77,1
62,8	65,1	113,1
55,8	62,8	115,9
51,2	55,8	123,5
48,8	51,2	123,6
48,8	48,8	101,5
53,5	48,8	121,0
48,8	53,5	112,2
46,5	48,8	126,0
44,2	46,5	101,8
39,5	44,2	117,9
41,9	39,5	122,2
48,8	41,9	82,7
46,5	48,8	120,5
41,9	46,5	120,3
39,5	41,9	134,2
37,2	39,5	128,2
37,2	37,2	100,5
41,9	37,2	126,0
39,5	41,9	122,9
39,5	39,5	106,1
34,9	39,5	130,4
34,9	34,9	121,3
34,9	34,9	126,1
41,9	34,9	88,7
41,9	41,9	118,7
39,5	41,9	129,3
39,5	39,5	136,2
41,9	39,5	123,0
46,5	41,9	103,5




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69843&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
Werkloosheid(Y(t))[t] = + 11.5841647429370 + 1.04632041693899`Y(t-1)`[t] -0.0950668208423679Productie[t] -12.7609495083958M1[t] -9.424817754117M2[t] -10.6989575038838M3[t] -11.7292539613326M4[t] -5.15362859834418M5[t] -3.57859488699885M6[t] -8.66323485599034M7[t] -12.8218646585940M8[t] -9.01873321102618M9[t] -9.638801525644M10[t] -7.52752597007651M11[t] + 0.120237492740617t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Werkloosheid(Y(t))[t] =  +  11.5841647429370 +  1.04632041693899`Y(t-1)`[t] -0.0950668208423679Productie[t] -12.7609495083958M1[t] -9.424817754117M2[t] -10.6989575038838M3[t] -11.7292539613326M4[t] -5.15362859834418M5[t] -3.57859488699885M6[t] -8.66323485599034M7[t] -12.8218646585940M8[t] -9.01873321102618M9[t] -9.638801525644M10[t] -7.52752597007651M11[t] +  0.120237492740617t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69843&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Werkloosheid(Y(t))[t] =  +  11.5841647429370 +  1.04632041693899`Y(t-1)`[t] -0.0950668208423679Productie[t] -12.7609495083958M1[t] -9.424817754117M2[t] -10.6989575038838M3[t] -11.7292539613326M4[t] -5.15362859834418M5[t] -3.57859488699885M6[t] -8.66323485599034M7[t] -12.8218646585940M8[t] -9.01873321102618M9[t] -9.638801525644M10[t] -7.52752597007651M11[t] +  0.120237492740617t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69843&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69843&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
Werkloosheid(Y(t))[t] = + 11.5841647429370 + 1.04632041693899`Y(t-1)`[t] -0.0950668208423679Productie[t] -12.7609495083958M1[t] -9.424817754117M2[t] -10.6989575038838M3[t] -11.7292539613326M4[t] -5.15362859834418M5[t] -3.57859488699885M6[t] -8.66323485599034M7[t] -12.8218646585940M8[t] -9.01873321102618M9[t] -9.638801525644M10[t] -7.52752597007651M11[t] + 0.120237492740617t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)11.58416474293708.6814231.33440.188950.094475
`Y(t-1)`1.046320416938990.05942817.606600
Productie-0.09506682084236790.052115-1.82420.074920.03746
M1-12.76094950839581.440477-8.858800
M2-9.4248177541171.377321-6.842900
M3-10.69895750388381.448091-7.388300
M4-11.72925396133261.389391-8.44200
M5-5.153628598344181.36825-3.76660.0004880.000244
M6-3.578594886998852.351778-1.52170.135250.067625
M7-8.663234855990341.451651-5.967800
M8-12.82186465859401.470832-8.717400
M9-9.018733211026181.439944-6.263300
M10-9.6388015256441.395543-6.906800
M11-7.527525970076511.641068-4.5873.7e-051.9e-05
t0.1202374927406170.0703961.7080.094680.04734

\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) & 11.5841647429370 & 8.681423 & 1.3344 & 0.18895 & 0.094475 \tabularnewline
`Y(t-1)` & 1.04632041693899 & 0.059428 & 17.6066 & 0 & 0 \tabularnewline
Productie & -0.0950668208423679 & 0.052115 & -1.8242 & 0.07492 & 0.03746 \tabularnewline
M1 & -12.7609495083958 & 1.440477 & -8.8588 & 0 & 0 \tabularnewline
M2 & -9.424817754117 & 1.377321 & -6.8429 & 0 & 0 \tabularnewline
M3 & -10.6989575038838 & 1.448091 & -7.3883 & 0 & 0 \tabularnewline
M4 & -11.7292539613326 & 1.389391 & -8.442 & 0 & 0 \tabularnewline
M5 & -5.15362859834418 & 1.36825 & -3.7666 & 0.000488 & 0.000244 \tabularnewline
M6 & -3.57859488699885 & 2.351778 & -1.5217 & 0.13525 & 0.067625 \tabularnewline
M7 & -8.66323485599034 & 1.451651 & -5.9678 & 0 & 0 \tabularnewline
M8 & -12.8218646585940 & 1.470832 & -8.7174 & 0 & 0 \tabularnewline
M9 & -9.01873321102618 & 1.439944 & -6.2633 & 0 & 0 \tabularnewline
M10 & -9.638801525644 & 1.395543 & -6.9068 & 0 & 0 \tabularnewline
M11 & -7.52752597007651 & 1.641068 & -4.587 & 3.7e-05 & 1.9e-05 \tabularnewline
t & 0.120237492740617 & 0.070396 & 1.708 & 0.09468 & 0.04734 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69843&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]11.5841647429370[/C][C]8.681423[/C][C]1.3344[/C][C]0.18895[/C][C]0.094475[/C][/ROW]
[ROW][C]`Y(t-1)`[/C][C]1.04632041693899[/C][C]0.059428[/C][C]17.6066[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Productie[/C][C]-0.0950668208423679[/C][C]0.052115[/C][C]-1.8242[/C][C]0.07492[/C][C]0.03746[/C][/ROW]
[ROW][C]M1[/C][C]-12.7609495083958[/C][C]1.440477[/C][C]-8.8588[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M2[/C][C]-9.424817754117[/C][C]1.377321[/C][C]-6.8429[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M3[/C][C]-10.6989575038838[/C][C]1.448091[/C][C]-7.3883[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M4[/C][C]-11.7292539613326[/C][C]1.389391[/C][C]-8.442[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M5[/C][C]-5.15362859834418[/C][C]1.36825[/C][C]-3.7666[/C][C]0.000488[/C][C]0.000244[/C][/ROW]
[ROW][C]M6[/C][C]-3.57859488699885[/C][C]2.351778[/C][C]-1.5217[/C][C]0.13525[/C][C]0.067625[/C][/ROW]
[ROW][C]M7[/C][C]-8.66323485599034[/C][C]1.451651[/C][C]-5.9678[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M8[/C][C]-12.8218646585940[/C][C]1.470832[/C][C]-8.7174[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M9[/C][C]-9.01873321102618[/C][C]1.439944[/C][C]-6.2633[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M10[/C][C]-9.638801525644[/C][C]1.395543[/C][C]-6.9068[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M11[/C][C]-7.52752597007651[/C][C]1.641068[/C][C]-4.587[/C][C]3.7e-05[/C][C]1.9e-05[/C][/ROW]
[ROW][C]t[/C][C]0.120237492740617[/C][C]0.070396[/C][C]1.708[/C][C]0.09468[/C][C]0.04734[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69843&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69843&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)11.58416474293708.6814231.33440.188950.094475
`Y(t-1)`1.046320416938990.05942817.606600
Productie-0.09506682084236790.052115-1.82420.074920.03746
M1-12.76094950839581.440477-8.858800
M2-9.4248177541171.377321-6.842900
M3-10.69895750388381.448091-7.388300
M4-11.72925396133261.389391-8.44200
M5-5.153628598344181.36825-3.76660.0004880.000244
M6-3.578594886998852.351778-1.52170.135250.067625
M7-8.663234855990341.451651-5.967800
M8-12.82186465859401.470832-8.717400
M9-9.018733211026181.439944-6.263300
M10-9.6388015256441.395543-6.906800
M11-7.527525970076511.641068-4.5873.7e-051.9e-05
t0.1202374927406170.0703961.7080.094680.04734







Multiple Linear Regression - Regression Statistics
Multiple R0.996305173007122
R-squared0.992623997760752
Adjusted R-squared0.990277087957355
F-TEST (value)422.949359333691
F-TEST (DF numerator)14
F-TEST (DF denominator)44
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation2.02453928565169
Sum Squared Residuals180.34541004247

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.996305173007122 \tabularnewline
R-squared & 0.992623997760752 \tabularnewline
Adjusted R-squared & 0.990277087957355 \tabularnewline
F-TEST (value) & 422.949359333691 \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 & 2.02453928565169 \tabularnewline
Sum Squared Residuals & 180.34541004247 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69843&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.996305173007122[/C][/ROW]
[ROW][C]R-squared[/C][C]0.992623997760752[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.990277087957355[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]422.949359333691[/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]2.02453928565169[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]180.34541004247[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69843&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69843&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.996305173007122
R-squared0.992623997760752
Adjusted R-squared0.990277087957355
F-TEST (value)422.949359333691
F-TEST (DF numerator)14
F-TEST (DF denominator)44
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation2.02453928565169
Sum Squared Residuals180.34541004247







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
195.394.0117722444391.28822775556099
290.791.2575267683888-0.557526768388819
388.487.44856742656510.951432573434919
48683.82775767620162.17224232379843
58686.5008890798834-0.500889079883405
695.391.93228634307443.36771365692559
795.393.58047202072651.71952797927350
888.488.762531779956-0.362531779956076
98685.66593016715440.334069832845593
1081.482.3982499283492-0.99824992834923
1183.781.50887846973212.19112153026787
1295.390.802644324774.49735567523001
1388.490.413329330618-2.01332933061796
148686.7926879320219-0.792687932021884
1583.782.50968233886681.19031766113325
1676.779.7825007044215-3.08250070442148
1779.177.86121187812141.23878812187858
188685.9653917373980.0346082626019769
198685.1214217785650.878578221434994
2079.180.322494901963-1.22249490196307
2176.777.1973732429087-0.497373242908667
2269.873.6730125878291-3.87301258782912
2369.870.5862511761055-0.786251176105529
2476.776.8270256904556-0.127025690455605
2569.871.9192853842283-2.11928538422827
2667.466.82510826257550.574891737424533
2765.165.8409213526505-0.740921352650539
2858.160.7941092896515-2.69410928965147
2960.559.63335503009040.866644969909643
3065.167.5854279760192-2.48542797601918
3162.864.0116938673624-1.21169386736242
3255.857.3005775001811-1.50057750018111
3351.253.1771956835146-1.97719568351456
3448.847.85478426163380.945215738366216
3548.849.6761050499046-0.876105049904624
3653.555.4700655062956-1.97006550629557
3748.848.58364747366650.216352526333491
3846.545.81038863344800.689611366552034
3944.244.5505664818474-0.350566481847442
4039.539.7033947426174-0.203394742617378
4141.941.0727643091110.827235690888995
4248.849.0343439371241-0.234343937124065
4346.547.6960265099107-1.19602650991073
4441.941.27011060525650.629889394743483
4539.539.05897681793660.441023182063362
4637.236.61837792046010.581622079539923
4737.239.0767049471421-1.87670494714208
4841.944.3002644784788-2.40026447847883
4939.536.87196556704822.62803443295175
5039.539.41428840356590.0857115964341367
5134.935.9502624000702-1.05026240007018
5234.931.09223758710813.8077624128919
5334.937.3317797027938-2.43177970279381
5441.942.5825500063843-0.682550006384315
5541.942.0903858234353-0.190385823435347
5639.537.04428521264322.45571478735676
5739.537.80052408848571.69947591151427
5841.938.55557530172783.34442469827221
5946.545.15206035711561.34793964288436

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 95.3 & 94.011772244439 & 1.28822775556099 \tabularnewline
2 & 90.7 & 91.2575267683888 & -0.557526768388819 \tabularnewline
3 & 88.4 & 87.4485674265651 & 0.951432573434919 \tabularnewline
4 & 86 & 83.8277576762016 & 2.17224232379843 \tabularnewline
5 & 86 & 86.5008890798834 & -0.500889079883405 \tabularnewline
6 & 95.3 & 91.9322863430744 & 3.36771365692559 \tabularnewline
7 & 95.3 & 93.5804720207265 & 1.71952797927350 \tabularnewline
8 & 88.4 & 88.762531779956 & -0.362531779956076 \tabularnewline
9 & 86 & 85.6659301671544 & 0.334069832845593 \tabularnewline
10 & 81.4 & 82.3982499283492 & -0.99824992834923 \tabularnewline
11 & 83.7 & 81.5088784697321 & 2.19112153026787 \tabularnewline
12 & 95.3 & 90.80264432477 & 4.49735567523001 \tabularnewline
13 & 88.4 & 90.413329330618 & -2.01332933061796 \tabularnewline
14 & 86 & 86.7926879320219 & -0.792687932021884 \tabularnewline
15 & 83.7 & 82.5096823388668 & 1.19031766113325 \tabularnewline
16 & 76.7 & 79.7825007044215 & -3.08250070442148 \tabularnewline
17 & 79.1 & 77.8612118781214 & 1.23878812187858 \tabularnewline
18 & 86 & 85.965391737398 & 0.0346082626019769 \tabularnewline
19 & 86 & 85.121421778565 & 0.878578221434994 \tabularnewline
20 & 79.1 & 80.322494901963 & -1.22249490196307 \tabularnewline
21 & 76.7 & 77.1973732429087 & -0.497373242908667 \tabularnewline
22 & 69.8 & 73.6730125878291 & -3.87301258782912 \tabularnewline
23 & 69.8 & 70.5862511761055 & -0.786251176105529 \tabularnewline
24 & 76.7 & 76.8270256904556 & -0.127025690455605 \tabularnewline
25 & 69.8 & 71.9192853842283 & -2.11928538422827 \tabularnewline
26 & 67.4 & 66.8251082625755 & 0.574891737424533 \tabularnewline
27 & 65.1 & 65.8409213526505 & -0.740921352650539 \tabularnewline
28 & 58.1 & 60.7941092896515 & -2.69410928965147 \tabularnewline
29 & 60.5 & 59.6333550300904 & 0.866644969909643 \tabularnewline
30 & 65.1 & 67.5854279760192 & -2.48542797601918 \tabularnewline
31 & 62.8 & 64.0116938673624 & -1.21169386736242 \tabularnewline
32 & 55.8 & 57.3005775001811 & -1.50057750018111 \tabularnewline
33 & 51.2 & 53.1771956835146 & -1.97719568351456 \tabularnewline
34 & 48.8 & 47.8547842616338 & 0.945215738366216 \tabularnewline
35 & 48.8 & 49.6761050499046 & -0.876105049904624 \tabularnewline
36 & 53.5 & 55.4700655062956 & -1.97006550629557 \tabularnewline
37 & 48.8 & 48.5836474736665 & 0.216352526333491 \tabularnewline
38 & 46.5 & 45.8103886334480 & 0.689611366552034 \tabularnewline
39 & 44.2 & 44.5505664818474 & -0.350566481847442 \tabularnewline
40 & 39.5 & 39.7033947426174 & -0.203394742617378 \tabularnewline
41 & 41.9 & 41.072764309111 & 0.827235690888995 \tabularnewline
42 & 48.8 & 49.0343439371241 & -0.234343937124065 \tabularnewline
43 & 46.5 & 47.6960265099107 & -1.19602650991073 \tabularnewline
44 & 41.9 & 41.2701106052565 & 0.629889394743483 \tabularnewline
45 & 39.5 & 39.0589768179366 & 0.441023182063362 \tabularnewline
46 & 37.2 & 36.6183779204601 & 0.581622079539923 \tabularnewline
47 & 37.2 & 39.0767049471421 & -1.87670494714208 \tabularnewline
48 & 41.9 & 44.3002644784788 & -2.40026447847883 \tabularnewline
49 & 39.5 & 36.8719655670482 & 2.62803443295175 \tabularnewline
50 & 39.5 & 39.4142884035659 & 0.0857115964341367 \tabularnewline
51 & 34.9 & 35.9502624000702 & -1.05026240007018 \tabularnewline
52 & 34.9 & 31.0922375871081 & 3.8077624128919 \tabularnewline
53 & 34.9 & 37.3317797027938 & -2.43177970279381 \tabularnewline
54 & 41.9 & 42.5825500063843 & -0.682550006384315 \tabularnewline
55 & 41.9 & 42.0903858234353 & -0.190385823435347 \tabularnewline
56 & 39.5 & 37.0442852126432 & 2.45571478735676 \tabularnewline
57 & 39.5 & 37.8005240884857 & 1.69947591151427 \tabularnewline
58 & 41.9 & 38.5555753017278 & 3.34442469827221 \tabularnewline
59 & 46.5 & 45.1520603571156 & 1.34793964288436 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69843&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]95.3[/C][C]94.011772244439[/C][C]1.28822775556099[/C][/ROW]
[ROW][C]2[/C][C]90.7[/C][C]91.2575267683888[/C][C]-0.557526768388819[/C][/ROW]
[ROW][C]3[/C][C]88.4[/C][C]87.4485674265651[/C][C]0.951432573434919[/C][/ROW]
[ROW][C]4[/C][C]86[/C][C]83.8277576762016[/C][C]2.17224232379843[/C][/ROW]
[ROW][C]5[/C][C]86[/C][C]86.5008890798834[/C][C]-0.500889079883405[/C][/ROW]
[ROW][C]6[/C][C]95.3[/C][C]91.9322863430744[/C][C]3.36771365692559[/C][/ROW]
[ROW][C]7[/C][C]95.3[/C][C]93.5804720207265[/C][C]1.71952797927350[/C][/ROW]
[ROW][C]8[/C][C]88.4[/C][C]88.762531779956[/C][C]-0.362531779956076[/C][/ROW]
[ROW][C]9[/C][C]86[/C][C]85.6659301671544[/C][C]0.334069832845593[/C][/ROW]
[ROW][C]10[/C][C]81.4[/C][C]82.3982499283492[/C][C]-0.99824992834923[/C][/ROW]
[ROW][C]11[/C][C]83.7[/C][C]81.5088784697321[/C][C]2.19112153026787[/C][/ROW]
[ROW][C]12[/C][C]95.3[/C][C]90.80264432477[/C][C]4.49735567523001[/C][/ROW]
[ROW][C]13[/C][C]88.4[/C][C]90.413329330618[/C][C]-2.01332933061796[/C][/ROW]
[ROW][C]14[/C][C]86[/C][C]86.7926879320219[/C][C]-0.792687932021884[/C][/ROW]
[ROW][C]15[/C][C]83.7[/C][C]82.5096823388668[/C][C]1.19031766113325[/C][/ROW]
[ROW][C]16[/C][C]76.7[/C][C]79.7825007044215[/C][C]-3.08250070442148[/C][/ROW]
[ROW][C]17[/C][C]79.1[/C][C]77.8612118781214[/C][C]1.23878812187858[/C][/ROW]
[ROW][C]18[/C][C]86[/C][C]85.965391737398[/C][C]0.0346082626019769[/C][/ROW]
[ROW][C]19[/C][C]86[/C][C]85.121421778565[/C][C]0.878578221434994[/C][/ROW]
[ROW][C]20[/C][C]79.1[/C][C]80.322494901963[/C][C]-1.22249490196307[/C][/ROW]
[ROW][C]21[/C][C]76.7[/C][C]77.1973732429087[/C][C]-0.497373242908667[/C][/ROW]
[ROW][C]22[/C][C]69.8[/C][C]73.6730125878291[/C][C]-3.87301258782912[/C][/ROW]
[ROW][C]23[/C][C]69.8[/C][C]70.5862511761055[/C][C]-0.786251176105529[/C][/ROW]
[ROW][C]24[/C][C]76.7[/C][C]76.8270256904556[/C][C]-0.127025690455605[/C][/ROW]
[ROW][C]25[/C][C]69.8[/C][C]71.9192853842283[/C][C]-2.11928538422827[/C][/ROW]
[ROW][C]26[/C][C]67.4[/C][C]66.8251082625755[/C][C]0.574891737424533[/C][/ROW]
[ROW][C]27[/C][C]65.1[/C][C]65.8409213526505[/C][C]-0.740921352650539[/C][/ROW]
[ROW][C]28[/C][C]58.1[/C][C]60.7941092896515[/C][C]-2.69410928965147[/C][/ROW]
[ROW][C]29[/C][C]60.5[/C][C]59.6333550300904[/C][C]0.866644969909643[/C][/ROW]
[ROW][C]30[/C][C]65.1[/C][C]67.5854279760192[/C][C]-2.48542797601918[/C][/ROW]
[ROW][C]31[/C][C]62.8[/C][C]64.0116938673624[/C][C]-1.21169386736242[/C][/ROW]
[ROW][C]32[/C][C]55.8[/C][C]57.3005775001811[/C][C]-1.50057750018111[/C][/ROW]
[ROW][C]33[/C][C]51.2[/C][C]53.1771956835146[/C][C]-1.97719568351456[/C][/ROW]
[ROW][C]34[/C][C]48.8[/C][C]47.8547842616338[/C][C]0.945215738366216[/C][/ROW]
[ROW][C]35[/C][C]48.8[/C][C]49.6761050499046[/C][C]-0.876105049904624[/C][/ROW]
[ROW][C]36[/C][C]53.5[/C][C]55.4700655062956[/C][C]-1.97006550629557[/C][/ROW]
[ROW][C]37[/C][C]48.8[/C][C]48.5836474736665[/C][C]0.216352526333491[/C][/ROW]
[ROW][C]38[/C][C]46.5[/C][C]45.8103886334480[/C][C]0.689611366552034[/C][/ROW]
[ROW][C]39[/C][C]44.2[/C][C]44.5505664818474[/C][C]-0.350566481847442[/C][/ROW]
[ROW][C]40[/C][C]39.5[/C][C]39.7033947426174[/C][C]-0.203394742617378[/C][/ROW]
[ROW][C]41[/C][C]41.9[/C][C]41.072764309111[/C][C]0.827235690888995[/C][/ROW]
[ROW][C]42[/C][C]48.8[/C][C]49.0343439371241[/C][C]-0.234343937124065[/C][/ROW]
[ROW][C]43[/C][C]46.5[/C][C]47.6960265099107[/C][C]-1.19602650991073[/C][/ROW]
[ROW][C]44[/C][C]41.9[/C][C]41.2701106052565[/C][C]0.629889394743483[/C][/ROW]
[ROW][C]45[/C][C]39.5[/C][C]39.0589768179366[/C][C]0.441023182063362[/C][/ROW]
[ROW][C]46[/C][C]37.2[/C][C]36.6183779204601[/C][C]0.581622079539923[/C][/ROW]
[ROW][C]47[/C][C]37.2[/C][C]39.0767049471421[/C][C]-1.87670494714208[/C][/ROW]
[ROW][C]48[/C][C]41.9[/C][C]44.3002644784788[/C][C]-2.40026447847883[/C][/ROW]
[ROW][C]49[/C][C]39.5[/C][C]36.8719655670482[/C][C]2.62803443295175[/C][/ROW]
[ROW][C]50[/C][C]39.5[/C][C]39.4142884035659[/C][C]0.0857115964341367[/C][/ROW]
[ROW][C]51[/C][C]34.9[/C][C]35.9502624000702[/C][C]-1.05026240007018[/C][/ROW]
[ROW][C]52[/C][C]34.9[/C][C]31.0922375871081[/C][C]3.8077624128919[/C][/ROW]
[ROW][C]53[/C][C]34.9[/C][C]37.3317797027938[/C][C]-2.43177970279381[/C][/ROW]
[ROW][C]54[/C][C]41.9[/C][C]42.5825500063843[/C][C]-0.682550006384315[/C][/ROW]
[ROW][C]55[/C][C]41.9[/C][C]42.0903858234353[/C][C]-0.190385823435347[/C][/ROW]
[ROW][C]56[/C][C]39.5[/C][C]37.0442852126432[/C][C]2.45571478735676[/C][/ROW]
[ROW][C]57[/C][C]39.5[/C][C]37.8005240884857[/C][C]1.69947591151427[/C][/ROW]
[ROW][C]58[/C][C]41.9[/C][C]38.5555753017278[/C][C]3.34442469827221[/C][/ROW]
[ROW][C]59[/C][C]46.5[/C][C]45.1520603571156[/C][C]1.34793964288436[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69843&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69843&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
195.394.0117722444391.28822775556099
290.791.2575267683888-0.557526768388819
388.487.44856742656510.951432573434919
48683.82775767620162.17224232379843
58686.5008890798834-0.500889079883405
695.391.93228634307443.36771365692559
795.393.58047202072651.71952797927350
888.488.762531779956-0.362531779956076
98685.66593016715440.334069832845593
1081.482.3982499283492-0.99824992834923
1183.781.50887846973212.19112153026787
1295.390.802644324774.49735567523001
1388.490.413329330618-2.01332933061796
148686.7926879320219-0.792687932021884
1583.782.50968233886681.19031766113325
1676.779.7825007044215-3.08250070442148
1779.177.86121187812141.23878812187858
188685.9653917373980.0346082626019769
198685.1214217785650.878578221434994
2079.180.322494901963-1.22249490196307
2176.777.1973732429087-0.497373242908667
2269.873.6730125878291-3.87301258782912
2369.870.5862511761055-0.786251176105529
2476.776.8270256904556-0.127025690455605
2569.871.9192853842283-2.11928538422827
2667.466.82510826257550.574891737424533
2765.165.8409213526505-0.740921352650539
2858.160.7941092896515-2.69410928965147
2960.559.63335503009040.866644969909643
3065.167.5854279760192-2.48542797601918
3162.864.0116938673624-1.21169386736242
3255.857.3005775001811-1.50057750018111
3351.253.1771956835146-1.97719568351456
3448.847.85478426163380.945215738366216
3548.849.6761050499046-0.876105049904624
3653.555.4700655062956-1.97006550629557
3748.848.58364747366650.216352526333491
3846.545.81038863344800.689611366552034
3944.244.5505664818474-0.350566481847442
4039.539.7033947426174-0.203394742617378
4141.941.0727643091110.827235690888995
4248.849.0343439371241-0.234343937124065
4346.547.6960265099107-1.19602650991073
4441.941.27011060525650.629889394743483
4539.539.05897681793660.441023182063362
4637.236.61837792046010.581622079539923
4737.239.0767049471421-1.87670494714208
4841.944.3002644784788-2.40026447847883
4939.536.87196556704822.62803443295175
5039.539.41428840356590.0857115964341367
5134.935.9502624000702-1.05026240007018
5234.931.09223758710813.8077624128919
5334.937.3317797027938-2.43177970279381
5441.942.5825500063843-0.682550006384315
5541.942.0903858234353-0.190385823435347
5639.537.04428521264322.45571478735676
5739.537.80052408848571.69947591151427
5841.938.55557530172783.34442469827221
5946.545.15206035711561.34793964288436







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
180.6613457941566110.6773084116867770.338654205843389
190.6075226488863540.7849547022272920.392477351113646
200.4772726366880310.9545452733760620.522727363311969
210.3576841249510820.7153682499021650.642315875048918
220.4615846220149030.9231692440298060.538415377985097
230.4773835992573580.9547671985147150.522616400742642
240.6007999743139140.7984000513721720.399200025686086
250.5607636581171770.8784726837656470.439236341882823
260.6224261263245960.7551477473508080.377573873675404
270.5452774534586660.9094450930826680.454722546541334
280.5969321358657410.8061357282685180.403067864134259
290.6463579062182450.7072841875635110.353642093781755
300.6687823151225460.6624353697549090.331217684877454
310.6004809830788410.7990380338423180.399519016921159
320.5488247050302160.9023505899395690.451175294969784
330.539888599337380.920222801325240.46011140066262
340.5858722112567880.8282555774864240.414127788743212
350.4879833588229850.975966717645970.512016641177015
360.4686326182054790.9372652364109580.531367381794521
370.4747295933600660.9494591867201320.525270406639934
380.428596764505980.857193529011960.57140323549402
390.2998147241659120.5996294483318240.700185275834088
400.5243081617566910.9513836764866170.475691838243309
410.9438537048023210.1122925903953580.056146295197679

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
18 & 0.661345794156611 & 0.677308411686777 & 0.338654205843389 \tabularnewline
19 & 0.607522648886354 & 0.784954702227292 & 0.392477351113646 \tabularnewline
20 & 0.477272636688031 & 0.954545273376062 & 0.522727363311969 \tabularnewline
21 & 0.357684124951082 & 0.715368249902165 & 0.642315875048918 \tabularnewline
22 & 0.461584622014903 & 0.923169244029806 & 0.538415377985097 \tabularnewline
23 & 0.477383599257358 & 0.954767198514715 & 0.522616400742642 \tabularnewline
24 & 0.600799974313914 & 0.798400051372172 & 0.399200025686086 \tabularnewline
25 & 0.560763658117177 & 0.878472683765647 & 0.439236341882823 \tabularnewline
26 & 0.622426126324596 & 0.755147747350808 & 0.377573873675404 \tabularnewline
27 & 0.545277453458666 & 0.909445093082668 & 0.454722546541334 \tabularnewline
28 & 0.596932135865741 & 0.806135728268518 & 0.403067864134259 \tabularnewline
29 & 0.646357906218245 & 0.707284187563511 & 0.353642093781755 \tabularnewline
30 & 0.668782315122546 & 0.662435369754909 & 0.331217684877454 \tabularnewline
31 & 0.600480983078841 & 0.799038033842318 & 0.399519016921159 \tabularnewline
32 & 0.548824705030216 & 0.902350589939569 & 0.451175294969784 \tabularnewline
33 & 0.53988859933738 & 0.92022280132524 & 0.46011140066262 \tabularnewline
34 & 0.585872211256788 & 0.828255577486424 & 0.414127788743212 \tabularnewline
35 & 0.487983358822985 & 0.97596671764597 & 0.512016641177015 \tabularnewline
36 & 0.468632618205479 & 0.937265236410958 & 0.531367381794521 \tabularnewline
37 & 0.474729593360066 & 0.949459186720132 & 0.525270406639934 \tabularnewline
38 & 0.42859676450598 & 0.85719352901196 & 0.57140323549402 \tabularnewline
39 & 0.299814724165912 & 0.599629448331824 & 0.700185275834088 \tabularnewline
40 & 0.524308161756691 & 0.951383676486617 & 0.475691838243309 \tabularnewline
41 & 0.943853704802321 & 0.112292590395358 & 0.056146295197679 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69843&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.661345794156611[/C][C]0.677308411686777[/C][C]0.338654205843389[/C][/ROW]
[ROW][C]19[/C][C]0.607522648886354[/C][C]0.784954702227292[/C][C]0.392477351113646[/C][/ROW]
[ROW][C]20[/C][C]0.477272636688031[/C][C]0.954545273376062[/C][C]0.522727363311969[/C][/ROW]
[ROW][C]21[/C][C]0.357684124951082[/C][C]0.715368249902165[/C][C]0.642315875048918[/C][/ROW]
[ROW][C]22[/C][C]0.461584622014903[/C][C]0.923169244029806[/C][C]0.538415377985097[/C][/ROW]
[ROW][C]23[/C][C]0.477383599257358[/C][C]0.954767198514715[/C][C]0.522616400742642[/C][/ROW]
[ROW][C]24[/C][C]0.600799974313914[/C][C]0.798400051372172[/C][C]0.399200025686086[/C][/ROW]
[ROW][C]25[/C][C]0.560763658117177[/C][C]0.878472683765647[/C][C]0.439236341882823[/C][/ROW]
[ROW][C]26[/C][C]0.622426126324596[/C][C]0.755147747350808[/C][C]0.377573873675404[/C][/ROW]
[ROW][C]27[/C][C]0.545277453458666[/C][C]0.909445093082668[/C][C]0.454722546541334[/C][/ROW]
[ROW][C]28[/C][C]0.596932135865741[/C][C]0.806135728268518[/C][C]0.403067864134259[/C][/ROW]
[ROW][C]29[/C][C]0.646357906218245[/C][C]0.707284187563511[/C][C]0.353642093781755[/C][/ROW]
[ROW][C]30[/C][C]0.668782315122546[/C][C]0.662435369754909[/C][C]0.331217684877454[/C][/ROW]
[ROW][C]31[/C][C]0.600480983078841[/C][C]0.799038033842318[/C][C]0.399519016921159[/C][/ROW]
[ROW][C]32[/C][C]0.548824705030216[/C][C]0.902350589939569[/C][C]0.451175294969784[/C][/ROW]
[ROW][C]33[/C][C]0.53988859933738[/C][C]0.92022280132524[/C][C]0.46011140066262[/C][/ROW]
[ROW][C]34[/C][C]0.585872211256788[/C][C]0.828255577486424[/C][C]0.414127788743212[/C][/ROW]
[ROW][C]35[/C][C]0.487983358822985[/C][C]0.97596671764597[/C][C]0.512016641177015[/C][/ROW]
[ROW][C]36[/C][C]0.468632618205479[/C][C]0.937265236410958[/C][C]0.531367381794521[/C][/ROW]
[ROW][C]37[/C][C]0.474729593360066[/C][C]0.949459186720132[/C][C]0.525270406639934[/C][/ROW]
[ROW][C]38[/C][C]0.42859676450598[/C][C]0.85719352901196[/C][C]0.57140323549402[/C][/ROW]
[ROW][C]39[/C][C]0.299814724165912[/C][C]0.599629448331824[/C][C]0.700185275834088[/C][/ROW]
[ROW][C]40[/C][C]0.524308161756691[/C][C]0.951383676486617[/C][C]0.475691838243309[/C][/ROW]
[ROW][C]41[/C][C]0.943853704802321[/C][C]0.112292590395358[/C][C]0.056146295197679[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69843&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69843&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.6613457941566110.6773084116867770.338654205843389
190.6075226488863540.7849547022272920.392477351113646
200.4772726366880310.9545452733760620.522727363311969
210.3576841249510820.7153682499021650.642315875048918
220.4615846220149030.9231692440298060.538415377985097
230.4773835992573580.9547671985147150.522616400742642
240.6007999743139140.7984000513721720.399200025686086
250.5607636581171770.8784726837656470.439236341882823
260.6224261263245960.7551477473508080.377573873675404
270.5452774534586660.9094450930826680.454722546541334
280.5969321358657410.8061357282685180.403067864134259
290.6463579062182450.7072841875635110.353642093781755
300.6687823151225460.6624353697549090.331217684877454
310.6004809830788410.7990380338423180.399519016921159
320.5488247050302160.9023505899395690.451175294969784
330.539888599337380.920222801325240.46011140066262
340.5858722112567880.8282555774864240.414127788743212
350.4879833588229850.975966717645970.512016641177015
360.4686326182054790.9372652364109580.531367381794521
370.4747295933600660.9494591867201320.525270406639934
380.428596764505980.857193529011960.57140323549402
390.2998147241659120.5996294483318240.700185275834088
400.5243081617566910.9513836764866170.475691838243309
410.9438537048023210.1122925903953580.056146295197679







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

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