Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationFri, 23 Dec 2011 07:05:34 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2011/Dec/23/t13246419906v52e6z9epvkz7h.htm/, Retrieved Mon, 29 Apr 2024 18:11:10 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=160333, Retrieved Mon, 29 Apr 2024 18:11:10 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact91
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [] [2010-12-05 18:56:24] [b98453cac15ba1066b407e146608df68]
- R PD  [Multiple Regression] [] [2011-12-23 08:30:54] [8f7c6937e89a5f5716ed1e29130ab1fa]
-   P       [Multiple Regression] [] [2011-12-23 12:05:34] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
210907	79	30	94	112285	144	145
120982	58	28	103	84786	103	101
176508	60	38	93	83123	98	98
179321	108	30	103	101193	135	132
123185	49	22	51	38361	61	60
52746	0	26	70	68504	39	38
385534	121	25	91	119182	150	144
33170	1	18	22	22807	5	5
101645	20	11	38	17140	28	28
149061	43	26	93	116174	84	84
165446	69	25	60	57635	80	79
237213	78	38	123	66198	130	127
173326	86	44	148	71701	82	78
133131	44	30	90	57793	60	60
258873	104	40	124	80444	131	131
180083	63	34	70	53855	84	84
324799	158	47	168	97668	140	133
230964	102	30	115	133824	151	150
236785	77	31	71	101481	91	91
135473	82	23	66	99645	138	132
202925	115	36	134	114789	150	136
215147	101	36	117	99052	124	124
344297	80	30	108	67654	119	118
153935	50	25	84	65553	73	70
132943	83	39	156	97500	110	107
174724	123	34	120	69112	123	119
174415	73	31	114	82753	90	89
225548	81	31	94	85323	116	112
223632	105	33	120	72654	113	108
124817	47	25	81	30727	56	52
221698	105	33	110	77873	115	112
210767	94	35	133	117478	119	116
170266	44	42	122	74007	129	123
260561	114	43	158	90183	127	125
84853	38	30	109	61542	27	27
294424	107	33	124	101494	175	162
101011	30	13	39	27570	35	32
215641	71	32	92	55813	64	64
325107	84	36	126	79215	96	92
7176	0	0	0	1423	0	0
167542	59	28	70	55461	84	83
106408	33	14	37	31081	41	41
96560	42	17	38	22996	47	47
265769	96	32	120	83122	126	120
269651	106	30	93	70106	105	105
149112	56	35	95	60578	80	79
175824	57	20	77	39992	70	65
152871	59	28	90	79892	73	70




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Gertrude Mary Cox' @ cox.wessa.net

\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 & 4 seconds \tabularnewline
R Server & 'Gertrude Mary Cox' @ cox.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=160333&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]4 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gertrude Mary Cox' @ cox.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=160333&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=160333&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 time4 seconds
R Server'Gertrude Mary Cox' @ cox.wessa.net







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 36729.7493441208 + 1330.07988868374X1[t] + 516.08581468945X2[t] -96.4629479367715X3[t] -0.291806273737337X4[t] -1337.00889635934X5[t] + 2108.20663205954X6[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  36729.7493441208 +  1330.07988868374X1[t] +  516.08581468945X2[t] -96.4629479367715X3[t] -0.291806273737337X4[t] -1337.00889635934X5[t] +  2108.20663205954X6[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=160333&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  36729.7493441208 +  1330.07988868374X1[t] +  516.08581468945X2[t] -96.4629479367715X3[t] -0.291806273737337X4[t] -1337.00889635934X5[t] +  2108.20663205954X6[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=160333&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=160333&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
Y[t] = + 36729.7493441208 + 1330.07988868374X1[t] + 516.08581468945X2[t] -96.4629479367715X3[t] -0.291806273737337X4[t] -1337.00889635934X5[t] + 2108.20663205954X6[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)36729.749344120825085.8885561.46420.1507760.075388
X11330.07988868374431.6829733.08110.0036760.001838
X2516.085814689451914.1261120.26960.7888050.394403
X3-96.4629479367715552.242343-0.17470.8621950.431097
X4-0.2918062737373370.443026-0.65870.5137920.256896
X5-1337.008896359342698.846809-0.49540.6229630.311481
X62108.206632059542846.9159710.74050.4632030.231601

\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) & 36729.7493441208 & 25085.888556 & 1.4642 & 0.150776 & 0.075388 \tabularnewline
X1 & 1330.07988868374 & 431.682973 & 3.0811 & 0.003676 & 0.001838 \tabularnewline
X2 & 516.08581468945 & 1914.126112 & 0.2696 & 0.788805 & 0.394403 \tabularnewline
X3 & -96.4629479367715 & 552.242343 & -0.1747 & 0.862195 & 0.431097 \tabularnewline
X4 & -0.291806273737337 & 0.443026 & -0.6587 & 0.513792 & 0.256896 \tabularnewline
X5 & -1337.00889635934 & 2698.846809 & -0.4954 & 0.622963 & 0.311481 \tabularnewline
X6 & 2108.20663205954 & 2846.915971 & 0.7405 & 0.463203 & 0.231601 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=160333&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]36729.7493441208[/C][C]25085.888556[/C][C]1.4642[/C][C]0.150776[/C][C]0.075388[/C][/ROW]
[ROW][C]X1[/C][C]1330.07988868374[/C][C]431.682973[/C][C]3.0811[/C][C]0.003676[/C][C]0.001838[/C][/ROW]
[ROW][C]X2[/C][C]516.08581468945[/C][C]1914.126112[/C][C]0.2696[/C][C]0.788805[/C][C]0.394403[/C][/ROW]
[ROW][C]X3[/C][C]-96.4629479367715[/C][C]552.242343[/C][C]-0.1747[/C][C]0.862195[/C][C]0.431097[/C][/ROW]
[ROW][C]X4[/C][C]-0.291806273737337[/C][C]0.443026[/C][C]-0.6587[/C][C]0.513792[/C][C]0.256896[/C][/ROW]
[ROW][C]X5[/C][C]-1337.00889635934[/C][C]2698.846809[/C][C]-0.4954[/C][C]0.622963[/C][C]0.311481[/C][/ROW]
[ROW][C]X6[/C][C]2108.20663205954[/C][C]2846.915971[/C][C]0.7405[/C][C]0.463203[/C][C]0.231601[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=160333&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=160333&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)36729.749344120825085.8885561.46420.1507760.075388
X11330.07988868374431.6829733.08110.0036760.001838
X2516.085814689451914.1261120.26960.7888050.394403
X3-96.4629479367715552.242343-0.17470.8621950.431097
X4-0.2918062737373370.443026-0.65870.5137920.256896
X5-1337.008896359342698.846809-0.49540.6229630.311481
X62108.206632059542846.9159710.74050.4632030.231601







Multiple Linear Regression - Regression Statistics
Multiple R0.829001263952081
R-squared0.687243095634148
Adjusted R-squared0.641473792556218
F-TEST (value)15.0153716447027
F-TEST (DF numerator)6
F-TEST (DF denominator)41
p-value5.34461952472753e-09
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation47254.460923351
Sum Squared Residuals91552347163.4166

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.829001263952081 \tabularnewline
R-squared & 0.687243095634148 \tabularnewline
Adjusted R-squared & 0.641473792556218 \tabularnewline
F-TEST (value) & 15.0153716447027 \tabularnewline
F-TEST (DF numerator) & 6 \tabularnewline
F-TEST (DF denominator) & 41 \tabularnewline
p-value & 5.34461952472753e-09 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 47254.460923351 \tabularnewline
Sum Squared Residuals & 91552347163.4166 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=160333&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.829001263952081[/C][/ROW]
[ROW][C]R-squared[/C][C]0.687243095634148[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.641473792556218[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]15.0153716447027[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]6[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]41[/C][/ROW]
[ROW][C]p-value[/C][C]5.34461952472753e-09[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]47254.460923351[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]91552347163.4166[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=160333&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=160333&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.829001263952081
R-squared0.687243095634148
Adjusted R-squared0.641473792556218
F-TEST (value)15.0153716447027
F-TEST (DF numerator)6
F-TEST (DF denominator)41
p-value5.34461952472753e-09
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation47254.460923351
Sum Squared Residuals91552347163.4166







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1210907228616.331011055-17709.3310110555
2120982168864.968849503-47882.9688495031
3176508178496.314671976-1988.31467197596
4179321254183.590290207-74862.5902902075
5123185142078.816246832-18893.8162468316
65274651374.18225461831371.81774538165
7385534270045.798225954115488.201774046
83317042427.9520359793-9257.95203597928
910164581934.676125530119710.3238744699
10149061129250.66933498319810.3306650166
11165446178388.987791434-12942.9877914343
12237213222836.39305941214376.6069405875
13173326193430.465488554-20104.465488554
14133131131461.677736491669.32226351018
15258873261292.924302849-2419.92430284865
16180083180384.676601757-301.676601756683
17324799319642.7312234125156.26877658792
18230964252079.202099863-21115.2020998631
19236785188861.89320821147923.106791789
20135473215998.730977932-80525.7309779319
21202925248010.607998206-45085.6079982057
22215147245085.266721991-29938.2667219912
23344297218123.178775171126173.821224829
24153935138877.03966648815057.9603335121
25132943202261.526341077-69318.526341077
26174724272558.119371602-97834.1193716018
27174415181979.210418988-7564.21041898792
28225548207525.68759571518022.312404285
29223632237246.833749966-13614.8337499658
30124817130120.065994461-5303.06599446053
31221698242447.335022218-20749.3350222179
32210767218157.783544963-7390.78354496344
33170266170399.950227366-133.950227366105
34260561262719.134897056-2158.13489705637
358485395104.8953952407-10251.8953952408
36294424262054.05535793832369.9446420624
3710101192201.4085124528809.59148754803
38215641171875.64782925743765.352170743
39325107197367.94000722127739.05999278
40717636314.5090165926-29138.5090165926
41167542169390.994651203-1848.9946512033
42106408106827.934372354-419.934372354244
4396560127236.888004007-30676.8880040071
44265769229622.76479568336146.2352043167
45269651244748.12944905324902.8705509471
46149112162023.818344044-12911.8183440442
47175824147211.26414116528612.7358588353
48152871147633.028261975237.97173803033

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 210907 & 228616.331011055 & -17709.3310110555 \tabularnewline
2 & 120982 & 168864.968849503 & -47882.9688495031 \tabularnewline
3 & 176508 & 178496.314671976 & -1988.31467197596 \tabularnewline
4 & 179321 & 254183.590290207 & -74862.5902902075 \tabularnewline
5 & 123185 & 142078.816246832 & -18893.8162468316 \tabularnewline
6 & 52746 & 51374.1822546183 & 1371.81774538165 \tabularnewline
7 & 385534 & 270045.798225954 & 115488.201774046 \tabularnewline
8 & 33170 & 42427.9520359793 & -9257.95203597928 \tabularnewline
9 & 101645 & 81934.6761255301 & 19710.3238744699 \tabularnewline
10 & 149061 & 129250.669334983 & 19810.3306650166 \tabularnewline
11 & 165446 & 178388.987791434 & -12942.9877914343 \tabularnewline
12 & 237213 & 222836.393059412 & 14376.6069405875 \tabularnewline
13 & 173326 & 193430.465488554 & -20104.465488554 \tabularnewline
14 & 133131 & 131461.67773649 & 1669.32226351018 \tabularnewline
15 & 258873 & 261292.924302849 & -2419.92430284865 \tabularnewline
16 & 180083 & 180384.676601757 & -301.676601756683 \tabularnewline
17 & 324799 & 319642.731223412 & 5156.26877658792 \tabularnewline
18 & 230964 & 252079.202099863 & -21115.2020998631 \tabularnewline
19 & 236785 & 188861.893208211 & 47923.106791789 \tabularnewline
20 & 135473 & 215998.730977932 & -80525.7309779319 \tabularnewline
21 & 202925 & 248010.607998206 & -45085.6079982057 \tabularnewline
22 & 215147 & 245085.266721991 & -29938.2667219912 \tabularnewline
23 & 344297 & 218123.178775171 & 126173.821224829 \tabularnewline
24 & 153935 & 138877.039666488 & 15057.9603335121 \tabularnewline
25 & 132943 & 202261.526341077 & -69318.526341077 \tabularnewline
26 & 174724 & 272558.119371602 & -97834.1193716018 \tabularnewline
27 & 174415 & 181979.210418988 & -7564.21041898792 \tabularnewline
28 & 225548 & 207525.687595715 & 18022.312404285 \tabularnewline
29 & 223632 & 237246.833749966 & -13614.8337499658 \tabularnewline
30 & 124817 & 130120.065994461 & -5303.06599446053 \tabularnewline
31 & 221698 & 242447.335022218 & -20749.3350222179 \tabularnewline
32 & 210767 & 218157.783544963 & -7390.78354496344 \tabularnewline
33 & 170266 & 170399.950227366 & -133.950227366105 \tabularnewline
34 & 260561 & 262719.134897056 & -2158.13489705637 \tabularnewline
35 & 84853 & 95104.8953952407 & -10251.8953952408 \tabularnewline
36 & 294424 & 262054.055357938 & 32369.9446420624 \tabularnewline
37 & 101011 & 92201.408512452 & 8809.59148754803 \tabularnewline
38 & 215641 & 171875.647829257 & 43765.352170743 \tabularnewline
39 & 325107 & 197367.94000722 & 127739.05999278 \tabularnewline
40 & 7176 & 36314.5090165926 & -29138.5090165926 \tabularnewline
41 & 167542 & 169390.994651203 & -1848.9946512033 \tabularnewline
42 & 106408 & 106827.934372354 & -419.934372354244 \tabularnewline
43 & 96560 & 127236.888004007 & -30676.8880040071 \tabularnewline
44 & 265769 & 229622.764795683 & 36146.2352043167 \tabularnewline
45 & 269651 & 244748.129449053 & 24902.8705509471 \tabularnewline
46 & 149112 & 162023.818344044 & -12911.8183440442 \tabularnewline
47 & 175824 & 147211.264141165 & 28612.7358588353 \tabularnewline
48 & 152871 & 147633.02826197 & 5237.97173803033 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=160333&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]210907[/C][C]228616.331011055[/C][C]-17709.3310110555[/C][/ROW]
[ROW][C]2[/C][C]120982[/C][C]168864.968849503[/C][C]-47882.9688495031[/C][/ROW]
[ROW][C]3[/C][C]176508[/C][C]178496.314671976[/C][C]-1988.31467197596[/C][/ROW]
[ROW][C]4[/C][C]179321[/C][C]254183.590290207[/C][C]-74862.5902902075[/C][/ROW]
[ROW][C]5[/C][C]123185[/C][C]142078.816246832[/C][C]-18893.8162468316[/C][/ROW]
[ROW][C]6[/C][C]52746[/C][C]51374.1822546183[/C][C]1371.81774538165[/C][/ROW]
[ROW][C]7[/C][C]385534[/C][C]270045.798225954[/C][C]115488.201774046[/C][/ROW]
[ROW][C]8[/C][C]33170[/C][C]42427.9520359793[/C][C]-9257.95203597928[/C][/ROW]
[ROW][C]9[/C][C]101645[/C][C]81934.6761255301[/C][C]19710.3238744699[/C][/ROW]
[ROW][C]10[/C][C]149061[/C][C]129250.669334983[/C][C]19810.3306650166[/C][/ROW]
[ROW][C]11[/C][C]165446[/C][C]178388.987791434[/C][C]-12942.9877914343[/C][/ROW]
[ROW][C]12[/C][C]237213[/C][C]222836.393059412[/C][C]14376.6069405875[/C][/ROW]
[ROW][C]13[/C][C]173326[/C][C]193430.465488554[/C][C]-20104.465488554[/C][/ROW]
[ROW][C]14[/C][C]133131[/C][C]131461.67773649[/C][C]1669.32226351018[/C][/ROW]
[ROW][C]15[/C][C]258873[/C][C]261292.924302849[/C][C]-2419.92430284865[/C][/ROW]
[ROW][C]16[/C][C]180083[/C][C]180384.676601757[/C][C]-301.676601756683[/C][/ROW]
[ROW][C]17[/C][C]324799[/C][C]319642.731223412[/C][C]5156.26877658792[/C][/ROW]
[ROW][C]18[/C][C]230964[/C][C]252079.202099863[/C][C]-21115.2020998631[/C][/ROW]
[ROW][C]19[/C][C]236785[/C][C]188861.893208211[/C][C]47923.106791789[/C][/ROW]
[ROW][C]20[/C][C]135473[/C][C]215998.730977932[/C][C]-80525.7309779319[/C][/ROW]
[ROW][C]21[/C][C]202925[/C][C]248010.607998206[/C][C]-45085.6079982057[/C][/ROW]
[ROW][C]22[/C][C]215147[/C][C]245085.266721991[/C][C]-29938.2667219912[/C][/ROW]
[ROW][C]23[/C][C]344297[/C][C]218123.178775171[/C][C]126173.821224829[/C][/ROW]
[ROW][C]24[/C][C]153935[/C][C]138877.039666488[/C][C]15057.9603335121[/C][/ROW]
[ROW][C]25[/C][C]132943[/C][C]202261.526341077[/C][C]-69318.526341077[/C][/ROW]
[ROW][C]26[/C][C]174724[/C][C]272558.119371602[/C][C]-97834.1193716018[/C][/ROW]
[ROW][C]27[/C][C]174415[/C][C]181979.210418988[/C][C]-7564.21041898792[/C][/ROW]
[ROW][C]28[/C][C]225548[/C][C]207525.687595715[/C][C]18022.312404285[/C][/ROW]
[ROW][C]29[/C][C]223632[/C][C]237246.833749966[/C][C]-13614.8337499658[/C][/ROW]
[ROW][C]30[/C][C]124817[/C][C]130120.065994461[/C][C]-5303.06599446053[/C][/ROW]
[ROW][C]31[/C][C]221698[/C][C]242447.335022218[/C][C]-20749.3350222179[/C][/ROW]
[ROW][C]32[/C][C]210767[/C][C]218157.783544963[/C][C]-7390.78354496344[/C][/ROW]
[ROW][C]33[/C][C]170266[/C][C]170399.950227366[/C][C]-133.950227366105[/C][/ROW]
[ROW][C]34[/C][C]260561[/C][C]262719.134897056[/C][C]-2158.13489705637[/C][/ROW]
[ROW][C]35[/C][C]84853[/C][C]95104.8953952407[/C][C]-10251.8953952408[/C][/ROW]
[ROW][C]36[/C][C]294424[/C][C]262054.055357938[/C][C]32369.9446420624[/C][/ROW]
[ROW][C]37[/C][C]101011[/C][C]92201.408512452[/C][C]8809.59148754803[/C][/ROW]
[ROW][C]38[/C][C]215641[/C][C]171875.647829257[/C][C]43765.352170743[/C][/ROW]
[ROW][C]39[/C][C]325107[/C][C]197367.94000722[/C][C]127739.05999278[/C][/ROW]
[ROW][C]40[/C][C]7176[/C][C]36314.5090165926[/C][C]-29138.5090165926[/C][/ROW]
[ROW][C]41[/C][C]167542[/C][C]169390.994651203[/C][C]-1848.9946512033[/C][/ROW]
[ROW][C]42[/C][C]106408[/C][C]106827.934372354[/C][C]-419.934372354244[/C][/ROW]
[ROW][C]43[/C][C]96560[/C][C]127236.888004007[/C][C]-30676.8880040071[/C][/ROW]
[ROW][C]44[/C][C]265769[/C][C]229622.764795683[/C][C]36146.2352043167[/C][/ROW]
[ROW][C]45[/C][C]269651[/C][C]244748.129449053[/C][C]24902.8705509471[/C][/ROW]
[ROW][C]46[/C][C]149112[/C][C]162023.818344044[/C][C]-12911.8183440442[/C][/ROW]
[ROW][C]47[/C][C]175824[/C][C]147211.264141165[/C][C]28612.7358588353[/C][/ROW]
[ROW][C]48[/C][C]152871[/C][C]147633.02826197[/C][C]5237.97173803033[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=160333&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=160333&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
1210907228616.331011055-17709.3310110555
2120982168864.968849503-47882.9688495031
3176508178496.314671976-1988.31467197596
4179321254183.590290207-74862.5902902075
5123185142078.816246832-18893.8162468316
65274651374.18225461831371.81774538165
7385534270045.798225954115488.201774046
83317042427.9520359793-9257.95203597928
910164581934.676125530119710.3238744699
10149061129250.66933498319810.3306650166
11165446178388.987791434-12942.9877914343
12237213222836.39305941214376.6069405875
13173326193430.465488554-20104.465488554
14133131131461.677736491669.32226351018
15258873261292.924302849-2419.92430284865
16180083180384.676601757-301.676601756683
17324799319642.7312234125156.26877658792
18230964252079.202099863-21115.2020998631
19236785188861.89320821147923.106791789
20135473215998.730977932-80525.7309779319
21202925248010.607998206-45085.6079982057
22215147245085.266721991-29938.2667219912
23344297218123.178775171126173.821224829
24153935138877.03966648815057.9603335121
25132943202261.526341077-69318.526341077
26174724272558.119371602-97834.1193716018
27174415181979.210418988-7564.21041898792
28225548207525.68759571518022.312404285
29223632237246.833749966-13614.8337499658
30124817130120.065994461-5303.06599446053
31221698242447.335022218-20749.3350222179
32210767218157.783544963-7390.78354496344
33170266170399.950227366-133.950227366105
34260561262719.134897056-2158.13489705637
358485395104.8953952407-10251.8953952408
36294424262054.05535793832369.9446420624
3710101192201.4085124528809.59148754803
38215641171875.64782925743765.352170743
39325107197367.94000722127739.05999278
40717636314.5090165926-29138.5090165926
41167542169390.994651203-1848.9946512033
42106408106827.934372354-419.934372354244
4396560127236.888004007-30676.8880040071
44265769229622.76479568336146.2352043167
45269651244748.12944905324902.8705509471
46149112162023.818344044-12911.8183440442
47175824147211.26414116528612.7358588353
48152871147633.028261975237.97173803033







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
100.7840159675966780.4319680648066440.215984032403322
110.6447049521767120.7105900956465750.355295047823288
120.656105369289740.6877892614205210.34389463071026
130.5915519775390390.8168960449219220.408448022460961
140.5232830958195880.9534338083608230.476716904180412
150.4715591714838880.9431183429677770.528440828516112
160.3652523560426260.7305047120852530.634747643957374
170.2653009724814640.5306019449629270.734699027518536
180.1916144662716450.3832289325432890.808385533728355
190.1890525749584780.3781051499169570.810947425041522
200.3817639041678220.7635278083356450.618236095832178
210.3088399101642230.6176798203284470.691160089835777
220.2698570162668790.5397140325337570.730142983733121
230.8511159075863770.2977681848272460.148884092413623
240.7893164364441080.4213671271117830.210683563555892
250.8205175583895220.3589648832209560.179482441610478
260.9715053824751130.05698923504977420.0284946175248871
270.9497376053537390.1005247892925230.0502623946462613
280.920358551554310.1592828968913790.0796414484456897
290.9167981324089910.1664037351820170.0832018675910087
300.9027099346588930.1945801306822140.0972900653411071
310.9134384579819380.1731230840361230.0865615420180617
320.8569308338054430.2861383323891140.143069166194557
330.8251572082069860.3496855835860280.174842791793014
340.7959038986277430.4081922027445150.204096101372257
350.8900497717067340.2199004565865330.109950228293266
360.8294208974649290.3411582050701410.170579102535071
370.7295438828978410.5409122342043170.270456117102159
380.5871643523279370.8256712953441260.412835647672063

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
10 & 0.784015967596678 & 0.431968064806644 & 0.215984032403322 \tabularnewline
11 & 0.644704952176712 & 0.710590095646575 & 0.355295047823288 \tabularnewline
12 & 0.65610536928974 & 0.687789261420521 & 0.34389463071026 \tabularnewline
13 & 0.591551977539039 & 0.816896044921922 & 0.408448022460961 \tabularnewline
14 & 0.523283095819588 & 0.953433808360823 & 0.476716904180412 \tabularnewline
15 & 0.471559171483888 & 0.943118342967777 & 0.528440828516112 \tabularnewline
16 & 0.365252356042626 & 0.730504712085253 & 0.634747643957374 \tabularnewline
17 & 0.265300972481464 & 0.530601944962927 & 0.734699027518536 \tabularnewline
18 & 0.191614466271645 & 0.383228932543289 & 0.808385533728355 \tabularnewline
19 & 0.189052574958478 & 0.378105149916957 & 0.810947425041522 \tabularnewline
20 & 0.381763904167822 & 0.763527808335645 & 0.618236095832178 \tabularnewline
21 & 0.308839910164223 & 0.617679820328447 & 0.691160089835777 \tabularnewline
22 & 0.269857016266879 & 0.539714032533757 & 0.730142983733121 \tabularnewline
23 & 0.851115907586377 & 0.297768184827246 & 0.148884092413623 \tabularnewline
24 & 0.789316436444108 & 0.421367127111783 & 0.210683563555892 \tabularnewline
25 & 0.820517558389522 & 0.358964883220956 & 0.179482441610478 \tabularnewline
26 & 0.971505382475113 & 0.0569892350497742 & 0.0284946175248871 \tabularnewline
27 & 0.949737605353739 & 0.100524789292523 & 0.0502623946462613 \tabularnewline
28 & 0.92035855155431 & 0.159282896891379 & 0.0796414484456897 \tabularnewline
29 & 0.916798132408991 & 0.166403735182017 & 0.0832018675910087 \tabularnewline
30 & 0.902709934658893 & 0.194580130682214 & 0.0972900653411071 \tabularnewline
31 & 0.913438457981938 & 0.173123084036123 & 0.0865615420180617 \tabularnewline
32 & 0.856930833805443 & 0.286138332389114 & 0.143069166194557 \tabularnewline
33 & 0.825157208206986 & 0.349685583586028 & 0.174842791793014 \tabularnewline
34 & 0.795903898627743 & 0.408192202744515 & 0.204096101372257 \tabularnewline
35 & 0.890049771706734 & 0.219900456586533 & 0.109950228293266 \tabularnewline
36 & 0.829420897464929 & 0.341158205070141 & 0.170579102535071 \tabularnewline
37 & 0.729543882897841 & 0.540912234204317 & 0.270456117102159 \tabularnewline
38 & 0.587164352327937 & 0.825671295344126 & 0.412835647672063 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=160333&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]10[/C][C]0.784015967596678[/C][C]0.431968064806644[/C][C]0.215984032403322[/C][/ROW]
[ROW][C]11[/C][C]0.644704952176712[/C][C]0.710590095646575[/C][C]0.355295047823288[/C][/ROW]
[ROW][C]12[/C][C]0.65610536928974[/C][C]0.687789261420521[/C][C]0.34389463071026[/C][/ROW]
[ROW][C]13[/C][C]0.591551977539039[/C][C]0.816896044921922[/C][C]0.408448022460961[/C][/ROW]
[ROW][C]14[/C][C]0.523283095819588[/C][C]0.953433808360823[/C][C]0.476716904180412[/C][/ROW]
[ROW][C]15[/C][C]0.471559171483888[/C][C]0.943118342967777[/C][C]0.528440828516112[/C][/ROW]
[ROW][C]16[/C][C]0.365252356042626[/C][C]0.730504712085253[/C][C]0.634747643957374[/C][/ROW]
[ROW][C]17[/C][C]0.265300972481464[/C][C]0.530601944962927[/C][C]0.734699027518536[/C][/ROW]
[ROW][C]18[/C][C]0.191614466271645[/C][C]0.383228932543289[/C][C]0.808385533728355[/C][/ROW]
[ROW][C]19[/C][C]0.189052574958478[/C][C]0.378105149916957[/C][C]0.810947425041522[/C][/ROW]
[ROW][C]20[/C][C]0.381763904167822[/C][C]0.763527808335645[/C][C]0.618236095832178[/C][/ROW]
[ROW][C]21[/C][C]0.308839910164223[/C][C]0.617679820328447[/C][C]0.691160089835777[/C][/ROW]
[ROW][C]22[/C][C]0.269857016266879[/C][C]0.539714032533757[/C][C]0.730142983733121[/C][/ROW]
[ROW][C]23[/C][C]0.851115907586377[/C][C]0.297768184827246[/C][C]0.148884092413623[/C][/ROW]
[ROW][C]24[/C][C]0.789316436444108[/C][C]0.421367127111783[/C][C]0.210683563555892[/C][/ROW]
[ROW][C]25[/C][C]0.820517558389522[/C][C]0.358964883220956[/C][C]0.179482441610478[/C][/ROW]
[ROW][C]26[/C][C]0.971505382475113[/C][C]0.0569892350497742[/C][C]0.0284946175248871[/C][/ROW]
[ROW][C]27[/C][C]0.949737605353739[/C][C]0.100524789292523[/C][C]0.0502623946462613[/C][/ROW]
[ROW][C]28[/C][C]0.92035855155431[/C][C]0.159282896891379[/C][C]0.0796414484456897[/C][/ROW]
[ROW][C]29[/C][C]0.916798132408991[/C][C]0.166403735182017[/C][C]0.0832018675910087[/C][/ROW]
[ROW][C]30[/C][C]0.902709934658893[/C][C]0.194580130682214[/C][C]0.0972900653411071[/C][/ROW]
[ROW][C]31[/C][C]0.913438457981938[/C][C]0.173123084036123[/C][C]0.0865615420180617[/C][/ROW]
[ROW][C]32[/C][C]0.856930833805443[/C][C]0.286138332389114[/C][C]0.143069166194557[/C][/ROW]
[ROW][C]33[/C][C]0.825157208206986[/C][C]0.349685583586028[/C][C]0.174842791793014[/C][/ROW]
[ROW][C]34[/C][C]0.795903898627743[/C][C]0.408192202744515[/C][C]0.204096101372257[/C][/ROW]
[ROW][C]35[/C][C]0.890049771706734[/C][C]0.219900456586533[/C][C]0.109950228293266[/C][/ROW]
[ROW][C]36[/C][C]0.829420897464929[/C][C]0.341158205070141[/C][C]0.170579102535071[/C][/ROW]
[ROW][C]37[/C][C]0.729543882897841[/C][C]0.540912234204317[/C][C]0.270456117102159[/C][/ROW]
[ROW][C]38[/C][C]0.587164352327937[/C][C]0.825671295344126[/C][C]0.412835647672063[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=160333&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=160333&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
100.7840159675966780.4319680648066440.215984032403322
110.6447049521767120.7105900956465750.355295047823288
120.656105369289740.6877892614205210.34389463071026
130.5915519775390390.8168960449219220.408448022460961
140.5232830958195880.9534338083608230.476716904180412
150.4715591714838880.9431183429677770.528440828516112
160.3652523560426260.7305047120852530.634747643957374
170.2653009724814640.5306019449629270.734699027518536
180.1916144662716450.3832289325432890.808385533728355
190.1890525749584780.3781051499169570.810947425041522
200.3817639041678220.7635278083356450.618236095832178
210.3088399101642230.6176798203284470.691160089835777
220.2698570162668790.5397140325337570.730142983733121
230.8511159075863770.2977681848272460.148884092413623
240.7893164364441080.4213671271117830.210683563555892
250.8205175583895220.3589648832209560.179482441610478
260.9715053824751130.05698923504977420.0284946175248871
270.9497376053537390.1005247892925230.0502623946462613
280.920358551554310.1592828968913790.0796414484456897
290.9167981324089910.1664037351820170.0832018675910087
300.9027099346588930.1945801306822140.0972900653411071
310.9134384579819380.1731230840361230.0865615420180617
320.8569308338054430.2861383323891140.143069166194557
330.8251572082069860.3496855835860280.174842791793014
340.7959038986277430.4081922027445150.204096101372257
350.8900497717067340.2199004565865330.109950228293266
360.8294208974649290.3411582050701410.170579102535071
370.7295438828978410.5409122342043170.270456117102159
380.5871643523279370.8256712953441260.412835647672063







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 level10.0344827586206897OK

\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 & 1 & 0.0344827586206897 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=160333&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]1[/C][C]0.0344827586206897[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=160333&T=6

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



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