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, 14 Dec 2010 08:53:41 +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/14/t1292317006173x571qd3ads4y.htm/, Retrieved Thu, 02 May 2024 15:27:40 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=109272, Retrieved Thu, 02 May 2024 15:27:40 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact175
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [] [2010-12-14 08:53:41] [1638ccfec791c539017705f3e680eb33] [Current]
-    D    [Multiple Regression] [] [2010-12-14 09:34:26] [1251ac2db27b84d4a3ba43449388906b]
Feedback Forum

Post a new message
Dataseries X:
2.0	1,62324929	3
1.8	2,79518459	4
.7	2,255272505	4
3.9	1,544068044	1
1.0	2,593286067	4
3.6	1,799340549	1
1.4	2,361727836	1
1.5	2,049218023	4
.7	2,44870632	5
2.1	1,62324929	1
.0	1,447158031	2
4.1	1,62324929	2
1.2	2,079181246	2
.3	2,602059991	5
.5	2,170261715	5
3.4	1,204119983	2
1.5	2,491361694	1
3.4	1,447158031	3
.8	1,832508913	4
.8	2,526339277	5
1.4	1,322219295	4
2.0	1,698970004	1
1.9	2,426511261	1
2.4	1,477121255	1
2.8	1,653212514	3
1.3	1,278753601	3
2.0	1,477121255	3
5.6	1,079181246	1
3.1	2,079181246	1
1.0	2,643452676	5
1.8	2,146128036	2
.9	2,230448921	4
1.8	1,230448921	2
1.9	2,06069784	4
.9	1,491361694	5
2.6	1,322219295	3
2.4	1,716003344	1
1.2	2,214843848	2
.9	2,352182518	2
.5	2,352182518	3
.6	2,178976947	5
2.3	1,77815125	2
.5	2,301029996	3
2.6	1,662757832	2
.6	2,322219295	4
6.6	1,146128036	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 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 & 6 seconds \tabularnewline
R Server & 'RServer@AstonUniversity' @ vre.aston.ac.uk \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109272&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]6 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=109272&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109272&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 time6 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk







Multiple Linear Regression - Estimated Regression Equation
PS[t] = + 5.35704271447744 -1.24808412877396Tg[t] -0.394449669083795D[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
PS[t] =  +  5.35704271447744 -1.24808412877396Tg[t] -0.394449669083795D[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109272&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]PS[t] =  +  5.35704271447744 -1.24808412877396Tg[t] -0.394449669083795D[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109272&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109272&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
PS[t] = + 5.35704271447744 -1.24808412877396Tg[t] -0.394449669083795D[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)5.357042714477440.6163258.691900
Tg-1.248084128773960.339201-3.67950.0006460.000323
D-0.3944496690837950.111582-3.53510.000990.000495

\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) & 5.35704271447744 & 0.616325 & 8.6919 & 0 & 0 \tabularnewline
Tg & -1.24808412877396 & 0.339201 & -3.6795 & 0.000646 & 0.000323 \tabularnewline
D & -0.394449669083795 & 0.111582 & -3.5351 & 0.00099 & 0.000495 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109272&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]5.35704271447744[/C][C]0.616325[/C][C]8.6919[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Tg[/C][C]-1.24808412877396[/C][C]0.339201[/C][C]-3.6795[/C][C]0.000646[/C][C]0.000323[/C][/ROW]
[ROW][C]D[/C][C]-0.394449669083795[/C][C]0.111582[/C][C]-3.5351[/C][C]0.00099[/C][C]0.000495[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109272&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109272&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)5.357042714477440.6163258.691900
Tg-1.248084128773960.339201-3.67950.0006460.000323
D-0.3944496690837950.111582-3.53510.000990.000495







Multiple Linear Regression - Regression Statistics
Multiple R0.707576022213133
R-squared0.50066382721096
Adjusted R-squared0.477438888941702
F-TEST (value)21.5571650355548
F-TEST (DF numerator)2
F-TEST (DF denominator)43
p-value3.27680130030039e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.984607454270796
Sum Squared Residuals41.6864290772415

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.707576022213133 \tabularnewline
R-squared & 0.50066382721096 \tabularnewline
Adjusted R-squared & 0.477438888941702 \tabularnewline
F-TEST (value) & 21.5571650355548 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 43 \tabularnewline
p-value & 3.27680130030039e-07 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.984607454270796 \tabularnewline
Sum Squared Residuals & 41.6864290772415 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109272&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.707576022213133[/C][/ROW]
[ROW][C]R-squared[/C][C]0.50066382721096[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.477438888941702[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]21.5571650355548[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]2[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]43[/C][/ROW]
[ROW][C]p-value[/C][C]3.27680130030039e-07[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.984607454270796[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]41.6864290772415[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109272&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109272&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.707576022213133
R-squared0.50066382721096
Adjusted R-squared0.477438888941702
F-TEST (value)21.5571650355548
F-TEST (DF numerator)2
F-TEST (DF denominator)43
p-value3.27680130030039e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.984607454270796
Sum Squared Residuals41.6864290772415







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
122.14774203133347-0.147742031333468
21.80.2906185143697271.50938148563027
30.70.964474218591482-0.264474218591482
43.93.03546622593020.864533774069797
510.5426048565489310.457395143451069
63.62.716864663927330.883135336072668
71.42.01495801679839-0.614958016798389
81.51.221647547238420.278352452761578
90.70.3286028750379910.371397124962009
102.12.93664136950106-0.836641369501056
1102.76196840599099-2.76196840599099
124.12.542191700417261.55780829958274
131.21.9731502623328-0.773150262332796
140.30.1372045921736680.162795407826332
150.50.676125167281224-0.176125167281224
163.43.065300336387990.334699663612011
171.51.85316405607685-0.353164056076852
183.42.367518736907191.03248126309281
190.81.49211874799015-0.692118747990151
200.80.23171041353650.5682895864635
211.42.12900312129408-0.729003121294076
2222.84213554813822-0.842135548138225
231.91.93410285224827-0.0341028522482712
242.43.11902145075348-0.719021450753482
252.82.110345407012170.689654592987832
261.32.57770163320542-1.27770163320542
2722.33012211258589-0.330122112585892
285.63.615684060190551.98431593980945
293.12.367599931416590.732400068583409
3010.0855430389778280.914456961022172
311.81.88959503626143-0.0895950362614333
320.90.99545613980117-0.0954561398011701
331.83.03243960674271-1.23243960674272
341.91.207319769839490.692680230160508
350.91.52344950851563-0.623449508515629
362.62.523452790377870.0765472096221297
372.42.82087650682421-0.420876506824214
381.21.80383192190842-0.603831921908418
390.91.63242170761449-0.732421707614494
400.51.2379720385307-0.7379720385307
410.60.66524782454344-0.0652478245434406
422.32.34886102262528-0.0488610226252837
430.51.30181468938566-0.80181468938566
442.62.492881716196060.107118283803938
450.60.88091899252012-0.28091899252012
466.63.532128834119183.06787116588082

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 2 & 2.14774203133347 & -0.147742031333468 \tabularnewline
2 & 1.8 & 0.290618514369727 & 1.50938148563027 \tabularnewline
3 & 0.7 & 0.964474218591482 & -0.264474218591482 \tabularnewline
4 & 3.9 & 3.0354662259302 & 0.864533774069797 \tabularnewline
5 & 1 & 0.542604856548931 & 0.457395143451069 \tabularnewline
6 & 3.6 & 2.71686466392733 & 0.883135336072668 \tabularnewline
7 & 1.4 & 2.01495801679839 & -0.614958016798389 \tabularnewline
8 & 1.5 & 1.22164754723842 & 0.278352452761578 \tabularnewline
9 & 0.7 & 0.328602875037991 & 0.371397124962009 \tabularnewline
10 & 2.1 & 2.93664136950106 & -0.836641369501056 \tabularnewline
11 & 0 & 2.76196840599099 & -2.76196840599099 \tabularnewline
12 & 4.1 & 2.54219170041726 & 1.55780829958274 \tabularnewline
13 & 1.2 & 1.9731502623328 & -0.773150262332796 \tabularnewline
14 & 0.3 & 0.137204592173668 & 0.162795407826332 \tabularnewline
15 & 0.5 & 0.676125167281224 & -0.176125167281224 \tabularnewline
16 & 3.4 & 3.06530033638799 & 0.334699663612011 \tabularnewline
17 & 1.5 & 1.85316405607685 & -0.353164056076852 \tabularnewline
18 & 3.4 & 2.36751873690719 & 1.03248126309281 \tabularnewline
19 & 0.8 & 1.49211874799015 & -0.692118747990151 \tabularnewline
20 & 0.8 & 0.2317104135365 & 0.5682895864635 \tabularnewline
21 & 1.4 & 2.12900312129408 & -0.729003121294076 \tabularnewline
22 & 2 & 2.84213554813822 & -0.842135548138225 \tabularnewline
23 & 1.9 & 1.93410285224827 & -0.0341028522482712 \tabularnewline
24 & 2.4 & 3.11902145075348 & -0.719021450753482 \tabularnewline
25 & 2.8 & 2.11034540701217 & 0.689654592987832 \tabularnewline
26 & 1.3 & 2.57770163320542 & -1.27770163320542 \tabularnewline
27 & 2 & 2.33012211258589 & -0.330122112585892 \tabularnewline
28 & 5.6 & 3.61568406019055 & 1.98431593980945 \tabularnewline
29 & 3.1 & 2.36759993141659 & 0.732400068583409 \tabularnewline
30 & 1 & 0.085543038977828 & 0.914456961022172 \tabularnewline
31 & 1.8 & 1.88959503626143 & -0.0895950362614333 \tabularnewline
32 & 0.9 & 0.99545613980117 & -0.0954561398011701 \tabularnewline
33 & 1.8 & 3.03243960674271 & -1.23243960674272 \tabularnewline
34 & 1.9 & 1.20731976983949 & 0.692680230160508 \tabularnewline
35 & 0.9 & 1.52344950851563 & -0.623449508515629 \tabularnewline
36 & 2.6 & 2.52345279037787 & 0.0765472096221297 \tabularnewline
37 & 2.4 & 2.82087650682421 & -0.420876506824214 \tabularnewline
38 & 1.2 & 1.80383192190842 & -0.603831921908418 \tabularnewline
39 & 0.9 & 1.63242170761449 & -0.732421707614494 \tabularnewline
40 & 0.5 & 1.2379720385307 & -0.7379720385307 \tabularnewline
41 & 0.6 & 0.66524782454344 & -0.0652478245434406 \tabularnewline
42 & 2.3 & 2.34886102262528 & -0.0488610226252837 \tabularnewline
43 & 0.5 & 1.30181468938566 & -0.80181468938566 \tabularnewline
44 & 2.6 & 2.49288171619606 & 0.107118283803938 \tabularnewline
45 & 0.6 & 0.88091899252012 & -0.28091899252012 \tabularnewline
46 & 6.6 & 3.53212883411918 & 3.06787116588082 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109272&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]2[/C][C]2.14774203133347[/C][C]-0.147742031333468[/C][/ROW]
[ROW][C]2[/C][C]1.8[/C][C]0.290618514369727[/C][C]1.50938148563027[/C][/ROW]
[ROW][C]3[/C][C]0.7[/C][C]0.964474218591482[/C][C]-0.264474218591482[/C][/ROW]
[ROW][C]4[/C][C]3.9[/C][C]3.0354662259302[/C][C]0.864533774069797[/C][/ROW]
[ROW][C]5[/C][C]1[/C][C]0.542604856548931[/C][C]0.457395143451069[/C][/ROW]
[ROW][C]6[/C][C]3.6[/C][C]2.71686466392733[/C][C]0.883135336072668[/C][/ROW]
[ROW][C]7[/C][C]1.4[/C][C]2.01495801679839[/C][C]-0.614958016798389[/C][/ROW]
[ROW][C]8[/C][C]1.5[/C][C]1.22164754723842[/C][C]0.278352452761578[/C][/ROW]
[ROW][C]9[/C][C]0.7[/C][C]0.328602875037991[/C][C]0.371397124962009[/C][/ROW]
[ROW][C]10[/C][C]2.1[/C][C]2.93664136950106[/C][C]-0.836641369501056[/C][/ROW]
[ROW][C]11[/C][C]0[/C][C]2.76196840599099[/C][C]-2.76196840599099[/C][/ROW]
[ROW][C]12[/C][C]4.1[/C][C]2.54219170041726[/C][C]1.55780829958274[/C][/ROW]
[ROW][C]13[/C][C]1.2[/C][C]1.9731502623328[/C][C]-0.773150262332796[/C][/ROW]
[ROW][C]14[/C][C]0.3[/C][C]0.137204592173668[/C][C]0.162795407826332[/C][/ROW]
[ROW][C]15[/C][C]0.5[/C][C]0.676125167281224[/C][C]-0.176125167281224[/C][/ROW]
[ROW][C]16[/C][C]3.4[/C][C]3.06530033638799[/C][C]0.334699663612011[/C][/ROW]
[ROW][C]17[/C][C]1.5[/C][C]1.85316405607685[/C][C]-0.353164056076852[/C][/ROW]
[ROW][C]18[/C][C]3.4[/C][C]2.36751873690719[/C][C]1.03248126309281[/C][/ROW]
[ROW][C]19[/C][C]0.8[/C][C]1.49211874799015[/C][C]-0.692118747990151[/C][/ROW]
[ROW][C]20[/C][C]0.8[/C][C]0.2317104135365[/C][C]0.5682895864635[/C][/ROW]
[ROW][C]21[/C][C]1.4[/C][C]2.12900312129408[/C][C]-0.729003121294076[/C][/ROW]
[ROW][C]22[/C][C]2[/C][C]2.84213554813822[/C][C]-0.842135548138225[/C][/ROW]
[ROW][C]23[/C][C]1.9[/C][C]1.93410285224827[/C][C]-0.0341028522482712[/C][/ROW]
[ROW][C]24[/C][C]2.4[/C][C]3.11902145075348[/C][C]-0.719021450753482[/C][/ROW]
[ROW][C]25[/C][C]2.8[/C][C]2.11034540701217[/C][C]0.689654592987832[/C][/ROW]
[ROW][C]26[/C][C]1.3[/C][C]2.57770163320542[/C][C]-1.27770163320542[/C][/ROW]
[ROW][C]27[/C][C]2[/C][C]2.33012211258589[/C][C]-0.330122112585892[/C][/ROW]
[ROW][C]28[/C][C]5.6[/C][C]3.61568406019055[/C][C]1.98431593980945[/C][/ROW]
[ROW][C]29[/C][C]3.1[/C][C]2.36759993141659[/C][C]0.732400068583409[/C][/ROW]
[ROW][C]30[/C][C]1[/C][C]0.085543038977828[/C][C]0.914456961022172[/C][/ROW]
[ROW][C]31[/C][C]1.8[/C][C]1.88959503626143[/C][C]-0.0895950362614333[/C][/ROW]
[ROW][C]32[/C][C]0.9[/C][C]0.99545613980117[/C][C]-0.0954561398011701[/C][/ROW]
[ROW][C]33[/C][C]1.8[/C][C]3.03243960674271[/C][C]-1.23243960674272[/C][/ROW]
[ROW][C]34[/C][C]1.9[/C][C]1.20731976983949[/C][C]0.692680230160508[/C][/ROW]
[ROW][C]35[/C][C]0.9[/C][C]1.52344950851563[/C][C]-0.623449508515629[/C][/ROW]
[ROW][C]36[/C][C]2.6[/C][C]2.52345279037787[/C][C]0.0765472096221297[/C][/ROW]
[ROW][C]37[/C][C]2.4[/C][C]2.82087650682421[/C][C]-0.420876506824214[/C][/ROW]
[ROW][C]38[/C][C]1.2[/C][C]1.80383192190842[/C][C]-0.603831921908418[/C][/ROW]
[ROW][C]39[/C][C]0.9[/C][C]1.63242170761449[/C][C]-0.732421707614494[/C][/ROW]
[ROW][C]40[/C][C]0.5[/C][C]1.2379720385307[/C][C]-0.7379720385307[/C][/ROW]
[ROW][C]41[/C][C]0.6[/C][C]0.66524782454344[/C][C]-0.0652478245434406[/C][/ROW]
[ROW][C]42[/C][C]2.3[/C][C]2.34886102262528[/C][C]-0.0488610226252837[/C][/ROW]
[ROW][C]43[/C][C]0.5[/C][C]1.30181468938566[/C][C]-0.80181468938566[/C][/ROW]
[ROW][C]44[/C][C]2.6[/C][C]2.49288171619606[/C][C]0.107118283803938[/C][/ROW]
[ROW][C]45[/C][C]0.6[/C][C]0.88091899252012[/C][C]-0.28091899252012[/C][/ROW]
[ROW][C]46[/C][C]6.6[/C][C]3.53212883411918[/C][C]3.06787116588082[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109272&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109272&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
122.14774203133347-0.147742031333468
21.80.2906185143697271.50938148563027
30.70.964474218591482-0.264474218591482
43.93.03546622593020.864533774069797
510.5426048565489310.457395143451069
63.62.716864663927330.883135336072668
71.42.01495801679839-0.614958016798389
81.51.221647547238420.278352452761578
90.70.3286028750379910.371397124962009
102.12.93664136950106-0.836641369501056
1102.76196840599099-2.76196840599099
124.12.542191700417261.55780829958274
131.21.9731502623328-0.773150262332796
140.30.1372045921736680.162795407826332
150.50.676125167281224-0.176125167281224
163.43.065300336387990.334699663612011
171.51.85316405607685-0.353164056076852
183.42.367518736907191.03248126309281
190.81.49211874799015-0.692118747990151
200.80.23171041353650.5682895864635
211.42.12900312129408-0.729003121294076
2222.84213554813822-0.842135548138225
231.91.93410285224827-0.0341028522482712
242.43.11902145075348-0.719021450753482
252.82.110345407012170.689654592987832
261.32.57770163320542-1.27770163320542
2722.33012211258589-0.330122112585892
285.63.615684060190551.98431593980945
293.12.367599931416590.732400068583409
3010.0855430389778280.914456961022172
311.81.88959503626143-0.0895950362614333
320.90.99545613980117-0.0954561398011701
331.83.03243960674271-1.23243960674272
341.91.207319769839490.692680230160508
350.91.52344950851563-0.623449508515629
362.62.523452790377870.0765472096221297
372.42.82087650682421-0.420876506824214
381.21.80383192190842-0.603831921908418
390.91.63242170761449-0.732421707614494
400.51.2379720385307-0.7379720385307
410.60.66524782454344-0.0652478245434406
422.32.34886102262528-0.0488610226252837
430.51.30181468938566-0.80181468938566
442.62.492881716196060.107118283803938
450.60.88091899252012-0.28091899252012
466.63.532128834119183.06787116588082







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
60.09477931752121190.1895586350424240.905220682478788
70.4839625692565540.9679251385131080.516037430743446
80.3349107921204130.6698215842408260.665089207879587
90.2174906503179550.4349813006359090.782509349682045
100.2235912288257490.4471824576514980.776408771174251
110.7639826311936990.4720347376126030.236017368806301
120.8956280650678120.2087438698643750.104371934932188
130.8774776987545240.2450446024909520.122522301245476
140.8276059081582630.3447881836834730.172394091841737
150.7598728993121630.4802542013756740.240127100687837
160.7148440005201620.5703119989596760.285155999479838
170.6457042055291850.7085915889416310.354295794470815
180.6501563626282560.6996872747434870.349843637371744
190.6064058889664530.7871882220670950.393594111033547
200.5513094220395630.8973811559208740.448690577960437
210.500597308573930.9988053828521390.499402691426069
220.4717130517942950.943426103588590.528286948205705
230.3824680873821490.7649361747642970.617531912617851
240.3513494207361670.7026988414723340.648650579263833
250.312363149797250.62472629959450.68763685020275
260.3799271370532550.759854274106510.620072862946745
270.3168889401682340.6337778803364680.683111059831766
280.5277197390226380.9445605219547230.472280260977361
290.4843286849203520.9686573698407030.515671315079648
300.5553059125374880.8893881749250240.444694087462512
310.4596862652846340.9193725305692690.540313734715366
320.375204992899720.7504099857994390.62479500710028
330.6247619459753920.7504761080492160.375238054024608
340.658315712125870.6833685757482580.341684287874129
350.6830560618842260.6338878762315480.316943938115774
360.8444051823003740.3111896353992520.155594817699626
370.8730989906841050.2538020186317910.126901009315895
380.7838325125171150.432334974965770.216167487482885
390.6951480162918470.6097039674163070.304851983708153
400.5717919047903240.8564161904193520.428208095209676

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
6 & 0.0947793175212119 & 0.189558635042424 & 0.905220682478788 \tabularnewline
7 & 0.483962569256554 & 0.967925138513108 & 0.516037430743446 \tabularnewline
8 & 0.334910792120413 & 0.669821584240826 & 0.665089207879587 \tabularnewline
9 & 0.217490650317955 & 0.434981300635909 & 0.782509349682045 \tabularnewline
10 & 0.223591228825749 & 0.447182457651498 & 0.776408771174251 \tabularnewline
11 & 0.763982631193699 & 0.472034737612603 & 0.236017368806301 \tabularnewline
12 & 0.895628065067812 & 0.208743869864375 & 0.104371934932188 \tabularnewline
13 & 0.877477698754524 & 0.245044602490952 & 0.122522301245476 \tabularnewline
14 & 0.827605908158263 & 0.344788183683473 & 0.172394091841737 \tabularnewline
15 & 0.759872899312163 & 0.480254201375674 & 0.240127100687837 \tabularnewline
16 & 0.714844000520162 & 0.570311998959676 & 0.285155999479838 \tabularnewline
17 & 0.645704205529185 & 0.708591588941631 & 0.354295794470815 \tabularnewline
18 & 0.650156362628256 & 0.699687274743487 & 0.349843637371744 \tabularnewline
19 & 0.606405888966453 & 0.787188222067095 & 0.393594111033547 \tabularnewline
20 & 0.551309422039563 & 0.897381155920874 & 0.448690577960437 \tabularnewline
21 & 0.50059730857393 & 0.998805382852139 & 0.499402691426069 \tabularnewline
22 & 0.471713051794295 & 0.94342610358859 & 0.528286948205705 \tabularnewline
23 & 0.382468087382149 & 0.764936174764297 & 0.617531912617851 \tabularnewline
24 & 0.351349420736167 & 0.702698841472334 & 0.648650579263833 \tabularnewline
25 & 0.31236314979725 & 0.6247262995945 & 0.68763685020275 \tabularnewline
26 & 0.379927137053255 & 0.75985427410651 & 0.620072862946745 \tabularnewline
27 & 0.316888940168234 & 0.633777880336468 & 0.683111059831766 \tabularnewline
28 & 0.527719739022638 & 0.944560521954723 & 0.472280260977361 \tabularnewline
29 & 0.484328684920352 & 0.968657369840703 & 0.515671315079648 \tabularnewline
30 & 0.555305912537488 & 0.889388174925024 & 0.444694087462512 \tabularnewline
31 & 0.459686265284634 & 0.919372530569269 & 0.540313734715366 \tabularnewline
32 & 0.37520499289972 & 0.750409985799439 & 0.62479500710028 \tabularnewline
33 & 0.624761945975392 & 0.750476108049216 & 0.375238054024608 \tabularnewline
34 & 0.65831571212587 & 0.683368575748258 & 0.341684287874129 \tabularnewline
35 & 0.683056061884226 & 0.633887876231548 & 0.316943938115774 \tabularnewline
36 & 0.844405182300374 & 0.311189635399252 & 0.155594817699626 \tabularnewline
37 & 0.873098990684105 & 0.253802018631791 & 0.126901009315895 \tabularnewline
38 & 0.783832512517115 & 0.43233497496577 & 0.216167487482885 \tabularnewline
39 & 0.695148016291847 & 0.609703967416307 & 0.304851983708153 \tabularnewline
40 & 0.571791904790324 & 0.856416190419352 & 0.428208095209676 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109272&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]6[/C][C]0.0947793175212119[/C][C]0.189558635042424[/C][C]0.905220682478788[/C][/ROW]
[ROW][C]7[/C][C]0.483962569256554[/C][C]0.967925138513108[/C][C]0.516037430743446[/C][/ROW]
[ROW][C]8[/C][C]0.334910792120413[/C][C]0.669821584240826[/C][C]0.665089207879587[/C][/ROW]
[ROW][C]9[/C][C]0.217490650317955[/C][C]0.434981300635909[/C][C]0.782509349682045[/C][/ROW]
[ROW][C]10[/C][C]0.223591228825749[/C][C]0.447182457651498[/C][C]0.776408771174251[/C][/ROW]
[ROW][C]11[/C][C]0.763982631193699[/C][C]0.472034737612603[/C][C]0.236017368806301[/C][/ROW]
[ROW][C]12[/C][C]0.895628065067812[/C][C]0.208743869864375[/C][C]0.104371934932188[/C][/ROW]
[ROW][C]13[/C][C]0.877477698754524[/C][C]0.245044602490952[/C][C]0.122522301245476[/C][/ROW]
[ROW][C]14[/C][C]0.827605908158263[/C][C]0.344788183683473[/C][C]0.172394091841737[/C][/ROW]
[ROW][C]15[/C][C]0.759872899312163[/C][C]0.480254201375674[/C][C]0.240127100687837[/C][/ROW]
[ROW][C]16[/C][C]0.714844000520162[/C][C]0.570311998959676[/C][C]0.285155999479838[/C][/ROW]
[ROW][C]17[/C][C]0.645704205529185[/C][C]0.708591588941631[/C][C]0.354295794470815[/C][/ROW]
[ROW][C]18[/C][C]0.650156362628256[/C][C]0.699687274743487[/C][C]0.349843637371744[/C][/ROW]
[ROW][C]19[/C][C]0.606405888966453[/C][C]0.787188222067095[/C][C]0.393594111033547[/C][/ROW]
[ROW][C]20[/C][C]0.551309422039563[/C][C]0.897381155920874[/C][C]0.448690577960437[/C][/ROW]
[ROW][C]21[/C][C]0.50059730857393[/C][C]0.998805382852139[/C][C]0.499402691426069[/C][/ROW]
[ROW][C]22[/C][C]0.471713051794295[/C][C]0.94342610358859[/C][C]0.528286948205705[/C][/ROW]
[ROW][C]23[/C][C]0.382468087382149[/C][C]0.764936174764297[/C][C]0.617531912617851[/C][/ROW]
[ROW][C]24[/C][C]0.351349420736167[/C][C]0.702698841472334[/C][C]0.648650579263833[/C][/ROW]
[ROW][C]25[/C][C]0.31236314979725[/C][C]0.6247262995945[/C][C]0.68763685020275[/C][/ROW]
[ROW][C]26[/C][C]0.379927137053255[/C][C]0.75985427410651[/C][C]0.620072862946745[/C][/ROW]
[ROW][C]27[/C][C]0.316888940168234[/C][C]0.633777880336468[/C][C]0.683111059831766[/C][/ROW]
[ROW][C]28[/C][C]0.527719739022638[/C][C]0.944560521954723[/C][C]0.472280260977361[/C][/ROW]
[ROW][C]29[/C][C]0.484328684920352[/C][C]0.968657369840703[/C][C]0.515671315079648[/C][/ROW]
[ROW][C]30[/C][C]0.555305912537488[/C][C]0.889388174925024[/C][C]0.444694087462512[/C][/ROW]
[ROW][C]31[/C][C]0.459686265284634[/C][C]0.919372530569269[/C][C]0.540313734715366[/C][/ROW]
[ROW][C]32[/C][C]0.37520499289972[/C][C]0.750409985799439[/C][C]0.62479500710028[/C][/ROW]
[ROW][C]33[/C][C]0.624761945975392[/C][C]0.750476108049216[/C][C]0.375238054024608[/C][/ROW]
[ROW][C]34[/C][C]0.65831571212587[/C][C]0.683368575748258[/C][C]0.341684287874129[/C][/ROW]
[ROW][C]35[/C][C]0.683056061884226[/C][C]0.633887876231548[/C][C]0.316943938115774[/C][/ROW]
[ROW][C]36[/C][C]0.844405182300374[/C][C]0.311189635399252[/C][C]0.155594817699626[/C][/ROW]
[ROW][C]37[/C][C]0.873098990684105[/C][C]0.253802018631791[/C][C]0.126901009315895[/C][/ROW]
[ROW][C]38[/C][C]0.783832512517115[/C][C]0.43233497496577[/C][C]0.216167487482885[/C][/ROW]
[ROW][C]39[/C][C]0.695148016291847[/C][C]0.609703967416307[/C][C]0.304851983708153[/C][/ROW]
[ROW][C]40[/C][C]0.571791904790324[/C][C]0.856416190419352[/C][C]0.428208095209676[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109272&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109272&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
60.09477931752121190.1895586350424240.905220682478788
70.4839625692565540.9679251385131080.516037430743446
80.3349107921204130.6698215842408260.665089207879587
90.2174906503179550.4349813006359090.782509349682045
100.2235912288257490.4471824576514980.776408771174251
110.7639826311936990.4720347376126030.236017368806301
120.8956280650678120.2087438698643750.104371934932188
130.8774776987545240.2450446024909520.122522301245476
140.8276059081582630.3447881836834730.172394091841737
150.7598728993121630.4802542013756740.240127100687837
160.7148440005201620.5703119989596760.285155999479838
170.6457042055291850.7085915889416310.354295794470815
180.6501563626282560.6996872747434870.349843637371744
190.6064058889664530.7871882220670950.393594111033547
200.5513094220395630.8973811559208740.448690577960437
210.500597308573930.9988053828521390.499402691426069
220.4717130517942950.943426103588590.528286948205705
230.3824680873821490.7649361747642970.617531912617851
240.3513494207361670.7026988414723340.648650579263833
250.312363149797250.62472629959450.68763685020275
260.3799271370532550.759854274106510.620072862946745
270.3168889401682340.6337778803364680.683111059831766
280.5277197390226380.9445605219547230.472280260977361
290.4843286849203520.9686573698407030.515671315079648
300.5553059125374880.8893881749250240.444694087462512
310.4596862652846340.9193725305692690.540313734715366
320.375204992899720.7504099857994390.62479500710028
330.6247619459753920.7504761080492160.375238054024608
340.658315712125870.6833685757482580.341684287874129
350.6830560618842260.6338878762315480.316943938115774
360.8444051823003740.3111896353992520.155594817699626
370.8730989906841050.2538020186317910.126901009315895
380.7838325125171150.432334974965770.216167487482885
390.6951480162918470.6097039674163070.304851983708153
400.5717919047903240.8564161904193520.428208095209676







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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109272&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 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT
H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation
Forecast', 1, TRUE)
a<-table.element(a, 'Residuals
Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,gqarr[mypoint-kp3+1,1])
a<-table.element(a,gqarr[mypoint-kp3+1,2])
a<-table.element(a,gqarr[mypoint-kp3+1,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,numsignificant1)
a<-table.element(a,numsignificant1/numgqtests)
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,numsignificant5)
a<-table.element(a,numsignificant5/numgqtests)
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,numsignificant10)
a<-table.element(a,numsignificant10/numgqtests)
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}