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, 28 Dec 2010 18:44:08 +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/28/t12935617171xpfcdl8s9b84rt.htm/, Retrieved Sun, 05 May 2024 02:45:53 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=116473, Retrieved Sun, 05 May 2024 02:45:53 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact188
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [] [2010-11-17 09:55:05] [b98453cac15ba1066b407e146608df68]
-    D  [Multiple Regression] [] [2010-12-01 15:23:45] [e71d94d32f847f62b540eebe6fadd003]
-   PD    [Multiple Regression] [paper (4)] [2010-12-26 08:57:40] [34b8ec63a78ce61b49b6bd4fc5a61e1c]
-    D        [Multiple Regression] [Paper 'interactie...] [2010-12-28 18:44:08] [8d8503577eb9ac26988d64b61a75d95b] [Current]
Feedback Forum

Post a new message
Dataseries X:
141	9.3	16	6	7	4
136	14.2	20	20	0	5
246	17.3	7	12	0	6
309	23	8	15	0	7
95	16.3	21	25	0	8
161	18.4	7	4	0	9
108	14.2	17	6	0	10
79	9.1	20	2	0	11
40	5.9	18	1	1	12
35	7.2	26	4	2	1
49	6.8	18	4	2	2
145	8	20	8	2	3
284	14.3	0	3	0	4
164	14.6	22	14	0	5
130	17.5	19	17	0	6
178	17.2	18	14	0	7
150	17.2	13	10	0	8
104	14.1	16	7	0	9
111	10.4	11	4	0	10
51	6.8	22	1	1	11
70	4.1	19	6	0	12
42	6.5	23	2	1	1
126	6.1	11	2	0	2
68	6.3	24	8	7	3
135	9.3	14	10	0	4
231	16.4	11	13	0	5
185	16.1	17	10	0	6
181	18	20	14	0	7
138	17.6	19	13	0	8
158	14	12	6	0	9
122	10.5	19	6	2	10
40	6.9	26	9	3	11
62	2.8	13	2	5	12
89	0.7	12	4	5	1
33	3.6	20	3	7	2
150	6.7	15	4	2	3
196	12.5	15	10	0	4
196	14.4	17	15	0	5
225	16.5	11	14	0	6
213	18.7	20	18	0	7
258	19.4	9	10	0	8
156	15.8	10	5	0	9
90	11.3	17	5	0	10
48	9.7	25	7	0	11
46	2.9	19	2	7	12
49	0.1	18	0	14	1
29	2.5	24	4	10	2
118	6.7	13	7	2	3
223	10.3	6	8	0	4
172	11.2	14	6	0	5
259	17.4	9	3	0	6
252	20.5	13	12	0	7
136	17	23	15	0	8
143	14.2	18	8	0	9
119	10.6	16	6	0	10
24	6.1	21	1	6	11




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time11 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 11 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=116473&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]11 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=116473&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=116473&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 time11 seconds
R Server'George Udny Yule' @ 72.249.76.132







Multiple Linear Regression - Estimated Regression Equation
GemiddeldeTemperatuur[t] = -1.68681067708564 + 0.0516575621816613UrenZonneschijn[t] + 0.152185240873801Neerslagdagen[t] + 0.279003835025269Onweersdagen[t] -0.391768728279492Sneeuwdagen[t] + 0.330848013568777Maand[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
GemiddeldeTemperatuur[t] =  -1.68681067708564 +  0.0516575621816613UrenZonneschijn[t] +  0.152185240873801Neerslagdagen[t] +  0.279003835025269Onweersdagen[t] -0.391768728279492Sneeuwdagen[t] +  0.330848013568777Maand[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=116473&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]GemiddeldeTemperatuur[t] =  -1.68681067708564 +  0.0516575621816613UrenZonneschijn[t] +  0.152185240873801Neerslagdagen[t] +  0.279003835025269Onweersdagen[t] -0.391768728279492Sneeuwdagen[t] +  0.330848013568777Maand[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=116473&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=116473&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
GemiddeldeTemperatuur[t] = -1.68681067708564 + 0.0516575621816613UrenZonneschijn[t] + 0.152185240873801Neerslagdagen[t] + 0.279003835025269Onweersdagen[t] -0.391768728279492Sneeuwdagen[t] + 0.330848013568777Maand[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-1.686810677085642.733139-0.61720.5399230.269962
UrenZonneschijn0.05165756218166130.0094815.44872e-061e-06
Neerslagdagen0.1521852408738010.1065991.42760.1596090.079805
Onweersdagen0.2790038350252690.0893983.12090.0029930.001496
Sneeuwdagen-0.3917687282794920.145934-2.68460.0098250.004913
Maand0.3308480135687770.1075913.07510.0034070.001703

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Ordinary Least Squares \tabularnewline
Variable & Parameter & S.D. & T-STATH0: parameter = 0 & 2-tail p-value & 1-tail p-value \tabularnewline
(Intercept) & -1.68681067708564 & 2.733139 & -0.6172 & 0.539923 & 0.269962 \tabularnewline
UrenZonneschijn & 0.0516575621816613 & 0.009481 & 5.4487 & 2e-06 & 1e-06 \tabularnewline
Neerslagdagen & 0.152185240873801 & 0.106599 & 1.4276 & 0.159609 & 0.079805 \tabularnewline
Onweersdagen & 0.279003835025269 & 0.089398 & 3.1209 & 0.002993 & 0.001496 \tabularnewline
Sneeuwdagen & -0.391768728279492 & 0.145934 & -2.6846 & 0.009825 & 0.004913 \tabularnewline
Maand & 0.330848013568777 & 0.107591 & 3.0751 & 0.003407 & 0.001703 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=116473&T=2

[TABLE]
[ROW][C]Multiple Linear Regression - Ordinary Least Squares[/C][/ROW]
[ROW][C]Variable[/C][C]Parameter[/C][C]S.D.[/C][C]T-STATH0: parameter = 0[/C][C]2-tail p-value[/C][C]1-tail p-value[/C][/ROW]
[ROW][C](Intercept)[/C][C]-1.68681067708564[/C][C]2.733139[/C][C]-0.6172[/C][C]0.539923[/C][C]0.269962[/C][/ROW]
[ROW][C]UrenZonneschijn[/C][C]0.0516575621816613[/C][C]0.009481[/C][C]5.4487[/C][C]2e-06[/C][C]1e-06[/C][/ROW]
[ROW][C]Neerslagdagen[/C][C]0.152185240873801[/C][C]0.106599[/C][C]1.4276[/C][C]0.159609[/C][C]0.079805[/C][/ROW]
[ROW][C]Onweersdagen[/C][C]0.279003835025269[/C][C]0.089398[/C][C]3.1209[/C][C]0.002993[/C][C]0.001496[/C][/ROW]
[ROW][C]Sneeuwdagen[/C][C]-0.391768728279492[/C][C]0.145934[/C][C]-2.6846[/C][C]0.009825[/C][C]0.004913[/C][/ROW]
[ROW][C]Maand[/C][C]0.330848013568777[/C][C]0.107591[/C][C]3.0751[/C][C]0.003407[/C][C]0.001703[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=116473&T=2

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-1.686810677085642.733139-0.61720.5399230.269962
UrenZonneschijn0.05165756218166130.0094815.44872e-061e-06
Neerslagdagen0.1521852408738010.1065991.42760.1596090.079805
Onweersdagen0.2790038350252690.0893983.12090.0029930.001496
Sneeuwdagen-0.3917687282794920.145934-2.68460.0098250.004913
Maand0.3308480135687770.1075913.07510.0034070.001703







Multiple Linear Regression - Regression Statistics
Multiple R0.911599239034732
R-squared0.831013172608702
Adjusted R-squared0.814114489869572
F-TEST (value)49.1762100891121
F-TEST (DF numerator)5
F-TEST (DF denominator)50
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation2.41751035472080
Sum Squared Residuals292.217815759115

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.911599239034732 \tabularnewline
R-squared & 0.831013172608702 \tabularnewline
Adjusted R-squared & 0.814114489869572 \tabularnewline
F-TEST (value) & 49.1762100891121 \tabularnewline
F-TEST (DF numerator) & 5 \tabularnewline
F-TEST (DF denominator) & 50 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 2.41751035472080 \tabularnewline
Sum Squared Residuals & 292.217815759115 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=116473&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.911599239034732[/C][/ROW]
[ROW][C]R-squared[/C][C]0.831013172608702[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.814114489869572[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]49.1762100891121[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]5[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]50[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]2.41751035472080[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]292.217815759115[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=116473&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=116473&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.911599239034732
R-squared0.831013172608702
Adjusted R-squared0.814114489869572
F-TEST (value)49.1762100891121
F-TEST (DF numerator)5
F-TEST (DF denominator)50
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation2.41751035472080
Sum Squared Residuals292.217815759115







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
19.38.286903410979671.01309658902033
214.215.6166393654456-1.41663936544557
317.317.4193804074355-0.119380407435531
42321.99385158439861.00614841560142
516.316.03842777270390.261572227296067
618.411.78900098249856.6109990175015
714.211.46185827922782.73814172077223
89.19.6351773720487-0.535177372048699
95.96.97623741548032-1.07623741548032
107.24.741346159102192.45865384089781
116.84.577918116223822.22208188377618
12811.2882779210808-3.28827792108076
1314.315.1443405418571-0.844340541857082
1414.615.6933985781281-1.09339857812807
1517.514.64834525997482.85165474002523
1617.216.46955951231370.730440487686317
1717.213.47705424032593.72294575967413
1814.111.05119861108383.04880138891618
1910.410.14571185047940.254288149520585
206.87.82236354940502-1.02236354940502
214.110.4649374252098-6.3649374252098
226.54.480154429981372.01984557001863
236.17.71578350460358-1.61578350460358
246.35.960542955190580.339457044809423
259.311.5309839941996-2.23098399419964
2616.417.2014137596623-0.801413759662306
2716.115.23211385304170.867886146958343
281816.92890268060631.07109731939373
2917.614.60728644446452.99271355553546
301412.95296217037311.04703782962694
3110.511.7058971749596-1.20589717495965
326.99.31136455254512-2.41136455254512
332.86.06370650101517-3.26370650101517
340.74.22495495984021-3.52495495984021
353.61.817920126642111.78207987335789
366.79.66962418751898-2.96962418751898
3712.514.8342805281548-2.33428052815478
3814.416.8645181985975-2.4645181985975
3916.517.5013202351664-1.00132023516638
4018.719.6979600105205-0.997960010520504
4119.418.44732999245010.952670007549917
4215.812.26627272923693.53372727076314
4311.310.25301832493261.0469816750674
449.710.1897383239125-0.489738323912547
452.95.3667594947924-2.46675949479241
460.1-1.570169976799941.67016997679994
472.51.323728491597461.17627150840254
486.78.54922322103403-1.84922322103403
4910.314.3013598691449-4.00135986914489
5011.212.6571464683888-1.45714646838881
5117.415.88426468231731.51573531768269
5220.518.97328523933711.52671476066292
531715.67071995364701.32928004635304
5414.213.64921785294150.55078214705852
5510.611.8779062223522-1.27790622235225
566.14.316580488228911.78341951177109

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 9.3 & 8.28690341097967 & 1.01309658902033 \tabularnewline
2 & 14.2 & 15.6166393654456 & -1.41663936544557 \tabularnewline
3 & 17.3 & 17.4193804074355 & -0.119380407435531 \tabularnewline
4 & 23 & 21.9938515843986 & 1.00614841560142 \tabularnewline
5 & 16.3 & 16.0384277727039 & 0.261572227296067 \tabularnewline
6 & 18.4 & 11.7890009824985 & 6.6109990175015 \tabularnewline
7 & 14.2 & 11.4618582792278 & 2.73814172077223 \tabularnewline
8 & 9.1 & 9.6351773720487 & -0.535177372048699 \tabularnewline
9 & 5.9 & 6.97623741548032 & -1.07623741548032 \tabularnewline
10 & 7.2 & 4.74134615910219 & 2.45865384089781 \tabularnewline
11 & 6.8 & 4.57791811622382 & 2.22208188377618 \tabularnewline
12 & 8 & 11.2882779210808 & -3.28827792108076 \tabularnewline
13 & 14.3 & 15.1443405418571 & -0.844340541857082 \tabularnewline
14 & 14.6 & 15.6933985781281 & -1.09339857812807 \tabularnewline
15 & 17.5 & 14.6483452599748 & 2.85165474002523 \tabularnewline
16 & 17.2 & 16.4695595123137 & 0.730440487686317 \tabularnewline
17 & 17.2 & 13.4770542403259 & 3.72294575967413 \tabularnewline
18 & 14.1 & 11.0511986110838 & 3.04880138891618 \tabularnewline
19 & 10.4 & 10.1457118504794 & 0.254288149520585 \tabularnewline
20 & 6.8 & 7.82236354940502 & -1.02236354940502 \tabularnewline
21 & 4.1 & 10.4649374252098 & -6.3649374252098 \tabularnewline
22 & 6.5 & 4.48015442998137 & 2.01984557001863 \tabularnewline
23 & 6.1 & 7.71578350460358 & -1.61578350460358 \tabularnewline
24 & 6.3 & 5.96054295519058 & 0.339457044809423 \tabularnewline
25 & 9.3 & 11.5309839941996 & -2.23098399419964 \tabularnewline
26 & 16.4 & 17.2014137596623 & -0.801413759662306 \tabularnewline
27 & 16.1 & 15.2321138530417 & 0.867886146958343 \tabularnewline
28 & 18 & 16.9289026806063 & 1.07109731939373 \tabularnewline
29 & 17.6 & 14.6072864444645 & 2.99271355553546 \tabularnewline
30 & 14 & 12.9529621703731 & 1.04703782962694 \tabularnewline
31 & 10.5 & 11.7058971749596 & -1.20589717495965 \tabularnewline
32 & 6.9 & 9.31136455254512 & -2.41136455254512 \tabularnewline
33 & 2.8 & 6.06370650101517 & -3.26370650101517 \tabularnewline
34 & 0.7 & 4.22495495984021 & -3.52495495984021 \tabularnewline
35 & 3.6 & 1.81792012664211 & 1.78207987335789 \tabularnewline
36 & 6.7 & 9.66962418751898 & -2.96962418751898 \tabularnewline
37 & 12.5 & 14.8342805281548 & -2.33428052815478 \tabularnewline
38 & 14.4 & 16.8645181985975 & -2.4645181985975 \tabularnewline
39 & 16.5 & 17.5013202351664 & -1.00132023516638 \tabularnewline
40 & 18.7 & 19.6979600105205 & -0.997960010520504 \tabularnewline
41 & 19.4 & 18.4473299924501 & 0.952670007549917 \tabularnewline
42 & 15.8 & 12.2662727292369 & 3.53372727076314 \tabularnewline
43 & 11.3 & 10.2530183249326 & 1.0469816750674 \tabularnewline
44 & 9.7 & 10.1897383239125 & -0.489738323912547 \tabularnewline
45 & 2.9 & 5.3667594947924 & -2.46675949479241 \tabularnewline
46 & 0.1 & -1.57016997679994 & 1.67016997679994 \tabularnewline
47 & 2.5 & 1.32372849159746 & 1.17627150840254 \tabularnewline
48 & 6.7 & 8.54922322103403 & -1.84922322103403 \tabularnewline
49 & 10.3 & 14.3013598691449 & -4.00135986914489 \tabularnewline
50 & 11.2 & 12.6571464683888 & -1.45714646838881 \tabularnewline
51 & 17.4 & 15.8842646823173 & 1.51573531768269 \tabularnewline
52 & 20.5 & 18.9732852393371 & 1.52671476066292 \tabularnewline
53 & 17 & 15.6707199536470 & 1.32928004635304 \tabularnewline
54 & 14.2 & 13.6492178529415 & 0.55078214705852 \tabularnewline
55 & 10.6 & 11.8779062223522 & -1.27790622235225 \tabularnewline
56 & 6.1 & 4.31658048822891 & 1.78341951177109 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=116473&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]9.3[/C][C]8.28690341097967[/C][C]1.01309658902033[/C][/ROW]
[ROW][C]2[/C][C]14.2[/C][C]15.6166393654456[/C][C]-1.41663936544557[/C][/ROW]
[ROW][C]3[/C][C]17.3[/C][C]17.4193804074355[/C][C]-0.119380407435531[/C][/ROW]
[ROW][C]4[/C][C]23[/C][C]21.9938515843986[/C][C]1.00614841560142[/C][/ROW]
[ROW][C]5[/C][C]16.3[/C][C]16.0384277727039[/C][C]0.261572227296067[/C][/ROW]
[ROW][C]6[/C][C]18.4[/C][C]11.7890009824985[/C][C]6.6109990175015[/C][/ROW]
[ROW][C]7[/C][C]14.2[/C][C]11.4618582792278[/C][C]2.73814172077223[/C][/ROW]
[ROW][C]8[/C][C]9.1[/C][C]9.6351773720487[/C][C]-0.535177372048699[/C][/ROW]
[ROW][C]9[/C][C]5.9[/C][C]6.97623741548032[/C][C]-1.07623741548032[/C][/ROW]
[ROW][C]10[/C][C]7.2[/C][C]4.74134615910219[/C][C]2.45865384089781[/C][/ROW]
[ROW][C]11[/C][C]6.8[/C][C]4.57791811622382[/C][C]2.22208188377618[/C][/ROW]
[ROW][C]12[/C][C]8[/C][C]11.2882779210808[/C][C]-3.28827792108076[/C][/ROW]
[ROW][C]13[/C][C]14.3[/C][C]15.1443405418571[/C][C]-0.844340541857082[/C][/ROW]
[ROW][C]14[/C][C]14.6[/C][C]15.6933985781281[/C][C]-1.09339857812807[/C][/ROW]
[ROW][C]15[/C][C]17.5[/C][C]14.6483452599748[/C][C]2.85165474002523[/C][/ROW]
[ROW][C]16[/C][C]17.2[/C][C]16.4695595123137[/C][C]0.730440487686317[/C][/ROW]
[ROW][C]17[/C][C]17.2[/C][C]13.4770542403259[/C][C]3.72294575967413[/C][/ROW]
[ROW][C]18[/C][C]14.1[/C][C]11.0511986110838[/C][C]3.04880138891618[/C][/ROW]
[ROW][C]19[/C][C]10.4[/C][C]10.1457118504794[/C][C]0.254288149520585[/C][/ROW]
[ROW][C]20[/C][C]6.8[/C][C]7.82236354940502[/C][C]-1.02236354940502[/C][/ROW]
[ROW][C]21[/C][C]4.1[/C][C]10.4649374252098[/C][C]-6.3649374252098[/C][/ROW]
[ROW][C]22[/C][C]6.5[/C][C]4.48015442998137[/C][C]2.01984557001863[/C][/ROW]
[ROW][C]23[/C][C]6.1[/C][C]7.71578350460358[/C][C]-1.61578350460358[/C][/ROW]
[ROW][C]24[/C][C]6.3[/C][C]5.96054295519058[/C][C]0.339457044809423[/C][/ROW]
[ROW][C]25[/C][C]9.3[/C][C]11.5309839941996[/C][C]-2.23098399419964[/C][/ROW]
[ROW][C]26[/C][C]16.4[/C][C]17.2014137596623[/C][C]-0.801413759662306[/C][/ROW]
[ROW][C]27[/C][C]16.1[/C][C]15.2321138530417[/C][C]0.867886146958343[/C][/ROW]
[ROW][C]28[/C][C]18[/C][C]16.9289026806063[/C][C]1.07109731939373[/C][/ROW]
[ROW][C]29[/C][C]17.6[/C][C]14.6072864444645[/C][C]2.99271355553546[/C][/ROW]
[ROW][C]30[/C][C]14[/C][C]12.9529621703731[/C][C]1.04703782962694[/C][/ROW]
[ROW][C]31[/C][C]10.5[/C][C]11.7058971749596[/C][C]-1.20589717495965[/C][/ROW]
[ROW][C]32[/C][C]6.9[/C][C]9.31136455254512[/C][C]-2.41136455254512[/C][/ROW]
[ROW][C]33[/C][C]2.8[/C][C]6.06370650101517[/C][C]-3.26370650101517[/C][/ROW]
[ROW][C]34[/C][C]0.7[/C][C]4.22495495984021[/C][C]-3.52495495984021[/C][/ROW]
[ROW][C]35[/C][C]3.6[/C][C]1.81792012664211[/C][C]1.78207987335789[/C][/ROW]
[ROW][C]36[/C][C]6.7[/C][C]9.66962418751898[/C][C]-2.96962418751898[/C][/ROW]
[ROW][C]37[/C][C]12.5[/C][C]14.8342805281548[/C][C]-2.33428052815478[/C][/ROW]
[ROW][C]38[/C][C]14.4[/C][C]16.8645181985975[/C][C]-2.4645181985975[/C][/ROW]
[ROW][C]39[/C][C]16.5[/C][C]17.5013202351664[/C][C]-1.00132023516638[/C][/ROW]
[ROW][C]40[/C][C]18.7[/C][C]19.6979600105205[/C][C]-0.997960010520504[/C][/ROW]
[ROW][C]41[/C][C]19.4[/C][C]18.4473299924501[/C][C]0.952670007549917[/C][/ROW]
[ROW][C]42[/C][C]15.8[/C][C]12.2662727292369[/C][C]3.53372727076314[/C][/ROW]
[ROW][C]43[/C][C]11.3[/C][C]10.2530183249326[/C][C]1.0469816750674[/C][/ROW]
[ROW][C]44[/C][C]9.7[/C][C]10.1897383239125[/C][C]-0.489738323912547[/C][/ROW]
[ROW][C]45[/C][C]2.9[/C][C]5.3667594947924[/C][C]-2.46675949479241[/C][/ROW]
[ROW][C]46[/C][C]0.1[/C][C]-1.57016997679994[/C][C]1.67016997679994[/C][/ROW]
[ROW][C]47[/C][C]2.5[/C][C]1.32372849159746[/C][C]1.17627150840254[/C][/ROW]
[ROW][C]48[/C][C]6.7[/C][C]8.54922322103403[/C][C]-1.84922322103403[/C][/ROW]
[ROW][C]49[/C][C]10.3[/C][C]14.3013598691449[/C][C]-4.00135986914489[/C][/ROW]
[ROW][C]50[/C][C]11.2[/C][C]12.6571464683888[/C][C]-1.45714646838881[/C][/ROW]
[ROW][C]51[/C][C]17.4[/C][C]15.8842646823173[/C][C]1.51573531768269[/C][/ROW]
[ROW][C]52[/C][C]20.5[/C][C]18.9732852393371[/C][C]1.52671476066292[/C][/ROW]
[ROW][C]53[/C][C]17[/C][C]15.6707199536470[/C][C]1.32928004635304[/C][/ROW]
[ROW][C]54[/C][C]14.2[/C][C]13.6492178529415[/C][C]0.55078214705852[/C][/ROW]
[ROW][C]55[/C][C]10.6[/C][C]11.8779062223522[/C][C]-1.27790622235225[/C][/ROW]
[ROW][C]56[/C][C]6.1[/C][C]4.31658048822891[/C][C]1.78341951177109[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=116473&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=116473&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
19.38.286903410979671.01309658902033
214.215.6166393654456-1.41663936544557
317.317.4193804074355-0.119380407435531
42321.99385158439861.00614841560142
516.316.03842777270390.261572227296067
618.411.78900098249856.6109990175015
714.211.46185827922782.73814172077223
89.19.6351773720487-0.535177372048699
95.96.97623741548032-1.07623741548032
107.24.741346159102192.45865384089781
116.84.577918116223822.22208188377618
12811.2882779210808-3.28827792108076
1314.315.1443405418571-0.844340541857082
1414.615.6933985781281-1.09339857812807
1517.514.64834525997482.85165474002523
1617.216.46955951231370.730440487686317
1717.213.47705424032593.72294575967413
1814.111.05119861108383.04880138891618
1910.410.14571185047940.254288149520585
206.87.82236354940502-1.02236354940502
214.110.4649374252098-6.3649374252098
226.54.480154429981372.01984557001863
236.17.71578350460358-1.61578350460358
246.35.960542955190580.339457044809423
259.311.5309839941996-2.23098399419964
2616.417.2014137596623-0.801413759662306
2716.115.23211385304170.867886146958343
281816.92890268060631.07109731939373
2917.614.60728644446452.99271355553546
301412.95296217037311.04703782962694
3110.511.7058971749596-1.20589717495965
326.99.31136455254512-2.41136455254512
332.86.06370650101517-3.26370650101517
340.74.22495495984021-3.52495495984021
353.61.817920126642111.78207987335789
366.79.66962418751898-2.96962418751898
3712.514.8342805281548-2.33428052815478
3814.416.8645181985975-2.4645181985975
3916.517.5013202351664-1.00132023516638
4018.719.6979600105205-0.997960010520504
4119.418.44732999245010.952670007549917
4215.812.26627272923693.53372727076314
4311.310.25301832493261.0469816750674
449.710.1897383239125-0.489738323912547
452.95.3667594947924-2.46675949479241
460.1-1.570169976799941.67016997679994
472.51.323728491597461.17627150840254
486.78.54922322103403-1.84922322103403
4910.314.3013598691449-4.00135986914489
5011.212.6571464683888-1.45714646838881
5117.415.88426468231731.51573531768269
5220.518.97328523933711.52671476066292
531715.67071995364701.32928004635304
5414.213.64921785294150.55078214705852
5510.611.8779062223522-1.27790622235225
566.14.316580488228911.78341951177109







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
90.767381557687840.4652368846243210.232618442312160
100.6969361157871520.6061277684256960.303063884212848
110.6385469625043220.7229060749913560.361453037495678
120.6953226967382170.6093546065235670.304677303261783
130.7834693503517240.4330612992965520.216530649648276
140.7054028360656870.5891943278686250.294597163934313
150.7134701334858390.5730597330283220.286529866514161
160.638554563071560.722890873856880.36144543692844
170.6942799793157680.6114400413684640.305720020684232
180.711004252186260.577991495627480.28899574781374
190.7206938138966260.5586123722067470.279306186103374
200.6633725161730820.6732549676538360.336627483826918
210.957713272707050.08457345458589930.0422867272929496
220.9438477606345570.1123044787308850.0561522393654427
230.9516644723969280.09667105520614470.0483355276030724
240.9254566514552650.1490866970894710.0745433485447353
250.9214597844320.1570804311360010.0785402155680003
260.8878143360286260.2243713279427490.112185663971374
270.8503320797720580.2993358404558830.149667920227942
280.8104000702184520.3791998595630970.189599929781548
290.87343557694240.2531288461151990.126564423057600
300.8462936636552630.3074126726894740.153706336344737
310.8112607795123720.3774784409752570.188739220487628
320.8100604281258110.3798791437483780.189939571874189
330.8420560067670260.3158879864659470.157943993232974
340.844371163859410.3112576722811790.155628836140590
350.857678853444530.2846422931109390.142321146555470
360.871536269707340.2569274605853200.128463730292660
370.86008083152830.2798383369434000.139919168471700
380.8407112510867180.3185774978265640.159288748913282
390.7728858397121180.4542283205757630.227114160287882
400.7142826353517950.5714347292964090.285717364648205
410.6229679649718350.754064070056330.377032035028165
420.923313699263650.1533726014727010.0766863007363505
430.9525422433089120.09491551338217530.0474577566910876
440.9209894166185480.1580211667629050.0790105833814523
450.981856862443060.03628627511388050.0181431375569403
460.9510898796902660.0978202406194670.0489101203097335
470.9503152518035160.09936949639296780.0496847481964839

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
9 & 0.76738155768784 & 0.465236884624321 & 0.232618442312160 \tabularnewline
10 & 0.696936115787152 & 0.606127768425696 & 0.303063884212848 \tabularnewline
11 & 0.638546962504322 & 0.722906074991356 & 0.361453037495678 \tabularnewline
12 & 0.695322696738217 & 0.609354606523567 & 0.304677303261783 \tabularnewline
13 & 0.783469350351724 & 0.433061299296552 & 0.216530649648276 \tabularnewline
14 & 0.705402836065687 & 0.589194327868625 & 0.294597163934313 \tabularnewline
15 & 0.713470133485839 & 0.573059733028322 & 0.286529866514161 \tabularnewline
16 & 0.63855456307156 & 0.72289087385688 & 0.36144543692844 \tabularnewline
17 & 0.694279979315768 & 0.611440041368464 & 0.305720020684232 \tabularnewline
18 & 0.71100425218626 & 0.57799149562748 & 0.28899574781374 \tabularnewline
19 & 0.720693813896626 & 0.558612372206747 & 0.279306186103374 \tabularnewline
20 & 0.663372516173082 & 0.673254967653836 & 0.336627483826918 \tabularnewline
21 & 0.95771327270705 & 0.0845734545858993 & 0.0422867272929496 \tabularnewline
22 & 0.943847760634557 & 0.112304478730885 & 0.0561522393654427 \tabularnewline
23 & 0.951664472396928 & 0.0966710552061447 & 0.0483355276030724 \tabularnewline
24 & 0.925456651455265 & 0.149086697089471 & 0.0745433485447353 \tabularnewline
25 & 0.921459784432 & 0.157080431136001 & 0.0785402155680003 \tabularnewline
26 & 0.887814336028626 & 0.224371327942749 & 0.112185663971374 \tabularnewline
27 & 0.850332079772058 & 0.299335840455883 & 0.149667920227942 \tabularnewline
28 & 0.810400070218452 & 0.379199859563097 & 0.189599929781548 \tabularnewline
29 & 0.8734355769424 & 0.253128846115199 & 0.126564423057600 \tabularnewline
30 & 0.846293663655263 & 0.307412672689474 & 0.153706336344737 \tabularnewline
31 & 0.811260779512372 & 0.377478440975257 & 0.188739220487628 \tabularnewline
32 & 0.810060428125811 & 0.379879143748378 & 0.189939571874189 \tabularnewline
33 & 0.842056006767026 & 0.315887986465947 & 0.157943993232974 \tabularnewline
34 & 0.84437116385941 & 0.311257672281179 & 0.155628836140590 \tabularnewline
35 & 0.85767885344453 & 0.284642293110939 & 0.142321146555470 \tabularnewline
36 & 0.87153626970734 & 0.256927460585320 & 0.128463730292660 \tabularnewline
37 & 0.8600808315283 & 0.279838336943400 & 0.139919168471700 \tabularnewline
38 & 0.840711251086718 & 0.318577497826564 & 0.159288748913282 \tabularnewline
39 & 0.772885839712118 & 0.454228320575763 & 0.227114160287882 \tabularnewline
40 & 0.714282635351795 & 0.571434729296409 & 0.285717364648205 \tabularnewline
41 & 0.622967964971835 & 0.75406407005633 & 0.377032035028165 \tabularnewline
42 & 0.92331369926365 & 0.153372601472701 & 0.0766863007363505 \tabularnewline
43 & 0.952542243308912 & 0.0949155133821753 & 0.0474577566910876 \tabularnewline
44 & 0.920989416618548 & 0.158021166762905 & 0.0790105833814523 \tabularnewline
45 & 0.98185686244306 & 0.0362862751138805 & 0.0181431375569403 \tabularnewline
46 & 0.951089879690266 & 0.097820240619467 & 0.0489101203097335 \tabularnewline
47 & 0.950315251803516 & 0.0993694963929678 & 0.0496847481964839 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=116473&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]9[/C][C]0.76738155768784[/C][C]0.465236884624321[/C][C]0.232618442312160[/C][/ROW]
[ROW][C]10[/C][C]0.696936115787152[/C][C]0.606127768425696[/C][C]0.303063884212848[/C][/ROW]
[ROW][C]11[/C][C]0.638546962504322[/C][C]0.722906074991356[/C][C]0.361453037495678[/C][/ROW]
[ROW][C]12[/C][C]0.695322696738217[/C][C]0.609354606523567[/C][C]0.304677303261783[/C][/ROW]
[ROW][C]13[/C][C]0.783469350351724[/C][C]0.433061299296552[/C][C]0.216530649648276[/C][/ROW]
[ROW][C]14[/C][C]0.705402836065687[/C][C]0.589194327868625[/C][C]0.294597163934313[/C][/ROW]
[ROW][C]15[/C][C]0.713470133485839[/C][C]0.573059733028322[/C][C]0.286529866514161[/C][/ROW]
[ROW][C]16[/C][C]0.63855456307156[/C][C]0.72289087385688[/C][C]0.36144543692844[/C][/ROW]
[ROW][C]17[/C][C]0.694279979315768[/C][C]0.611440041368464[/C][C]0.305720020684232[/C][/ROW]
[ROW][C]18[/C][C]0.71100425218626[/C][C]0.57799149562748[/C][C]0.28899574781374[/C][/ROW]
[ROW][C]19[/C][C]0.720693813896626[/C][C]0.558612372206747[/C][C]0.279306186103374[/C][/ROW]
[ROW][C]20[/C][C]0.663372516173082[/C][C]0.673254967653836[/C][C]0.336627483826918[/C][/ROW]
[ROW][C]21[/C][C]0.95771327270705[/C][C]0.0845734545858993[/C][C]0.0422867272929496[/C][/ROW]
[ROW][C]22[/C][C]0.943847760634557[/C][C]0.112304478730885[/C][C]0.0561522393654427[/C][/ROW]
[ROW][C]23[/C][C]0.951664472396928[/C][C]0.0966710552061447[/C][C]0.0483355276030724[/C][/ROW]
[ROW][C]24[/C][C]0.925456651455265[/C][C]0.149086697089471[/C][C]0.0745433485447353[/C][/ROW]
[ROW][C]25[/C][C]0.921459784432[/C][C]0.157080431136001[/C][C]0.0785402155680003[/C][/ROW]
[ROW][C]26[/C][C]0.887814336028626[/C][C]0.224371327942749[/C][C]0.112185663971374[/C][/ROW]
[ROW][C]27[/C][C]0.850332079772058[/C][C]0.299335840455883[/C][C]0.149667920227942[/C][/ROW]
[ROW][C]28[/C][C]0.810400070218452[/C][C]0.379199859563097[/C][C]0.189599929781548[/C][/ROW]
[ROW][C]29[/C][C]0.8734355769424[/C][C]0.253128846115199[/C][C]0.126564423057600[/C][/ROW]
[ROW][C]30[/C][C]0.846293663655263[/C][C]0.307412672689474[/C][C]0.153706336344737[/C][/ROW]
[ROW][C]31[/C][C]0.811260779512372[/C][C]0.377478440975257[/C][C]0.188739220487628[/C][/ROW]
[ROW][C]32[/C][C]0.810060428125811[/C][C]0.379879143748378[/C][C]0.189939571874189[/C][/ROW]
[ROW][C]33[/C][C]0.842056006767026[/C][C]0.315887986465947[/C][C]0.157943993232974[/C][/ROW]
[ROW][C]34[/C][C]0.84437116385941[/C][C]0.311257672281179[/C][C]0.155628836140590[/C][/ROW]
[ROW][C]35[/C][C]0.85767885344453[/C][C]0.284642293110939[/C][C]0.142321146555470[/C][/ROW]
[ROW][C]36[/C][C]0.87153626970734[/C][C]0.256927460585320[/C][C]0.128463730292660[/C][/ROW]
[ROW][C]37[/C][C]0.8600808315283[/C][C]0.279838336943400[/C][C]0.139919168471700[/C][/ROW]
[ROW][C]38[/C][C]0.840711251086718[/C][C]0.318577497826564[/C][C]0.159288748913282[/C][/ROW]
[ROW][C]39[/C][C]0.772885839712118[/C][C]0.454228320575763[/C][C]0.227114160287882[/C][/ROW]
[ROW][C]40[/C][C]0.714282635351795[/C][C]0.571434729296409[/C][C]0.285717364648205[/C][/ROW]
[ROW][C]41[/C][C]0.622967964971835[/C][C]0.75406407005633[/C][C]0.377032035028165[/C][/ROW]
[ROW][C]42[/C][C]0.92331369926365[/C][C]0.153372601472701[/C][C]0.0766863007363505[/C][/ROW]
[ROW][C]43[/C][C]0.952542243308912[/C][C]0.0949155133821753[/C][C]0.0474577566910876[/C][/ROW]
[ROW][C]44[/C][C]0.920989416618548[/C][C]0.158021166762905[/C][C]0.0790105833814523[/C][/ROW]
[ROW][C]45[/C][C]0.98185686244306[/C][C]0.0362862751138805[/C][C]0.0181431375569403[/C][/ROW]
[ROW][C]46[/C][C]0.951089879690266[/C][C]0.097820240619467[/C][C]0.0489101203097335[/C][/ROW]
[ROW][C]47[/C][C]0.950315251803516[/C][C]0.0993694963929678[/C][C]0.0496847481964839[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=116473&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=116473&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
90.767381557687840.4652368846243210.232618442312160
100.6969361157871520.6061277684256960.303063884212848
110.6385469625043220.7229060749913560.361453037495678
120.6953226967382170.6093546065235670.304677303261783
130.7834693503517240.4330612992965520.216530649648276
140.7054028360656870.5891943278686250.294597163934313
150.7134701334858390.5730597330283220.286529866514161
160.638554563071560.722890873856880.36144543692844
170.6942799793157680.6114400413684640.305720020684232
180.711004252186260.577991495627480.28899574781374
190.7206938138966260.5586123722067470.279306186103374
200.6633725161730820.6732549676538360.336627483826918
210.957713272707050.08457345458589930.0422867272929496
220.9438477606345570.1123044787308850.0561522393654427
230.9516644723969280.09667105520614470.0483355276030724
240.9254566514552650.1490866970894710.0745433485447353
250.9214597844320.1570804311360010.0785402155680003
260.8878143360286260.2243713279427490.112185663971374
270.8503320797720580.2993358404558830.149667920227942
280.8104000702184520.3791998595630970.189599929781548
290.87343557694240.2531288461151990.126564423057600
300.8462936636552630.3074126726894740.153706336344737
310.8112607795123720.3774784409752570.188739220487628
320.8100604281258110.3798791437483780.189939571874189
330.8420560067670260.3158879864659470.157943993232974
340.844371163859410.3112576722811790.155628836140590
350.857678853444530.2846422931109390.142321146555470
360.871536269707340.2569274605853200.128463730292660
370.86008083152830.2798383369434000.139919168471700
380.8407112510867180.3185774978265640.159288748913282
390.7728858397121180.4542283205757630.227114160287882
400.7142826353517950.5714347292964090.285717364648205
410.6229679649718350.754064070056330.377032035028165
420.923313699263650.1533726014727010.0766863007363505
430.9525422433089120.09491551338217530.0474577566910876
440.9209894166185480.1580211667629050.0790105833814523
450.981856862443060.03628627511388050.0181431375569403
460.9510898796902660.0978202406194670.0489101203097335
470.9503152518035160.09936949639296780.0496847481964839







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level10.0256410256410256OK
10% type I error level60.153846153846154NOK

\begin{tabular}{lllllllll}
\hline
Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
Description & # significant tests & % significant tests & OK/NOK \tabularnewline
1% type I error level & 0 & 0 & OK \tabularnewline
5% type I error level & 1 & 0.0256410256410256 & OK \tabularnewline
10% type I error level & 6 & 0.153846153846154 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=116473&T=6

[TABLE]
[ROW][C]Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]Description[/C][C]# significant tests[/C][C]% significant tests[/C][C]OK/NOK[/C][/ROW]
[ROW][C]1% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]1[/C][C]0.0256410256410256[/C][C]OK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]6[/C][C]0.153846153846154[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=116473&T=6

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

As an alternative you can also use a QR Code:  

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

Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level10.0256410256410256OK
10% type I error level60.153846153846154NOK



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