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 computationMon, 20 Dec 2010 13:23:58 +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/20/t12928528127994fu5wtdfhhf3.htm/, Retrieved Sat, 04 May 2024 04:09:00 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=112944, Retrieved Sat, 04 May 2024 04:09:00 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact122
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Paper (1)] [2010-12-20 13:23:58] [f420459ea4e1f042529d081e77704a0f] [Current]
-    D    [Multiple Regression] [Probleem Paper (1)] [2010-12-21 21:27:30] [34b8ec63a78ce61b49b6bd4fc5a61e1c]
-    D    [Multiple Regression] [paper (2)] [2010-12-24 12:57:27] [34b8ec63a78ce61b49b6bd4fc5a61e1c]
-    D      [Multiple Regression] [Paper - Multiple ...] [2010-12-28 17:03:07] [8677c3f87cec9201607d40be65aa9670]
-    D      [Multiple Regression] [Paper 'Actuals an...] [2010-12-28 18:39:43] [40c8b935cbad1b0be3c22a481f9723f7]
-    D    [Multiple Regression] [Paper - Multiple ...] [2010-12-28 17:01:21] [8677c3f87cec9201607d40be65aa9670]
-    D    [Multiple Regression] [Paper 'multiple r...] [2010-12-28 18:36:45] [40c8b935cbad1b0be3c22a481f9723f7]
Feedback Forum

Post a new message
Dataseries X:
141	9,3	16	6	7
136	14,2	20	20	0
246	17,3	7	12	0
309	23	8	15	0
95	16,3	21	25	0
161	18,4	7	4	0
108	14,2	17	6	0
79	9,1	20	2	0
40	5,9	18	1	1
35	7,2	26	4	2
49	6,8	18	4	2
145	8	20	8	2
284	14,3	0	3	0
164	14,6	22	14	0
130	17,5	19	17	0
178	17,2	18	14	0
150	17,2	13	10	0
104	14,1	16	7	0
111	10,4	11	4	0
51	6,8	22	1	1
70	4,1	19	6	0
42	6,5	23	2	1
126	6,1	11	2	0
68	6,3	24	8	7
135	9,3	14	10	0
231	16,4	11	13	0
185	16,1	17	10	0
181	18	20	14	0
138	17,6	19	13	0
158	14	12	6	0
122	10,5	19	6	2
40	6,9	26	9	3
62	2,8	13	2	5
89	0,7	12	4	5
33	3,6	20	3	7
150	6,7	15	4	2
196	12,5	15	10	0
196	14,4	17	15	0
225	16,5	11	14	0
213	18,7	20	18	0
258	19,4	9	10	0
156	15,8	10	5	0
90	11,3	17	5	0
48	9,7	25	7	0
46	2,9	19	2	7
49	0,1	18	0	14
29	2,5	24	4	10
118	6,7	13	7	2
223	10,3	6	8	0
172	11,2	14	6	0
259	17,4	9	3	0
252	20,5	13	12	0
136	17	23	15	0
143	14,2	18	8	0
119	10,6	16	6	0
24	6,1	21	1	6




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 5 seconds \tabularnewline
R Server & 'RServer@AstonUniversity' @ vre.aston.ac.uk \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112944&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'RServer@AstonUniversity' @ vre.aston.ac.uk[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112944&T=0

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

As an alternative you can also use a QR Code:  

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

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk







Multiple Linear Regression - Estimated Regression Equation
GemiddeldeTemperatuur[t] = + 1.89334475185611 + 0.0456508505260396UrenZonneschijn[t] + 0.13932506715621Neerslagdagen[t] + 0.26861894142388Onweersdagen[t] -0.578107831724152Sneeuwdagen[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
GemiddeldeTemperatuur[t] =  +  1.89334475185611 +  0.0456508505260396UrenZonneschijn[t] +  0.13932506715621Neerslagdagen[t] +  0.26861894142388Onweersdagen[t] -0.578107831724152Sneeuwdagen[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112944&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]GemiddeldeTemperatuur[t] =  +  1.89334475185611 +  0.0456508505260396UrenZonneschijn[t] +  0.13932506715621Neerslagdagen[t] +  0.26861894142388Onweersdagen[t] -0.578107831724152Sneeuwdagen[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112944&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112944&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.89334475185611 + 0.0456508505260396UrenZonneschijn[t] + 0.13932506715621Neerslagdagen[t] + 0.26861894142388Onweersdagen[t] -0.578107831724152Sneeuwdagen[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)1.893344751856112.66990.70910.4814640.240732
UrenZonneschijn0.04565085052603960.0100174.55733.3e-051.6e-05
Neerslagdagen0.139325067156210.1150081.21140.2313130.115656
Onweersdagen0.268618941423880.0964562.78490.0074960.003748
Sneeuwdagen-0.5781078317241520.143342-4.03310.0001849.2e-05

\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.89334475185611 & 2.6699 & 0.7091 & 0.481464 & 0.240732 \tabularnewline
UrenZonneschijn & 0.0456508505260396 & 0.010017 & 4.5573 & 3.3e-05 & 1.6e-05 \tabularnewline
Neerslagdagen & 0.13932506715621 & 0.115008 & 1.2114 & 0.231313 & 0.115656 \tabularnewline
Onweersdagen & 0.26861894142388 & 0.096456 & 2.7849 & 0.007496 & 0.003748 \tabularnewline
Sneeuwdagen & -0.578107831724152 & 0.143342 & -4.0331 & 0.000184 & 9.2e-05 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112944&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.89334475185611[/C][C]2.6699[/C][C]0.7091[/C][C]0.481464[/C][C]0.240732[/C][/ROW]
[ROW][C]UrenZonneschijn[/C][C]0.0456508505260396[/C][C]0.010017[/C][C]4.5573[/C][C]3.3e-05[/C][C]1.6e-05[/C][/ROW]
[ROW][C]Neerslagdagen[/C][C]0.13932506715621[/C][C]0.115008[/C][C]1.2114[/C][C]0.231313[/C][C]0.115656[/C][/ROW]
[ROW][C]Onweersdagen[/C][C]0.26861894142388[/C][C]0.096456[/C][C]2.7849[/C][C]0.007496[/C][C]0.003748[/C][/ROW]
[ROW][C]Sneeuwdagen[/C][C]-0.578107831724152[/C][C]0.143342[/C][C]-4.0331[/C][C]0.000184[/C][C]9.2e-05[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112944&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112944&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.893344751856112.66990.70910.4814640.240732
UrenZonneschijn0.04565085052603960.0100174.55733.3e-051.6e-05
Neerslagdagen0.139325067156210.1150081.21140.2313130.115656
Onweersdagen0.268618941423880.0964562.78490.0074960.003748
Sneeuwdagen-0.5781078317241520.143342-4.03310.0001849.2e-05







Multiple Linear Regression - Regression Statistics
Multiple R0.893898479690697
R-squared0.79905449199334
Adjusted R-squared0.783294059992818
F-TEST (value)50.7000374080391
F-TEST (DF numerator)4
F-TEST (DF denominator)51
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation2.61024325365338
Sum Squared Residuals347.481862005391

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.893898479690697 \tabularnewline
R-squared & 0.79905449199334 \tabularnewline
Adjusted R-squared & 0.783294059992818 \tabularnewline
F-TEST (value) & 50.7000374080391 \tabularnewline
F-TEST (DF numerator) & 4 \tabularnewline
F-TEST (DF denominator) & 51 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 2.61024325365338 \tabularnewline
Sum Squared Residuals & 347.481862005391 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112944&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.893898479690697[/C][/ROW]
[ROW][C]R-squared[/C][C]0.79905449199334[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.783294059992818[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]50.7000374080391[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]4[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]51[/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.61024325365338[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]347.481862005391[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112944&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112944&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.893898479690697
R-squared0.79905449199334
Adjusted R-squared0.783294059992818
F-TEST (value)50.7000374080391
F-TEST (DF numerator)4
F-TEST (DF denominator)51
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation2.61024325365338
Sum Squared Residuals347.481862005391







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
19.38.124274577001251.17572542299875
214.216.2607405949993-2.0607405949993
317.317.3221567484419-0.0221567484418873
42321.14334222301021.85665777698977
516.315.87147549770730.428524502292716
618.411.29288292233757.10711707766252
714.210.80387639886723.39612360113277
89.18.82350116938520.276498830614809
95.95.9177410914092-0.0177410914091945
107.27.031836368576160.168163631423839
116.86.556347738691040.243652261308959
12812.2919552891988-4.29195528919878
1314.315.664043125523-1.364043125523
1414.616.2059008954975-1.60590089549754
1517.515.04165360041522.45834639958479
1617.216.28771253423730.91228746576274
1717.213.23838761803163.96161238196842
1814.110.75056687103073.34943312896925
1910.49.567640664660330.832359335339666
206.86.97720071582047-0.177200715820468
214.19.34779421319015-5.24779421319015
226.56.9742870696662-0.474287069666202
236.19.71516553970317-3.61516553970317
246.36.44360090869781-0.14360090869781
259.312.6929499272972-3.3929499272972
2616.417.4633132006-1.06331320060001
2716.115.39346765506780.706532344932196
281816.70331522012781.2966847798722
2917.614.3323846389283.267615361072
301412.38979358938821.61020641061183
3110.510.5654227770959-0.065422777095902
326.98.02507749660161-1.12507749660161
332.84.18162208172829-1.38162208172829
340.75.81210786162291-5.11210786162291
353.62.945426164542180.654573835457818
366.710.7491084403524-4.04910844035241
3712.515.6169768765418-3.11697687654182
3814.417.2387217179736-2.83872171797364
3916.517.4580270388677-0.958027038867656
4018.719.2386182026566-0.538618202656589
4119.417.6113792062191.78862079378098
4215.811.75122281259984.04877718740021
4311.39.713542147974641.58645785202536
449.79.448044845978410.251955154021586
452.93.13094321280061-0.230943212800607
460.1-1.455422007694311.55542200769431
472.51.854418477314280.645581522685715
486.79.81548791347837-3.11548791347837
4910.315.0583863534912-4.75838635349124
5011.213.3075556310651-2.10755563106514
5117.415.77669746677791.6233025332221
5220.518.43201225453542.06798774546462
531715.33562108934851.66437891065148
5414.213.07821911728261.12178088271741
5510.611.1667106874975-0.56671068749746
566.12.714763525840433.38523647415957

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 9.3 & 8.12427457700125 & 1.17572542299875 \tabularnewline
2 & 14.2 & 16.2607405949993 & -2.0607405949993 \tabularnewline
3 & 17.3 & 17.3221567484419 & -0.0221567484418873 \tabularnewline
4 & 23 & 21.1433422230102 & 1.85665777698977 \tabularnewline
5 & 16.3 & 15.8714754977073 & 0.428524502292716 \tabularnewline
6 & 18.4 & 11.2928829223375 & 7.10711707766252 \tabularnewline
7 & 14.2 & 10.8038763988672 & 3.39612360113277 \tabularnewline
8 & 9.1 & 8.8235011693852 & 0.276498830614809 \tabularnewline
9 & 5.9 & 5.9177410914092 & -0.0177410914091945 \tabularnewline
10 & 7.2 & 7.03183636857616 & 0.168163631423839 \tabularnewline
11 & 6.8 & 6.55634773869104 & 0.243652261308959 \tabularnewline
12 & 8 & 12.2919552891988 & -4.29195528919878 \tabularnewline
13 & 14.3 & 15.664043125523 & -1.364043125523 \tabularnewline
14 & 14.6 & 16.2059008954975 & -1.60590089549754 \tabularnewline
15 & 17.5 & 15.0416536004152 & 2.45834639958479 \tabularnewline
16 & 17.2 & 16.2877125342373 & 0.91228746576274 \tabularnewline
17 & 17.2 & 13.2383876180316 & 3.96161238196842 \tabularnewline
18 & 14.1 & 10.7505668710307 & 3.34943312896925 \tabularnewline
19 & 10.4 & 9.56764066466033 & 0.832359335339666 \tabularnewline
20 & 6.8 & 6.97720071582047 & -0.177200715820468 \tabularnewline
21 & 4.1 & 9.34779421319015 & -5.24779421319015 \tabularnewline
22 & 6.5 & 6.9742870696662 & -0.474287069666202 \tabularnewline
23 & 6.1 & 9.71516553970317 & -3.61516553970317 \tabularnewline
24 & 6.3 & 6.44360090869781 & -0.14360090869781 \tabularnewline
25 & 9.3 & 12.6929499272972 & -3.3929499272972 \tabularnewline
26 & 16.4 & 17.4633132006 & -1.06331320060001 \tabularnewline
27 & 16.1 & 15.3934676550678 & 0.706532344932196 \tabularnewline
28 & 18 & 16.7033152201278 & 1.2966847798722 \tabularnewline
29 & 17.6 & 14.332384638928 & 3.267615361072 \tabularnewline
30 & 14 & 12.3897935893882 & 1.61020641061183 \tabularnewline
31 & 10.5 & 10.5654227770959 & -0.065422777095902 \tabularnewline
32 & 6.9 & 8.02507749660161 & -1.12507749660161 \tabularnewline
33 & 2.8 & 4.18162208172829 & -1.38162208172829 \tabularnewline
34 & 0.7 & 5.81210786162291 & -5.11210786162291 \tabularnewline
35 & 3.6 & 2.94542616454218 & 0.654573835457818 \tabularnewline
36 & 6.7 & 10.7491084403524 & -4.04910844035241 \tabularnewline
37 & 12.5 & 15.6169768765418 & -3.11697687654182 \tabularnewline
38 & 14.4 & 17.2387217179736 & -2.83872171797364 \tabularnewline
39 & 16.5 & 17.4580270388677 & -0.958027038867656 \tabularnewline
40 & 18.7 & 19.2386182026566 & -0.538618202656589 \tabularnewline
41 & 19.4 & 17.611379206219 & 1.78862079378098 \tabularnewline
42 & 15.8 & 11.7512228125998 & 4.04877718740021 \tabularnewline
43 & 11.3 & 9.71354214797464 & 1.58645785202536 \tabularnewline
44 & 9.7 & 9.44804484597841 & 0.251955154021586 \tabularnewline
45 & 2.9 & 3.13094321280061 & -0.230943212800607 \tabularnewline
46 & 0.1 & -1.45542200769431 & 1.55542200769431 \tabularnewline
47 & 2.5 & 1.85441847731428 & 0.645581522685715 \tabularnewline
48 & 6.7 & 9.81548791347837 & -3.11548791347837 \tabularnewline
49 & 10.3 & 15.0583863534912 & -4.75838635349124 \tabularnewline
50 & 11.2 & 13.3075556310651 & -2.10755563106514 \tabularnewline
51 & 17.4 & 15.7766974667779 & 1.6233025332221 \tabularnewline
52 & 20.5 & 18.4320122545354 & 2.06798774546462 \tabularnewline
53 & 17 & 15.3356210893485 & 1.66437891065148 \tabularnewline
54 & 14.2 & 13.0782191172826 & 1.12178088271741 \tabularnewline
55 & 10.6 & 11.1667106874975 & -0.56671068749746 \tabularnewline
56 & 6.1 & 2.71476352584043 & 3.38523647415957 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112944&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.12427457700125[/C][C]1.17572542299875[/C][/ROW]
[ROW][C]2[/C][C]14.2[/C][C]16.2607405949993[/C][C]-2.0607405949993[/C][/ROW]
[ROW][C]3[/C][C]17.3[/C][C]17.3221567484419[/C][C]-0.0221567484418873[/C][/ROW]
[ROW][C]4[/C][C]23[/C][C]21.1433422230102[/C][C]1.85665777698977[/C][/ROW]
[ROW][C]5[/C][C]16.3[/C][C]15.8714754977073[/C][C]0.428524502292716[/C][/ROW]
[ROW][C]6[/C][C]18.4[/C][C]11.2928829223375[/C][C]7.10711707766252[/C][/ROW]
[ROW][C]7[/C][C]14.2[/C][C]10.8038763988672[/C][C]3.39612360113277[/C][/ROW]
[ROW][C]8[/C][C]9.1[/C][C]8.8235011693852[/C][C]0.276498830614809[/C][/ROW]
[ROW][C]9[/C][C]5.9[/C][C]5.9177410914092[/C][C]-0.0177410914091945[/C][/ROW]
[ROW][C]10[/C][C]7.2[/C][C]7.03183636857616[/C][C]0.168163631423839[/C][/ROW]
[ROW][C]11[/C][C]6.8[/C][C]6.55634773869104[/C][C]0.243652261308959[/C][/ROW]
[ROW][C]12[/C][C]8[/C][C]12.2919552891988[/C][C]-4.29195528919878[/C][/ROW]
[ROW][C]13[/C][C]14.3[/C][C]15.664043125523[/C][C]-1.364043125523[/C][/ROW]
[ROW][C]14[/C][C]14.6[/C][C]16.2059008954975[/C][C]-1.60590089549754[/C][/ROW]
[ROW][C]15[/C][C]17.5[/C][C]15.0416536004152[/C][C]2.45834639958479[/C][/ROW]
[ROW][C]16[/C][C]17.2[/C][C]16.2877125342373[/C][C]0.91228746576274[/C][/ROW]
[ROW][C]17[/C][C]17.2[/C][C]13.2383876180316[/C][C]3.96161238196842[/C][/ROW]
[ROW][C]18[/C][C]14.1[/C][C]10.7505668710307[/C][C]3.34943312896925[/C][/ROW]
[ROW][C]19[/C][C]10.4[/C][C]9.56764066466033[/C][C]0.832359335339666[/C][/ROW]
[ROW][C]20[/C][C]6.8[/C][C]6.97720071582047[/C][C]-0.177200715820468[/C][/ROW]
[ROW][C]21[/C][C]4.1[/C][C]9.34779421319015[/C][C]-5.24779421319015[/C][/ROW]
[ROW][C]22[/C][C]6.5[/C][C]6.9742870696662[/C][C]-0.474287069666202[/C][/ROW]
[ROW][C]23[/C][C]6.1[/C][C]9.71516553970317[/C][C]-3.61516553970317[/C][/ROW]
[ROW][C]24[/C][C]6.3[/C][C]6.44360090869781[/C][C]-0.14360090869781[/C][/ROW]
[ROW][C]25[/C][C]9.3[/C][C]12.6929499272972[/C][C]-3.3929499272972[/C][/ROW]
[ROW][C]26[/C][C]16.4[/C][C]17.4633132006[/C][C]-1.06331320060001[/C][/ROW]
[ROW][C]27[/C][C]16.1[/C][C]15.3934676550678[/C][C]0.706532344932196[/C][/ROW]
[ROW][C]28[/C][C]18[/C][C]16.7033152201278[/C][C]1.2966847798722[/C][/ROW]
[ROW][C]29[/C][C]17.6[/C][C]14.332384638928[/C][C]3.267615361072[/C][/ROW]
[ROW][C]30[/C][C]14[/C][C]12.3897935893882[/C][C]1.61020641061183[/C][/ROW]
[ROW][C]31[/C][C]10.5[/C][C]10.5654227770959[/C][C]-0.065422777095902[/C][/ROW]
[ROW][C]32[/C][C]6.9[/C][C]8.02507749660161[/C][C]-1.12507749660161[/C][/ROW]
[ROW][C]33[/C][C]2.8[/C][C]4.18162208172829[/C][C]-1.38162208172829[/C][/ROW]
[ROW][C]34[/C][C]0.7[/C][C]5.81210786162291[/C][C]-5.11210786162291[/C][/ROW]
[ROW][C]35[/C][C]3.6[/C][C]2.94542616454218[/C][C]0.654573835457818[/C][/ROW]
[ROW][C]36[/C][C]6.7[/C][C]10.7491084403524[/C][C]-4.04910844035241[/C][/ROW]
[ROW][C]37[/C][C]12.5[/C][C]15.6169768765418[/C][C]-3.11697687654182[/C][/ROW]
[ROW][C]38[/C][C]14.4[/C][C]17.2387217179736[/C][C]-2.83872171797364[/C][/ROW]
[ROW][C]39[/C][C]16.5[/C][C]17.4580270388677[/C][C]-0.958027038867656[/C][/ROW]
[ROW][C]40[/C][C]18.7[/C][C]19.2386182026566[/C][C]-0.538618202656589[/C][/ROW]
[ROW][C]41[/C][C]19.4[/C][C]17.611379206219[/C][C]1.78862079378098[/C][/ROW]
[ROW][C]42[/C][C]15.8[/C][C]11.7512228125998[/C][C]4.04877718740021[/C][/ROW]
[ROW][C]43[/C][C]11.3[/C][C]9.71354214797464[/C][C]1.58645785202536[/C][/ROW]
[ROW][C]44[/C][C]9.7[/C][C]9.44804484597841[/C][C]0.251955154021586[/C][/ROW]
[ROW][C]45[/C][C]2.9[/C][C]3.13094321280061[/C][C]-0.230943212800607[/C][/ROW]
[ROW][C]46[/C][C]0.1[/C][C]-1.45542200769431[/C][C]1.55542200769431[/C][/ROW]
[ROW][C]47[/C][C]2.5[/C][C]1.85441847731428[/C][C]0.645581522685715[/C][/ROW]
[ROW][C]48[/C][C]6.7[/C][C]9.81548791347837[/C][C]-3.11548791347837[/C][/ROW]
[ROW][C]49[/C][C]10.3[/C][C]15.0583863534912[/C][C]-4.75838635349124[/C][/ROW]
[ROW][C]50[/C][C]11.2[/C][C]13.3075556310651[/C][C]-2.10755563106514[/C][/ROW]
[ROW][C]51[/C][C]17.4[/C][C]15.7766974667779[/C][C]1.6233025332221[/C][/ROW]
[ROW][C]52[/C][C]20.5[/C][C]18.4320122545354[/C][C]2.06798774546462[/C][/ROW]
[ROW][C]53[/C][C]17[/C][C]15.3356210893485[/C][C]1.66437891065148[/C][/ROW]
[ROW][C]54[/C][C]14.2[/C][C]13.0782191172826[/C][C]1.12178088271741[/C][/ROW]
[ROW][C]55[/C][C]10.6[/C][C]11.1667106874975[/C][C]-0.56671068749746[/C][/ROW]
[ROW][C]56[/C][C]6.1[/C][C]2.71476352584043[/C][C]3.38523647415957[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112944&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112944&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.124274577001251.17572542299875
214.216.2607405949993-2.0607405949993
317.317.3221567484419-0.0221567484418873
42321.14334222301021.85665777698977
516.315.87147549770730.428524502292716
618.411.29288292233757.10711707766252
714.210.80387639886723.39612360113277
89.18.82350116938520.276498830614809
95.95.9177410914092-0.0177410914091945
107.27.031836368576160.168163631423839
116.86.556347738691040.243652261308959
12812.2919552891988-4.29195528919878
1314.315.664043125523-1.364043125523
1414.616.2059008954975-1.60590089549754
1517.515.04165360041522.45834639958479
1617.216.28771253423730.91228746576274
1717.213.23838761803163.96161238196842
1814.110.75056687103073.34943312896925
1910.49.567640664660330.832359335339666
206.86.97720071582047-0.177200715820468
214.19.34779421319015-5.24779421319015
226.56.9742870696662-0.474287069666202
236.19.71516553970317-3.61516553970317
246.36.44360090869781-0.14360090869781
259.312.6929499272972-3.3929499272972
2616.417.4633132006-1.06331320060001
2716.115.39346765506780.706532344932196
281816.70331522012781.2966847798722
2917.614.3323846389283.267615361072
301412.38979358938821.61020641061183
3110.510.5654227770959-0.065422777095902
326.98.02507749660161-1.12507749660161
332.84.18162208172829-1.38162208172829
340.75.81210786162291-5.11210786162291
353.62.945426164542180.654573835457818
366.710.7491084403524-4.04910844035241
3712.515.6169768765418-3.11697687654182
3814.417.2387217179736-2.83872171797364
3916.517.4580270388677-0.958027038867656
4018.719.2386182026566-0.538618202656589
4119.417.6113792062191.78862079378098
4215.811.75122281259984.04877718740021
4311.39.713542147974641.58645785202536
449.79.448044845978410.251955154021586
452.93.13094321280061-0.230943212800607
460.1-1.455422007694311.55542200769431
472.51.854418477314280.645581522685715
486.79.81548791347837-3.11548791347837
4910.315.0583863534912-4.75838635349124
5011.213.3075556310651-2.10755563106514
5117.415.77669746677791.6233025332221
5220.518.43201225453542.06798774546462
531715.33562108934851.66437891065148
5414.213.07821911728261.12178088271741
5510.611.1667106874975-0.56671068749746
566.12.714763525840433.38523647415957







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
80.5735154802974340.8529690394051330.426484519702566
90.6055665293406380.7888669413187240.394433470659362
100.4963956621618560.9927913243237120.503604337838144
110.4186710028916780.8373420057833560.581328997108322
120.5138497978754470.9723004042491070.486150202124553
130.7083112307147140.5833775385705720.291688769285286
140.63016479190960.73967041618080.3698352080904
150.6098262791636020.7803474416727960.390173720836398
160.5401212381175820.9197575237648350.459878761882418
170.5965552127630350.806889574473930.403444787236965
180.6169204278371610.7661591443256780.383079572162839
190.620655074989220.758689850021560.37934492501078
200.5342595577885960.9314808844228080.465740442211404
210.8245687914049640.3508624171900730.175431208595036
220.7724491262876020.4551017474247950.227550873712398
230.8568569105893650.2862861788212690.143143089410635
240.806180458356120.3876390832877580.193819541643879
250.8348265177842070.3303469644315870.165173482215793
260.7838173593298570.4323652813402870.216182640670144
270.726869549483810.546260901032380.27313045051619
280.6773854425341530.6452291149316950.322614557465847
290.748267815150280.5034643696994410.251732184849721
300.7201432289832610.5597135420334770.279856771016739
310.6480986046905180.7038027906189640.351901395309482
320.5879037773735830.8241924452528340.412096222626417
330.5222007035868180.9555985928263650.477799296413182
340.6377862731364920.7244274537270170.362213726863508
350.5692766109876640.8614467780246720.430723389012336
360.7405848039390370.5188303921219250.259415196060963
370.790774021828610.4184519563427810.20922597817139
380.7864647780249420.4270704439501170.213535221975058
390.7141419952991410.5717160094017180.285858004700859
400.6325789763627160.7348420472745680.367421023637284
410.592563983591460.814872032817080.40743601640854
420.9230673762649080.1538652474701840.076932623735092
430.9419804619752060.1160390760495880.058019538024794
440.9219015552231790.1561968895536420.078098444776821
450.863051192263970.273897615472060.13694880773603
460.7954799551246880.4090400897506230.204520044875312
470.9386223205491940.1227553589016120.061377679450806
480.8561328723310730.2877342553378530.143867127668927

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
8 & 0.573515480297434 & 0.852969039405133 & 0.426484519702566 \tabularnewline
9 & 0.605566529340638 & 0.788866941318724 & 0.394433470659362 \tabularnewline
10 & 0.496395662161856 & 0.992791324323712 & 0.503604337838144 \tabularnewline
11 & 0.418671002891678 & 0.837342005783356 & 0.581328997108322 \tabularnewline
12 & 0.513849797875447 & 0.972300404249107 & 0.486150202124553 \tabularnewline
13 & 0.708311230714714 & 0.583377538570572 & 0.291688769285286 \tabularnewline
14 & 0.6301647919096 & 0.7396704161808 & 0.3698352080904 \tabularnewline
15 & 0.609826279163602 & 0.780347441672796 & 0.390173720836398 \tabularnewline
16 & 0.540121238117582 & 0.919757523764835 & 0.459878761882418 \tabularnewline
17 & 0.596555212763035 & 0.80688957447393 & 0.403444787236965 \tabularnewline
18 & 0.616920427837161 & 0.766159144325678 & 0.383079572162839 \tabularnewline
19 & 0.62065507498922 & 0.75868985002156 & 0.37934492501078 \tabularnewline
20 & 0.534259557788596 & 0.931480884422808 & 0.465740442211404 \tabularnewline
21 & 0.824568791404964 & 0.350862417190073 & 0.175431208595036 \tabularnewline
22 & 0.772449126287602 & 0.455101747424795 & 0.227550873712398 \tabularnewline
23 & 0.856856910589365 & 0.286286178821269 & 0.143143089410635 \tabularnewline
24 & 0.80618045835612 & 0.387639083287758 & 0.193819541643879 \tabularnewline
25 & 0.834826517784207 & 0.330346964431587 & 0.165173482215793 \tabularnewline
26 & 0.783817359329857 & 0.432365281340287 & 0.216182640670144 \tabularnewline
27 & 0.72686954948381 & 0.54626090103238 & 0.27313045051619 \tabularnewline
28 & 0.677385442534153 & 0.645229114931695 & 0.322614557465847 \tabularnewline
29 & 0.74826781515028 & 0.503464369699441 & 0.251732184849721 \tabularnewline
30 & 0.720143228983261 & 0.559713542033477 & 0.279856771016739 \tabularnewline
31 & 0.648098604690518 & 0.703802790618964 & 0.351901395309482 \tabularnewline
32 & 0.587903777373583 & 0.824192445252834 & 0.412096222626417 \tabularnewline
33 & 0.522200703586818 & 0.955598592826365 & 0.477799296413182 \tabularnewline
34 & 0.637786273136492 & 0.724427453727017 & 0.362213726863508 \tabularnewline
35 & 0.569276610987664 & 0.861446778024672 & 0.430723389012336 \tabularnewline
36 & 0.740584803939037 & 0.518830392121925 & 0.259415196060963 \tabularnewline
37 & 0.79077402182861 & 0.418451956342781 & 0.20922597817139 \tabularnewline
38 & 0.786464778024942 & 0.427070443950117 & 0.213535221975058 \tabularnewline
39 & 0.714141995299141 & 0.571716009401718 & 0.285858004700859 \tabularnewline
40 & 0.632578976362716 & 0.734842047274568 & 0.367421023637284 \tabularnewline
41 & 0.59256398359146 & 0.81487203281708 & 0.40743601640854 \tabularnewline
42 & 0.923067376264908 & 0.153865247470184 & 0.076932623735092 \tabularnewline
43 & 0.941980461975206 & 0.116039076049588 & 0.058019538024794 \tabularnewline
44 & 0.921901555223179 & 0.156196889553642 & 0.078098444776821 \tabularnewline
45 & 0.86305119226397 & 0.27389761547206 & 0.13694880773603 \tabularnewline
46 & 0.795479955124688 & 0.409040089750623 & 0.204520044875312 \tabularnewline
47 & 0.938622320549194 & 0.122755358901612 & 0.061377679450806 \tabularnewline
48 & 0.856132872331073 & 0.287734255337853 & 0.143867127668927 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112944&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]8[/C][C]0.573515480297434[/C][C]0.852969039405133[/C][C]0.426484519702566[/C][/ROW]
[ROW][C]9[/C][C]0.605566529340638[/C][C]0.788866941318724[/C][C]0.394433470659362[/C][/ROW]
[ROW][C]10[/C][C]0.496395662161856[/C][C]0.992791324323712[/C][C]0.503604337838144[/C][/ROW]
[ROW][C]11[/C][C]0.418671002891678[/C][C]0.837342005783356[/C][C]0.581328997108322[/C][/ROW]
[ROW][C]12[/C][C]0.513849797875447[/C][C]0.972300404249107[/C][C]0.486150202124553[/C][/ROW]
[ROW][C]13[/C][C]0.708311230714714[/C][C]0.583377538570572[/C][C]0.291688769285286[/C][/ROW]
[ROW][C]14[/C][C]0.6301647919096[/C][C]0.7396704161808[/C][C]0.3698352080904[/C][/ROW]
[ROW][C]15[/C][C]0.609826279163602[/C][C]0.780347441672796[/C][C]0.390173720836398[/C][/ROW]
[ROW][C]16[/C][C]0.540121238117582[/C][C]0.919757523764835[/C][C]0.459878761882418[/C][/ROW]
[ROW][C]17[/C][C]0.596555212763035[/C][C]0.80688957447393[/C][C]0.403444787236965[/C][/ROW]
[ROW][C]18[/C][C]0.616920427837161[/C][C]0.766159144325678[/C][C]0.383079572162839[/C][/ROW]
[ROW][C]19[/C][C]0.62065507498922[/C][C]0.75868985002156[/C][C]0.37934492501078[/C][/ROW]
[ROW][C]20[/C][C]0.534259557788596[/C][C]0.931480884422808[/C][C]0.465740442211404[/C][/ROW]
[ROW][C]21[/C][C]0.824568791404964[/C][C]0.350862417190073[/C][C]0.175431208595036[/C][/ROW]
[ROW][C]22[/C][C]0.772449126287602[/C][C]0.455101747424795[/C][C]0.227550873712398[/C][/ROW]
[ROW][C]23[/C][C]0.856856910589365[/C][C]0.286286178821269[/C][C]0.143143089410635[/C][/ROW]
[ROW][C]24[/C][C]0.80618045835612[/C][C]0.387639083287758[/C][C]0.193819541643879[/C][/ROW]
[ROW][C]25[/C][C]0.834826517784207[/C][C]0.330346964431587[/C][C]0.165173482215793[/C][/ROW]
[ROW][C]26[/C][C]0.783817359329857[/C][C]0.432365281340287[/C][C]0.216182640670144[/C][/ROW]
[ROW][C]27[/C][C]0.72686954948381[/C][C]0.54626090103238[/C][C]0.27313045051619[/C][/ROW]
[ROW][C]28[/C][C]0.677385442534153[/C][C]0.645229114931695[/C][C]0.322614557465847[/C][/ROW]
[ROW][C]29[/C][C]0.74826781515028[/C][C]0.503464369699441[/C][C]0.251732184849721[/C][/ROW]
[ROW][C]30[/C][C]0.720143228983261[/C][C]0.559713542033477[/C][C]0.279856771016739[/C][/ROW]
[ROW][C]31[/C][C]0.648098604690518[/C][C]0.703802790618964[/C][C]0.351901395309482[/C][/ROW]
[ROW][C]32[/C][C]0.587903777373583[/C][C]0.824192445252834[/C][C]0.412096222626417[/C][/ROW]
[ROW][C]33[/C][C]0.522200703586818[/C][C]0.955598592826365[/C][C]0.477799296413182[/C][/ROW]
[ROW][C]34[/C][C]0.637786273136492[/C][C]0.724427453727017[/C][C]0.362213726863508[/C][/ROW]
[ROW][C]35[/C][C]0.569276610987664[/C][C]0.861446778024672[/C][C]0.430723389012336[/C][/ROW]
[ROW][C]36[/C][C]0.740584803939037[/C][C]0.518830392121925[/C][C]0.259415196060963[/C][/ROW]
[ROW][C]37[/C][C]0.79077402182861[/C][C]0.418451956342781[/C][C]0.20922597817139[/C][/ROW]
[ROW][C]38[/C][C]0.786464778024942[/C][C]0.427070443950117[/C][C]0.213535221975058[/C][/ROW]
[ROW][C]39[/C][C]0.714141995299141[/C][C]0.571716009401718[/C][C]0.285858004700859[/C][/ROW]
[ROW][C]40[/C][C]0.632578976362716[/C][C]0.734842047274568[/C][C]0.367421023637284[/C][/ROW]
[ROW][C]41[/C][C]0.59256398359146[/C][C]0.81487203281708[/C][C]0.40743601640854[/C][/ROW]
[ROW][C]42[/C][C]0.923067376264908[/C][C]0.153865247470184[/C][C]0.076932623735092[/C][/ROW]
[ROW][C]43[/C][C]0.941980461975206[/C][C]0.116039076049588[/C][C]0.058019538024794[/C][/ROW]
[ROW][C]44[/C][C]0.921901555223179[/C][C]0.156196889553642[/C][C]0.078098444776821[/C][/ROW]
[ROW][C]45[/C][C]0.86305119226397[/C][C]0.27389761547206[/C][C]0.13694880773603[/C][/ROW]
[ROW][C]46[/C][C]0.795479955124688[/C][C]0.409040089750623[/C][C]0.204520044875312[/C][/ROW]
[ROW][C]47[/C][C]0.938622320549194[/C][C]0.122755358901612[/C][C]0.061377679450806[/C][/ROW]
[ROW][C]48[/C][C]0.856132872331073[/C][C]0.287734255337853[/C][C]0.143867127668927[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112944&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112944&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
80.5735154802974340.8529690394051330.426484519702566
90.6055665293406380.7888669413187240.394433470659362
100.4963956621618560.9927913243237120.503604337838144
110.4186710028916780.8373420057833560.581328997108322
120.5138497978754470.9723004042491070.486150202124553
130.7083112307147140.5833775385705720.291688769285286
140.63016479190960.73967041618080.3698352080904
150.6098262791636020.7803474416727960.390173720836398
160.5401212381175820.9197575237648350.459878761882418
170.5965552127630350.806889574473930.403444787236965
180.6169204278371610.7661591443256780.383079572162839
190.620655074989220.758689850021560.37934492501078
200.5342595577885960.9314808844228080.465740442211404
210.8245687914049640.3508624171900730.175431208595036
220.7724491262876020.4551017474247950.227550873712398
230.8568569105893650.2862861788212690.143143089410635
240.806180458356120.3876390832877580.193819541643879
250.8348265177842070.3303469644315870.165173482215793
260.7838173593298570.4323652813402870.216182640670144
270.726869549483810.546260901032380.27313045051619
280.6773854425341530.6452291149316950.322614557465847
290.748267815150280.5034643696994410.251732184849721
300.7201432289832610.5597135420334770.279856771016739
310.6480986046905180.7038027906189640.351901395309482
320.5879037773735830.8241924452528340.412096222626417
330.5222007035868180.9555985928263650.477799296413182
340.6377862731364920.7244274537270170.362213726863508
350.5692766109876640.8614467780246720.430723389012336
360.7405848039390370.5188303921219250.259415196060963
370.790774021828610.4184519563427810.20922597817139
380.7864647780249420.4270704439501170.213535221975058
390.7141419952991410.5717160094017180.285858004700859
400.6325789763627160.7348420472745680.367421023637284
410.592563983591460.814872032817080.40743601640854
420.9230673762649080.1538652474701840.076932623735092
430.9419804619752060.1160390760495880.058019538024794
440.9219015552231790.1561968895536420.078098444776821
450.863051192263970.273897615472060.13694880773603
460.7954799551246880.4090400897506230.204520044875312
470.9386223205491940.1227553589016120.061377679450806
480.8561328723310730.2877342553378530.143867127668927







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

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

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

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

As an alternative you can also use a QR Code:  

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

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



Parameters (Session):
par1 = 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')
}