Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationSat, 20 Dec 2008 06:37:53 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Dec/20/t1229781074buyckyoddl7x63s.htm/, Retrieved Sun, 19 May 2024 08:53:25 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=35364, Retrieved Sun, 19 May 2024 08:53:25 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact219
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [inflatie vs rente] [2008-12-20 13:37:53] [266b6f199ef3d9a738d4198d1c90425d] [Current]
Feedback Forum

Post a new message
Dataseries X:
2	1
2	1
2	0
2	0
2	1
2	1
2	1
2	1
2	1
2	1
2	1
2	1
2	1
2	1
2,21	1
2,25	1
2,25	1
2,45	1
2,5	1
2,5	1
2,64	1
2,75	1
2,93	1
3	0
3,17	0
3,25	0
3,39	1
3,5	0
3,5	0
3,65	0
3,75	0
3,75	0
3,9	0
4	0
4	0
4	0
4	1
4	1
4	1
4	1
4	1
4	1
4	1
4	1
4	1
4,18	1
4,25	1
4,25	1
3,97	1




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

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 3 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35364&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]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35364&T=0

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







Multiple Linear Regression - Estimated Regression Equation
RENTE[t] = + 1.72109943411480 -0.357833468067907DUMMY[t] + 0.117902923740233M1[t] + 0.179564133656695M2[t] + 0.208053556992724M3[t] + 0.0970846133117752M4[t] + 0.12753240366478M5[t] + 0.156021827000808M6[t] + 0.134511250336836M7[t] + 0.0755006736728639M8[t] + 0.0889900970088916M9[t] + 0.127479520344920M10[t] + 0.130968943680948M11[t] + 0.0590105766639719t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
RENTE[t] =  +  1.72109943411480 -0.357833468067907DUMMY[t] +  0.117902923740233M1[t] +  0.179564133656695M2[t] +  0.208053556992724M3[t] +  0.0970846133117752M4[t] +  0.12753240366478M5[t] +  0.156021827000808M6[t] +  0.134511250336836M7[t] +  0.0755006736728639M8[t] +  0.0889900970088916M9[t] +  0.127479520344920M10[t] +  0.130968943680948M11[t] +  0.0590105766639719t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35364&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]RENTE[t] =  +  1.72109943411480 -0.357833468067907DUMMY[t] +  0.117902923740233M1[t] +  0.179564133656695M2[t] +  0.208053556992724M3[t] +  0.0970846133117752M4[t] +  0.12753240366478M5[t] +  0.156021827000808M6[t] +  0.134511250336836M7[t] +  0.0755006736728639M8[t] +  0.0889900970088916M9[t] +  0.127479520344920M10[t] +  0.130968943680948M11[t] +  0.0590105766639719t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35364&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35364&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
RENTE[t] = + 1.72109943411480 -0.357833468067907DUMMY[t] + 0.117902923740233M1[t] + 0.179564133656695M2[t] + 0.208053556992724M3[t] + 0.0970846133117752M4[t] + 0.12753240366478M5[t] + 0.156021827000808M6[t] + 0.134511250336836M7[t] + 0.0755006736728639M8[t] + 0.0889900970088916M9[t] + 0.127479520344920M10[t] + 0.130968943680948M11[t] + 0.0590105766639719t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)1.721099434114800.12543713.720800
DUMMY-0.3578334680679070.066067-5.41625e-062e-06
M10.1179029237402330.1384520.85160.4002360.200118
M20.1795641336566950.1464331.22630.2282910.114145
M30.2080535569927240.1461591.42350.1634510.081726
M40.09708461331177520.1450920.66910.5078050.253903
M50.127532403664780.1456990.87530.3873710.193685
M60.1560218270008080.1455151.07220.2909650.145482
M70.1345112503368360.1453610.92540.3611140.180557
M80.07550067367286390.1452370.51980.6064450.303222
M90.08899009700889160.1451440.61310.5437640.271882
M100.1274795203449200.1450820.87870.3855720.192786
M110.1309689436809480.145050.90290.3727410.18637
t0.05901057666397190.0021127.962900

\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.72109943411480 & 0.125437 & 13.7208 & 0 & 0 \tabularnewline
DUMMY & -0.357833468067907 & 0.066067 & -5.4162 & 5e-06 & 2e-06 \tabularnewline
M1 & 0.117902923740233 & 0.138452 & 0.8516 & 0.400236 & 0.200118 \tabularnewline
M2 & 0.179564133656695 & 0.146433 & 1.2263 & 0.228291 & 0.114145 \tabularnewline
M3 & 0.208053556992724 & 0.146159 & 1.4235 & 0.163451 & 0.081726 \tabularnewline
M4 & 0.0970846133117752 & 0.145092 & 0.6691 & 0.507805 & 0.253903 \tabularnewline
M5 & 0.12753240366478 & 0.145699 & 0.8753 & 0.387371 & 0.193685 \tabularnewline
M6 & 0.156021827000808 & 0.145515 & 1.0722 & 0.290965 & 0.145482 \tabularnewline
M7 & 0.134511250336836 & 0.145361 & 0.9254 & 0.361114 & 0.180557 \tabularnewline
M8 & 0.0755006736728639 & 0.145237 & 0.5198 & 0.606445 & 0.303222 \tabularnewline
M9 & 0.0889900970088916 & 0.145144 & 0.6131 & 0.543764 & 0.271882 \tabularnewline
M10 & 0.127479520344920 & 0.145082 & 0.8787 & 0.385572 & 0.192786 \tabularnewline
M11 & 0.130968943680948 & 0.14505 & 0.9029 & 0.372741 & 0.18637 \tabularnewline
t & 0.0590105766639719 & 0.00211 & 27.9629 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35364&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.72109943411480[/C][C]0.125437[/C][C]13.7208[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]DUMMY[/C][C]-0.357833468067907[/C][C]0.066067[/C][C]-5.4162[/C][C]5e-06[/C][C]2e-06[/C][/ROW]
[ROW][C]M1[/C][C]0.117902923740233[/C][C]0.138452[/C][C]0.8516[/C][C]0.400236[/C][C]0.200118[/C][/ROW]
[ROW][C]M2[/C][C]0.179564133656695[/C][C]0.146433[/C][C]1.2263[/C][C]0.228291[/C][C]0.114145[/C][/ROW]
[ROW][C]M3[/C][C]0.208053556992724[/C][C]0.146159[/C][C]1.4235[/C][C]0.163451[/C][C]0.081726[/C][/ROW]
[ROW][C]M4[/C][C]0.0970846133117752[/C][C]0.145092[/C][C]0.6691[/C][C]0.507805[/C][C]0.253903[/C][/ROW]
[ROW][C]M5[/C][C]0.12753240366478[/C][C]0.145699[/C][C]0.8753[/C][C]0.387371[/C][C]0.193685[/C][/ROW]
[ROW][C]M6[/C][C]0.156021827000808[/C][C]0.145515[/C][C]1.0722[/C][C]0.290965[/C][C]0.145482[/C][/ROW]
[ROW][C]M7[/C][C]0.134511250336836[/C][C]0.145361[/C][C]0.9254[/C][C]0.361114[/C][C]0.180557[/C][/ROW]
[ROW][C]M8[/C][C]0.0755006736728639[/C][C]0.145237[/C][C]0.5198[/C][C]0.606445[/C][C]0.303222[/C][/ROW]
[ROW][C]M9[/C][C]0.0889900970088916[/C][C]0.145144[/C][C]0.6131[/C][C]0.543764[/C][C]0.271882[/C][/ROW]
[ROW][C]M10[/C][C]0.127479520344920[/C][C]0.145082[/C][C]0.8787[/C][C]0.385572[/C][C]0.192786[/C][/ROW]
[ROW][C]M11[/C][C]0.130968943680948[/C][C]0.14505[/C][C]0.9029[/C][C]0.372741[/C][C]0.18637[/C][/ROW]
[ROW][C]t[/C][C]0.0590105766639719[/C][C]0.00211[/C][C]27.9629[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35364&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35364&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.721099434114800.12543713.720800
DUMMY-0.3578334680679070.066067-5.41625e-062e-06
M10.1179029237402330.1384520.85160.4002360.200118
M20.1795641336566950.1464331.22630.2282910.114145
M30.2080535569927240.1461591.42350.1634510.081726
M40.09708461331177520.1450920.66910.5078050.253903
M50.127532403664780.1456990.87530.3873710.193685
M60.1560218270008080.1455151.07220.2909650.145482
M70.1345112503368360.1453610.92540.3611140.180557
M80.07550067367286390.1452370.51980.6064450.303222
M90.08899009700889160.1451440.61310.5437640.271882
M100.1274795203449200.1450820.87870.3855720.192786
M110.1309689436809480.145050.90290.3727410.18637
t0.05901057666397190.0021127.962900







Multiple Linear Regression - Regression Statistics
Multiple R0.9802268359542
R-squared0.960844649924782
Adjusted R-squared0.946301234182558
F-TEST (value)66.0673301895074
F-TEST (DF numerator)13
F-TEST (DF denominator)35
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.203796814183396
Sum Squared Residuals1.45365995149556

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.9802268359542 \tabularnewline
R-squared & 0.960844649924782 \tabularnewline
Adjusted R-squared & 0.946301234182558 \tabularnewline
F-TEST (value) & 66.0673301895074 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 35 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.203796814183396 \tabularnewline
Sum Squared Residuals & 1.45365995149556 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35364&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.9802268359542[/C][/ROW]
[ROW][C]R-squared[/C][C]0.960844649924782[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.946301234182558[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]66.0673301895074[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]35[/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]0.203796814183396[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1.45365995149556[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35364&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35364&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.9802268359542
R-squared0.960844649924782
Adjusted R-squared0.946301234182558
F-TEST (value)66.0673301895074
F-TEST (DF numerator)13
F-TEST (DF denominator)35
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.203796814183396
Sum Squared Residuals1.45365995149556







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
121.540179466451080.459820533548918
221.660851253031530.33914874696847
322.10618472109943-0.106184721099434
422.05422635408246-0.054226354082458
521.785851253031530.214148746968472
621.873351253031530.126648746968472
721.910851253031530.0891487469684714
821.910851253031530.0891487469684713
921.983351253031530.0166487469684713
1022.08085125303153-0.0808512530315286
1122.14335125303153-0.143351253031528
1222.07139288601455-0.0713928860145522
1322.24830638641876-0.248306386418758
1422.36897817299919-0.368978172999192
152.212.45647817299919-0.246478172999192
162.252.40451980598221-0.154519805982215
172.252.49397817299919-0.243978172999192
182.452.58147817299919-0.131478172999192
192.52.61897817299919-0.118978172999192
202.52.61897817299919-0.118978172999191
212.642.69147817299919-0.0514781729991915
222.752.78897817299919-0.0389781729991917
232.932.851478172999190.0785218270008082
2433.13735327405012-0.137353274050121
253.173.31426677445433-0.144266774454327
263.253.43493856103476-0.184938561034760
273.393.164605092966850.225394907033145
283.53.470480194017780.0295198059822155
293.53.55993856103476-0.0599385610347612
303.653.647438561034760.00256143896523863
313.753.684938561034760.0650614389652388
323.753.684938561034760.065061438965239
333.93.757438561034760.142561438965239
3443.854938561034760.145061438965239
3543.917438561034760.0825614389652386
3643.845480194017780.154519805982215
3743.664560226354080.335439773645915
3843.785232012934520.214767987065483
3943.872732012934520.127267987065481
4043.820773645917540.179226354082458
4143.910232012934520.0897679870654812
4243.997732012934520.00226798706548115
4344.03523201293452-0.0352320129345186
4444.03523201293452-0.0352320129345188
4544.10773201293452-0.107732012934519
464.184.20523201293452-0.0252320129345189
474.254.26773201293452-0.0177320129345184
484.254.195773645917540.0542263540824575
493.974.37268714632175-0.402687146321748

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 2 & 1.54017946645108 & 0.459820533548918 \tabularnewline
2 & 2 & 1.66085125303153 & 0.33914874696847 \tabularnewline
3 & 2 & 2.10618472109943 & -0.106184721099434 \tabularnewline
4 & 2 & 2.05422635408246 & -0.054226354082458 \tabularnewline
5 & 2 & 1.78585125303153 & 0.214148746968472 \tabularnewline
6 & 2 & 1.87335125303153 & 0.126648746968472 \tabularnewline
7 & 2 & 1.91085125303153 & 0.0891487469684714 \tabularnewline
8 & 2 & 1.91085125303153 & 0.0891487469684713 \tabularnewline
9 & 2 & 1.98335125303153 & 0.0166487469684713 \tabularnewline
10 & 2 & 2.08085125303153 & -0.0808512530315286 \tabularnewline
11 & 2 & 2.14335125303153 & -0.143351253031528 \tabularnewline
12 & 2 & 2.07139288601455 & -0.0713928860145522 \tabularnewline
13 & 2 & 2.24830638641876 & -0.248306386418758 \tabularnewline
14 & 2 & 2.36897817299919 & -0.368978172999192 \tabularnewline
15 & 2.21 & 2.45647817299919 & -0.246478172999192 \tabularnewline
16 & 2.25 & 2.40451980598221 & -0.154519805982215 \tabularnewline
17 & 2.25 & 2.49397817299919 & -0.243978172999192 \tabularnewline
18 & 2.45 & 2.58147817299919 & -0.131478172999192 \tabularnewline
19 & 2.5 & 2.61897817299919 & -0.118978172999192 \tabularnewline
20 & 2.5 & 2.61897817299919 & -0.118978172999191 \tabularnewline
21 & 2.64 & 2.69147817299919 & -0.0514781729991915 \tabularnewline
22 & 2.75 & 2.78897817299919 & -0.0389781729991917 \tabularnewline
23 & 2.93 & 2.85147817299919 & 0.0785218270008082 \tabularnewline
24 & 3 & 3.13735327405012 & -0.137353274050121 \tabularnewline
25 & 3.17 & 3.31426677445433 & -0.144266774454327 \tabularnewline
26 & 3.25 & 3.43493856103476 & -0.184938561034760 \tabularnewline
27 & 3.39 & 3.16460509296685 & 0.225394907033145 \tabularnewline
28 & 3.5 & 3.47048019401778 & 0.0295198059822155 \tabularnewline
29 & 3.5 & 3.55993856103476 & -0.0599385610347612 \tabularnewline
30 & 3.65 & 3.64743856103476 & 0.00256143896523863 \tabularnewline
31 & 3.75 & 3.68493856103476 & 0.0650614389652388 \tabularnewline
32 & 3.75 & 3.68493856103476 & 0.065061438965239 \tabularnewline
33 & 3.9 & 3.75743856103476 & 0.142561438965239 \tabularnewline
34 & 4 & 3.85493856103476 & 0.145061438965239 \tabularnewline
35 & 4 & 3.91743856103476 & 0.0825614389652386 \tabularnewline
36 & 4 & 3.84548019401778 & 0.154519805982215 \tabularnewline
37 & 4 & 3.66456022635408 & 0.335439773645915 \tabularnewline
38 & 4 & 3.78523201293452 & 0.214767987065483 \tabularnewline
39 & 4 & 3.87273201293452 & 0.127267987065481 \tabularnewline
40 & 4 & 3.82077364591754 & 0.179226354082458 \tabularnewline
41 & 4 & 3.91023201293452 & 0.0897679870654812 \tabularnewline
42 & 4 & 3.99773201293452 & 0.00226798706548115 \tabularnewline
43 & 4 & 4.03523201293452 & -0.0352320129345186 \tabularnewline
44 & 4 & 4.03523201293452 & -0.0352320129345188 \tabularnewline
45 & 4 & 4.10773201293452 & -0.107732012934519 \tabularnewline
46 & 4.18 & 4.20523201293452 & -0.0252320129345189 \tabularnewline
47 & 4.25 & 4.26773201293452 & -0.0177320129345184 \tabularnewline
48 & 4.25 & 4.19577364591754 & 0.0542263540824575 \tabularnewline
49 & 3.97 & 4.37268714632175 & -0.402687146321748 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35364&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]1.54017946645108[/C][C]0.459820533548918[/C][/ROW]
[ROW][C]2[/C][C]2[/C][C]1.66085125303153[/C][C]0.33914874696847[/C][/ROW]
[ROW][C]3[/C][C]2[/C][C]2.10618472109943[/C][C]-0.106184721099434[/C][/ROW]
[ROW][C]4[/C][C]2[/C][C]2.05422635408246[/C][C]-0.054226354082458[/C][/ROW]
[ROW][C]5[/C][C]2[/C][C]1.78585125303153[/C][C]0.214148746968472[/C][/ROW]
[ROW][C]6[/C][C]2[/C][C]1.87335125303153[/C][C]0.126648746968472[/C][/ROW]
[ROW][C]7[/C][C]2[/C][C]1.91085125303153[/C][C]0.0891487469684714[/C][/ROW]
[ROW][C]8[/C][C]2[/C][C]1.91085125303153[/C][C]0.0891487469684713[/C][/ROW]
[ROW][C]9[/C][C]2[/C][C]1.98335125303153[/C][C]0.0166487469684713[/C][/ROW]
[ROW][C]10[/C][C]2[/C][C]2.08085125303153[/C][C]-0.0808512530315286[/C][/ROW]
[ROW][C]11[/C][C]2[/C][C]2.14335125303153[/C][C]-0.143351253031528[/C][/ROW]
[ROW][C]12[/C][C]2[/C][C]2.07139288601455[/C][C]-0.0713928860145522[/C][/ROW]
[ROW][C]13[/C][C]2[/C][C]2.24830638641876[/C][C]-0.248306386418758[/C][/ROW]
[ROW][C]14[/C][C]2[/C][C]2.36897817299919[/C][C]-0.368978172999192[/C][/ROW]
[ROW][C]15[/C][C]2.21[/C][C]2.45647817299919[/C][C]-0.246478172999192[/C][/ROW]
[ROW][C]16[/C][C]2.25[/C][C]2.40451980598221[/C][C]-0.154519805982215[/C][/ROW]
[ROW][C]17[/C][C]2.25[/C][C]2.49397817299919[/C][C]-0.243978172999192[/C][/ROW]
[ROW][C]18[/C][C]2.45[/C][C]2.58147817299919[/C][C]-0.131478172999192[/C][/ROW]
[ROW][C]19[/C][C]2.5[/C][C]2.61897817299919[/C][C]-0.118978172999192[/C][/ROW]
[ROW][C]20[/C][C]2.5[/C][C]2.61897817299919[/C][C]-0.118978172999191[/C][/ROW]
[ROW][C]21[/C][C]2.64[/C][C]2.69147817299919[/C][C]-0.0514781729991915[/C][/ROW]
[ROW][C]22[/C][C]2.75[/C][C]2.78897817299919[/C][C]-0.0389781729991917[/C][/ROW]
[ROW][C]23[/C][C]2.93[/C][C]2.85147817299919[/C][C]0.0785218270008082[/C][/ROW]
[ROW][C]24[/C][C]3[/C][C]3.13735327405012[/C][C]-0.137353274050121[/C][/ROW]
[ROW][C]25[/C][C]3.17[/C][C]3.31426677445433[/C][C]-0.144266774454327[/C][/ROW]
[ROW][C]26[/C][C]3.25[/C][C]3.43493856103476[/C][C]-0.184938561034760[/C][/ROW]
[ROW][C]27[/C][C]3.39[/C][C]3.16460509296685[/C][C]0.225394907033145[/C][/ROW]
[ROW][C]28[/C][C]3.5[/C][C]3.47048019401778[/C][C]0.0295198059822155[/C][/ROW]
[ROW][C]29[/C][C]3.5[/C][C]3.55993856103476[/C][C]-0.0599385610347612[/C][/ROW]
[ROW][C]30[/C][C]3.65[/C][C]3.64743856103476[/C][C]0.00256143896523863[/C][/ROW]
[ROW][C]31[/C][C]3.75[/C][C]3.68493856103476[/C][C]0.0650614389652388[/C][/ROW]
[ROW][C]32[/C][C]3.75[/C][C]3.68493856103476[/C][C]0.065061438965239[/C][/ROW]
[ROW][C]33[/C][C]3.9[/C][C]3.75743856103476[/C][C]0.142561438965239[/C][/ROW]
[ROW][C]34[/C][C]4[/C][C]3.85493856103476[/C][C]0.145061438965239[/C][/ROW]
[ROW][C]35[/C][C]4[/C][C]3.91743856103476[/C][C]0.0825614389652386[/C][/ROW]
[ROW][C]36[/C][C]4[/C][C]3.84548019401778[/C][C]0.154519805982215[/C][/ROW]
[ROW][C]37[/C][C]4[/C][C]3.66456022635408[/C][C]0.335439773645915[/C][/ROW]
[ROW][C]38[/C][C]4[/C][C]3.78523201293452[/C][C]0.214767987065483[/C][/ROW]
[ROW][C]39[/C][C]4[/C][C]3.87273201293452[/C][C]0.127267987065481[/C][/ROW]
[ROW][C]40[/C][C]4[/C][C]3.82077364591754[/C][C]0.179226354082458[/C][/ROW]
[ROW][C]41[/C][C]4[/C][C]3.91023201293452[/C][C]0.0897679870654812[/C][/ROW]
[ROW][C]42[/C][C]4[/C][C]3.99773201293452[/C][C]0.00226798706548115[/C][/ROW]
[ROW][C]43[/C][C]4[/C][C]4.03523201293452[/C][C]-0.0352320129345186[/C][/ROW]
[ROW][C]44[/C][C]4[/C][C]4.03523201293452[/C][C]-0.0352320129345188[/C][/ROW]
[ROW][C]45[/C][C]4[/C][C]4.10773201293452[/C][C]-0.107732012934519[/C][/ROW]
[ROW][C]46[/C][C]4.18[/C][C]4.20523201293452[/C][C]-0.0252320129345189[/C][/ROW]
[ROW][C]47[/C][C]4.25[/C][C]4.26773201293452[/C][C]-0.0177320129345184[/C][/ROW]
[ROW][C]48[/C][C]4.25[/C][C]4.19577364591754[/C][C]0.0542263540824575[/C][/ROW]
[ROW][C]49[/C][C]3.97[/C][C]4.37268714632175[/C][C]-0.402687146321748[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35364&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35364&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
121.540179466451080.459820533548918
221.660851253031530.33914874696847
322.10618472109943-0.106184721099434
422.05422635408246-0.054226354082458
521.785851253031530.214148746968472
621.873351253031530.126648746968472
721.910851253031530.0891487469684714
821.910851253031530.0891487469684713
921.983351253031530.0166487469684713
1022.08085125303153-0.0808512530315286
1122.14335125303153-0.143351253031528
1222.07139288601455-0.0713928860145522
1322.24830638641876-0.248306386418758
1422.36897817299919-0.368978172999192
152.212.45647817299919-0.246478172999192
162.252.40451980598221-0.154519805982215
172.252.49397817299919-0.243978172999192
182.452.58147817299919-0.131478172999192
192.52.61897817299919-0.118978172999192
202.52.61897817299919-0.118978172999191
212.642.69147817299919-0.0514781729991915
222.752.78897817299919-0.0389781729991917
232.932.851478172999190.0785218270008082
2433.13735327405012-0.137353274050121
253.173.31426677445433-0.144266774454327
263.253.43493856103476-0.184938561034760
273.393.164605092966850.225394907033145
283.53.470480194017780.0295198059822155
293.53.55993856103476-0.0599385610347612
303.653.647438561034760.00256143896523863
313.753.684938561034760.0650614389652388
323.753.684938561034760.065061438965239
333.93.757438561034760.142561438965239
3443.854938561034760.145061438965239
3543.917438561034760.0825614389652386
3643.845480194017780.154519805982215
3743.664560226354080.335439773645915
3843.785232012934520.214767987065483
3943.872732012934520.127267987065481
4043.820773645917540.179226354082458
4143.910232012934520.0897679870654812
4243.997732012934520.00226798706548115
4344.03523201293452-0.0352320129345186
4444.03523201293452-0.0352320129345188
4544.10773201293452-0.107732012934519
464.184.20523201293452-0.0252320129345189
474.254.26773201293452-0.0177320129345184
484.254.195773645917540.0542263540824575
493.974.37268714632175-0.402687146321748







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.1340193990613620.2680387981227240.865980600938638
180.3213653394523640.6427306789047290.678634660547636
190.3744279122866510.7488558245733020.625572087713349
200.3502242221107490.7004484442214980.649775777889251
210.3935750904832630.7871501809665270.606424909516737
220.4775731016433530.9551462032867060.522426898356647
230.6078390618179930.7843218763640130.392160938182007
240.7278264637701030.5443470724597930.272173536229897
250.7242114454719760.5515771090560470.275788554528024
260.8295108338009520.3409783323980960.170489166199048
270.99180911467020.01638177065959950.00819088532979973
280.9948978036492820.01020439270143540.0051021963507177
290.999051626917640.001896746164718720.00094837308235936
300.9990215151431910.00195696971361790.00097848485680895
310.995721267769860.008557464460281540.00427873223014077
320.982861430199640.03427713960071780.0171385698003589

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.134019399061362 & 0.268038798122724 & 0.865980600938638 \tabularnewline
18 & 0.321365339452364 & 0.642730678904729 & 0.678634660547636 \tabularnewline
19 & 0.374427912286651 & 0.748855824573302 & 0.625572087713349 \tabularnewline
20 & 0.350224222110749 & 0.700448444221498 & 0.649775777889251 \tabularnewline
21 & 0.393575090483263 & 0.787150180966527 & 0.606424909516737 \tabularnewline
22 & 0.477573101643353 & 0.955146203286706 & 0.522426898356647 \tabularnewline
23 & 0.607839061817993 & 0.784321876364013 & 0.392160938182007 \tabularnewline
24 & 0.727826463770103 & 0.544347072459793 & 0.272173536229897 \tabularnewline
25 & 0.724211445471976 & 0.551577109056047 & 0.275788554528024 \tabularnewline
26 & 0.829510833800952 & 0.340978332398096 & 0.170489166199048 \tabularnewline
27 & 0.9918091146702 & 0.0163817706595995 & 0.00819088532979973 \tabularnewline
28 & 0.994897803649282 & 0.0102043927014354 & 0.0051021963507177 \tabularnewline
29 & 0.99905162691764 & 0.00189674616471872 & 0.00094837308235936 \tabularnewline
30 & 0.999021515143191 & 0.0019569697136179 & 0.00097848485680895 \tabularnewline
31 & 0.99572126776986 & 0.00855746446028154 & 0.00427873223014077 \tabularnewline
32 & 0.98286143019964 & 0.0342771396007178 & 0.0171385698003589 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35364&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]17[/C][C]0.134019399061362[/C][C]0.268038798122724[/C][C]0.865980600938638[/C][/ROW]
[ROW][C]18[/C][C]0.321365339452364[/C][C]0.642730678904729[/C][C]0.678634660547636[/C][/ROW]
[ROW][C]19[/C][C]0.374427912286651[/C][C]0.748855824573302[/C][C]0.625572087713349[/C][/ROW]
[ROW][C]20[/C][C]0.350224222110749[/C][C]0.700448444221498[/C][C]0.649775777889251[/C][/ROW]
[ROW][C]21[/C][C]0.393575090483263[/C][C]0.787150180966527[/C][C]0.606424909516737[/C][/ROW]
[ROW][C]22[/C][C]0.477573101643353[/C][C]0.955146203286706[/C][C]0.522426898356647[/C][/ROW]
[ROW][C]23[/C][C]0.607839061817993[/C][C]0.784321876364013[/C][C]0.392160938182007[/C][/ROW]
[ROW][C]24[/C][C]0.727826463770103[/C][C]0.544347072459793[/C][C]0.272173536229897[/C][/ROW]
[ROW][C]25[/C][C]0.724211445471976[/C][C]0.551577109056047[/C][C]0.275788554528024[/C][/ROW]
[ROW][C]26[/C][C]0.829510833800952[/C][C]0.340978332398096[/C][C]0.170489166199048[/C][/ROW]
[ROW][C]27[/C][C]0.9918091146702[/C][C]0.0163817706595995[/C][C]0.00819088532979973[/C][/ROW]
[ROW][C]28[/C][C]0.994897803649282[/C][C]0.0102043927014354[/C][C]0.0051021963507177[/C][/ROW]
[ROW][C]29[/C][C]0.99905162691764[/C][C]0.00189674616471872[/C][C]0.00094837308235936[/C][/ROW]
[ROW][C]30[/C][C]0.999021515143191[/C][C]0.0019569697136179[/C][C]0.00097848485680895[/C][/ROW]
[ROW][C]31[/C][C]0.99572126776986[/C][C]0.00855746446028154[/C][C]0.00427873223014077[/C][/ROW]
[ROW][C]32[/C][C]0.98286143019964[/C][C]0.0342771396007178[/C][C]0.0171385698003589[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35364&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35364&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
170.1340193990613620.2680387981227240.865980600938638
180.3213653394523640.6427306789047290.678634660547636
190.3744279122866510.7488558245733020.625572087713349
200.3502242221107490.7004484442214980.649775777889251
210.3935750904832630.7871501809665270.606424909516737
220.4775731016433530.9551462032867060.522426898356647
230.6078390618179930.7843218763640130.392160938182007
240.7278264637701030.5443470724597930.272173536229897
250.7242114454719760.5515771090560470.275788554528024
260.8295108338009520.3409783323980960.170489166199048
270.99180911467020.01638177065959950.00819088532979973
280.9948978036492820.01020439270143540.0051021963507177
290.999051626917640.001896746164718720.00094837308235936
300.9990215151431910.00195696971361790.00097848485680895
310.995721267769860.008557464460281540.00427873223014077
320.982861430199640.03427713960071780.0171385698003589







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level30.1875NOK
5% type I error level60.375NOK
10% type I error level60.375NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35364&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 level30.1875NOK
5% type I error level60.375NOK
10% type I error level60.375NOK



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = 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')
}