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 computationSat, 19 Dec 2009 00:59:01 -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/19/t1261209818nlcpt9tcdrirn3d.htm/, Retrieved Fri, 03 May 2024 22:24:59 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=69459, Retrieved Fri, 03 May 2024 22:24:59 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact157
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Paper - Regressie...] [2008-12-10 20:26:13] [93834488277b53a4510bfd06084ae13b]
-  M D    [Multiple Regression] [Paper Regressie a...] [2009-12-19 07:59:01] [762da55b2e2304daaed24a7cc507d14d] [Current]
-   P       [Multiple Regression] [Paper Regressie a...] [2009-12-19 09:31:23] [1d635fe1113b56bab3f378c464a289bc]
-   P         [Multiple Regression] [Paper Regressie a...] [2009-12-19 10:57:36] [1d635fe1113b56bab3f378c464a289bc]
Feedback Forum

Post a new message
Dataseries X:
84	0
78	0
74	0
75	0
79	0
79	0
82	0
88	0
81	0
69	1
62	1
62	1
68	1
57	1
67	1
72	0
75	0
81	0
80	0
79	0
81	0
83	0
84	0
90	0
84	0
90	0
92	0
93	0
85	0
93	0
94	0
94	0
102	0
96	0
96	0
92	0
90	0
84	0
86	0
70	0
67	1
60	1
62	1
61	1
54	1
50	1
45	1
34	1
37	1
44	1
34	1
37	1
31	1
31	1
28	1
31	1
33	1
36	1
39	1
42	1




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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69459&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
Consumentenvertrouwen[t] = + 84.8823529411764 -37.1515837104072Dummy[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Consumentenvertrouwen[t] =  +  84.8823529411764 -37.1515837104072Dummy[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69459&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Consumentenvertrouwen[t] =  +  84.8823529411764 -37.1515837104072Dummy[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69459&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69459&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
Consumentenvertrouwen[t] = + 84.8823529411764 -37.1515837104072Dummy[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)84.88235294117641.8787645.1800
Dummy-37.15158371040722.854041-13.017200

\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) & 84.8823529411764 & 1.87876 & 45.18 & 0 & 0 \tabularnewline
Dummy & -37.1515837104072 & 2.854041 & -13.0172 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69459&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]84.8823529411764[/C][C]1.87876[/C][C]45.18[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Dummy[/C][C]-37.1515837104072[/C][C]2.854041[/C][C]-13.0172[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69459&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69459&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)84.88235294117641.8787645.1800
Dummy-37.15158371040722.854041-13.017200







Multiple Linear Regression - Regression Statistics
Multiple R0.863131319876742
R-squared0.744995675352167
Adjusted R-squared0.740599049065136
F-TEST (value)169.447123024676
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation10.9549585658261
Sum Squared Residuals6960.64479638009

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.863131319876742 \tabularnewline
R-squared & 0.744995675352167 \tabularnewline
Adjusted R-squared & 0.740599049065136 \tabularnewline
F-TEST (value) & 169.447123024676 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 10.9549585658261 \tabularnewline
Sum Squared Residuals & 6960.64479638009 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69459&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.863131319876742[/C][/ROW]
[ROW][C]R-squared[/C][C]0.744995675352167[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.740599049065136[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]169.447123024676[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]58[/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]10.9549585658261[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]6960.64479638009[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69459&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69459&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.863131319876742
R-squared0.744995675352167
Adjusted R-squared0.740599049065136
F-TEST (value)169.447123024676
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation10.9549585658261
Sum Squared Residuals6960.64479638009







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
18484.8823529411765-0.88235294117653
27884.8823529411765-6.88235294117655
37484.8823529411765-10.8823529411765
47584.8823529411765-9.88235294117647
57984.8823529411765-5.88235294117647
67984.8823529411765-5.88235294117647
78284.8823529411765-2.88235294117647
88884.88235294117653.11764705882353
98184.8823529411765-3.88235294117647
106947.730769230769221.2692307692308
116247.730769230769214.2692307692308
126247.730769230769214.2692307692308
136847.730769230769220.2692307692308
145747.73076923076929.26923076923077
156747.730769230769219.2692307692308
167284.8823529411765-12.8823529411765
177584.8823529411765-9.88235294117647
188184.8823529411765-3.88235294117647
198084.8823529411765-4.88235294117647
207984.8823529411765-5.88235294117647
218184.8823529411765-3.88235294117647
228384.8823529411765-1.88235294117647
238484.8823529411765-0.882352941176466
249084.88235294117655.11764705882353
258484.8823529411765-0.882352941176466
269084.88235294117655.11764705882353
279284.88235294117657.11764705882353
289384.88235294117658.11764705882353
298584.88235294117650.117647058823534
309384.88235294117658.11764705882353
319484.88235294117659.11764705882353
329484.88235294117659.11764705882353
3310284.882352941176517.1176470588235
349684.882352941176511.1176470588235
359684.882352941176511.1176470588235
369284.88235294117657.11764705882353
379084.88235294117655.11764705882353
388484.8823529411765-0.882352941176466
398684.88235294117651.11764705882353
407084.8823529411765-14.8823529411765
416747.730769230769219.2692307692308
426047.730769230769212.2692307692308
436247.730769230769214.2692307692308
446147.730769230769213.2692307692308
455447.73076923076926.26923076923077
465047.73076923076922.26923076923077
474547.7307692307692-2.73076923076923
483447.7307692307692-13.7307692307692
493747.7307692307692-10.7307692307692
504447.7307692307692-3.73076923076923
513447.7307692307692-13.7307692307692
523747.7307692307692-10.7307692307692
533147.7307692307692-16.7307692307692
543147.7307692307692-16.7307692307692
552847.7307692307692-19.7307692307692
563147.7307692307692-16.7307692307692
573347.7307692307692-14.7307692307692
583647.7307692307692-11.7307692307692
593947.7307692307692-8.73076923076923
604247.7307692307692-5.73076923076923

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 84 & 84.8823529411765 & -0.88235294117653 \tabularnewline
2 & 78 & 84.8823529411765 & -6.88235294117655 \tabularnewline
3 & 74 & 84.8823529411765 & -10.8823529411765 \tabularnewline
4 & 75 & 84.8823529411765 & -9.88235294117647 \tabularnewline
5 & 79 & 84.8823529411765 & -5.88235294117647 \tabularnewline
6 & 79 & 84.8823529411765 & -5.88235294117647 \tabularnewline
7 & 82 & 84.8823529411765 & -2.88235294117647 \tabularnewline
8 & 88 & 84.8823529411765 & 3.11764705882353 \tabularnewline
9 & 81 & 84.8823529411765 & -3.88235294117647 \tabularnewline
10 & 69 & 47.7307692307692 & 21.2692307692308 \tabularnewline
11 & 62 & 47.7307692307692 & 14.2692307692308 \tabularnewline
12 & 62 & 47.7307692307692 & 14.2692307692308 \tabularnewline
13 & 68 & 47.7307692307692 & 20.2692307692308 \tabularnewline
14 & 57 & 47.7307692307692 & 9.26923076923077 \tabularnewline
15 & 67 & 47.7307692307692 & 19.2692307692308 \tabularnewline
16 & 72 & 84.8823529411765 & -12.8823529411765 \tabularnewline
17 & 75 & 84.8823529411765 & -9.88235294117647 \tabularnewline
18 & 81 & 84.8823529411765 & -3.88235294117647 \tabularnewline
19 & 80 & 84.8823529411765 & -4.88235294117647 \tabularnewline
20 & 79 & 84.8823529411765 & -5.88235294117647 \tabularnewline
21 & 81 & 84.8823529411765 & -3.88235294117647 \tabularnewline
22 & 83 & 84.8823529411765 & -1.88235294117647 \tabularnewline
23 & 84 & 84.8823529411765 & -0.882352941176466 \tabularnewline
24 & 90 & 84.8823529411765 & 5.11764705882353 \tabularnewline
25 & 84 & 84.8823529411765 & -0.882352941176466 \tabularnewline
26 & 90 & 84.8823529411765 & 5.11764705882353 \tabularnewline
27 & 92 & 84.8823529411765 & 7.11764705882353 \tabularnewline
28 & 93 & 84.8823529411765 & 8.11764705882353 \tabularnewline
29 & 85 & 84.8823529411765 & 0.117647058823534 \tabularnewline
30 & 93 & 84.8823529411765 & 8.11764705882353 \tabularnewline
31 & 94 & 84.8823529411765 & 9.11764705882353 \tabularnewline
32 & 94 & 84.8823529411765 & 9.11764705882353 \tabularnewline
33 & 102 & 84.8823529411765 & 17.1176470588235 \tabularnewline
34 & 96 & 84.8823529411765 & 11.1176470588235 \tabularnewline
35 & 96 & 84.8823529411765 & 11.1176470588235 \tabularnewline
36 & 92 & 84.8823529411765 & 7.11764705882353 \tabularnewline
37 & 90 & 84.8823529411765 & 5.11764705882353 \tabularnewline
38 & 84 & 84.8823529411765 & -0.882352941176466 \tabularnewline
39 & 86 & 84.8823529411765 & 1.11764705882353 \tabularnewline
40 & 70 & 84.8823529411765 & -14.8823529411765 \tabularnewline
41 & 67 & 47.7307692307692 & 19.2692307692308 \tabularnewline
42 & 60 & 47.7307692307692 & 12.2692307692308 \tabularnewline
43 & 62 & 47.7307692307692 & 14.2692307692308 \tabularnewline
44 & 61 & 47.7307692307692 & 13.2692307692308 \tabularnewline
45 & 54 & 47.7307692307692 & 6.26923076923077 \tabularnewline
46 & 50 & 47.7307692307692 & 2.26923076923077 \tabularnewline
47 & 45 & 47.7307692307692 & -2.73076923076923 \tabularnewline
48 & 34 & 47.7307692307692 & -13.7307692307692 \tabularnewline
49 & 37 & 47.7307692307692 & -10.7307692307692 \tabularnewline
50 & 44 & 47.7307692307692 & -3.73076923076923 \tabularnewline
51 & 34 & 47.7307692307692 & -13.7307692307692 \tabularnewline
52 & 37 & 47.7307692307692 & -10.7307692307692 \tabularnewline
53 & 31 & 47.7307692307692 & -16.7307692307692 \tabularnewline
54 & 31 & 47.7307692307692 & -16.7307692307692 \tabularnewline
55 & 28 & 47.7307692307692 & -19.7307692307692 \tabularnewline
56 & 31 & 47.7307692307692 & -16.7307692307692 \tabularnewline
57 & 33 & 47.7307692307692 & -14.7307692307692 \tabularnewline
58 & 36 & 47.7307692307692 & -11.7307692307692 \tabularnewline
59 & 39 & 47.7307692307692 & -8.73076923076923 \tabularnewline
60 & 42 & 47.7307692307692 & -5.73076923076923 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69459&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]84[/C][C]84.8823529411765[/C][C]-0.88235294117653[/C][/ROW]
[ROW][C]2[/C][C]78[/C][C]84.8823529411765[/C][C]-6.88235294117655[/C][/ROW]
[ROW][C]3[/C][C]74[/C][C]84.8823529411765[/C][C]-10.8823529411765[/C][/ROW]
[ROW][C]4[/C][C]75[/C][C]84.8823529411765[/C][C]-9.88235294117647[/C][/ROW]
[ROW][C]5[/C][C]79[/C][C]84.8823529411765[/C][C]-5.88235294117647[/C][/ROW]
[ROW][C]6[/C][C]79[/C][C]84.8823529411765[/C][C]-5.88235294117647[/C][/ROW]
[ROW][C]7[/C][C]82[/C][C]84.8823529411765[/C][C]-2.88235294117647[/C][/ROW]
[ROW][C]8[/C][C]88[/C][C]84.8823529411765[/C][C]3.11764705882353[/C][/ROW]
[ROW][C]9[/C][C]81[/C][C]84.8823529411765[/C][C]-3.88235294117647[/C][/ROW]
[ROW][C]10[/C][C]69[/C][C]47.7307692307692[/C][C]21.2692307692308[/C][/ROW]
[ROW][C]11[/C][C]62[/C][C]47.7307692307692[/C][C]14.2692307692308[/C][/ROW]
[ROW][C]12[/C][C]62[/C][C]47.7307692307692[/C][C]14.2692307692308[/C][/ROW]
[ROW][C]13[/C][C]68[/C][C]47.7307692307692[/C][C]20.2692307692308[/C][/ROW]
[ROW][C]14[/C][C]57[/C][C]47.7307692307692[/C][C]9.26923076923077[/C][/ROW]
[ROW][C]15[/C][C]67[/C][C]47.7307692307692[/C][C]19.2692307692308[/C][/ROW]
[ROW][C]16[/C][C]72[/C][C]84.8823529411765[/C][C]-12.8823529411765[/C][/ROW]
[ROW][C]17[/C][C]75[/C][C]84.8823529411765[/C][C]-9.88235294117647[/C][/ROW]
[ROW][C]18[/C][C]81[/C][C]84.8823529411765[/C][C]-3.88235294117647[/C][/ROW]
[ROW][C]19[/C][C]80[/C][C]84.8823529411765[/C][C]-4.88235294117647[/C][/ROW]
[ROW][C]20[/C][C]79[/C][C]84.8823529411765[/C][C]-5.88235294117647[/C][/ROW]
[ROW][C]21[/C][C]81[/C][C]84.8823529411765[/C][C]-3.88235294117647[/C][/ROW]
[ROW][C]22[/C][C]83[/C][C]84.8823529411765[/C][C]-1.88235294117647[/C][/ROW]
[ROW][C]23[/C][C]84[/C][C]84.8823529411765[/C][C]-0.882352941176466[/C][/ROW]
[ROW][C]24[/C][C]90[/C][C]84.8823529411765[/C][C]5.11764705882353[/C][/ROW]
[ROW][C]25[/C][C]84[/C][C]84.8823529411765[/C][C]-0.882352941176466[/C][/ROW]
[ROW][C]26[/C][C]90[/C][C]84.8823529411765[/C][C]5.11764705882353[/C][/ROW]
[ROW][C]27[/C][C]92[/C][C]84.8823529411765[/C][C]7.11764705882353[/C][/ROW]
[ROW][C]28[/C][C]93[/C][C]84.8823529411765[/C][C]8.11764705882353[/C][/ROW]
[ROW][C]29[/C][C]85[/C][C]84.8823529411765[/C][C]0.117647058823534[/C][/ROW]
[ROW][C]30[/C][C]93[/C][C]84.8823529411765[/C][C]8.11764705882353[/C][/ROW]
[ROW][C]31[/C][C]94[/C][C]84.8823529411765[/C][C]9.11764705882353[/C][/ROW]
[ROW][C]32[/C][C]94[/C][C]84.8823529411765[/C][C]9.11764705882353[/C][/ROW]
[ROW][C]33[/C][C]102[/C][C]84.8823529411765[/C][C]17.1176470588235[/C][/ROW]
[ROW][C]34[/C][C]96[/C][C]84.8823529411765[/C][C]11.1176470588235[/C][/ROW]
[ROW][C]35[/C][C]96[/C][C]84.8823529411765[/C][C]11.1176470588235[/C][/ROW]
[ROW][C]36[/C][C]92[/C][C]84.8823529411765[/C][C]7.11764705882353[/C][/ROW]
[ROW][C]37[/C][C]90[/C][C]84.8823529411765[/C][C]5.11764705882353[/C][/ROW]
[ROW][C]38[/C][C]84[/C][C]84.8823529411765[/C][C]-0.882352941176466[/C][/ROW]
[ROW][C]39[/C][C]86[/C][C]84.8823529411765[/C][C]1.11764705882353[/C][/ROW]
[ROW][C]40[/C][C]70[/C][C]84.8823529411765[/C][C]-14.8823529411765[/C][/ROW]
[ROW][C]41[/C][C]67[/C][C]47.7307692307692[/C][C]19.2692307692308[/C][/ROW]
[ROW][C]42[/C][C]60[/C][C]47.7307692307692[/C][C]12.2692307692308[/C][/ROW]
[ROW][C]43[/C][C]62[/C][C]47.7307692307692[/C][C]14.2692307692308[/C][/ROW]
[ROW][C]44[/C][C]61[/C][C]47.7307692307692[/C][C]13.2692307692308[/C][/ROW]
[ROW][C]45[/C][C]54[/C][C]47.7307692307692[/C][C]6.26923076923077[/C][/ROW]
[ROW][C]46[/C][C]50[/C][C]47.7307692307692[/C][C]2.26923076923077[/C][/ROW]
[ROW][C]47[/C][C]45[/C][C]47.7307692307692[/C][C]-2.73076923076923[/C][/ROW]
[ROW][C]48[/C][C]34[/C][C]47.7307692307692[/C][C]-13.7307692307692[/C][/ROW]
[ROW][C]49[/C][C]37[/C][C]47.7307692307692[/C][C]-10.7307692307692[/C][/ROW]
[ROW][C]50[/C][C]44[/C][C]47.7307692307692[/C][C]-3.73076923076923[/C][/ROW]
[ROW][C]51[/C][C]34[/C][C]47.7307692307692[/C][C]-13.7307692307692[/C][/ROW]
[ROW][C]52[/C][C]37[/C][C]47.7307692307692[/C][C]-10.7307692307692[/C][/ROW]
[ROW][C]53[/C][C]31[/C][C]47.7307692307692[/C][C]-16.7307692307692[/C][/ROW]
[ROW][C]54[/C][C]31[/C][C]47.7307692307692[/C][C]-16.7307692307692[/C][/ROW]
[ROW][C]55[/C][C]28[/C][C]47.7307692307692[/C][C]-19.7307692307692[/C][/ROW]
[ROW][C]56[/C][C]31[/C][C]47.7307692307692[/C][C]-16.7307692307692[/C][/ROW]
[ROW][C]57[/C][C]33[/C][C]47.7307692307692[/C][C]-14.7307692307692[/C][/ROW]
[ROW][C]58[/C][C]36[/C][C]47.7307692307692[/C][C]-11.7307692307692[/C][/ROW]
[ROW][C]59[/C][C]39[/C][C]47.7307692307692[/C][C]-8.73076923076923[/C][/ROW]
[ROW][C]60[/C][C]42[/C][C]47.7307692307692[/C][C]-5.73076923076923[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69459&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69459&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
18484.8823529411765-0.88235294117653
27884.8823529411765-6.88235294117655
37484.8823529411765-10.8823529411765
47584.8823529411765-9.88235294117647
57984.8823529411765-5.88235294117647
67984.8823529411765-5.88235294117647
78284.8823529411765-2.88235294117647
88884.88235294117653.11764705882353
98184.8823529411765-3.88235294117647
106947.730769230769221.2692307692308
116247.730769230769214.2692307692308
126247.730769230769214.2692307692308
136847.730769230769220.2692307692308
145747.73076923076929.26923076923077
156747.730769230769219.2692307692308
167284.8823529411765-12.8823529411765
177584.8823529411765-9.88235294117647
188184.8823529411765-3.88235294117647
198084.8823529411765-4.88235294117647
207984.8823529411765-5.88235294117647
218184.8823529411765-3.88235294117647
228384.8823529411765-1.88235294117647
238484.8823529411765-0.882352941176466
249084.88235294117655.11764705882353
258484.8823529411765-0.882352941176466
269084.88235294117655.11764705882353
279284.88235294117657.11764705882353
289384.88235294117658.11764705882353
298584.88235294117650.117647058823534
309384.88235294117658.11764705882353
319484.88235294117659.11764705882353
329484.88235294117659.11764705882353
3310284.882352941176517.1176470588235
349684.882352941176511.1176470588235
359684.882352941176511.1176470588235
369284.88235294117657.11764705882353
379084.88235294117655.11764705882353
388484.8823529411765-0.882352941176466
398684.88235294117651.11764705882353
407084.8823529411765-14.8823529411765
416747.730769230769219.2692307692308
426047.730769230769212.2692307692308
436247.730769230769214.2692307692308
446147.730769230769213.2692307692308
455447.73076923076926.26923076923077
465047.73076923076922.26923076923077
474547.7307692307692-2.73076923076923
483447.7307692307692-13.7307692307692
493747.7307692307692-10.7307692307692
504447.7307692307692-3.73076923076923
513447.7307692307692-13.7307692307692
523747.7307692307692-10.7307692307692
533147.7307692307692-16.7307692307692
543147.7307692307692-16.7307692307692
552847.7307692307692-19.7307692307692
563147.7307692307692-16.7307692307692
573347.7307692307692-14.7307692307692
583647.7307692307692-11.7307692307692
593947.7307692307692-8.73076923076923
604247.7307692307692-5.73076923076923







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.08080384694572020.1616076938914400.91919615305428
60.02693154505005900.05386309010011790.973068454949941
70.01203944084956230.02407888169912460.987960559150438
80.02233152196562410.04466304393124820.977668478034376
90.00876432307437470.01752864614874940.991235676925625
100.004041236035807900.008082472071615790.995958763964192
110.002924785379666670.005849570759333340.997075214620333
120.001545244133954770.003090488267909540.998454755866045
130.001120665171264450.002241330342528900.998879334828735
140.001638653988299260.003277307976598530.9983613460117
150.001499571609228710.002999143218457430.998500428390771
160.002455844352696800.004911688705393610.997544155647303
170.001796503115727640.003593006231455270.998203496884272
180.000927373783725850.00185474756745170.999072626216274
190.0004563070423127990.0009126140846255980.999543692957687
200.0002270508684301970.0004541017368603940.99977294913157
210.0001139412187813130.0002278824375626250.999886058781219
226.72738559719893e-050.0001345477119439790.999932726144028
234.43567446317935e-058.87134892635869e-050.999955643255368
240.0001243926292585480.0002487852585170950.999875607370741
257.27654935084346e-050.0001455309870168690.999927234506492
260.0001243109099006820.0002486218198013630.9998756890901
270.0002671747765864870.0005343495531729750.999732825223413
280.0005237277856641360.001047455571328270.999476272214336
290.0002964401422237650.0005928802844475290.999703559857776
300.0004386493444626050.000877298688925210.999561350655537
310.0006557269193324240.001311453838664850.999344273080668
320.0008329755761319950.001665951152263990.999167024423868
330.004874693763688740.009749387527377490.995125306236311
340.00630305739394030.01260611478788060.99369694260606
350.008084677248943040.01616935449788610.991915322751057
360.006797496711821720.01359499342364340.993202503288178
370.005168857658041090.01033771531608220.994831142341959
380.003119971319953650.00623994263990730.996880028680046
390.002456953114152610.004913906228305220.997543046885847
400.003407373015666330.006814746031332660.996592626984334
410.01237922583506010.02475845167012020.98762077416494
420.02523987615393410.05047975230786820.974760123846066
430.0870389222907050.174077844581410.912961077709295
440.3429951581587530.6859903163175050.657004841841247
450.649576859121620.7008462817567590.350423140878379
460.8722098342815750.2555803314368500.127790165718425
470.9455893724152550.1088212551694900.0544106275847452
480.955682285425300.08863542914940210.0443177145747011
490.947933751616960.1041324967660810.0520662483830406
500.9756455176250030.04870896474999370.0243544823749969
510.962483143918620.07503371216276120.0375168560813806
520.9413362897057970.1173274205884070.0586637102942035
530.9129686343861820.1740627312276360.0870313656138179
540.865289610449280.2694207791014380.134710389550719
550.8752542653238770.2494914693522450.124745734676123

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.0808038469457202 & 0.161607693891440 & 0.91919615305428 \tabularnewline
6 & 0.0269315450500590 & 0.0538630901001179 & 0.973068454949941 \tabularnewline
7 & 0.0120394408495623 & 0.0240788816991246 & 0.987960559150438 \tabularnewline
8 & 0.0223315219656241 & 0.0446630439312482 & 0.977668478034376 \tabularnewline
9 & 0.0087643230743747 & 0.0175286461487494 & 0.991235676925625 \tabularnewline
10 & 0.00404123603580790 & 0.00808247207161579 & 0.995958763964192 \tabularnewline
11 & 0.00292478537966667 & 0.00584957075933334 & 0.997075214620333 \tabularnewline
12 & 0.00154524413395477 & 0.00309048826790954 & 0.998454755866045 \tabularnewline
13 & 0.00112066517126445 & 0.00224133034252890 & 0.998879334828735 \tabularnewline
14 & 0.00163865398829926 & 0.00327730797659853 & 0.9983613460117 \tabularnewline
15 & 0.00149957160922871 & 0.00299914321845743 & 0.998500428390771 \tabularnewline
16 & 0.00245584435269680 & 0.00491168870539361 & 0.997544155647303 \tabularnewline
17 & 0.00179650311572764 & 0.00359300623145527 & 0.998203496884272 \tabularnewline
18 & 0.00092737378372585 & 0.0018547475674517 & 0.999072626216274 \tabularnewline
19 & 0.000456307042312799 & 0.000912614084625598 & 0.999543692957687 \tabularnewline
20 & 0.000227050868430197 & 0.000454101736860394 & 0.99977294913157 \tabularnewline
21 & 0.000113941218781313 & 0.000227882437562625 & 0.999886058781219 \tabularnewline
22 & 6.72738559719893e-05 & 0.000134547711943979 & 0.999932726144028 \tabularnewline
23 & 4.43567446317935e-05 & 8.87134892635869e-05 & 0.999955643255368 \tabularnewline
24 & 0.000124392629258548 & 0.000248785258517095 & 0.999875607370741 \tabularnewline
25 & 7.27654935084346e-05 & 0.000145530987016869 & 0.999927234506492 \tabularnewline
26 & 0.000124310909900682 & 0.000248621819801363 & 0.9998756890901 \tabularnewline
27 & 0.000267174776586487 & 0.000534349553172975 & 0.999732825223413 \tabularnewline
28 & 0.000523727785664136 & 0.00104745557132827 & 0.999476272214336 \tabularnewline
29 & 0.000296440142223765 & 0.000592880284447529 & 0.999703559857776 \tabularnewline
30 & 0.000438649344462605 & 0.00087729868892521 & 0.999561350655537 \tabularnewline
31 & 0.000655726919332424 & 0.00131145383866485 & 0.999344273080668 \tabularnewline
32 & 0.000832975576131995 & 0.00166595115226399 & 0.999167024423868 \tabularnewline
33 & 0.00487469376368874 & 0.00974938752737749 & 0.995125306236311 \tabularnewline
34 & 0.0063030573939403 & 0.0126061147878806 & 0.99369694260606 \tabularnewline
35 & 0.00808467724894304 & 0.0161693544978861 & 0.991915322751057 \tabularnewline
36 & 0.00679749671182172 & 0.0135949934236434 & 0.993202503288178 \tabularnewline
37 & 0.00516885765804109 & 0.0103377153160822 & 0.994831142341959 \tabularnewline
38 & 0.00311997131995365 & 0.0062399426399073 & 0.996880028680046 \tabularnewline
39 & 0.00245695311415261 & 0.00491390622830522 & 0.997543046885847 \tabularnewline
40 & 0.00340737301566633 & 0.00681474603133266 & 0.996592626984334 \tabularnewline
41 & 0.0123792258350601 & 0.0247584516701202 & 0.98762077416494 \tabularnewline
42 & 0.0252398761539341 & 0.0504797523078682 & 0.974760123846066 \tabularnewline
43 & 0.087038922290705 & 0.17407784458141 & 0.912961077709295 \tabularnewline
44 & 0.342995158158753 & 0.685990316317505 & 0.657004841841247 \tabularnewline
45 & 0.64957685912162 & 0.700846281756759 & 0.350423140878379 \tabularnewline
46 & 0.872209834281575 & 0.255580331436850 & 0.127790165718425 \tabularnewline
47 & 0.945589372415255 & 0.108821255169490 & 0.0544106275847452 \tabularnewline
48 & 0.95568228542530 & 0.0886354291494021 & 0.0443177145747011 \tabularnewline
49 & 0.94793375161696 & 0.104132496766081 & 0.0520662483830406 \tabularnewline
50 & 0.975645517625003 & 0.0487089647499937 & 0.0243544823749969 \tabularnewline
51 & 0.96248314391862 & 0.0750337121627612 & 0.0375168560813806 \tabularnewline
52 & 0.941336289705797 & 0.117327420588407 & 0.0586637102942035 \tabularnewline
53 & 0.912968634386182 & 0.174062731227636 & 0.0870313656138179 \tabularnewline
54 & 0.86528961044928 & 0.269420779101438 & 0.134710389550719 \tabularnewline
55 & 0.875254265323877 & 0.249491469352245 & 0.124745734676123 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69459&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]5[/C][C]0.0808038469457202[/C][C]0.161607693891440[/C][C]0.91919615305428[/C][/ROW]
[ROW][C]6[/C][C]0.0269315450500590[/C][C]0.0538630901001179[/C][C]0.973068454949941[/C][/ROW]
[ROW][C]7[/C][C]0.0120394408495623[/C][C]0.0240788816991246[/C][C]0.987960559150438[/C][/ROW]
[ROW][C]8[/C][C]0.0223315219656241[/C][C]0.0446630439312482[/C][C]0.977668478034376[/C][/ROW]
[ROW][C]9[/C][C]0.0087643230743747[/C][C]0.0175286461487494[/C][C]0.991235676925625[/C][/ROW]
[ROW][C]10[/C][C]0.00404123603580790[/C][C]0.00808247207161579[/C][C]0.995958763964192[/C][/ROW]
[ROW][C]11[/C][C]0.00292478537966667[/C][C]0.00584957075933334[/C][C]0.997075214620333[/C][/ROW]
[ROW][C]12[/C][C]0.00154524413395477[/C][C]0.00309048826790954[/C][C]0.998454755866045[/C][/ROW]
[ROW][C]13[/C][C]0.00112066517126445[/C][C]0.00224133034252890[/C][C]0.998879334828735[/C][/ROW]
[ROW][C]14[/C][C]0.00163865398829926[/C][C]0.00327730797659853[/C][C]0.9983613460117[/C][/ROW]
[ROW][C]15[/C][C]0.00149957160922871[/C][C]0.00299914321845743[/C][C]0.998500428390771[/C][/ROW]
[ROW][C]16[/C][C]0.00245584435269680[/C][C]0.00491168870539361[/C][C]0.997544155647303[/C][/ROW]
[ROW][C]17[/C][C]0.00179650311572764[/C][C]0.00359300623145527[/C][C]0.998203496884272[/C][/ROW]
[ROW][C]18[/C][C]0.00092737378372585[/C][C]0.0018547475674517[/C][C]0.999072626216274[/C][/ROW]
[ROW][C]19[/C][C]0.000456307042312799[/C][C]0.000912614084625598[/C][C]0.999543692957687[/C][/ROW]
[ROW][C]20[/C][C]0.000227050868430197[/C][C]0.000454101736860394[/C][C]0.99977294913157[/C][/ROW]
[ROW][C]21[/C][C]0.000113941218781313[/C][C]0.000227882437562625[/C][C]0.999886058781219[/C][/ROW]
[ROW][C]22[/C][C]6.72738559719893e-05[/C][C]0.000134547711943979[/C][C]0.999932726144028[/C][/ROW]
[ROW][C]23[/C][C]4.43567446317935e-05[/C][C]8.87134892635869e-05[/C][C]0.999955643255368[/C][/ROW]
[ROW][C]24[/C][C]0.000124392629258548[/C][C]0.000248785258517095[/C][C]0.999875607370741[/C][/ROW]
[ROW][C]25[/C][C]7.27654935084346e-05[/C][C]0.000145530987016869[/C][C]0.999927234506492[/C][/ROW]
[ROW][C]26[/C][C]0.000124310909900682[/C][C]0.000248621819801363[/C][C]0.9998756890901[/C][/ROW]
[ROW][C]27[/C][C]0.000267174776586487[/C][C]0.000534349553172975[/C][C]0.999732825223413[/C][/ROW]
[ROW][C]28[/C][C]0.000523727785664136[/C][C]0.00104745557132827[/C][C]0.999476272214336[/C][/ROW]
[ROW][C]29[/C][C]0.000296440142223765[/C][C]0.000592880284447529[/C][C]0.999703559857776[/C][/ROW]
[ROW][C]30[/C][C]0.000438649344462605[/C][C]0.00087729868892521[/C][C]0.999561350655537[/C][/ROW]
[ROW][C]31[/C][C]0.000655726919332424[/C][C]0.00131145383866485[/C][C]0.999344273080668[/C][/ROW]
[ROW][C]32[/C][C]0.000832975576131995[/C][C]0.00166595115226399[/C][C]0.999167024423868[/C][/ROW]
[ROW][C]33[/C][C]0.00487469376368874[/C][C]0.00974938752737749[/C][C]0.995125306236311[/C][/ROW]
[ROW][C]34[/C][C]0.0063030573939403[/C][C]0.0126061147878806[/C][C]0.99369694260606[/C][/ROW]
[ROW][C]35[/C][C]0.00808467724894304[/C][C]0.0161693544978861[/C][C]0.991915322751057[/C][/ROW]
[ROW][C]36[/C][C]0.00679749671182172[/C][C]0.0135949934236434[/C][C]0.993202503288178[/C][/ROW]
[ROW][C]37[/C][C]0.00516885765804109[/C][C]0.0103377153160822[/C][C]0.994831142341959[/C][/ROW]
[ROW][C]38[/C][C]0.00311997131995365[/C][C]0.0062399426399073[/C][C]0.996880028680046[/C][/ROW]
[ROW][C]39[/C][C]0.00245695311415261[/C][C]0.00491390622830522[/C][C]0.997543046885847[/C][/ROW]
[ROW][C]40[/C][C]0.00340737301566633[/C][C]0.00681474603133266[/C][C]0.996592626984334[/C][/ROW]
[ROW][C]41[/C][C]0.0123792258350601[/C][C]0.0247584516701202[/C][C]0.98762077416494[/C][/ROW]
[ROW][C]42[/C][C]0.0252398761539341[/C][C]0.0504797523078682[/C][C]0.974760123846066[/C][/ROW]
[ROW][C]43[/C][C]0.087038922290705[/C][C]0.17407784458141[/C][C]0.912961077709295[/C][/ROW]
[ROW][C]44[/C][C]0.342995158158753[/C][C]0.685990316317505[/C][C]0.657004841841247[/C][/ROW]
[ROW][C]45[/C][C]0.64957685912162[/C][C]0.700846281756759[/C][C]0.350423140878379[/C][/ROW]
[ROW][C]46[/C][C]0.872209834281575[/C][C]0.255580331436850[/C][C]0.127790165718425[/C][/ROW]
[ROW][C]47[/C][C]0.945589372415255[/C][C]0.108821255169490[/C][C]0.0544106275847452[/C][/ROW]
[ROW][C]48[/C][C]0.95568228542530[/C][C]0.0886354291494021[/C][C]0.0443177145747011[/C][/ROW]
[ROW][C]49[/C][C]0.94793375161696[/C][C]0.104132496766081[/C][C]0.0520662483830406[/C][/ROW]
[ROW][C]50[/C][C]0.975645517625003[/C][C]0.0487089647499937[/C][C]0.0243544823749969[/C][/ROW]
[ROW][C]51[/C][C]0.96248314391862[/C][C]0.0750337121627612[/C][C]0.0375168560813806[/C][/ROW]
[ROW][C]52[/C][C]0.941336289705797[/C][C]0.117327420588407[/C][C]0.0586637102942035[/C][/ROW]
[ROW][C]53[/C][C]0.912968634386182[/C][C]0.174062731227636[/C][C]0.0870313656138179[/C][/ROW]
[ROW][C]54[/C][C]0.86528961044928[/C][C]0.269420779101438[/C][C]0.134710389550719[/C][/ROW]
[ROW][C]55[/C][C]0.875254265323877[/C][C]0.249491469352245[/C][C]0.124745734676123[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69459&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69459&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
50.08080384694572020.1616076938914400.91919615305428
60.02693154505005900.05386309010011790.973068454949941
70.01203944084956230.02407888169912460.987960559150438
80.02233152196562410.04466304393124820.977668478034376
90.00876432307437470.01752864614874940.991235676925625
100.004041236035807900.008082472071615790.995958763964192
110.002924785379666670.005849570759333340.997075214620333
120.001545244133954770.003090488267909540.998454755866045
130.001120665171264450.002241330342528900.998879334828735
140.001638653988299260.003277307976598530.9983613460117
150.001499571609228710.002999143218457430.998500428390771
160.002455844352696800.004911688705393610.997544155647303
170.001796503115727640.003593006231455270.998203496884272
180.000927373783725850.00185474756745170.999072626216274
190.0004563070423127990.0009126140846255980.999543692957687
200.0002270508684301970.0004541017368603940.99977294913157
210.0001139412187813130.0002278824375626250.999886058781219
226.72738559719893e-050.0001345477119439790.999932726144028
234.43567446317935e-058.87134892635869e-050.999955643255368
240.0001243926292585480.0002487852585170950.999875607370741
257.27654935084346e-050.0001455309870168690.999927234506492
260.0001243109099006820.0002486218198013630.9998756890901
270.0002671747765864870.0005343495531729750.999732825223413
280.0005237277856641360.001047455571328270.999476272214336
290.0002964401422237650.0005928802844475290.999703559857776
300.0004386493444626050.000877298688925210.999561350655537
310.0006557269193324240.001311453838664850.999344273080668
320.0008329755761319950.001665951152263990.999167024423868
330.004874693763688740.009749387527377490.995125306236311
340.00630305739394030.01260611478788060.99369694260606
350.008084677248943040.01616935449788610.991915322751057
360.006797496711821720.01359499342364340.993202503288178
370.005168857658041090.01033771531608220.994831142341959
380.003119971319953650.00623994263990730.996880028680046
390.002456953114152610.004913906228305220.997543046885847
400.003407373015666330.006814746031332660.996592626984334
410.01237922583506010.02475845167012020.98762077416494
420.02523987615393410.05047975230786820.974760123846066
430.0870389222907050.174077844581410.912961077709295
440.3429951581587530.6859903163175050.657004841841247
450.649576859121620.7008462817567590.350423140878379
460.8722098342815750.2555803314368500.127790165718425
470.9455893724152550.1088212551694900.0544106275847452
480.955682285425300.08863542914940210.0443177145747011
490.947933751616960.1041324967660810.0520662483830406
500.9756455176250030.04870896474999370.0243544823749969
510.962483143918620.07503371216276120.0375168560813806
520.9413362897057970.1173274205884070.0586637102942035
530.9129686343861820.1740627312276360.0870313656138179
540.865289610449280.2694207791014380.134710389550719
550.8752542653238770.2494914693522450.124745734676123







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level270.529411764705882NOK
5% type I error level360.705882352941177NOK
10% type I error level400.784313725490196NOK

\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 & 27 & 0.529411764705882 & NOK \tabularnewline
5% type I error level & 36 & 0.705882352941177 & NOK \tabularnewline
10% type I error level & 40 & 0.784313725490196 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69459&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]27[/C][C]0.529411764705882[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]36[/C][C]0.705882352941177[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]40[/C][C]0.784313725490196[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69459&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69459&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 level270.529411764705882NOK
5% type I error level360.705882352941177NOK
10% type I error level400.784313725490196NOK



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