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 computationTue, 07 Dec 2010 19:30:22 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/07/t1291750098hay6ffjtvdtiym3.htm/, Retrieved Fri, 03 May 2024 17:33:46 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=106672, Retrieved Fri, 03 May 2024 17:33:46 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact121
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [HPC Retail Sales] [2008-03-08 13:40:54] [1c0f2c85e8a48e42648374b3bcceca26]
-  MPD    [Multiple Regression] [] [2010-12-07 19:30:22] [d42b17bf3b3c0d56878eb3f5a4351e6d] [Current]
Feedback Forum

Post a new message
Dataseries X:
103,48
103,93
103,89
104,4
104,79
104,77
105,13
105,26
104,96
104,75
105,01
105,15
105,2
105,77
105,78
106,26
106,13
106,12
106,57
106,44
106,54
107,1
108,1
108,4
108,84
109,62
110,42
110,67
111,66
112,28
112,87
112,18
112,36
112,16
111,49
111,25
111,36
111,74
111,1
111,33
111,25
111,04
110,97
111,31
111,02
111,07
111,36
111,54
112,05
112,52
112,94
113,33
113,78
113,77
113,82
113,89
114,25
114,41




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 5 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=106672&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=106672&T=0

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

As an alternative you can also use a QR Code:  

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

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Multiple Linear Regression - Estimated Regression Equation
Consumptieindexprijs[t] = + 103.373409090909 + 0.0529318181817703M1[t] + 0.392545454545451M2[t] + 0.312159090909086M3[t] + 0.493772727272725M4[t] + 0.627386363636359M5[t] + 0.510999999999996M6[t] + 0.596613636363628M7[t] + 0.350227272727270M8[t] + 0.169840909090903M9[t] + 0.0514545454545356M10[t] + 0.0953863636363579M11[t] + 0.190386363636364t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Consumptieindexprijs[t] =  +  103.373409090909 +  0.0529318181817703M1[t] +  0.392545454545451M2[t] +  0.312159090909086M3[t] +  0.493772727272725M4[t] +  0.627386363636359M5[t] +  0.510999999999996M6[t] +  0.596613636363628M7[t] +  0.350227272727270M8[t] +  0.169840909090903M9[t] +  0.0514545454545356M10[t] +  0.0953863636363579M11[t] +  0.190386363636364t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=106672&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Consumptieindexprijs[t] =  +  103.373409090909 +  0.0529318181817703M1[t] +  0.392545454545451M2[t] +  0.312159090909086M3[t] +  0.493772727272725M4[t] +  0.627386363636359M5[t] +  0.510999999999996M6[t] +  0.596613636363628M7[t] +  0.350227272727270M8[t] +  0.169840909090903M9[t] +  0.0514545454545356M10[t] +  0.0953863636363579M11[t] +  0.190386363636364t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=106672&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=106672&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
Consumptieindexprijs[t] = + 103.373409090909 + 0.0529318181817703M1[t] + 0.392545454545451M2[t] + 0.312159090909086M3[t] + 0.493772727272725M4[t] + 0.627386363636359M5[t] + 0.510999999999996M6[t] + 0.596613636363628M7[t] + 0.350227272727270M8[t] + 0.169840909090903M9[t] + 0.0514545454545356M10[t] + 0.0953863636363579M11[t] + 0.190386363636364t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)103.3734090909090.679554152.119400
M10.05293181818177030.8244230.06420.9490920.474546
M20.3925454545454510.8239040.47640.6360620.318031
M30.3121590909090860.82350.37910.7064230.353212
M40.4937727272727250.8232120.59980.551640.27582
M50.6273863636363590.8230390.76230.449870.224935
M60.5109999999999960.8229810.62090.5377890.268895
M70.5966136363636280.8230390.72490.4722710.236136
M80.3502272727272700.8232120.42540.6725440.336272
M90.1698409090909030.82350.20620.8375320.418766
M100.05145454545453560.8239040.06250.9504790.47524
M110.09538636363635790.8675530.10990.9129390.456469
t0.1903863636363640.00974819.531200

\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) & 103.373409090909 & 0.679554 & 152.1194 & 0 & 0 \tabularnewline
M1 & 0.0529318181817703 & 0.824423 & 0.0642 & 0.949092 & 0.474546 \tabularnewline
M2 & 0.392545454545451 & 0.823904 & 0.4764 & 0.636062 & 0.318031 \tabularnewline
M3 & 0.312159090909086 & 0.8235 & 0.3791 & 0.706423 & 0.353212 \tabularnewline
M4 & 0.493772727272725 & 0.823212 & 0.5998 & 0.55164 & 0.27582 \tabularnewline
M5 & 0.627386363636359 & 0.823039 & 0.7623 & 0.44987 & 0.224935 \tabularnewline
M6 & 0.510999999999996 & 0.822981 & 0.6209 & 0.537789 & 0.268895 \tabularnewline
M7 & 0.596613636363628 & 0.823039 & 0.7249 & 0.472271 & 0.236136 \tabularnewline
M8 & 0.350227272727270 & 0.823212 & 0.4254 & 0.672544 & 0.336272 \tabularnewline
M9 & 0.169840909090903 & 0.8235 & 0.2062 & 0.837532 & 0.418766 \tabularnewline
M10 & 0.0514545454545356 & 0.823904 & 0.0625 & 0.950479 & 0.47524 \tabularnewline
M11 & 0.0953863636363579 & 0.867553 & 0.1099 & 0.912939 & 0.456469 \tabularnewline
t & 0.190386363636364 & 0.009748 & 19.5312 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=106672&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]103.373409090909[/C][C]0.679554[/C][C]152.1194[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]0.0529318181817703[/C][C]0.824423[/C][C]0.0642[/C][C]0.949092[/C][C]0.474546[/C][/ROW]
[ROW][C]M2[/C][C]0.392545454545451[/C][C]0.823904[/C][C]0.4764[/C][C]0.636062[/C][C]0.318031[/C][/ROW]
[ROW][C]M3[/C][C]0.312159090909086[/C][C]0.8235[/C][C]0.3791[/C][C]0.706423[/C][C]0.353212[/C][/ROW]
[ROW][C]M4[/C][C]0.493772727272725[/C][C]0.823212[/C][C]0.5998[/C][C]0.55164[/C][C]0.27582[/C][/ROW]
[ROW][C]M5[/C][C]0.627386363636359[/C][C]0.823039[/C][C]0.7623[/C][C]0.44987[/C][C]0.224935[/C][/ROW]
[ROW][C]M6[/C][C]0.510999999999996[/C][C]0.822981[/C][C]0.6209[/C][C]0.537789[/C][C]0.268895[/C][/ROW]
[ROW][C]M7[/C][C]0.596613636363628[/C][C]0.823039[/C][C]0.7249[/C][C]0.472271[/C][C]0.236136[/C][/ROW]
[ROW][C]M8[/C][C]0.350227272727270[/C][C]0.823212[/C][C]0.4254[/C][C]0.672544[/C][C]0.336272[/C][/ROW]
[ROW][C]M9[/C][C]0.169840909090903[/C][C]0.8235[/C][C]0.2062[/C][C]0.837532[/C][C]0.418766[/C][/ROW]
[ROW][C]M10[/C][C]0.0514545454545356[/C][C]0.823904[/C][C]0.0625[/C][C]0.950479[/C][C]0.47524[/C][/ROW]
[ROW][C]M11[/C][C]0.0953863636363579[/C][C]0.867553[/C][C]0.1099[/C][C]0.912939[/C][C]0.456469[/C][/ROW]
[ROW][C]t[/C][C]0.190386363636364[/C][C]0.009748[/C][C]19.5312[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=106672&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=106672&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)103.3734090909090.679554152.119400
M10.05293181818177030.8244230.06420.9490920.474546
M20.3925454545454510.8239040.47640.6360620.318031
M30.3121590909090860.82350.37910.7064230.353212
M40.4937727272727250.8232120.59980.551640.27582
M50.6273863636363590.8230390.76230.449870.224935
M60.5109999999999960.8229810.62090.5377890.268895
M70.5966136363636280.8230390.72490.4722710.236136
M80.3502272727272700.8232120.42540.6725440.336272
M90.1698409090909030.82350.20620.8375320.418766
M100.05145454545453560.8239040.06250.9504790.47524
M110.09538636363635790.8675530.10990.9129390.456469
t0.1903863636363640.00974819.531200







Multiple Linear Regression - Regression Statistics
Multiple R0.947165971215957
R-squared0.897123377029467
Adjusted R-squared0.869689610903991
F-TEST (value)32.7014297973613
F-TEST (DF numerator)12
F-TEST (DF denominator)45
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.22682766565322
Sum Squared Residuals67.7297754545456

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.947165971215957 \tabularnewline
R-squared & 0.897123377029467 \tabularnewline
Adjusted R-squared & 0.869689610903991 \tabularnewline
F-TEST (value) & 32.7014297973613 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 45 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1.22682766565322 \tabularnewline
Sum Squared Residuals & 67.7297754545456 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=106672&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.947165971215957[/C][/ROW]
[ROW][C]R-squared[/C][C]0.897123377029467[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.869689610903991[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]32.7014297973613[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]45[/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]1.22682766565322[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]67.7297754545456[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=106672&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=106672&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.947165971215957
R-squared0.897123377029467
Adjusted R-squared0.869689610903991
F-TEST (value)32.7014297973613
F-TEST (DF numerator)12
F-TEST (DF denominator)45
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.22682766565322
Sum Squared Residuals67.7297754545456







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1103.48103.616727272727-0.136727272727445
2103.93104.146727272727-0.216727272727259
3103.89104.256727272727-0.366727272727266
4104.4104.628727272727-0.228727272727262
5104.79104.952727272727-0.162727272727259
6104.77105.026727272727-0.256727272727271
7105.13105.302727272727-0.172727272727268
8105.26105.2467272727270.0132727272727364
9104.96105.256727272727-0.296727272727272
10104.75105.328727272727-0.578727272727262
11105.01105.563045454545-0.553045454545445
12105.15105.658045454545-0.508045454545449
13105.2105.901363636364-0.70136363636359
14105.77106.431363636364-0.661363636363637
15105.78106.541363636364-0.761363636363631
16106.26106.913363636364-0.65336363636363
17106.13107.237363636364-1.10736363636364
18106.12107.311363636364-1.19136363636363
19106.57107.587363636364-1.01736363636364
20106.44107.531363636364-1.09136363636364
21106.54107.541363636364-1.00136363636363
22107.1107.613363636364-0.513363636363634
23108.1107.8476818181820.252318181818179
24108.4107.9426818181820.457318181818184
25108.84108.1860.654000000000048
26109.62108.7160.904000000000005
27110.42108.8261.59400000000000
28110.67109.1981.472
29111.66109.5222.13800000000000
30112.28109.5962.684
31112.87109.8722.99800000000001
32112.18109.8162.36400000000000
33112.36109.8262.534
34112.16109.8982.262
35111.49110.1323181818181.35768181818181
36111.25110.2273181818181.02268181818181
37111.36110.4706363636360.889363636363678
38111.74111.0006363636360.739363636363628
39111.1111.110636363636-0.0106363636363711
40111.33111.482636363636-0.152636363636371
41111.25111.806636363636-0.556636363636368
42111.04111.880636363636-0.840636363636362
43110.97112.156636363636-1.18663636363636
44111.31112.100636363636-0.790636363636367
45111.02112.110636363636-1.09063636363637
46111.07112.182636363636-1.11263636363637
47111.36112.416954545455-1.05695454545455
48111.54112.511954545455-0.971954545454548
49112.05112.755272727273-0.705272727272692
50112.52113.285272727273-0.765272727272738
51112.94113.395272727273-0.455272727272735
52113.33113.767272727273-0.437272727272737
53113.78114.091272727273-0.311272727272733
54113.77114.165272727273-0.395272727272737
55113.82114.441272727273-0.621272727272739
56113.89114.385272727273-0.495272727272736
57114.25114.395272727273-0.145272727272733
58114.41114.467272727273-0.0572727272727344

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 103.48 & 103.616727272727 & -0.136727272727445 \tabularnewline
2 & 103.93 & 104.146727272727 & -0.216727272727259 \tabularnewline
3 & 103.89 & 104.256727272727 & -0.366727272727266 \tabularnewline
4 & 104.4 & 104.628727272727 & -0.228727272727262 \tabularnewline
5 & 104.79 & 104.952727272727 & -0.162727272727259 \tabularnewline
6 & 104.77 & 105.026727272727 & -0.256727272727271 \tabularnewline
7 & 105.13 & 105.302727272727 & -0.172727272727268 \tabularnewline
8 & 105.26 & 105.246727272727 & 0.0132727272727364 \tabularnewline
9 & 104.96 & 105.256727272727 & -0.296727272727272 \tabularnewline
10 & 104.75 & 105.328727272727 & -0.578727272727262 \tabularnewline
11 & 105.01 & 105.563045454545 & -0.553045454545445 \tabularnewline
12 & 105.15 & 105.658045454545 & -0.508045454545449 \tabularnewline
13 & 105.2 & 105.901363636364 & -0.70136363636359 \tabularnewline
14 & 105.77 & 106.431363636364 & -0.661363636363637 \tabularnewline
15 & 105.78 & 106.541363636364 & -0.761363636363631 \tabularnewline
16 & 106.26 & 106.913363636364 & -0.65336363636363 \tabularnewline
17 & 106.13 & 107.237363636364 & -1.10736363636364 \tabularnewline
18 & 106.12 & 107.311363636364 & -1.19136363636363 \tabularnewline
19 & 106.57 & 107.587363636364 & -1.01736363636364 \tabularnewline
20 & 106.44 & 107.531363636364 & -1.09136363636364 \tabularnewline
21 & 106.54 & 107.541363636364 & -1.00136363636363 \tabularnewline
22 & 107.1 & 107.613363636364 & -0.513363636363634 \tabularnewline
23 & 108.1 & 107.847681818182 & 0.252318181818179 \tabularnewline
24 & 108.4 & 107.942681818182 & 0.457318181818184 \tabularnewline
25 & 108.84 & 108.186 & 0.654000000000048 \tabularnewline
26 & 109.62 & 108.716 & 0.904000000000005 \tabularnewline
27 & 110.42 & 108.826 & 1.59400000000000 \tabularnewline
28 & 110.67 & 109.198 & 1.472 \tabularnewline
29 & 111.66 & 109.522 & 2.13800000000000 \tabularnewline
30 & 112.28 & 109.596 & 2.684 \tabularnewline
31 & 112.87 & 109.872 & 2.99800000000001 \tabularnewline
32 & 112.18 & 109.816 & 2.36400000000000 \tabularnewline
33 & 112.36 & 109.826 & 2.534 \tabularnewline
34 & 112.16 & 109.898 & 2.262 \tabularnewline
35 & 111.49 & 110.132318181818 & 1.35768181818181 \tabularnewline
36 & 111.25 & 110.227318181818 & 1.02268181818181 \tabularnewline
37 & 111.36 & 110.470636363636 & 0.889363636363678 \tabularnewline
38 & 111.74 & 111.000636363636 & 0.739363636363628 \tabularnewline
39 & 111.1 & 111.110636363636 & -0.0106363636363711 \tabularnewline
40 & 111.33 & 111.482636363636 & -0.152636363636371 \tabularnewline
41 & 111.25 & 111.806636363636 & -0.556636363636368 \tabularnewline
42 & 111.04 & 111.880636363636 & -0.840636363636362 \tabularnewline
43 & 110.97 & 112.156636363636 & -1.18663636363636 \tabularnewline
44 & 111.31 & 112.100636363636 & -0.790636363636367 \tabularnewline
45 & 111.02 & 112.110636363636 & -1.09063636363637 \tabularnewline
46 & 111.07 & 112.182636363636 & -1.11263636363637 \tabularnewline
47 & 111.36 & 112.416954545455 & -1.05695454545455 \tabularnewline
48 & 111.54 & 112.511954545455 & -0.971954545454548 \tabularnewline
49 & 112.05 & 112.755272727273 & -0.705272727272692 \tabularnewline
50 & 112.52 & 113.285272727273 & -0.765272727272738 \tabularnewline
51 & 112.94 & 113.395272727273 & -0.455272727272735 \tabularnewline
52 & 113.33 & 113.767272727273 & -0.437272727272737 \tabularnewline
53 & 113.78 & 114.091272727273 & -0.311272727272733 \tabularnewline
54 & 113.77 & 114.165272727273 & -0.395272727272737 \tabularnewline
55 & 113.82 & 114.441272727273 & -0.621272727272739 \tabularnewline
56 & 113.89 & 114.385272727273 & -0.495272727272736 \tabularnewline
57 & 114.25 & 114.395272727273 & -0.145272727272733 \tabularnewline
58 & 114.41 & 114.467272727273 & -0.0572727272727344 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=106672&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]103.48[/C][C]103.616727272727[/C][C]-0.136727272727445[/C][/ROW]
[ROW][C]2[/C][C]103.93[/C][C]104.146727272727[/C][C]-0.216727272727259[/C][/ROW]
[ROW][C]3[/C][C]103.89[/C][C]104.256727272727[/C][C]-0.366727272727266[/C][/ROW]
[ROW][C]4[/C][C]104.4[/C][C]104.628727272727[/C][C]-0.228727272727262[/C][/ROW]
[ROW][C]5[/C][C]104.79[/C][C]104.952727272727[/C][C]-0.162727272727259[/C][/ROW]
[ROW][C]6[/C][C]104.77[/C][C]105.026727272727[/C][C]-0.256727272727271[/C][/ROW]
[ROW][C]7[/C][C]105.13[/C][C]105.302727272727[/C][C]-0.172727272727268[/C][/ROW]
[ROW][C]8[/C][C]105.26[/C][C]105.246727272727[/C][C]0.0132727272727364[/C][/ROW]
[ROW][C]9[/C][C]104.96[/C][C]105.256727272727[/C][C]-0.296727272727272[/C][/ROW]
[ROW][C]10[/C][C]104.75[/C][C]105.328727272727[/C][C]-0.578727272727262[/C][/ROW]
[ROW][C]11[/C][C]105.01[/C][C]105.563045454545[/C][C]-0.553045454545445[/C][/ROW]
[ROW][C]12[/C][C]105.15[/C][C]105.658045454545[/C][C]-0.508045454545449[/C][/ROW]
[ROW][C]13[/C][C]105.2[/C][C]105.901363636364[/C][C]-0.70136363636359[/C][/ROW]
[ROW][C]14[/C][C]105.77[/C][C]106.431363636364[/C][C]-0.661363636363637[/C][/ROW]
[ROW][C]15[/C][C]105.78[/C][C]106.541363636364[/C][C]-0.761363636363631[/C][/ROW]
[ROW][C]16[/C][C]106.26[/C][C]106.913363636364[/C][C]-0.65336363636363[/C][/ROW]
[ROW][C]17[/C][C]106.13[/C][C]107.237363636364[/C][C]-1.10736363636364[/C][/ROW]
[ROW][C]18[/C][C]106.12[/C][C]107.311363636364[/C][C]-1.19136363636363[/C][/ROW]
[ROW][C]19[/C][C]106.57[/C][C]107.587363636364[/C][C]-1.01736363636364[/C][/ROW]
[ROW][C]20[/C][C]106.44[/C][C]107.531363636364[/C][C]-1.09136363636364[/C][/ROW]
[ROW][C]21[/C][C]106.54[/C][C]107.541363636364[/C][C]-1.00136363636363[/C][/ROW]
[ROW][C]22[/C][C]107.1[/C][C]107.613363636364[/C][C]-0.513363636363634[/C][/ROW]
[ROW][C]23[/C][C]108.1[/C][C]107.847681818182[/C][C]0.252318181818179[/C][/ROW]
[ROW][C]24[/C][C]108.4[/C][C]107.942681818182[/C][C]0.457318181818184[/C][/ROW]
[ROW][C]25[/C][C]108.84[/C][C]108.186[/C][C]0.654000000000048[/C][/ROW]
[ROW][C]26[/C][C]109.62[/C][C]108.716[/C][C]0.904000000000005[/C][/ROW]
[ROW][C]27[/C][C]110.42[/C][C]108.826[/C][C]1.59400000000000[/C][/ROW]
[ROW][C]28[/C][C]110.67[/C][C]109.198[/C][C]1.472[/C][/ROW]
[ROW][C]29[/C][C]111.66[/C][C]109.522[/C][C]2.13800000000000[/C][/ROW]
[ROW][C]30[/C][C]112.28[/C][C]109.596[/C][C]2.684[/C][/ROW]
[ROW][C]31[/C][C]112.87[/C][C]109.872[/C][C]2.99800000000001[/C][/ROW]
[ROW][C]32[/C][C]112.18[/C][C]109.816[/C][C]2.36400000000000[/C][/ROW]
[ROW][C]33[/C][C]112.36[/C][C]109.826[/C][C]2.534[/C][/ROW]
[ROW][C]34[/C][C]112.16[/C][C]109.898[/C][C]2.262[/C][/ROW]
[ROW][C]35[/C][C]111.49[/C][C]110.132318181818[/C][C]1.35768181818181[/C][/ROW]
[ROW][C]36[/C][C]111.25[/C][C]110.227318181818[/C][C]1.02268181818181[/C][/ROW]
[ROW][C]37[/C][C]111.36[/C][C]110.470636363636[/C][C]0.889363636363678[/C][/ROW]
[ROW][C]38[/C][C]111.74[/C][C]111.000636363636[/C][C]0.739363636363628[/C][/ROW]
[ROW][C]39[/C][C]111.1[/C][C]111.110636363636[/C][C]-0.0106363636363711[/C][/ROW]
[ROW][C]40[/C][C]111.33[/C][C]111.482636363636[/C][C]-0.152636363636371[/C][/ROW]
[ROW][C]41[/C][C]111.25[/C][C]111.806636363636[/C][C]-0.556636363636368[/C][/ROW]
[ROW][C]42[/C][C]111.04[/C][C]111.880636363636[/C][C]-0.840636363636362[/C][/ROW]
[ROW][C]43[/C][C]110.97[/C][C]112.156636363636[/C][C]-1.18663636363636[/C][/ROW]
[ROW][C]44[/C][C]111.31[/C][C]112.100636363636[/C][C]-0.790636363636367[/C][/ROW]
[ROW][C]45[/C][C]111.02[/C][C]112.110636363636[/C][C]-1.09063636363637[/C][/ROW]
[ROW][C]46[/C][C]111.07[/C][C]112.182636363636[/C][C]-1.11263636363637[/C][/ROW]
[ROW][C]47[/C][C]111.36[/C][C]112.416954545455[/C][C]-1.05695454545455[/C][/ROW]
[ROW][C]48[/C][C]111.54[/C][C]112.511954545455[/C][C]-0.971954545454548[/C][/ROW]
[ROW][C]49[/C][C]112.05[/C][C]112.755272727273[/C][C]-0.705272727272692[/C][/ROW]
[ROW][C]50[/C][C]112.52[/C][C]113.285272727273[/C][C]-0.765272727272738[/C][/ROW]
[ROW][C]51[/C][C]112.94[/C][C]113.395272727273[/C][C]-0.455272727272735[/C][/ROW]
[ROW][C]52[/C][C]113.33[/C][C]113.767272727273[/C][C]-0.437272727272737[/C][/ROW]
[ROW][C]53[/C][C]113.78[/C][C]114.091272727273[/C][C]-0.311272727272733[/C][/ROW]
[ROW][C]54[/C][C]113.77[/C][C]114.165272727273[/C][C]-0.395272727272737[/C][/ROW]
[ROW][C]55[/C][C]113.82[/C][C]114.441272727273[/C][C]-0.621272727272739[/C][/ROW]
[ROW][C]56[/C][C]113.89[/C][C]114.385272727273[/C][C]-0.495272727272736[/C][/ROW]
[ROW][C]57[/C][C]114.25[/C][C]114.395272727273[/C][C]-0.145272727272733[/C][/ROW]
[ROW][C]58[/C][C]114.41[/C][C]114.467272727273[/C][C]-0.0572727272727344[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=106672&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=106672&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
1103.48103.616727272727-0.136727272727445
2103.93104.146727272727-0.216727272727259
3103.89104.256727272727-0.366727272727266
4104.4104.628727272727-0.228727272727262
5104.79104.952727272727-0.162727272727259
6104.77105.026727272727-0.256727272727271
7105.13105.302727272727-0.172727272727268
8105.26105.2467272727270.0132727272727364
9104.96105.256727272727-0.296727272727272
10104.75105.328727272727-0.578727272727262
11105.01105.563045454545-0.553045454545445
12105.15105.658045454545-0.508045454545449
13105.2105.901363636364-0.70136363636359
14105.77106.431363636364-0.661363636363637
15105.78106.541363636364-0.761363636363631
16106.26106.913363636364-0.65336363636363
17106.13107.237363636364-1.10736363636364
18106.12107.311363636364-1.19136363636363
19106.57107.587363636364-1.01736363636364
20106.44107.531363636364-1.09136363636364
21106.54107.541363636364-1.00136363636363
22107.1107.613363636364-0.513363636363634
23108.1107.8476818181820.252318181818179
24108.4107.9426818181820.457318181818184
25108.84108.1860.654000000000048
26109.62108.7160.904000000000005
27110.42108.8261.59400000000000
28110.67109.1981.472
29111.66109.5222.13800000000000
30112.28109.5962.684
31112.87109.8722.99800000000001
32112.18109.8162.36400000000000
33112.36109.8262.534
34112.16109.8982.262
35111.49110.1323181818181.35768181818181
36111.25110.2273181818181.02268181818181
37111.36110.4706363636360.889363636363678
38111.74111.0006363636360.739363636363628
39111.1111.110636363636-0.0106363636363711
40111.33111.482636363636-0.152636363636371
41111.25111.806636363636-0.556636363636368
42111.04111.880636363636-0.840636363636362
43110.97112.156636363636-1.18663636363636
44111.31112.100636363636-0.790636363636367
45111.02112.110636363636-1.09063636363637
46111.07112.182636363636-1.11263636363637
47111.36112.416954545455-1.05695454545455
48111.54112.511954545455-0.971954545454548
49112.05112.755272727273-0.705272727272692
50112.52113.285272727273-0.765272727272738
51112.94113.395272727273-0.455272727272735
52113.33113.767272727273-0.437272727272737
53113.78114.091272727273-0.311272727272733
54113.77114.165272727273-0.395272727272737
55113.82114.441272727273-0.621272727272739
56113.89114.385272727273-0.495272727272736
57114.25114.395272727273-0.145272727272733
58114.41114.467272727273-0.0572727272727344







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
167.30168962605973e-050.0001460337925211950.99992698310374
170.0003740243745605400.0007480487491210810.99962597562544
180.0001419882028783810.0002839764057567610.999858011797122
193.22493177008497e-056.44986354016994e-050.9999677506823
202.45812555089469e-054.91625110178938e-050.999975418744491
218.11282689917961e-061.62256537983592e-050.9999918871731
226.12792521584869e-050.0001225585043169740.999938720747842
230.00163772444691810.00327544889383620.998362275553082
240.006825882363013270.01365176472602650.993174117636987
250.02557232932745830.05114465865491670.974427670672542
260.05051238100500030.1010247620100010.949487618995
270.1189009809164200.2378019618328390.88109901908358
280.1323835349069000.2647670698137990.8676164650931
290.2051550816513260.4103101633026520.794844918348674
300.349546190620350.69909238124070.65045380937965
310.5587258082185550.882548383562890.441274191781445
320.5961099715400020.8077800569199960.403890028459998
330.7027607216428580.5944785567142840.297239278357142
340.8069888106062450.3860223787875100.193011189393755
350.8745455518735770.2509088962528470.125454448126423
360.9260517929408680.1478964141182640.073948207059132
370.9631852906929640.07362941861407240.0368147093070362
380.9953124966866280.00937500662674330.00468750331337165
390.9969308566086850.006138286782629890.00306914339131495
400.998536454732610.00292709053478120.0014635452673906
410.9966739169198790.006652166160242730.00332608308012136
420.9878963294825820.02420734103483600.0121036705174180

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 7.30168962605973e-05 & 0.000146033792521195 & 0.99992698310374 \tabularnewline
17 & 0.000374024374560540 & 0.000748048749121081 & 0.99962597562544 \tabularnewline
18 & 0.000141988202878381 & 0.000283976405756761 & 0.999858011797122 \tabularnewline
19 & 3.22493177008497e-05 & 6.44986354016994e-05 & 0.9999677506823 \tabularnewline
20 & 2.45812555089469e-05 & 4.91625110178938e-05 & 0.999975418744491 \tabularnewline
21 & 8.11282689917961e-06 & 1.62256537983592e-05 & 0.9999918871731 \tabularnewline
22 & 6.12792521584869e-05 & 0.000122558504316974 & 0.999938720747842 \tabularnewline
23 & 0.0016377244469181 & 0.0032754488938362 & 0.998362275553082 \tabularnewline
24 & 0.00682588236301327 & 0.0136517647260265 & 0.993174117636987 \tabularnewline
25 & 0.0255723293274583 & 0.0511446586549167 & 0.974427670672542 \tabularnewline
26 & 0.0505123810050003 & 0.101024762010001 & 0.949487618995 \tabularnewline
27 & 0.118900980916420 & 0.237801961832839 & 0.88109901908358 \tabularnewline
28 & 0.132383534906900 & 0.264767069813799 & 0.8676164650931 \tabularnewline
29 & 0.205155081651326 & 0.410310163302652 & 0.794844918348674 \tabularnewline
30 & 0.34954619062035 & 0.6990923812407 & 0.65045380937965 \tabularnewline
31 & 0.558725808218555 & 0.88254838356289 & 0.441274191781445 \tabularnewline
32 & 0.596109971540002 & 0.807780056919996 & 0.403890028459998 \tabularnewline
33 & 0.702760721642858 & 0.594478556714284 & 0.297239278357142 \tabularnewline
34 & 0.806988810606245 & 0.386022378787510 & 0.193011189393755 \tabularnewline
35 & 0.874545551873577 & 0.250908896252847 & 0.125454448126423 \tabularnewline
36 & 0.926051792940868 & 0.147896414118264 & 0.073948207059132 \tabularnewline
37 & 0.963185290692964 & 0.0736294186140724 & 0.0368147093070362 \tabularnewline
38 & 0.995312496686628 & 0.0093750066267433 & 0.00468750331337165 \tabularnewline
39 & 0.996930856608685 & 0.00613828678262989 & 0.00306914339131495 \tabularnewline
40 & 0.99853645473261 & 0.0029270905347812 & 0.0014635452673906 \tabularnewline
41 & 0.996673916919879 & 0.00665216616024273 & 0.00332608308012136 \tabularnewline
42 & 0.987896329482582 & 0.0242073410348360 & 0.0121036705174180 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=106672&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]7.30168962605973e-05[/C][C]0.000146033792521195[/C][C]0.99992698310374[/C][/ROW]
[ROW][C]17[/C][C]0.000374024374560540[/C][C]0.000748048749121081[/C][C]0.99962597562544[/C][/ROW]
[ROW][C]18[/C][C]0.000141988202878381[/C][C]0.000283976405756761[/C][C]0.999858011797122[/C][/ROW]
[ROW][C]19[/C][C]3.22493177008497e-05[/C][C]6.44986354016994e-05[/C][C]0.9999677506823[/C][/ROW]
[ROW][C]20[/C][C]2.45812555089469e-05[/C][C]4.91625110178938e-05[/C][C]0.999975418744491[/C][/ROW]
[ROW][C]21[/C][C]8.11282689917961e-06[/C][C]1.62256537983592e-05[/C][C]0.9999918871731[/C][/ROW]
[ROW][C]22[/C][C]6.12792521584869e-05[/C][C]0.000122558504316974[/C][C]0.999938720747842[/C][/ROW]
[ROW][C]23[/C][C]0.0016377244469181[/C][C]0.0032754488938362[/C][C]0.998362275553082[/C][/ROW]
[ROW][C]24[/C][C]0.00682588236301327[/C][C]0.0136517647260265[/C][C]0.993174117636987[/C][/ROW]
[ROW][C]25[/C][C]0.0255723293274583[/C][C]0.0511446586549167[/C][C]0.974427670672542[/C][/ROW]
[ROW][C]26[/C][C]0.0505123810050003[/C][C]0.101024762010001[/C][C]0.949487618995[/C][/ROW]
[ROW][C]27[/C][C]0.118900980916420[/C][C]0.237801961832839[/C][C]0.88109901908358[/C][/ROW]
[ROW][C]28[/C][C]0.132383534906900[/C][C]0.264767069813799[/C][C]0.8676164650931[/C][/ROW]
[ROW][C]29[/C][C]0.205155081651326[/C][C]0.410310163302652[/C][C]0.794844918348674[/C][/ROW]
[ROW][C]30[/C][C]0.34954619062035[/C][C]0.6990923812407[/C][C]0.65045380937965[/C][/ROW]
[ROW][C]31[/C][C]0.558725808218555[/C][C]0.88254838356289[/C][C]0.441274191781445[/C][/ROW]
[ROW][C]32[/C][C]0.596109971540002[/C][C]0.807780056919996[/C][C]0.403890028459998[/C][/ROW]
[ROW][C]33[/C][C]0.702760721642858[/C][C]0.594478556714284[/C][C]0.297239278357142[/C][/ROW]
[ROW][C]34[/C][C]0.806988810606245[/C][C]0.386022378787510[/C][C]0.193011189393755[/C][/ROW]
[ROW][C]35[/C][C]0.874545551873577[/C][C]0.250908896252847[/C][C]0.125454448126423[/C][/ROW]
[ROW][C]36[/C][C]0.926051792940868[/C][C]0.147896414118264[/C][C]0.073948207059132[/C][/ROW]
[ROW][C]37[/C][C]0.963185290692964[/C][C]0.0736294186140724[/C][C]0.0368147093070362[/C][/ROW]
[ROW][C]38[/C][C]0.995312496686628[/C][C]0.0093750066267433[/C][C]0.00468750331337165[/C][/ROW]
[ROW][C]39[/C][C]0.996930856608685[/C][C]0.00613828678262989[/C][C]0.00306914339131495[/C][/ROW]
[ROW][C]40[/C][C]0.99853645473261[/C][C]0.0029270905347812[/C][C]0.0014635452673906[/C][/ROW]
[ROW][C]41[/C][C]0.996673916919879[/C][C]0.00665216616024273[/C][C]0.00332608308012136[/C][/ROW]
[ROW][C]42[/C][C]0.987896329482582[/C][C]0.0242073410348360[/C][C]0.0121036705174180[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=106672&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=106672&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
167.30168962605973e-050.0001460337925211950.99992698310374
170.0003740243745605400.0007480487491210810.99962597562544
180.0001419882028783810.0002839764057567610.999858011797122
193.22493177008497e-056.44986354016994e-050.9999677506823
202.45812555089469e-054.91625110178938e-050.999975418744491
218.11282689917961e-061.62256537983592e-050.9999918871731
226.12792521584869e-050.0001225585043169740.999938720747842
230.00163772444691810.00327544889383620.998362275553082
240.006825882363013270.01365176472602650.993174117636987
250.02557232932745830.05114465865491670.974427670672542
260.05051238100500030.1010247620100010.949487618995
270.1189009809164200.2378019618328390.88109901908358
280.1323835349069000.2647670698137990.8676164650931
290.2051550816513260.4103101633026520.794844918348674
300.349546190620350.69909238124070.65045380937965
310.5587258082185550.882548383562890.441274191781445
320.5961099715400020.8077800569199960.403890028459998
330.7027607216428580.5944785567142840.297239278357142
340.8069888106062450.3860223787875100.193011189393755
350.8745455518735770.2509088962528470.125454448126423
360.9260517929408680.1478964141182640.073948207059132
370.9631852906929640.07362941861407240.0368147093070362
380.9953124966866280.00937500662674330.00468750331337165
390.9969308566086850.006138286782629890.00306914339131495
400.998536454732610.00292709053478120.0014635452673906
410.9966739169198790.006652166160242730.00332608308012136
420.9878963294825820.02420734103483600.0121036705174180







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level120.444444444444444NOK
5% type I error level140.518518518518518NOK
10% type I error level160.592592592592593NOK

\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 & 12 & 0.444444444444444 & NOK \tabularnewline
5% type I error level & 14 & 0.518518518518518 & NOK \tabularnewline
10% type I error level & 16 & 0.592592592592593 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=106672&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]12[/C][C]0.444444444444444[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]14[/C][C]0.518518518518518[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]16[/C][C]0.592592592592593[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=106672&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=106672&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 level120.444444444444444NOK
5% type I error level140.518518518518518NOK
10% type I error level160.592592592592593NOK



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