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 computationSat, 21 Nov 2009 00:38:02 -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/2009/Nov/21/t1258789225zezfwnurbla4wul.htm/, Retrieved Sat, 27 Apr 2024 22:07:19 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58513, Retrieved Sat, 27 Apr 2024 22:07:19 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact206
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RM D  [Multiple Regression] [Seatbelt] [2009-11-12 14:06:21] [b98453cac15ba1066b407e146608df68]
-    D      [Multiple Regression] [lineair - goudkoe...] [2009-11-21 07:38:02] [5c2088b06970f9a7d6fea063ee8d5871] [Current]
Feedback Forum

Post a new message
Dataseries X:
22.680	1
22.052	1
21.467	1
21.383	1
21.777	1
21.928	1
21.814	1
22.937	1
23.595	1
20.830	1
19.650	1
19.195	1
19.644	0
18.483	0
18.079	0
19.178	0
18.391	0
18.441	0
18.584	0
20.108	0
20.148	0
19.394	0
17.745	0
17.696	0
17.032	0
16.438	0
15.683	0
15.594	0
15.713	0
15.937	0
16.171	0
15.928	0
16.348	0
15.579	0
15.305	0
15.648	0
14.954	0
15.137	0
15.839	0
16.050	0
15.168	0
17.064	0
16.005	0
14.886	0
14.931	0
14.544	0
13.812	0




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\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 & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58513&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]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58513&T=0

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







Multiple Linear Regression - Estimated Regression Equation
gk[t] = + 20.7561980198020 + 1.29384653465347cr[t] + 0.406803836633668M1[t] + 0.0099071782178209M2[t] -0.097489480198021M3[t] + 0.339863861386138M4[t] + 0.203967202970295M5[t] + 0.937320544554454M6[t] + 0.891423886138612M7[t] + 1.36577722772277M8[t] + 1.80963056930693M9[t] + 0.793983910891087M10[t] -0.0116627475247544M11[t] -0.153103341584158t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
gk[t] =  +  20.7561980198020 +  1.29384653465347cr[t] +  0.406803836633668M1[t] +  0.0099071782178209M2[t] -0.097489480198021M3[t] +  0.339863861386138M4[t] +  0.203967202970295M5[t] +  0.937320544554454M6[t] +  0.891423886138612M7[t] +  1.36577722772277M8[t] +  1.80963056930693M9[t] +  0.793983910891087M10[t] -0.0116627475247544M11[t] -0.153103341584158t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58513&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]gk[t] =  +  20.7561980198020 +  1.29384653465347cr[t] +  0.406803836633668M1[t] +  0.0099071782178209M2[t] -0.097489480198021M3[t] +  0.339863861386138M4[t] +  0.203967202970295M5[t] +  0.937320544554454M6[t] +  0.891423886138612M7[t] +  1.36577722772277M8[t] +  1.80963056930693M9[t] +  0.793983910891087M10[t] -0.0116627475247544M11[t] -0.153103341584158t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58513&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58513&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
gk[t] = + 20.7561980198020 + 1.29384653465347cr[t] + 0.406803836633668M1[t] + 0.0099071782178209M2[t] -0.097489480198021M3[t] + 0.339863861386138M4[t] + 0.203967202970295M5[t] + 0.937320544554454M6[t] + 0.891423886138612M7[t] + 1.36577722772277M8[t] + 1.80963056930693M9[t] + 0.793983910891087M10[t] -0.0116627475247544M11[t] -0.153103341584158t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)20.75619801980200.71334629.09700
cr1.293846534653470.4675812.76710.0091970.004599
M10.4068038366336680.6812370.59720.554480.27724
M20.00990717821782090.678980.01460.9884460.494223
M3-0.0974894801980210.677067-0.1440.8863860.443193
M40.3398638613861380.6754990.50310.6182150.309107
M50.2039672029702950.6742810.30250.7641730.382086
M60.9373205445544540.6734131.39190.1732650.086632
M70.8914238861386120.6728971.32480.1943530.097177
M81.365777227722770.6727342.03020.0504610.025231
M91.809630569306930.6729232.68920.0111430.005572
M100.7939839108910870.6734661.1790.2468480.123424
M11-0.01166274752475440.67436-0.01730.9863060.493153
t-0.1531033415841580.015411-9.934500

\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) & 20.7561980198020 & 0.713346 & 29.097 & 0 & 0 \tabularnewline
cr & 1.29384653465347 & 0.467581 & 2.7671 & 0.009197 & 0.004599 \tabularnewline
M1 & 0.406803836633668 & 0.681237 & 0.5972 & 0.55448 & 0.27724 \tabularnewline
M2 & 0.0099071782178209 & 0.67898 & 0.0146 & 0.988446 & 0.494223 \tabularnewline
M3 & -0.097489480198021 & 0.677067 & -0.144 & 0.886386 & 0.443193 \tabularnewline
M4 & 0.339863861386138 & 0.675499 & 0.5031 & 0.618215 & 0.309107 \tabularnewline
M5 & 0.203967202970295 & 0.674281 & 0.3025 & 0.764173 & 0.382086 \tabularnewline
M6 & 0.937320544554454 & 0.673413 & 1.3919 & 0.173265 & 0.086632 \tabularnewline
M7 & 0.891423886138612 & 0.672897 & 1.3248 & 0.194353 & 0.097177 \tabularnewline
M8 & 1.36577722772277 & 0.672734 & 2.0302 & 0.050461 & 0.025231 \tabularnewline
M9 & 1.80963056930693 & 0.672923 & 2.6892 & 0.011143 & 0.005572 \tabularnewline
M10 & 0.793983910891087 & 0.673466 & 1.179 & 0.246848 & 0.123424 \tabularnewline
M11 & -0.0116627475247544 & 0.67436 & -0.0173 & 0.986306 & 0.493153 \tabularnewline
t & -0.153103341584158 & 0.015411 & -9.9345 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58513&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]20.7561980198020[/C][C]0.713346[/C][C]29.097[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]cr[/C][C]1.29384653465347[/C][C]0.467581[/C][C]2.7671[/C][C]0.009197[/C][C]0.004599[/C][/ROW]
[ROW][C]M1[/C][C]0.406803836633668[/C][C]0.681237[/C][C]0.5972[/C][C]0.55448[/C][C]0.27724[/C][/ROW]
[ROW][C]M2[/C][C]0.0099071782178209[/C][C]0.67898[/C][C]0.0146[/C][C]0.988446[/C][C]0.494223[/C][/ROW]
[ROW][C]M3[/C][C]-0.097489480198021[/C][C]0.677067[/C][C]-0.144[/C][C]0.886386[/C][C]0.443193[/C][/ROW]
[ROW][C]M4[/C][C]0.339863861386138[/C][C]0.675499[/C][C]0.5031[/C][C]0.618215[/C][C]0.309107[/C][/ROW]
[ROW][C]M5[/C][C]0.203967202970295[/C][C]0.674281[/C][C]0.3025[/C][C]0.764173[/C][C]0.382086[/C][/ROW]
[ROW][C]M6[/C][C]0.937320544554454[/C][C]0.673413[/C][C]1.3919[/C][C]0.173265[/C][C]0.086632[/C][/ROW]
[ROW][C]M7[/C][C]0.891423886138612[/C][C]0.672897[/C][C]1.3248[/C][C]0.194353[/C][C]0.097177[/C][/ROW]
[ROW][C]M8[/C][C]1.36577722772277[/C][C]0.672734[/C][C]2.0302[/C][C]0.050461[/C][C]0.025231[/C][/ROW]
[ROW][C]M9[/C][C]1.80963056930693[/C][C]0.672923[/C][C]2.6892[/C][C]0.011143[/C][C]0.005572[/C][/ROW]
[ROW][C]M10[/C][C]0.793983910891087[/C][C]0.673466[/C][C]1.179[/C][C]0.246848[/C][C]0.123424[/C][/ROW]
[ROW][C]M11[/C][C]-0.0116627475247544[/C][C]0.67436[/C][C]-0.0173[/C][C]0.986306[/C][C]0.493153[/C][/ROW]
[ROW][C]t[/C][C]-0.153103341584158[/C][C]0.015411[/C][C]-9.9345[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58513&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58513&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)20.75619801980200.71334629.09700
cr1.293846534653470.4675812.76710.0091970.004599
M10.4068038366336680.6812370.59720.554480.27724
M20.00990717821782090.678980.01460.9884460.494223
M3-0.0974894801980210.677067-0.1440.8863860.443193
M40.3398638613861380.6754990.50310.6182150.309107
M50.2039672029702950.6742810.30250.7641730.382086
M60.9373205445544540.6734131.39190.1732650.086632
M70.8914238861386120.6728971.32480.1943530.097177
M81.365777227722770.6727342.03020.0504610.025231
M91.809630569306930.6729232.68920.0111430.005572
M100.7939839108910870.6734661.1790.2468480.123424
M11-0.01166274752475440.67436-0.01730.9863060.493153
t-0.1531033415841580.015411-9.934500







Multiple Linear Regression - Regression Statistics
Multiple R0.960538306463213
R-squared0.922633838183218
Adjusted R-squared0.892156259285697
F-TEST (value)30.2725436717115
F-TEST (DF numerator)13
F-TEST (DF denominator)33
p-value1.37667655053519e-14
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.880227216885127
Sum Squared Residuals25.5683984603961

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.960538306463213 \tabularnewline
R-squared & 0.922633838183218 \tabularnewline
Adjusted R-squared & 0.892156259285697 \tabularnewline
F-TEST (value) & 30.2725436717115 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 33 \tabularnewline
p-value & 1.37667655053519e-14 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.880227216885127 \tabularnewline
Sum Squared Residuals & 25.5683984603961 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58513&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.960538306463213[/C][/ROW]
[ROW][C]R-squared[/C][C]0.922633838183218[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.892156259285697[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]30.2725436717115[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]33[/C][/ROW]
[ROW][C]p-value[/C][C]1.37667655053519e-14[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.880227216885127[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]25.5683984603961[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58513&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58513&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.960538306463213
R-squared0.922633838183218
Adjusted R-squared0.892156259285697
F-TEST (value)30.2725436717115
F-TEST (DF numerator)13
F-TEST (DF denominator)33
p-value1.37667655053519e-14
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.880227216885127
Sum Squared Residuals25.5683984603961







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
122.6822.30374504950490.376254950495066
222.05221.75374504950490.298254950495049
321.46721.4932450495050-0.0262450495049532
421.38321.7774950495050-0.394495049504953
521.77721.48849504950500.28850495049505
621.92822.0687450495050-0.140745049504952
721.81421.8697450495049-0.0557450495049507
822.93722.19099504950500.74600495049505
923.59522.48174504950501.11325495049505
1020.8321.3129950495050-0.482995049504953
1119.6520.3542450495050-0.704245049504954
1219.19520.2128044554455-1.01780445544555
1319.64419.17265841584160.471341584158410
1418.48318.6226584158416-0.139658415841585
1518.07918.3621584158416-0.283158415841583
1619.17818.64640841584160.531591584158417
1718.39118.35740841584160.0335915841584155
1818.44118.9376584158416-0.496658415841584
1918.58418.7386584158416-0.154658415841584
2020.10819.05990841584161.04809158415842
2120.14819.35065841584160.797341584158417
2219.39418.18190841584161.21209158415842
2317.74517.22315841584160.521841584158418
2417.69617.08171782178220.614282178217822
2517.03217.3354183168317-0.303418316831689
2616.43816.7854183168317-0.347418316831684
2715.68316.5249183168317-0.841918316831683
2815.59416.8091683168317-1.21516831683168
2915.71316.5201683168317-0.807168316831683
3015.93717.1004183168317-1.16341831683168
3116.17116.9014183168317-0.730418316831683
3215.92817.2226683168317-1.29466831683168
3316.34817.5134183168317-1.16541831683168
3415.57916.3446683168317-0.765668316831681
3515.30515.3859183168317-0.0809183168316815
3615.64815.24447772277230.403522277227722
3714.95415.4981782178218-0.544178217821787
3815.13714.94817821782180.188821782178219
3915.83914.68767821782181.15132178217822
4016.0514.97192821782181.07807178217822
4115.16814.68292821782180.485071782178218
4217.06415.26317821782181.80082178217822
4316.00515.06417821782180.940821782178217
4414.88615.3854282178218-0.499428217821783
4514.93115.6761782178218-0.745178217821781
4614.54414.50742821782180.0365717821782191
4713.81213.54867821782180.263321782178218

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 22.68 & 22.3037450495049 & 0.376254950495066 \tabularnewline
2 & 22.052 & 21.7537450495049 & 0.298254950495049 \tabularnewline
3 & 21.467 & 21.4932450495050 & -0.0262450495049532 \tabularnewline
4 & 21.383 & 21.7774950495050 & -0.394495049504953 \tabularnewline
5 & 21.777 & 21.4884950495050 & 0.28850495049505 \tabularnewline
6 & 21.928 & 22.0687450495050 & -0.140745049504952 \tabularnewline
7 & 21.814 & 21.8697450495049 & -0.0557450495049507 \tabularnewline
8 & 22.937 & 22.1909950495050 & 0.74600495049505 \tabularnewline
9 & 23.595 & 22.4817450495050 & 1.11325495049505 \tabularnewline
10 & 20.83 & 21.3129950495050 & -0.482995049504953 \tabularnewline
11 & 19.65 & 20.3542450495050 & -0.704245049504954 \tabularnewline
12 & 19.195 & 20.2128044554455 & -1.01780445544555 \tabularnewline
13 & 19.644 & 19.1726584158416 & 0.471341584158410 \tabularnewline
14 & 18.483 & 18.6226584158416 & -0.139658415841585 \tabularnewline
15 & 18.079 & 18.3621584158416 & -0.283158415841583 \tabularnewline
16 & 19.178 & 18.6464084158416 & 0.531591584158417 \tabularnewline
17 & 18.391 & 18.3574084158416 & 0.0335915841584155 \tabularnewline
18 & 18.441 & 18.9376584158416 & -0.496658415841584 \tabularnewline
19 & 18.584 & 18.7386584158416 & -0.154658415841584 \tabularnewline
20 & 20.108 & 19.0599084158416 & 1.04809158415842 \tabularnewline
21 & 20.148 & 19.3506584158416 & 0.797341584158417 \tabularnewline
22 & 19.394 & 18.1819084158416 & 1.21209158415842 \tabularnewline
23 & 17.745 & 17.2231584158416 & 0.521841584158418 \tabularnewline
24 & 17.696 & 17.0817178217822 & 0.614282178217822 \tabularnewline
25 & 17.032 & 17.3354183168317 & -0.303418316831689 \tabularnewline
26 & 16.438 & 16.7854183168317 & -0.347418316831684 \tabularnewline
27 & 15.683 & 16.5249183168317 & -0.841918316831683 \tabularnewline
28 & 15.594 & 16.8091683168317 & -1.21516831683168 \tabularnewline
29 & 15.713 & 16.5201683168317 & -0.807168316831683 \tabularnewline
30 & 15.937 & 17.1004183168317 & -1.16341831683168 \tabularnewline
31 & 16.171 & 16.9014183168317 & -0.730418316831683 \tabularnewline
32 & 15.928 & 17.2226683168317 & -1.29466831683168 \tabularnewline
33 & 16.348 & 17.5134183168317 & -1.16541831683168 \tabularnewline
34 & 15.579 & 16.3446683168317 & -0.765668316831681 \tabularnewline
35 & 15.305 & 15.3859183168317 & -0.0809183168316815 \tabularnewline
36 & 15.648 & 15.2444777227723 & 0.403522277227722 \tabularnewline
37 & 14.954 & 15.4981782178218 & -0.544178217821787 \tabularnewline
38 & 15.137 & 14.9481782178218 & 0.188821782178219 \tabularnewline
39 & 15.839 & 14.6876782178218 & 1.15132178217822 \tabularnewline
40 & 16.05 & 14.9719282178218 & 1.07807178217822 \tabularnewline
41 & 15.168 & 14.6829282178218 & 0.485071782178218 \tabularnewline
42 & 17.064 & 15.2631782178218 & 1.80082178217822 \tabularnewline
43 & 16.005 & 15.0641782178218 & 0.940821782178217 \tabularnewline
44 & 14.886 & 15.3854282178218 & -0.499428217821783 \tabularnewline
45 & 14.931 & 15.6761782178218 & -0.745178217821781 \tabularnewline
46 & 14.544 & 14.5074282178218 & 0.0365717821782191 \tabularnewline
47 & 13.812 & 13.5486782178218 & 0.263321782178218 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58513&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]22.68[/C][C]22.3037450495049[/C][C]0.376254950495066[/C][/ROW]
[ROW][C]2[/C][C]22.052[/C][C]21.7537450495049[/C][C]0.298254950495049[/C][/ROW]
[ROW][C]3[/C][C]21.467[/C][C]21.4932450495050[/C][C]-0.0262450495049532[/C][/ROW]
[ROW][C]4[/C][C]21.383[/C][C]21.7774950495050[/C][C]-0.394495049504953[/C][/ROW]
[ROW][C]5[/C][C]21.777[/C][C]21.4884950495050[/C][C]0.28850495049505[/C][/ROW]
[ROW][C]6[/C][C]21.928[/C][C]22.0687450495050[/C][C]-0.140745049504952[/C][/ROW]
[ROW][C]7[/C][C]21.814[/C][C]21.8697450495049[/C][C]-0.0557450495049507[/C][/ROW]
[ROW][C]8[/C][C]22.937[/C][C]22.1909950495050[/C][C]0.74600495049505[/C][/ROW]
[ROW][C]9[/C][C]23.595[/C][C]22.4817450495050[/C][C]1.11325495049505[/C][/ROW]
[ROW][C]10[/C][C]20.83[/C][C]21.3129950495050[/C][C]-0.482995049504953[/C][/ROW]
[ROW][C]11[/C][C]19.65[/C][C]20.3542450495050[/C][C]-0.704245049504954[/C][/ROW]
[ROW][C]12[/C][C]19.195[/C][C]20.2128044554455[/C][C]-1.01780445544555[/C][/ROW]
[ROW][C]13[/C][C]19.644[/C][C]19.1726584158416[/C][C]0.471341584158410[/C][/ROW]
[ROW][C]14[/C][C]18.483[/C][C]18.6226584158416[/C][C]-0.139658415841585[/C][/ROW]
[ROW][C]15[/C][C]18.079[/C][C]18.3621584158416[/C][C]-0.283158415841583[/C][/ROW]
[ROW][C]16[/C][C]19.178[/C][C]18.6464084158416[/C][C]0.531591584158417[/C][/ROW]
[ROW][C]17[/C][C]18.391[/C][C]18.3574084158416[/C][C]0.0335915841584155[/C][/ROW]
[ROW][C]18[/C][C]18.441[/C][C]18.9376584158416[/C][C]-0.496658415841584[/C][/ROW]
[ROW][C]19[/C][C]18.584[/C][C]18.7386584158416[/C][C]-0.154658415841584[/C][/ROW]
[ROW][C]20[/C][C]20.108[/C][C]19.0599084158416[/C][C]1.04809158415842[/C][/ROW]
[ROW][C]21[/C][C]20.148[/C][C]19.3506584158416[/C][C]0.797341584158417[/C][/ROW]
[ROW][C]22[/C][C]19.394[/C][C]18.1819084158416[/C][C]1.21209158415842[/C][/ROW]
[ROW][C]23[/C][C]17.745[/C][C]17.2231584158416[/C][C]0.521841584158418[/C][/ROW]
[ROW][C]24[/C][C]17.696[/C][C]17.0817178217822[/C][C]0.614282178217822[/C][/ROW]
[ROW][C]25[/C][C]17.032[/C][C]17.3354183168317[/C][C]-0.303418316831689[/C][/ROW]
[ROW][C]26[/C][C]16.438[/C][C]16.7854183168317[/C][C]-0.347418316831684[/C][/ROW]
[ROW][C]27[/C][C]15.683[/C][C]16.5249183168317[/C][C]-0.841918316831683[/C][/ROW]
[ROW][C]28[/C][C]15.594[/C][C]16.8091683168317[/C][C]-1.21516831683168[/C][/ROW]
[ROW][C]29[/C][C]15.713[/C][C]16.5201683168317[/C][C]-0.807168316831683[/C][/ROW]
[ROW][C]30[/C][C]15.937[/C][C]17.1004183168317[/C][C]-1.16341831683168[/C][/ROW]
[ROW][C]31[/C][C]16.171[/C][C]16.9014183168317[/C][C]-0.730418316831683[/C][/ROW]
[ROW][C]32[/C][C]15.928[/C][C]17.2226683168317[/C][C]-1.29466831683168[/C][/ROW]
[ROW][C]33[/C][C]16.348[/C][C]17.5134183168317[/C][C]-1.16541831683168[/C][/ROW]
[ROW][C]34[/C][C]15.579[/C][C]16.3446683168317[/C][C]-0.765668316831681[/C][/ROW]
[ROW][C]35[/C][C]15.305[/C][C]15.3859183168317[/C][C]-0.0809183168316815[/C][/ROW]
[ROW][C]36[/C][C]15.648[/C][C]15.2444777227723[/C][C]0.403522277227722[/C][/ROW]
[ROW][C]37[/C][C]14.954[/C][C]15.4981782178218[/C][C]-0.544178217821787[/C][/ROW]
[ROW][C]38[/C][C]15.137[/C][C]14.9481782178218[/C][C]0.188821782178219[/C][/ROW]
[ROW][C]39[/C][C]15.839[/C][C]14.6876782178218[/C][C]1.15132178217822[/C][/ROW]
[ROW][C]40[/C][C]16.05[/C][C]14.9719282178218[/C][C]1.07807178217822[/C][/ROW]
[ROW][C]41[/C][C]15.168[/C][C]14.6829282178218[/C][C]0.485071782178218[/C][/ROW]
[ROW][C]42[/C][C]17.064[/C][C]15.2631782178218[/C][C]1.80082178217822[/C][/ROW]
[ROW][C]43[/C][C]16.005[/C][C]15.0641782178218[/C][C]0.940821782178217[/C][/ROW]
[ROW][C]44[/C][C]14.886[/C][C]15.3854282178218[/C][C]-0.499428217821783[/C][/ROW]
[ROW][C]45[/C][C]14.931[/C][C]15.6761782178218[/C][C]-0.745178217821781[/C][/ROW]
[ROW][C]46[/C][C]14.544[/C][C]14.5074282178218[/C][C]0.0365717821782191[/C][/ROW]
[ROW][C]47[/C][C]13.812[/C][C]13.5486782178218[/C][C]0.263321782178218[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58513&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58513&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.6822.30374504950490.376254950495066
222.05221.75374504950490.298254950495049
321.46721.4932450495050-0.0262450495049532
421.38321.7774950495050-0.394495049504953
521.77721.48849504950500.28850495049505
621.92822.0687450495050-0.140745049504952
721.81421.8697450495049-0.0557450495049507
822.93722.19099504950500.74600495049505
923.59522.48174504950501.11325495049505
1020.8321.3129950495050-0.482995049504953
1119.6520.3542450495050-0.704245049504954
1219.19520.2128044554455-1.01780445544555
1319.64419.17265841584160.471341584158410
1418.48318.6226584158416-0.139658415841585
1518.07918.3621584158416-0.283158415841583
1619.17818.64640841584160.531591584158417
1718.39118.35740841584160.0335915841584155
1818.44118.9376584158416-0.496658415841584
1918.58418.7386584158416-0.154658415841584
2020.10819.05990841584161.04809158415842
2120.14819.35065841584160.797341584158417
2219.39418.18190841584161.21209158415842
2317.74517.22315841584160.521841584158418
2417.69617.08171782178220.614282178217822
2517.03217.3354183168317-0.303418316831689
2616.43816.7854183168317-0.347418316831684
2715.68316.5249183168317-0.841918316831683
2815.59416.8091683168317-1.21516831683168
2915.71316.5201683168317-0.807168316831683
3015.93717.1004183168317-1.16341831683168
3116.17116.9014183168317-0.730418316831683
3215.92817.2226683168317-1.29466831683168
3316.34817.5134183168317-1.16541831683168
3415.57916.3446683168317-0.765668316831681
3515.30515.3859183168317-0.0809183168316815
3615.64815.24447772277230.403522277227722
3714.95415.4981782178218-0.544178217821787
3815.13714.94817821782180.188821782178219
3915.83914.68767821782181.15132178217822
4016.0514.97192821782181.07807178217822
4115.16814.68292821782180.485071782178218
4217.06415.26317821782181.80082178217822
4316.00515.06417821782180.940821782178217
4414.88615.3854282178218-0.499428217821783
4514.93115.6761782178218-0.745178217821781
4614.54414.50742821782180.0365717821782191
4713.81213.54867821782180.263321782178218







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.0835738878342820.1671477756685640.916426112165718
180.03161739466580730.06323478933161460.968382605334193
190.009173987625861190.01834797525172240.990826012374139
200.004867029519788890.009734059039577790.995132970480211
210.003402739135026780.006805478270053560.996597260864973
220.08815306954363930.1763061390872790.91184693045636
230.1787600441841470.3575200883682950.821239955815853
240.2821618548919630.5643237097839250.717838145108037
250.3029226189010520.6058452378021050.697077381098948
260.2415353514446280.4830707028892560.758464648555372
270.1693352117750990.3386704235501980.830664788224901
280.1705572280444330.3411144560888660.829442771955567
290.09239948288430840.1847989657686170.907600517115692
300.5265344019560510.9469311960878980.473465598043949

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.083573887834282 & 0.167147775668564 & 0.916426112165718 \tabularnewline
18 & 0.0316173946658073 & 0.0632347893316146 & 0.968382605334193 \tabularnewline
19 & 0.00917398762586119 & 0.0183479752517224 & 0.990826012374139 \tabularnewline
20 & 0.00486702951978889 & 0.00973405903957779 & 0.995132970480211 \tabularnewline
21 & 0.00340273913502678 & 0.00680547827005356 & 0.996597260864973 \tabularnewline
22 & 0.0881530695436393 & 0.176306139087279 & 0.91184693045636 \tabularnewline
23 & 0.178760044184147 & 0.357520088368295 & 0.821239955815853 \tabularnewline
24 & 0.282161854891963 & 0.564323709783925 & 0.717838145108037 \tabularnewline
25 & 0.302922618901052 & 0.605845237802105 & 0.697077381098948 \tabularnewline
26 & 0.241535351444628 & 0.483070702889256 & 0.758464648555372 \tabularnewline
27 & 0.169335211775099 & 0.338670423550198 & 0.830664788224901 \tabularnewline
28 & 0.170557228044433 & 0.341114456088866 & 0.829442771955567 \tabularnewline
29 & 0.0923994828843084 & 0.184798965768617 & 0.907600517115692 \tabularnewline
30 & 0.526534401956051 & 0.946931196087898 & 0.473465598043949 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58513&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.083573887834282[/C][C]0.167147775668564[/C][C]0.916426112165718[/C][/ROW]
[ROW][C]18[/C][C]0.0316173946658073[/C][C]0.0632347893316146[/C][C]0.968382605334193[/C][/ROW]
[ROW][C]19[/C][C]0.00917398762586119[/C][C]0.0183479752517224[/C][C]0.990826012374139[/C][/ROW]
[ROW][C]20[/C][C]0.00486702951978889[/C][C]0.00973405903957779[/C][C]0.995132970480211[/C][/ROW]
[ROW][C]21[/C][C]0.00340273913502678[/C][C]0.00680547827005356[/C][C]0.996597260864973[/C][/ROW]
[ROW][C]22[/C][C]0.0881530695436393[/C][C]0.176306139087279[/C][C]0.91184693045636[/C][/ROW]
[ROW][C]23[/C][C]0.178760044184147[/C][C]0.357520088368295[/C][C]0.821239955815853[/C][/ROW]
[ROW][C]24[/C][C]0.282161854891963[/C][C]0.564323709783925[/C][C]0.717838145108037[/C][/ROW]
[ROW][C]25[/C][C]0.302922618901052[/C][C]0.605845237802105[/C][C]0.697077381098948[/C][/ROW]
[ROW][C]26[/C][C]0.241535351444628[/C][C]0.483070702889256[/C][C]0.758464648555372[/C][/ROW]
[ROW][C]27[/C][C]0.169335211775099[/C][C]0.338670423550198[/C][C]0.830664788224901[/C][/ROW]
[ROW][C]28[/C][C]0.170557228044433[/C][C]0.341114456088866[/C][C]0.829442771955567[/C][/ROW]
[ROW][C]29[/C][C]0.0923994828843084[/C][C]0.184798965768617[/C][C]0.907600517115692[/C][/ROW]
[ROW][C]30[/C][C]0.526534401956051[/C][C]0.946931196087898[/C][C]0.473465598043949[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58513&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58513&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.0835738878342820.1671477756685640.916426112165718
180.03161739466580730.06323478933161460.968382605334193
190.009173987625861190.01834797525172240.990826012374139
200.004867029519788890.009734059039577790.995132970480211
210.003402739135026780.006805478270053560.996597260864973
220.08815306954363930.1763061390872790.91184693045636
230.1787600441841470.3575200883682950.821239955815853
240.2821618548919630.5643237097839250.717838145108037
250.3029226189010520.6058452378021050.697077381098948
260.2415353514446280.4830707028892560.758464648555372
270.1693352117750990.3386704235501980.830664788224901
280.1705572280444330.3411144560888660.829442771955567
290.09239948288430840.1847989657686170.907600517115692
300.5265344019560510.9469311960878980.473465598043949







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level20.142857142857143NOK
5% type I error level30.214285714285714NOK
10% type I error level40.285714285714286NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58513&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 level20.142857142857143NOK
5% type I error level30.214285714285714NOK
10% type I error level40.285714285714286NOK



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')
}