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 computationFri, 24 Dec 2010 12:57:27 +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/24/t1293195351il4iwyoiap6wy8x.htm/, Retrieved Tue, 30 Apr 2024 00:23:08 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=114884, Retrieved Tue, 30 Apr 2024 00:23:08 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact118
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] [34b8ec63a78ce61b49b6bd4fc5a61e1c]
-    D    [Multiple Regression] [paper (2)] [2010-12-24 12:57:27] [f420459ea4e1f042529d081e77704a0f] [Current]
-    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]
Feedback Forum

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




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114884&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] = -4.04530217058801 + 0.0381435714492497UrenZonneschijn[t] + 0.213146642069809Neerslagdagen[t] + 0.0010129530924019Onweersdagen[t] -0.20860592816009Sneeuwdagen[t] + 0.58755377086074GemTemperatuurAuto[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
GemiddeldeTemperatuur[t] =  -4.04530217058801 +  0.0381435714492497UrenZonneschijn[t] +  0.213146642069809Neerslagdagen[t] +  0.0010129530924019Onweersdagen[t] -0.20860592816009Sneeuwdagen[t] +  0.58755377086074GemTemperatuurAuto[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114884&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]GemiddeldeTemperatuur[t] =  -4.04530217058801 +  0.0381435714492497UrenZonneschijn[t] +  0.213146642069809Neerslagdagen[t] +  0.0010129530924019Onweersdagen[t] -0.20860592816009Sneeuwdagen[t] +  0.58755377086074GemTemperatuurAuto[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114884&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114884&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] = -4.04530217058801 + 0.0381435714492497UrenZonneschijn[t] + 0.213146642069809Neerslagdagen[t] + 0.0010129530924019Onweersdagen[t] -0.20860592816009Sneeuwdagen[t] + 0.58755377086074GemTemperatuurAuto[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-4.045302170588012.255823-1.79330.0808920.040446
UrenZonneschijn0.03814357144924970.0091714.15910.0001768.8e-05
Neerslagdagen0.2131466420698090.0986362.16090.0370690.018534
Onweersdagen0.00101295309240190.1071290.00950.9925050.496253
Sneeuwdagen-0.208605928160090.123561-1.68830.099550.049775
GemTemperatuurAuto0.587553770860740.094526.216200

\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) & -4.04530217058801 & 2.255823 & -1.7933 & 0.080892 & 0.040446 \tabularnewline
UrenZonneschijn & 0.0381435714492497 & 0.009171 & 4.1591 & 0.000176 & 8.8e-05 \tabularnewline
Neerslagdagen & 0.213146642069809 & 0.098636 & 2.1609 & 0.037069 & 0.018534 \tabularnewline
Onweersdagen & 0.0010129530924019 & 0.107129 & 0.0095 & 0.992505 & 0.496253 \tabularnewline
Sneeuwdagen & -0.20860592816009 & 0.123561 & -1.6883 & 0.09955 & 0.049775 \tabularnewline
GemTemperatuurAuto & 0.58755377086074 & 0.09452 & 6.2162 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114884&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]-4.04530217058801[/C][C]2.255823[/C][C]-1.7933[/C][C]0.080892[/C][C]0.040446[/C][/ROW]
[ROW][C]UrenZonneschijn[/C][C]0.0381435714492497[/C][C]0.009171[/C][C]4.1591[/C][C]0.000176[/C][C]8.8e-05[/C][/ROW]
[ROW][C]Neerslagdagen[/C][C]0.213146642069809[/C][C]0.098636[/C][C]2.1609[/C][C]0.037069[/C][C]0.018534[/C][/ROW]
[ROW][C]Onweersdagen[/C][C]0.0010129530924019[/C][C]0.107129[/C][C]0.0095[/C][C]0.992505[/C][C]0.496253[/C][/ROW]
[ROW][C]Sneeuwdagen[/C][C]-0.20860592816009[/C][C]0.123561[/C][C]-1.6883[/C][C]0.09955[/C][C]0.049775[/C][/ROW]
[ROW][C]GemTemperatuurAuto[/C][C]0.58755377086074[/C][C]0.09452[/C][C]6.2162[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114884&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114884&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)-4.045302170588012.255823-1.79330.0808920.040446
UrenZonneschijn0.03814357144924970.0091714.15910.0001768.8e-05
Neerslagdagen0.2131466420698090.0986362.16090.0370690.018534
Onweersdagen0.00101295309240190.1071290.00950.9925050.496253
Sneeuwdagen-0.208605928160090.123561-1.68830.099550.049775
GemTemperatuurAuto0.587553770860740.094526.216200







Multiple Linear Regression - Regression Statistics
Multiple R0.954893570708105
R-squared0.911821731379675
Adjusted R-squared0.900219327613843
F-TEST (value)78.5890363568357
F-TEST (DF numerator)5
F-TEST (DF denominator)38
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.79003426320843
Sum Squared Residuals121.760461211486

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.954893570708105 \tabularnewline
R-squared & 0.911821731379675 \tabularnewline
Adjusted R-squared & 0.900219327613843 \tabularnewline
F-TEST (value) & 78.5890363568357 \tabularnewline
F-TEST (DF numerator) & 5 \tabularnewline
F-TEST (DF denominator) & 38 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1.79003426320843 \tabularnewline
Sum Squared Residuals & 121.760461211486 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114884&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.954893570708105[/C][/ROW]
[ROW][C]R-squared[/C][C]0.911821731379675[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.900219327613843[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]78.5890363568357[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]5[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]38[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]1.79003426320843[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]121.760461211486[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114884&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114884&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.954893570708105
R-squared0.911821731379675
Adjusted R-squared0.900219327613843
F-TEST (value)78.5890363568357
F-TEST (DF numerator)5
F-TEST (DF denominator)38
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.79003426320843
Sum Squared Residuals121.760461211486







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
114.312.2547610492812.04523895071902
214.615.2569145621409-0.656914562140868
317.515.14504875560252.35495124439755
417.220.1088111777256-2.90881117772564
517.214.0343958896613.16560411033896
614.114.1500555887353-0.0500555887353288
710.410.8805626816387-0.480562681638716
86.87.72839243862457-0.928392438624565
94.16.14717899681861-2.04717899681861
106.56.482907726108120.0170922738918769
116.17.10279244282318-1.00279244282318
126.36.91227239214088-0.612272392140885
139.312.5002814182706-3.20028141827062
1416.415.70192934172460.69807065827541
1516.116.9270719836969-0.827071983696897
161817.24172330522070.758276694779287
1717.615.38739013774082.21260986225923
181412.8297277109221.17027228907801
1910.510.35742482473270.142575175267254
206.96.400917816401390.499082183598613
212.82.458472332086370.341527667913629
220.74.68735707539688-3.98735707539688
233.63.60324389304049-0.00324389304049459
246.78.16186189031866-1.46186189031866
2512.512.1024170644410.397582935559042
2614.416.7054068871538-2.30540688715384
2716.516.35541152241260.144588477587396
2818.718.9364124206549-0.236412420654903
2919.418.06513494001971.33486505998027
3015.812.26737895370543.5326210462946
3111.39.1854915345312.11450846546901
329.77.175467001307122.52453299869288
332.91.946023282878090.953976717121912
340.1-0.8488229669569640.948822966956964
352.52.209566916983010.290433083016987
366.76.75303468742456-0.0530346874245558
3710.313.092119875512-2.79211987551198
3811.213.9662971266093-2.76629712660933
3917.417.4498786918753-0.0498786918753481
4020.519.33719513373511.16280486626492
411717.4583337651999-0.458333765199935
4214.214.5373213082502-0.337321308250161
4310.610.54956443427040.0504355657295825
446.15.794871989141010.305128010858991

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 14.3 & 12.254761049281 & 2.04523895071902 \tabularnewline
2 & 14.6 & 15.2569145621409 & -0.656914562140868 \tabularnewline
3 & 17.5 & 15.1450487556025 & 2.35495124439755 \tabularnewline
4 & 17.2 & 20.1088111777256 & -2.90881117772564 \tabularnewline
5 & 17.2 & 14.034395889661 & 3.16560411033896 \tabularnewline
6 & 14.1 & 14.1500555887353 & -0.0500555887353288 \tabularnewline
7 & 10.4 & 10.8805626816387 & -0.480562681638716 \tabularnewline
8 & 6.8 & 7.72839243862457 & -0.928392438624565 \tabularnewline
9 & 4.1 & 6.14717899681861 & -2.04717899681861 \tabularnewline
10 & 6.5 & 6.48290772610812 & 0.0170922738918769 \tabularnewline
11 & 6.1 & 7.10279244282318 & -1.00279244282318 \tabularnewline
12 & 6.3 & 6.91227239214088 & -0.612272392140885 \tabularnewline
13 & 9.3 & 12.5002814182706 & -3.20028141827062 \tabularnewline
14 & 16.4 & 15.7019293417246 & 0.69807065827541 \tabularnewline
15 & 16.1 & 16.9270719836969 & -0.827071983696897 \tabularnewline
16 & 18 & 17.2417233052207 & 0.758276694779287 \tabularnewline
17 & 17.6 & 15.3873901377408 & 2.21260986225923 \tabularnewline
18 & 14 & 12.829727710922 & 1.17027228907801 \tabularnewline
19 & 10.5 & 10.3574248247327 & 0.142575175267254 \tabularnewline
20 & 6.9 & 6.40091781640139 & 0.499082183598613 \tabularnewline
21 & 2.8 & 2.45847233208637 & 0.341527667913629 \tabularnewline
22 & 0.7 & 4.68735707539688 & -3.98735707539688 \tabularnewline
23 & 3.6 & 3.60324389304049 & -0.00324389304049459 \tabularnewline
24 & 6.7 & 8.16186189031866 & -1.46186189031866 \tabularnewline
25 & 12.5 & 12.102417064441 & 0.397582935559042 \tabularnewline
26 & 14.4 & 16.7054068871538 & -2.30540688715384 \tabularnewline
27 & 16.5 & 16.3554115224126 & 0.144588477587396 \tabularnewline
28 & 18.7 & 18.9364124206549 & -0.236412420654903 \tabularnewline
29 & 19.4 & 18.0651349400197 & 1.33486505998027 \tabularnewline
30 & 15.8 & 12.2673789537054 & 3.5326210462946 \tabularnewline
31 & 11.3 & 9.185491534531 & 2.11450846546901 \tabularnewline
32 & 9.7 & 7.17546700130712 & 2.52453299869288 \tabularnewline
33 & 2.9 & 1.94602328287809 & 0.953976717121912 \tabularnewline
34 & 0.1 & -0.848822966956964 & 0.948822966956964 \tabularnewline
35 & 2.5 & 2.20956691698301 & 0.290433083016987 \tabularnewline
36 & 6.7 & 6.75303468742456 & -0.0530346874245558 \tabularnewline
37 & 10.3 & 13.092119875512 & -2.79211987551198 \tabularnewline
38 & 11.2 & 13.9662971266093 & -2.76629712660933 \tabularnewline
39 & 17.4 & 17.4498786918753 & -0.0498786918753481 \tabularnewline
40 & 20.5 & 19.3371951337351 & 1.16280486626492 \tabularnewline
41 & 17 & 17.4583337651999 & -0.458333765199935 \tabularnewline
42 & 14.2 & 14.5373213082502 & -0.337321308250161 \tabularnewline
43 & 10.6 & 10.5495644342704 & 0.0504355657295825 \tabularnewline
44 & 6.1 & 5.79487198914101 & 0.305128010858991 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114884&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]14.3[/C][C]12.254761049281[/C][C]2.04523895071902[/C][/ROW]
[ROW][C]2[/C][C]14.6[/C][C]15.2569145621409[/C][C]-0.656914562140868[/C][/ROW]
[ROW][C]3[/C][C]17.5[/C][C]15.1450487556025[/C][C]2.35495124439755[/C][/ROW]
[ROW][C]4[/C][C]17.2[/C][C]20.1088111777256[/C][C]-2.90881117772564[/C][/ROW]
[ROW][C]5[/C][C]17.2[/C][C]14.034395889661[/C][C]3.16560411033896[/C][/ROW]
[ROW][C]6[/C][C]14.1[/C][C]14.1500555887353[/C][C]-0.0500555887353288[/C][/ROW]
[ROW][C]7[/C][C]10.4[/C][C]10.8805626816387[/C][C]-0.480562681638716[/C][/ROW]
[ROW][C]8[/C][C]6.8[/C][C]7.72839243862457[/C][C]-0.928392438624565[/C][/ROW]
[ROW][C]9[/C][C]4.1[/C][C]6.14717899681861[/C][C]-2.04717899681861[/C][/ROW]
[ROW][C]10[/C][C]6.5[/C][C]6.48290772610812[/C][C]0.0170922738918769[/C][/ROW]
[ROW][C]11[/C][C]6.1[/C][C]7.10279244282318[/C][C]-1.00279244282318[/C][/ROW]
[ROW][C]12[/C][C]6.3[/C][C]6.91227239214088[/C][C]-0.612272392140885[/C][/ROW]
[ROW][C]13[/C][C]9.3[/C][C]12.5002814182706[/C][C]-3.20028141827062[/C][/ROW]
[ROW][C]14[/C][C]16.4[/C][C]15.7019293417246[/C][C]0.69807065827541[/C][/ROW]
[ROW][C]15[/C][C]16.1[/C][C]16.9270719836969[/C][C]-0.827071983696897[/C][/ROW]
[ROW][C]16[/C][C]18[/C][C]17.2417233052207[/C][C]0.758276694779287[/C][/ROW]
[ROW][C]17[/C][C]17.6[/C][C]15.3873901377408[/C][C]2.21260986225923[/C][/ROW]
[ROW][C]18[/C][C]14[/C][C]12.829727710922[/C][C]1.17027228907801[/C][/ROW]
[ROW][C]19[/C][C]10.5[/C][C]10.3574248247327[/C][C]0.142575175267254[/C][/ROW]
[ROW][C]20[/C][C]6.9[/C][C]6.40091781640139[/C][C]0.499082183598613[/C][/ROW]
[ROW][C]21[/C][C]2.8[/C][C]2.45847233208637[/C][C]0.341527667913629[/C][/ROW]
[ROW][C]22[/C][C]0.7[/C][C]4.68735707539688[/C][C]-3.98735707539688[/C][/ROW]
[ROW][C]23[/C][C]3.6[/C][C]3.60324389304049[/C][C]-0.00324389304049459[/C][/ROW]
[ROW][C]24[/C][C]6.7[/C][C]8.16186189031866[/C][C]-1.46186189031866[/C][/ROW]
[ROW][C]25[/C][C]12.5[/C][C]12.102417064441[/C][C]0.397582935559042[/C][/ROW]
[ROW][C]26[/C][C]14.4[/C][C]16.7054068871538[/C][C]-2.30540688715384[/C][/ROW]
[ROW][C]27[/C][C]16.5[/C][C]16.3554115224126[/C][C]0.144588477587396[/C][/ROW]
[ROW][C]28[/C][C]18.7[/C][C]18.9364124206549[/C][C]-0.236412420654903[/C][/ROW]
[ROW][C]29[/C][C]19.4[/C][C]18.0651349400197[/C][C]1.33486505998027[/C][/ROW]
[ROW][C]30[/C][C]15.8[/C][C]12.2673789537054[/C][C]3.5326210462946[/C][/ROW]
[ROW][C]31[/C][C]11.3[/C][C]9.185491534531[/C][C]2.11450846546901[/C][/ROW]
[ROW][C]32[/C][C]9.7[/C][C]7.17546700130712[/C][C]2.52453299869288[/C][/ROW]
[ROW][C]33[/C][C]2.9[/C][C]1.94602328287809[/C][C]0.953976717121912[/C][/ROW]
[ROW][C]34[/C][C]0.1[/C][C]-0.848822966956964[/C][C]0.948822966956964[/C][/ROW]
[ROW][C]35[/C][C]2.5[/C][C]2.20956691698301[/C][C]0.290433083016987[/C][/ROW]
[ROW][C]36[/C][C]6.7[/C][C]6.75303468742456[/C][C]-0.0530346874245558[/C][/ROW]
[ROW][C]37[/C][C]10.3[/C][C]13.092119875512[/C][C]-2.79211987551198[/C][/ROW]
[ROW][C]38[/C][C]11.2[/C][C]13.9662971266093[/C][C]-2.76629712660933[/C][/ROW]
[ROW][C]39[/C][C]17.4[/C][C]17.4498786918753[/C][C]-0.0498786918753481[/C][/ROW]
[ROW][C]40[/C][C]20.5[/C][C]19.3371951337351[/C][C]1.16280486626492[/C][/ROW]
[ROW][C]41[/C][C]17[/C][C]17.4583337651999[/C][C]-0.458333765199935[/C][/ROW]
[ROW][C]42[/C][C]14.2[/C][C]14.5373213082502[/C][C]-0.337321308250161[/C][/ROW]
[ROW][C]43[/C][C]10.6[/C][C]10.5495644342704[/C][C]0.0504355657295825[/C][/ROW]
[ROW][C]44[/C][C]6.1[/C][C]5.79487198914101[/C][C]0.305128010858991[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114884&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114884&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
114.312.2547610492812.04523895071902
214.615.2569145621409-0.656914562140868
317.515.14504875560252.35495124439755
417.220.1088111777256-2.90881117772564
517.214.0343958896613.16560411033896
614.114.1500555887353-0.0500555887353288
710.410.8805626816387-0.480562681638716
86.87.72839243862457-0.928392438624565
94.16.14717899681861-2.04717899681861
106.56.482907726108120.0170922738918769
116.17.10279244282318-1.00279244282318
126.36.91227239214088-0.612272392140885
139.312.5002814182706-3.20028141827062
1416.415.70192934172460.69807065827541
1516.116.9270719836969-0.827071983696897
161817.24172330522070.758276694779287
1717.615.38739013774082.21260986225923
181412.8297277109221.17027228907801
1910.510.35742482473270.142575175267254
206.96.400917816401390.499082183598613
212.82.458472332086370.341527667913629
220.74.68735707539688-3.98735707539688
233.63.60324389304049-0.00324389304049459
246.78.16186189031866-1.46186189031866
2512.512.1024170644410.397582935559042
2614.416.7054068871538-2.30540688715384
2716.516.35541152241260.144588477587396
2818.718.9364124206549-0.236412420654903
2919.418.06513494001971.33486505998027
3015.812.26737895370543.5326210462946
3111.39.1854915345312.11450846546901
329.77.175467001307122.52453299869288
332.91.946023282878090.953976717121912
340.1-0.8488229669569640.948822966956964
352.52.209566916983010.290433083016987
366.76.75303468742456-0.0530346874245558
3710.313.092119875512-2.79211987551198
3811.213.9662971266093-2.76629712660933
3917.417.4498786918753-0.0498786918753481
4020.519.33719513373511.16280486626492
411717.4583337651999-0.458333765199935
4214.214.5373213082502-0.337321308250161
4310.610.54956443427040.0504355657295825
446.15.794871989141010.305128010858991







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
90.7191151263584140.5617697472831720.280884873641586
100.5684283528101470.8631432943797060.431571647189853
110.4308322919527130.8616645839054270.569167708047287
120.7323767053520370.5352465892959260.267623294647963
130.8958347938419630.2083304123160740.104165206158037
140.8442469082081050.3115061835837890.155753091791895
150.7801295667886490.4397408664227030.219870433211351
160.7156615472452240.5686769055095530.284338452754776
170.745649270918840.508701458162320.25435072908116
180.6876132948999890.6247734102000210.312386705100011
190.596487715798140.807024568403720.40351228420186
200.5076157909067320.9847684181865360.492384209093268
210.412210480339340.824420960678680.58778951966066
220.7164042009716070.5671915980567860.283595799028393
230.6528115681481170.6943768637037660.347188431851883
240.6281019632209190.7437960735581620.371898036779081
250.5285475445692310.9429049108615380.471452455430769
260.5801141722207810.8397716555584380.419885827779219
270.4776218181138470.9552436362276950.522378181886153
280.3722441525370450.744488305074090.627755847462955
290.3533235772312060.7066471544624110.646676422768794
300.7689990135033140.4620019729933710.231000986496686
310.8448552412559320.3102895174881360.155144758744068
320.7954763260140840.4090473479718320.204523673985916
330.7060551960874070.5878896078251860.293944803912593
340.5745694224289730.8508611551420550.425430577571027
350.6971985972450720.6056028055098550.302801402754928

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
9 & 0.719115126358414 & 0.561769747283172 & 0.280884873641586 \tabularnewline
10 & 0.568428352810147 & 0.863143294379706 & 0.431571647189853 \tabularnewline
11 & 0.430832291952713 & 0.861664583905427 & 0.569167708047287 \tabularnewline
12 & 0.732376705352037 & 0.535246589295926 & 0.267623294647963 \tabularnewline
13 & 0.895834793841963 & 0.208330412316074 & 0.104165206158037 \tabularnewline
14 & 0.844246908208105 & 0.311506183583789 & 0.155753091791895 \tabularnewline
15 & 0.780129566788649 & 0.439740866422703 & 0.219870433211351 \tabularnewline
16 & 0.715661547245224 & 0.568676905509553 & 0.284338452754776 \tabularnewline
17 & 0.74564927091884 & 0.50870145816232 & 0.25435072908116 \tabularnewline
18 & 0.687613294899989 & 0.624773410200021 & 0.312386705100011 \tabularnewline
19 & 0.59648771579814 & 0.80702456840372 & 0.40351228420186 \tabularnewline
20 & 0.507615790906732 & 0.984768418186536 & 0.492384209093268 \tabularnewline
21 & 0.41221048033934 & 0.82442096067868 & 0.58778951966066 \tabularnewline
22 & 0.716404200971607 & 0.567191598056786 & 0.283595799028393 \tabularnewline
23 & 0.652811568148117 & 0.694376863703766 & 0.347188431851883 \tabularnewline
24 & 0.628101963220919 & 0.743796073558162 & 0.371898036779081 \tabularnewline
25 & 0.528547544569231 & 0.942904910861538 & 0.471452455430769 \tabularnewline
26 & 0.580114172220781 & 0.839771655558438 & 0.419885827779219 \tabularnewline
27 & 0.477621818113847 & 0.955243636227695 & 0.522378181886153 \tabularnewline
28 & 0.372244152537045 & 0.74448830507409 & 0.627755847462955 \tabularnewline
29 & 0.353323577231206 & 0.706647154462411 & 0.646676422768794 \tabularnewline
30 & 0.768999013503314 & 0.462001972993371 & 0.231000986496686 \tabularnewline
31 & 0.844855241255932 & 0.310289517488136 & 0.155144758744068 \tabularnewline
32 & 0.795476326014084 & 0.409047347971832 & 0.204523673985916 \tabularnewline
33 & 0.706055196087407 & 0.587889607825186 & 0.293944803912593 \tabularnewline
34 & 0.574569422428973 & 0.850861155142055 & 0.425430577571027 \tabularnewline
35 & 0.697198597245072 & 0.605602805509855 & 0.302801402754928 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114884&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.719115126358414[/C][C]0.561769747283172[/C][C]0.280884873641586[/C][/ROW]
[ROW][C]10[/C][C]0.568428352810147[/C][C]0.863143294379706[/C][C]0.431571647189853[/C][/ROW]
[ROW][C]11[/C][C]0.430832291952713[/C][C]0.861664583905427[/C][C]0.569167708047287[/C][/ROW]
[ROW][C]12[/C][C]0.732376705352037[/C][C]0.535246589295926[/C][C]0.267623294647963[/C][/ROW]
[ROW][C]13[/C][C]0.895834793841963[/C][C]0.208330412316074[/C][C]0.104165206158037[/C][/ROW]
[ROW][C]14[/C][C]0.844246908208105[/C][C]0.311506183583789[/C][C]0.155753091791895[/C][/ROW]
[ROW][C]15[/C][C]0.780129566788649[/C][C]0.439740866422703[/C][C]0.219870433211351[/C][/ROW]
[ROW][C]16[/C][C]0.715661547245224[/C][C]0.568676905509553[/C][C]0.284338452754776[/C][/ROW]
[ROW][C]17[/C][C]0.74564927091884[/C][C]0.50870145816232[/C][C]0.25435072908116[/C][/ROW]
[ROW][C]18[/C][C]0.687613294899989[/C][C]0.624773410200021[/C][C]0.312386705100011[/C][/ROW]
[ROW][C]19[/C][C]0.59648771579814[/C][C]0.80702456840372[/C][C]0.40351228420186[/C][/ROW]
[ROW][C]20[/C][C]0.507615790906732[/C][C]0.984768418186536[/C][C]0.492384209093268[/C][/ROW]
[ROW][C]21[/C][C]0.41221048033934[/C][C]0.82442096067868[/C][C]0.58778951966066[/C][/ROW]
[ROW][C]22[/C][C]0.716404200971607[/C][C]0.567191598056786[/C][C]0.283595799028393[/C][/ROW]
[ROW][C]23[/C][C]0.652811568148117[/C][C]0.694376863703766[/C][C]0.347188431851883[/C][/ROW]
[ROW][C]24[/C][C]0.628101963220919[/C][C]0.743796073558162[/C][C]0.371898036779081[/C][/ROW]
[ROW][C]25[/C][C]0.528547544569231[/C][C]0.942904910861538[/C][C]0.471452455430769[/C][/ROW]
[ROW][C]26[/C][C]0.580114172220781[/C][C]0.839771655558438[/C][C]0.419885827779219[/C][/ROW]
[ROW][C]27[/C][C]0.477621818113847[/C][C]0.955243636227695[/C][C]0.522378181886153[/C][/ROW]
[ROW][C]28[/C][C]0.372244152537045[/C][C]0.74448830507409[/C][C]0.627755847462955[/C][/ROW]
[ROW][C]29[/C][C]0.353323577231206[/C][C]0.706647154462411[/C][C]0.646676422768794[/C][/ROW]
[ROW][C]30[/C][C]0.768999013503314[/C][C]0.462001972993371[/C][C]0.231000986496686[/C][/ROW]
[ROW][C]31[/C][C]0.844855241255932[/C][C]0.310289517488136[/C][C]0.155144758744068[/C][/ROW]
[ROW][C]32[/C][C]0.795476326014084[/C][C]0.409047347971832[/C][C]0.204523673985916[/C][/ROW]
[ROW][C]33[/C][C]0.706055196087407[/C][C]0.587889607825186[/C][C]0.293944803912593[/C][/ROW]
[ROW][C]34[/C][C]0.574569422428973[/C][C]0.850861155142055[/C][C]0.425430577571027[/C][/ROW]
[ROW][C]35[/C][C]0.697198597245072[/C][C]0.605602805509855[/C][C]0.302801402754928[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114884&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114884&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.7191151263584140.5617697472831720.280884873641586
100.5684283528101470.8631432943797060.431571647189853
110.4308322919527130.8616645839054270.569167708047287
120.7323767053520370.5352465892959260.267623294647963
130.8958347938419630.2083304123160740.104165206158037
140.8442469082081050.3115061835837890.155753091791895
150.7801295667886490.4397408664227030.219870433211351
160.7156615472452240.5686769055095530.284338452754776
170.745649270918840.508701458162320.25435072908116
180.6876132948999890.6247734102000210.312386705100011
190.596487715798140.807024568403720.40351228420186
200.5076157909067320.9847684181865360.492384209093268
210.412210480339340.824420960678680.58778951966066
220.7164042009716070.5671915980567860.283595799028393
230.6528115681481170.6943768637037660.347188431851883
240.6281019632209190.7437960735581620.371898036779081
250.5285475445692310.9429049108615380.471452455430769
260.5801141722207810.8397716555584380.419885827779219
270.4776218181138470.9552436362276950.522378181886153
280.3722441525370450.744488305074090.627755847462955
290.3533235772312060.7066471544624110.646676422768794
300.7689990135033140.4620019729933710.231000986496686
310.8448552412559320.3102895174881360.155144758744068
320.7954763260140840.4090473479718320.204523673985916
330.7060551960874070.5878896078251860.293944803912593
340.5745694224289730.8508611551420550.425430577571027
350.6971985972450720.6056028055098550.302801402754928







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

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