Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationFri, 16 Nov 2012 14:04:54 -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/2012/Nov/16/t13530930164p4lyxvkbrm1qqy.htm/, Retrieved Sat, 27 Apr 2024 08:29:02 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=189989, Retrieved Sat, 27 Apr 2024 08:29:02 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact67
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [WS7 Crimes] [2012-11-16 19:04:54] [3335f298c0b702cf6bacf0a9219000f9] [Current]
Feedback Forum

Post a new message
Dataseries X:
478	184	40	74	11	31	20
494	213	32	72	11	43	18
643	347	57	70	18	16	16
341	565	31	71	11	25	19
773	327	67	72	9	29	24
603	260	25	68	8	32	15
484	325	34	68	12	24	14
546	102	33	62	13	28	11
424	38	36	69	7	25	12
548	226	31	66	9	58	15
506	137	35	60	13	21	9
819	369	30	81	4	77	36
541	109	44	66	9	37	12
491	809	32	67	11	37	16
514	29	30	65	12	35	11
371	245	16	64	10	42	14
457	118	29	64	12	21	10
437	148	36	62	7	81	27
570	387	30	59	15	31	16
432	98	23	56	15	50	15
619	608	33	46	22	24	8
357	218	35	54	14	27	13
623	254	38	54	20	22	11
547	697	44	45	26	18	8
792	827	28	57	12	23	11
799	693	35	57	9	60	18
439	448	31	61	19	14	12
867	942	39	52	17	31	10
912	1017	27	44	21	24	9
462	216	36	43	18	23	8
859	673	38	48	19	22	10
805	989	46	57	14	25	12
652	630	29	47	19	25	9
776	404	32	50	19	21	9
919	692	39	48	16	32	11
732	1517	44	49	13	31	14
657	879	33	72	13	13	22
1419	631	43	59	14	21	13
989	1375	22	49	9	46	13
821	1139	30	54	13	27	12
1740	3545	86	62	22	18	15
815	706	30	47	17	39	11
760	451	32	45	34	15	10
936	433	43	48	26	23	12
863	601	20	69	23	7	12
783	1024	55	42	23	23	11
715	457	44	49	18	30	12
1504	1441	37	57	15	35	13
1324	1022	82	72	22	15	16
940	1244	66	67	26	18	16




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time7 seconds
R Server'Herman Ole Andreas Wold' @ wold.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 & 7 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ wold.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=189989&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]7 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ wold.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=189989&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=189989&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 time7 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net







Multiple Linear Regression - Estimated Regression Equation
Fondsen[t] = -4.86463515907107 + 0.0122869122501887TotaalCrimFeiten[t] + 0.00578459719973145GerappFeit[t] + 0.279900539728065`Crim25+MD`[t] + 0.626771136239096`Crim16-19ZD`[t] -0.194463485858461`Crim18-24HD`[t] + 0.719450183102083`Crim25+HD`[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Fondsen[t] =  -4.86463515907107 +  0.0122869122501887TotaalCrimFeiten[t] +  0.00578459719973145GerappFeit[t] +  0.279900539728065`Crim25+MD`[t] +  0.626771136239096`Crim16-19ZD`[t] -0.194463485858461`Crim18-24HD`[t] +  0.719450183102083`Crim25+HD`[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=189989&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Fondsen[t] =  -4.86463515907107 +  0.0122869122501887TotaalCrimFeiten[t] +  0.00578459719973145GerappFeit[t] +  0.279900539728065`Crim25+MD`[t] +  0.626771136239096`Crim16-19ZD`[t] -0.194463485858461`Crim18-24HD`[t] +  0.719450183102083`Crim25+HD`[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=189989&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=189989&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
Fondsen[t] = -4.86463515907107 + 0.0122869122501887TotaalCrimFeiten[t] + 0.00578459719973145GerappFeit[t] + 0.279900539728065`Crim25+MD`[t] + 0.626771136239096`Crim16-19ZD`[t] -0.194463485858461`Crim18-24HD`[t] + 0.719450183102083`Crim25+HD`[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-4.8646351590710720.553818-0.23670.8140310.407015
TotaalCrimFeiten0.01228691225018870.0082441.49050.1433990.071699
GerappFeit0.005784597199731450.0042471.3620.1802880.090144
`Crim25+MD`0.2799005397280650.2878080.97250.3362290.168115
`Crim16-19ZD`0.6267711362390960.4246251.47610.1472140.073607
`Crim18-24HD`-0.1944634858584610.18889-1.02950.3089970.154499
`Crim25+HD`0.7194501831020830.5844341.2310.2250060.112503

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Ordinary Least Squares \tabularnewline
Variable & Parameter & S.D. & T-STATH0: parameter = 0 & 2-tail p-value & 1-tail p-value \tabularnewline
(Intercept) & -4.86463515907107 & 20.553818 & -0.2367 & 0.814031 & 0.407015 \tabularnewline
TotaalCrimFeiten & 0.0122869122501887 & 0.008244 & 1.4905 & 0.143399 & 0.071699 \tabularnewline
GerappFeit & 0.00578459719973145 & 0.004247 & 1.362 & 0.180288 & 0.090144 \tabularnewline
`Crim25+MD` & 0.279900539728065 & 0.287808 & 0.9725 & 0.336229 & 0.168115 \tabularnewline
`Crim16-19ZD` & 0.626771136239096 & 0.424625 & 1.4761 & 0.147214 & 0.073607 \tabularnewline
`Crim18-24HD` & -0.194463485858461 & 0.18889 & -1.0295 & 0.308997 & 0.154499 \tabularnewline
`Crim25+HD` & 0.719450183102083 & 0.584434 & 1.231 & 0.225006 & 0.112503 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=189989&T=2

[TABLE]
[ROW][C]Multiple Linear Regression - Ordinary Least Squares[/C][/ROW]
[ROW][C]Variable[/C][C]Parameter[/C][C]S.D.[/C][C]T-STATH0: parameter = 0[/C][C]2-tail p-value[/C][C]1-tail p-value[/C][/ROW]
[ROW][C](Intercept)[/C][C]-4.86463515907107[/C][C]20.553818[/C][C]-0.2367[/C][C]0.814031[/C][C]0.407015[/C][/ROW]
[ROW][C]TotaalCrimFeiten[/C][C]0.0122869122501887[/C][C]0.008244[/C][C]1.4905[/C][C]0.143399[/C][C]0.071699[/C][/ROW]
[ROW][C]GerappFeit[/C][C]0.00578459719973145[/C][C]0.004247[/C][C]1.362[/C][C]0.180288[/C][C]0.090144[/C][/ROW]
[ROW][C]`Crim25+MD`[/C][C]0.279900539728065[/C][C]0.287808[/C][C]0.9725[/C][C]0.336229[/C][C]0.168115[/C][/ROW]
[ROW][C]`Crim16-19ZD`[/C][C]0.626771136239096[/C][C]0.424625[/C][C]1.4761[/C][C]0.147214[/C][C]0.073607[/C][/ROW]
[ROW][C]`Crim18-24HD`[/C][C]-0.194463485858461[/C][C]0.18889[/C][C]-1.0295[/C][C]0.308997[/C][C]0.154499[/C][/ROW]
[ROW][C]`Crim25+HD`[/C][C]0.719450183102083[/C][C]0.584434[/C][C]1.231[/C][C]0.225006[/C][C]0.112503[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=189989&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=189989&T=2

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-4.8646351590710720.553818-0.23670.8140310.407015
TotaalCrimFeiten0.01228691225018870.0082441.49050.1433990.071699
GerappFeit0.005784597199731450.0042471.3620.1802880.090144
`Crim25+MD`0.2799005397280650.2878080.97250.3362290.168115
`Crim16-19ZD`0.6267711362390960.4246251.47610.1472140.073607
`Crim18-24HD`-0.1944634858584610.18889-1.02950.3089970.154499
`Crim25+HD`0.7194501831020830.5844341.2310.2250060.112503







Multiple Linear Regression - Regression Statistics
Multiple R0.679884178932928
R-squared0.462242496763302
Adjusted R-squared0.387206566079112
F-TEST (value)6.16028204819339
F-TEST (DF numerator)6
F-TEST (DF denominator)43
p-value0.000100998924599915
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation10.8187359057102
Sum Squared Residuals5032.93700369264

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.679884178932928 \tabularnewline
R-squared & 0.462242496763302 \tabularnewline
Adjusted R-squared & 0.387206566079112 \tabularnewline
F-TEST (value) & 6.16028204819339 \tabularnewline
F-TEST (DF numerator) & 6 \tabularnewline
F-TEST (DF denominator) & 43 \tabularnewline
p-value & 0.000100998924599915 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 10.8187359057102 \tabularnewline
Sum Squared Residuals & 5032.93700369264 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=189989&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.679884178932928[/C][/ROW]
[ROW][C]R-squared[/C][C]0.462242496763302[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.387206566079112[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]6.16028204819339[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]6[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]43[/C][/ROW]
[ROW][C]p-value[/C][C]0.000100998924599915[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]10.8187359057102[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]5032.93700369264[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=189989&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=189989&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.679884178932928
R-squared0.462242496763302
Adjusted R-squared0.387206566079112
F-TEST (value)6.16028204819339
F-TEST (DF numerator)6
F-TEST (DF denominator)43
p-value0.000100998924599915
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation10.8187359057102
Sum Squared Residuals5032.93700369264







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
14038.04063282020591.95936717979409
23234.0727134590393-2.07271345903932
35744.317810035273312.6821899647267
43138.1688864878922-7.16888648789223
56743.945853685764123.0541463142359
62532.6646951902045-7.66469519020454
73434.9218936991366-0.921893699136615
83330.40488048823882.59511951176118
93628.03718057427237.96281942572767
103126.80315813611634.19684186388374
113529.47840785557085.5215921444292
123043.4384087840375-13.4384087840375
134427.965734531717816.0342654682822
143235.811850503635-3.81185050363497
153028.44110978258831.55889021741175
161627.197217662044-11.197217662044
172929.9787230142919-0.978723014291905
183626.77570988585629.22429011414381
193035.7760776953958-5.77607769539584
202327.1547771805504-4.15477718055036
213334.0108662501971-1.01086625019713
223528.77459801859926.2254019814008
233835.54520605686242.45479394313755
244437.03500263933876.96499736066128
252836.5673374660034-8.56733746600342
263531.8388987232253.16110127677505
273138.0143167714028-7.01431677140276
283937.61327947532211.38672052467793
292739.5097097615994-12.5097097615994
303626.66193624634079.33806375365934
313837.84303901688490.156960983115111
324639.24823755547576.75176244452428
332933.4681693211018-4.46816932110184
343235.301983035604-3.30198303560397
353935.58466301449133.41533698550871
364438.81170427965995.18829572034006
373349.8932694714816-16.8932694714816
384346.7786210855798-3.77862108557978
392235.0045409096612-13.0045409096612
403038.4571180042982-8.45711800429825
418675.455197690784310.5448023092157
423033.3734346967697-3.37343469676971
433245.2655639511873-13.2655639511873
444343.0326627662332-0.0326627662332422
452050.2165442008318-30.2165442008318
465540.292295306807914.7077046931921
474434.36057254054129.63942745945883
483749.8530136133928-12.8530136133928
498259.851149497741522.1488505022585
506656.94134716075019.05865283924993

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 40 & 38.0406328202059 & 1.95936717979409 \tabularnewline
2 & 32 & 34.0727134590393 & -2.07271345903932 \tabularnewline
3 & 57 & 44.3178100352733 & 12.6821899647267 \tabularnewline
4 & 31 & 38.1688864878922 & -7.16888648789223 \tabularnewline
5 & 67 & 43.9458536857641 & 23.0541463142359 \tabularnewline
6 & 25 & 32.6646951902045 & -7.66469519020454 \tabularnewline
7 & 34 & 34.9218936991366 & -0.921893699136615 \tabularnewline
8 & 33 & 30.4048804882388 & 2.59511951176118 \tabularnewline
9 & 36 & 28.0371805742723 & 7.96281942572767 \tabularnewline
10 & 31 & 26.8031581361163 & 4.19684186388374 \tabularnewline
11 & 35 & 29.4784078555708 & 5.5215921444292 \tabularnewline
12 & 30 & 43.4384087840375 & -13.4384087840375 \tabularnewline
13 & 44 & 27.9657345317178 & 16.0342654682822 \tabularnewline
14 & 32 & 35.811850503635 & -3.81185050363497 \tabularnewline
15 & 30 & 28.4411097825883 & 1.55889021741175 \tabularnewline
16 & 16 & 27.197217662044 & -11.197217662044 \tabularnewline
17 & 29 & 29.9787230142919 & -0.978723014291905 \tabularnewline
18 & 36 & 26.7757098858562 & 9.22429011414381 \tabularnewline
19 & 30 & 35.7760776953958 & -5.77607769539584 \tabularnewline
20 & 23 & 27.1547771805504 & -4.15477718055036 \tabularnewline
21 & 33 & 34.0108662501971 & -1.01086625019713 \tabularnewline
22 & 35 & 28.7745980185992 & 6.2254019814008 \tabularnewline
23 & 38 & 35.5452060568624 & 2.45479394313755 \tabularnewline
24 & 44 & 37.0350026393387 & 6.96499736066128 \tabularnewline
25 & 28 & 36.5673374660034 & -8.56733746600342 \tabularnewline
26 & 35 & 31.838898723225 & 3.16110127677505 \tabularnewline
27 & 31 & 38.0143167714028 & -7.01431677140276 \tabularnewline
28 & 39 & 37.6132794753221 & 1.38672052467793 \tabularnewline
29 & 27 & 39.5097097615994 & -12.5097097615994 \tabularnewline
30 & 36 & 26.6619362463407 & 9.33806375365934 \tabularnewline
31 & 38 & 37.8430390168849 & 0.156960983115111 \tabularnewline
32 & 46 & 39.2482375554757 & 6.75176244452428 \tabularnewline
33 & 29 & 33.4681693211018 & -4.46816932110184 \tabularnewline
34 & 32 & 35.301983035604 & -3.30198303560397 \tabularnewline
35 & 39 & 35.5846630144913 & 3.41533698550871 \tabularnewline
36 & 44 & 38.8117042796599 & 5.18829572034006 \tabularnewline
37 & 33 & 49.8932694714816 & -16.8932694714816 \tabularnewline
38 & 43 & 46.7786210855798 & -3.77862108557978 \tabularnewline
39 & 22 & 35.0045409096612 & -13.0045409096612 \tabularnewline
40 & 30 & 38.4571180042982 & -8.45711800429825 \tabularnewline
41 & 86 & 75.4551976907843 & 10.5448023092157 \tabularnewline
42 & 30 & 33.3734346967697 & -3.37343469676971 \tabularnewline
43 & 32 & 45.2655639511873 & -13.2655639511873 \tabularnewline
44 & 43 & 43.0326627662332 & -0.0326627662332422 \tabularnewline
45 & 20 & 50.2165442008318 & -30.2165442008318 \tabularnewline
46 & 55 & 40.2922953068079 & 14.7077046931921 \tabularnewline
47 & 44 & 34.3605725405412 & 9.63942745945883 \tabularnewline
48 & 37 & 49.8530136133928 & -12.8530136133928 \tabularnewline
49 & 82 & 59.8511494977415 & 22.1488505022585 \tabularnewline
50 & 66 & 56.9413471607501 & 9.05865283924993 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=189989&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]40[/C][C]38.0406328202059[/C][C]1.95936717979409[/C][/ROW]
[ROW][C]2[/C][C]32[/C][C]34.0727134590393[/C][C]-2.07271345903932[/C][/ROW]
[ROW][C]3[/C][C]57[/C][C]44.3178100352733[/C][C]12.6821899647267[/C][/ROW]
[ROW][C]4[/C][C]31[/C][C]38.1688864878922[/C][C]-7.16888648789223[/C][/ROW]
[ROW][C]5[/C][C]67[/C][C]43.9458536857641[/C][C]23.0541463142359[/C][/ROW]
[ROW][C]6[/C][C]25[/C][C]32.6646951902045[/C][C]-7.66469519020454[/C][/ROW]
[ROW][C]7[/C][C]34[/C][C]34.9218936991366[/C][C]-0.921893699136615[/C][/ROW]
[ROW][C]8[/C][C]33[/C][C]30.4048804882388[/C][C]2.59511951176118[/C][/ROW]
[ROW][C]9[/C][C]36[/C][C]28.0371805742723[/C][C]7.96281942572767[/C][/ROW]
[ROW][C]10[/C][C]31[/C][C]26.8031581361163[/C][C]4.19684186388374[/C][/ROW]
[ROW][C]11[/C][C]35[/C][C]29.4784078555708[/C][C]5.5215921444292[/C][/ROW]
[ROW][C]12[/C][C]30[/C][C]43.4384087840375[/C][C]-13.4384087840375[/C][/ROW]
[ROW][C]13[/C][C]44[/C][C]27.9657345317178[/C][C]16.0342654682822[/C][/ROW]
[ROW][C]14[/C][C]32[/C][C]35.811850503635[/C][C]-3.81185050363497[/C][/ROW]
[ROW][C]15[/C][C]30[/C][C]28.4411097825883[/C][C]1.55889021741175[/C][/ROW]
[ROW][C]16[/C][C]16[/C][C]27.197217662044[/C][C]-11.197217662044[/C][/ROW]
[ROW][C]17[/C][C]29[/C][C]29.9787230142919[/C][C]-0.978723014291905[/C][/ROW]
[ROW][C]18[/C][C]36[/C][C]26.7757098858562[/C][C]9.22429011414381[/C][/ROW]
[ROW][C]19[/C][C]30[/C][C]35.7760776953958[/C][C]-5.77607769539584[/C][/ROW]
[ROW][C]20[/C][C]23[/C][C]27.1547771805504[/C][C]-4.15477718055036[/C][/ROW]
[ROW][C]21[/C][C]33[/C][C]34.0108662501971[/C][C]-1.01086625019713[/C][/ROW]
[ROW][C]22[/C][C]35[/C][C]28.7745980185992[/C][C]6.2254019814008[/C][/ROW]
[ROW][C]23[/C][C]38[/C][C]35.5452060568624[/C][C]2.45479394313755[/C][/ROW]
[ROW][C]24[/C][C]44[/C][C]37.0350026393387[/C][C]6.96499736066128[/C][/ROW]
[ROW][C]25[/C][C]28[/C][C]36.5673374660034[/C][C]-8.56733746600342[/C][/ROW]
[ROW][C]26[/C][C]35[/C][C]31.838898723225[/C][C]3.16110127677505[/C][/ROW]
[ROW][C]27[/C][C]31[/C][C]38.0143167714028[/C][C]-7.01431677140276[/C][/ROW]
[ROW][C]28[/C][C]39[/C][C]37.6132794753221[/C][C]1.38672052467793[/C][/ROW]
[ROW][C]29[/C][C]27[/C][C]39.5097097615994[/C][C]-12.5097097615994[/C][/ROW]
[ROW][C]30[/C][C]36[/C][C]26.6619362463407[/C][C]9.33806375365934[/C][/ROW]
[ROW][C]31[/C][C]38[/C][C]37.8430390168849[/C][C]0.156960983115111[/C][/ROW]
[ROW][C]32[/C][C]46[/C][C]39.2482375554757[/C][C]6.75176244452428[/C][/ROW]
[ROW][C]33[/C][C]29[/C][C]33.4681693211018[/C][C]-4.46816932110184[/C][/ROW]
[ROW][C]34[/C][C]32[/C][C]35.301983035604[/C][C]-3.30198303560397[/C][/ROW]
[ROW][C]35[/C][C]39[/C][C]35.5846630144913[/C][C]3.41533698550871[/C][/ROW]
[ROW][C]36[/C][C]44[/C][C]38.8117042796599[/C][C]5.18829572034006[/C][/ROW]
[ROW][C]37[/C][C]33[/C][C]49.8932694714816[/C][C]-16.8932694714816[/C][/ROW]
[ROW][C]38[/C][C]43[/C][C]46.7786210855798[/C][C]-3.77862108557978[/C][/ROW]
[ROW][C]39[/C][C]22[/C][C]35.0045409096612[/C][C]-13.0045409096612[/C][/ROW]
[ROW][C]40[/C][C]30[/C][C]38.4571180042982[/C][C]-8.45711800429825[/C][/ROW]
[ROW][C]41[/C][C]86[/C][C]75.4551976907843[/C][C]10.5448023092157[/C][/ROW]
[ROW][C]42[/C][C]30[/C][C]33.3734346967697[/C][C]-3.37343469676971[/C][/ROW]
[ROW][C]43[/C][C]32[/C][C]45.2655639511873[/C][C]-13.2655639511873[/C][/ROW]
[ROW][C]44[/C][C]43[/C][C]43.0326627662332[/C][C]-0.0326627662332422[/C][/ROW]
[ROW][C]45[/C][C]20[/C][C]50.2165442008318[/C][C]-30.2165442008318[/C][/ROW]
[ROW][C]46[/C][C]55[/C][C]40.2922953068079[/C][C]14.7077046931921[/C][/ROW]
[ROW][C]47[/C][C]44[/C][C]34.3605725405412[/C][C]9.63942745945883[/C][/ROW]
[ROW][C]48[/C][C]37[/C][C]49.8530136133928[/C][C]-12.8530136133928[/C][/ROW]
[ROW][C]49[/C][C]82[/C][C]59.8511494977415[/C][C]22.1488505022585[/C][/ROW]
[ROW][C]50[/C][C]66[/C][C]56.9413471607501[/C][C]9.05865283924993[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=189989&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=189989&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
14038.04063282020591.95936717979409
23234.0727134590393-2.07271345903932
35744.317810035273312.6821899647267
43138.1688864878922-7.16888648789223
56743.945853685764123.0541463142359
62532.6646951902045-7.66469519020454
73434.9218936991366-0.921893699136615
83330.40488048823882.59511951176118
93628.03718057427237.96281942572767
103126.80315813611634.19684186388374
113529.47840785557085.5215921444292
123043.4384087840375-13.4384087840375
134427.965734531717816.0342654682822
143235.811850503635-3.81185050363497
153028.44110978258831.55889021741175
161627.197217662044-11.197217662044
172929.9787230142919-0.978723014291905
183626.77570988585629.22429011414381
193035.7760776953958-5.77607769539584
202327.1547771805504-4.15477718055036
213334.0108662501971-1.01086625019713
223528.77459801859926.2254019814008
233835.54520605686242.45479394313755
244437.03500263933876.96499736066128
252836.5673374660034-8.56733746600342
263531.8388987232253.16110127677505
273138.0143167714028-7.01431677140276
283937.61327947532211.38672052467793
292739.5097097615994-12.5097097615994
303626.66193624634079.33806375365934
313837.84303901688490.156960983115111
324639.24823755547576.75176244452428
332933.4681693211018-4.46816932110184
343235.301983035604-3.30198303560397
353935.58466301449133.41533698550871
364438.81170427965995.18829572034006
373349.8932694714816-16.8932694714816
384346.7786210855798-3.77862108557978
392235.0045409096612-13.0045409096612
403038.4571180042982-8.45711800429825
418675.455197690784310.5448023092157
423033.3734346967697-3.37343469676971
433245.2655639511873-13.2655639511873
444343.0326627662332-0.0326627662332422
452050.2165442008318-30.2165442008318
465540.292295306807914.7077046931921
474434.36057254054129.63942745945883
483749.8530136133928-12.8530136133928
498259.851149497741522.1488505022585
506656.94134716075019.05865283924993







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
100.5149585646059170.9700828707881650.485041435394083
110.3490145543511380.6980291087022750.650985445648862
120.4743466491467460.9486932982934920.525653350853254
130.5411797531265820.9176404937468360.458820246873418
140.4249991660176560.8499983320353110.575000833982344
150.3353979297825280.6707958595650550.664602070217472
160.2472832790366110.4945665580732230.752716720963389
170.2043662559871790.4087325119743570.795633744012821
180.2815995290867190.5631990581734380.718400470913281
190.3141258278437250.628251655687450.685874172156275
200.2511949588317050.502389917663410.748805041168295
210.1787989542846350.3575979085692690.821201045715365
220.1366980864272460.2733961728544930.863301913572754
230.097264492192110.194528984384220.90273550780789
240.08002713961224240.1600542792244850.919972860387758
250.05902872873416660.1180574574683330.940971271265833
260.04282129114499870.08564258228999740.957178708855001
270.02931209634324080.05862419268648170.970687903656759
280.01756820827731370.03513641655462730.982431791722686
290.02198163984910340.04396327969820690.978018360150897
300.01821715835515250.03643431671030510.981782841644847
310.01018080998298640.02036161996597280.989819190017014
320.01333825626104030.02667651252208060.98666174373896
330.007613415667893160.01522683133578630.992386584332107
340.005421956135551910.01084391227110380.994578043864448
350.003086076187023320.006172152374046650.996913923812977
360.002609645542871450.005219291085742910.997390354457129
370.1431638314003890.2863276628007770.856836168599612
380.1137206296116550.227441259223310.886279370388345
390.2348096791241910.4696193582483810.765190320875809
400.2204638946467670.4409277892935330.779536105353233

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
10 & 0.514958564605917 & 0.970082870788165 & 0.485041435394083 \tabularnewline
11 & 0.349014554351138 & 0.698029108702275 & 0.650985445648862 \tabularnewline
12 & 0.474346649146746 & 0.948693298293492 & 0.525653350853254 \tabularnewline
13 & 0.541179753126582 & 0.917640493746836 & 0.458820246873418 \tabularnewline
14 & 0.424999166017656 & 0.849998332035311 & 0.575000833982344 \tabularnewline
15 & 0.335397929782528 & 0.670795859565055 & 0.664602070217472 \tabularnewline
16 & 0.247283279036611 & 0.494566558073223 & 0.752716720963389 \tabularnewline
17 & 0.204366255987179 & 0.408732511974357 & 0.795633744012821 \tabularnewline
18 & 0.281599529086719 & 0.563199058173438 & 0.718400470913281 \tabularnewline
19 & 0.314125827843725 & 0.62825165568745 & 0.685874172156275 \tabularnewline
20 & 0.251194958831705 & 0.50238991766341 & 0.748805041168295 \tabularnewline
21 & 0.178798954284635 & 0.357597908569269 & 0.821201045715365 \tabularnewline
22 & 0.136698086427246 & 0.273396172854493 & 0.863301913572754 \tabularnewline
23 & 0.09726449219211 & 0.19452898438422 & 0.90273550780789 \tabularnewline
24 & 0.0800271396122424 & 0.160054279224485 & 0.919972860387758 \tabularnewline
25 & 0.0590287287341666 & 0.118057457468333 & 0.940971271265833 \tabularnewline
26 & 0.0428212911449987 & 0.0856425822899974 & 0.957178708855001 \tabularnewline
27 & 0.0293120963432408 & 0.0586241926864817 & 0.970687903656759 \tabularnewline
28 & 0.0175682082773137 & 0.0351364165546273 & 0.982431791722686 \tabularnewline
29 & 0.0219816398491034 & 0.0439632796982069 & 0.978018360150897 \tabularnewline
30 & 0.0182171583551525 & 0.0364343167103051 & 0.981782841644847 \tabularnewline
31 & 0.0101808099829864 & 0.0203616199659728 & 0.989819190017014 \tabularnewline
32 & 0.0133382562610403 & 0.0266765125220806 & 0.98666174373896 \tabularnewline
33 & 0.00761341566789316 & 0.0152268313357863 & 0.992386584332107 \tabularnewline
34 & 0.00542195613555191 & 0.0108439122711038 & 0.994578043864448 \tabularnewline
35 & 0.00308607618702332 & 0.00617215237404665 & 0.996913923812977 \tabularnewline
36 & 0.00260964554287145 & 0.00521929108574291 & 0.997390354457129 \tabularnewline
37 & 0.143163831400389 & 0.286327662800777 & 0.856836168599612 \tabularnewline
38 & 0.113720629611655 & 0.22744125922331 & 0.886279370388345 \tabularnewline
39 & 0.234809679124191 & 0.469619358248381 & 0.765190320875809 \tabularnewline
40 & 0.220463894646767 & 0.440927789293533 & 0.779536105353233 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=189989&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.514958564605917[/C][C]0.970082870788165[/C][C]0.485041435394083[/C][/ROW]
[ROW][C]11[/C][C]0.349014554351138[/C][C]0.698029108702275[/C][C]0.650985445648862[/C][/ROW]
[ROW][C]12[/C][C]0.474346649146746[/C][C]0.948693298293492[/C][C]0.525653350853254[/C][/ROW]
[ROW][C]13[/C][C]0.541179753126582[/C][C]0.917640493746836[/C][C]0.458820246873418[/C][/ROW]
[ROW][C]14[/C][C]0.424999166017656[/C][C]0.849998332035311[/C][C]0.575000833982344[/C][/ROW]
[ROW][C]15[/C][C]0.335397929782528[/C][C]0.670795859565055[/C][C]0.664602070217472[/C][/ROW]
[ROW][C]16[/C][C]0.247283279036611[/C][C]0.494566558073223[/C][C]0.752716720963389[/C][/ROW]
[ROW][C]17[/C][C]0.204366255987179[/C][C]0.408732511974357[/C][C]0.795633744012821[/C][/ROW]
[ROW][C]18[/C][C]0.281599529086719[/C][C]0.563199058173438[/C][C]0.718400470913281[/C][/ROW]
[ROW][C]19[/C][C]0.314125827843725[/C][C]0.62825165568745[/C][C]0.685874172156275[/C][/ROW]
[ROW][C]20[/C][C]0.251194958831705[/C][C]0.50238991766341[/C][C]0.748805041168295[/C][/ROW]
[ROW][C]21[/C][C]0.178798954284635[/C][C]0.357597908569269[/C][C]0.821201045715365[/C][/ROW]
[ROW][C]22[/C][C]0.136698086427246[/C][C]0.273396172854493[/C][C]0.863301913572754[/C][/ROW]
[ROW][C]23[/C][C]0.09726449219211[/C][C]0.19452898438422[/C][C]0.90273550780789[/C][/ROW]
[ROW][C]24[/C][C]0.0800271396122424[/C][C]0.160054279224485[/C][C]0.919972860387758[/C][/ROW]
[ROW][C]25[/C][C]0.0590287287341666[/C][C]0.118057457468333[/C][C]0.940971271265833[/C][/ROW]
[ROW][C]26[/C][C]0.0428212911449987[/C][C]0.0856425822899974[/C][C]0.957178708855001[/C][/ROW]
[ROW][C]27[/C][C]0.0293120963432408[/C][C]0.0586241926864817[/C][C]0.970687903656759[/C][/ROW]
[ROW][C]28[/C][C]0.0175682082773137[/C][C]0.0351364165546273[/C][C]0.982431791722686[/C][/ROW]
[ROW][C]29[/C][C]0.0219816398491034[/C][C]0.0439632796982069[/C][C]0.978018360150897[/C][/ROW]
[ROW][C]30[/C][C]0.0182171583551525[/C][C]0.0364343167103051[/C][C]0.981782841644847[/C][/ROW]
[ROW][C]31[/C][C]0.0101808099829864[/C][C]0.0203616199659728[/C][C]0.989819190017014[/C][/ROW]
[ROW][C]32[/C][C]0.0133382562610403[/C][C]0.0266765125220806[/C][C]0.98666174373896[/C][/ROW]
[ROW][C]33[/C][C]0.00761341566789316[/C][C]0.0152268313357863[/C][C]0.992386584332107[/C][/ROW]
[ROW][C]34[/C][C]0.00542195613555191[/C][C]0.0108439122711038[/C][C]0.994578043864448[/C][/ROW]
[ROW][C]35[/C][C]0.00308607618702332[/C][C]0.00617215237404665[/C][C]0.996913923812977[/C][/ROW]
[ROW][C]36[/C][C]0.00260964554287145[/C][C]0.00521929108574291[/C][C]0.997390354457129[/C][/ROW]
[ROW][C]37[/C][C]0.143163831400389[/C][C]0.286327662800777[/C][C]0.856836168599612[/C][/ROW]
[ROW][C]38[/C][C]0.113720629611655[/C][C]0.22744125922331[/C][C]0.886279370388345[/C][/ROW]
[ROW][C]39[/C][C]0.234809679124191[/C][C]0.469619358248381[/C][C]0.765190320875809[/C][/ROW]
[ROW][C]40[/C][C]0.220463894646767[/C][C]0.440927789293533[/C][C]0.779536105353233[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=189989&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=189989&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.5149585646059170.9700828707881650.485041435394083
110.3490145543511380.6980291087022750.650985445648862
120.4743466491467460.9486932982934920.525653350853254
130.5411797531265820.9176404937468360.458820246873418
140.4249991660176560.8499983320353110.575000833982344
150.3353979297825280.6707958595650550.664602070217472
160.2472832790366110.4945665580732230.752716720963389
170.2043662559871790.4087325119743570.795633744012821
180.2815995290867190.5631990581734380.718400470913281
190.3141258278437250.628251655687450.685874172156275
200.2511949588317050.502389917663410.748805041168295
210.1787989542846350.3575979085692690.821201045715365
220.1366980864272460.2733961728544930.863301913572754
230.097264492192110.194528984384220.90273550780789
240.08002713961224240.1600542792244850.919972860387758
250.05902872873416660.1180574574683330.940971271265833
260.04282129114499870.08564258228999740.957178708855001
270.02931209634324080.05862419268648170.970687903656759
280.01756820827731370.03513641655462730.982431791722686
290.02198163984910340.04396327969820690.978018360150897
300.01821715835515250.03643431671030510.981782841644847
310.01018080998298640.02036161996597280.989819190017014
320.01333825626104030.02667651252208060.98666174373896
330.007613415667893160.01522683133578630.992386584332107
340.005421956135551910.01084391227110380.994578043864448
350.003086076187023320.006172152374046650.996913923812977
360.002609645542871450.005219291085742910.997390354457129
370.1431638314003890.2863276628007770.856836168599612
380.1137206296116550.227441259223310.886279370388345
390.2348096791241910.4696193582483810.765190320875809
400.2204638946467670.4409277892935330.779536105353233







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level20.0645161290322581NOK
5% type I error level90.290322580645161NOK
10% type I error level110.354838709677419NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=189989&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.0645161290322581NOK
5% type I error level90.290322580645161NOK
10% type I error level110.354838709677419NOK



Parameters (Session):
par1 = 3 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 3 ; 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')
}