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 computationWed, 01 Dec 2010 15:54:04 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/01/t1291218776sf44ziitj6dpkat.htm/, Retrieved Sun, 05 May 2024 10:28:05 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=104076, Retrieved Sun, 05 May 2024 10:28:05 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact132
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Decreasing Compet...] [2010-11-17 09:04:39] [b98453cac15ba1066b407e146608df68]
-   PD    [Multiple Regression] [month] [2010-12-01 15:54:04] [cfea828c93f35e07cca4521b1fb38047] [Current]
Feedback Forum

Post a new message
Dataseries X:
0	8	17	2	6
-2	3	23	3	7
-4	3	24	1	4
-4	7	27	1	3
-7	4	31	0	0
-9	-4	40	1	6
-13	-6	47	-1	3
-8	8	43	2	1
-13	2	60	2	6
-15	-1	64	0	5
-15	-2	65	1	7
-15	0	65	1	4
-10	10	55	3	3
-12	3	57	3	6
-11	6	57	1	6
-11	7	57	1	5
-17	-4	65	-2	2
-18	-5	69	1	3
-19	-7	70	1	-2
-22	-10	71	-1	-4
-24	-21	71	-4	0
-24	-22	73	-2	1
-20	-16	68	-1	4
-25	-25	65	-5	-3
-22	-22	57	-4	-3
-17	-22	41	-5	0
-9	-19	21	0	6
-11	-21	21	-2	-1
-13	-31	17	-4	0
-11	-28	9	-6	-1
-9	-23	11	-2	1
-7	-17	6	-2	-4
-3	-12	-2	-2	-1
-3	-14	0	1	-1
-6	-18	5	-2	0
-4	-16	3	0	3
-8	-22	7	-1	0
-1	-9	4	2	8
-2	-10	8	3	8
-2	-10	9	2	8
-1	0	14	3	8
1	3	12	4	11
2	2	12	5	13
2	4	7	5	5
-1	-3	15	4	12
1	0	14	5	13
-1	-1	19	6	9
-8	-7	39	4	11
1	2	12	6	7
2	3	11	6	12
-2	-3	17	3	11
-2	-5	16	5	10
-2	0	25	5	13
-2	-3	24	5	14
-6	-7	28	3	10
-4	-7	25	5	13
-5	-7	31	5	12
-2	-4	24	6	13
-1	-3	24	6	17
-5	-6	33	5	15




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time11 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 11 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104076&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]11 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104076&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104076&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 time11 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Multiple Linear Regression - Estimated Regression Equation
werkloosheid[t] = + 0.663907484037988 -3.94105757478893indicator[t] + 1.00077195481772economie[t] + 1.03740674497135finaciën[t] + 0.888119561734234spaarvermogen[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
werkloosheid[t] =  +  0.663907484037988 -3.94105757478893indicator[t] +  1.00077195481772economie[t] +  1.03740674497135finaciën[t] +  0.888119561734234spaarvermogen[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104076&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]werkloosheid[t] =  +  0.663907484037988 -3.94105757478893indicator[t] +  1.00077195481772economie[t] +  1.03740674497135finaciën[t] +  0.888119561734234spaarvermogen[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104076&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104076&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
werkloosheid[t] = + 0.663907484037988 -3.94105757478893indicator[t] + 1.00077195481772economie[t] + 1.03740674497135finaciën[t] + 0.888119561734234spaarvermogen[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)0.6639074840379880.46211.43670.1564620.078231
indicator-3.941057574788930.030998-127.138900
economie1.000771954817720.02298943.532600
finaciën1.037406744971350.1335967.765200
spaarvermogen0.8881195617342340.05912315.021600

\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) & 0.663907484037988 & 0.4621 & 1.4367 & 0.156462 & 0.078231 \tabularnewline
indicator & -3.94105757478893 & 0.030998 & -127.1389 & 0 & 0 \tabularnewline
economie & 1.00077195481772 & 0.022989 & 43.5326 & 0 & 0 \tabularnewline
finaciën & 1.03740674497135 & 0.133596 & 7.7652 & 0 & 0 \tabularnewline
spaarvermogen & 0.888119561734234 & 0.059123 & 15.0216 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104076&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]0.663907484037988[/C][C]0.4621[/C][C]1.4367[/C][C]0.156462[/C][C]0.078231[/C][/ROW]
[ROW][C]indicator[/C][C]-3.94105757478893[/C][C]0.030998[/C][C]-127.1389[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]economie[/C][C]1.00077195481772[/C][C]0.022989[/C][C]43.5326[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]finaciën[/C][C]1.03740674497135[/C][C]0.133596[/C][C]7.7652[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]spaarvermogen[/C][C]0.888119561734234[/C][C]0.059123[/C][C]15.0216[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104076&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104076&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)0.6639074840379880.46211.43670.1564620.078231
indicator-3.941057574788930.030998-127.138900
economie1.000771954817720.02298943.532600
finaciën1.037406744971350.1335967.765200
spaarvermogen0.8881195617342340.05912315.021600







Multiple Linear Regression - Regression Statistics
Multiple R0.998682888644061
R-squared0.997367512070446
Adjusted R-squared0.997176058402843
F-TEST (value)5209.44583905243
F-TEST (DF numerator)4
F-TEST (DF denominator)55
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.22777002196627
Sum Squared Residuals82.9080574761474

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.998682888644061 \tabularnewline
R-squared & 0.997367512070446 \tabularnewline
Adjusted R-squared & 0.997176058402843 \tabularnewline
F-TEST (value) & 5209.44583905243 \tabularnewline
F-TEST (DF numerator) & 4 \tabularnewline
F-TEST (DF denominator) & 55 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1.22777002196627 \tabularnewline
Sum Squared Residuals & 82.9080574761474 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104076&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.998682888644061[/C][/ROW]
[ROW][C]R-squared[/C][C]0.997367512070446[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.997176058402843[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]5209.44583905243[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]4[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]55[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]1.22777002196627[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]82.9080574761474[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104076&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104076&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.998682888644061
R-squared0.997367512070446
Adjusted R-squared0.997176058402843
F-TEST (value)5209.44583905243
F-TEST (DF numerator)4
F-TEST (DF denominator)55
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.22777002196627
Sum Squared Residuals82.9080574761474







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11716.07361398292790.926386017072126
22320.87739566512272.1226043348773
32424.0203386395551-0.0203386395551447
42727.1353068970918-0.135306897091792
53132.2543983268314-1.25439832683136
64038.49646195324421.50353804675578
74747.5199761676191-0.519976167619087
84343.1614767725681-0.161476772568104
96061.3027307262776-1.3027307262776
106463.21959695972540.780403040274641
116565.0324708733474-0.0324708733474565
126564.36965609778020.630343902219805
135555.8587817002212-0.85878170022122
145759.3998518512777-2.39985185127774
155756.38629665099930.613703349000727
165756.49894904408280.50105095591724
176563.36022406970461.63977593029535
186970.3008494863241-1.30084948632414
197067.79976534280652.20023465719354
207172.7695695893089-1.76956958930891
217170.08345124791470.91654875208526
227372.0456123447740.954387655226047
236865.98777920469862.01222079530139
246566.3196555732587-1.31965557325874
255758.5362054583165-1.53620545831646
264140.45786952460320.542130475396828
272122.4474758860071-1.44747588600706
282120.03639670386710.963603296132854
291716.72409837705930.275901622940664
3098.88136604025770.118633959742295
311111.9289767681223-0.928976768122318
3265.61089553877960.389104461220395
33-2-2.485116301084800.485116301084804
340-1.374439975806191.37443997580619
3554.221544256109890.778455743890106
3633.08014519131288-0.0801451913128798
3779.13797833138822-2.13797833138822
3844.77778744928401-0.777787449284007
3988.75547981422656-0.755479814226565
4097.718073069255221.28192693074478
411414.8221417876148-0.822141787614839
421213.6441079326642-1.64410793266419
431211.51592427149740.484075728502639
4476.412511687258930.587488312741074
451516.4097109150700-1.40971091506997
461413.45543793665080.54456206334915
471917.82170962944541.17829037055460
483939.1059065575873-0.105906557587347
491211.16567122085220.834328779147766
501112.6659834095522-1.66598340955220
511718.4252421831533-1.42524218315331
521617.6103922017263-1.61039220172633
532525.2786106610176-0.278610661017636
542423.16441435829870.83558564170129
552829.2982651013039-1.29826510130391
562526.1553221268715-1.15532212687145
573129.20826013992611.79173986007385
582422.31292958671811.68707041328189
592422.92512221368381.07487778631616
603332.87339077994660.126609220053431

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 17 & 16.0736139829279 & 0.926386017072126 \tabularnewline
2 & 23 & 20.8773956651227 & 2.1226043348773 \tabularnewline
3 & 24 & 24.0203386395551 & -0.0203386395551447 \tabularnewline
4 & 27 & 27.1353068970918 & -0.135306897091792 \tabularnewline
5 & 31 & 32.2543983268314 & -1.25439832683136 \tabularnewline
6 & 40 & 38.4964619532442 & 1.50353804675578 \tabularnewline
7 & 47 & 47.5199761676191 & -0.519976167619087 \tabularnewline
8 & 43 & 43.1614767725681 & -0.161476772568104 \tabularnewline
9 & 60 & 61.3027307262776 & -1.3027307262776 \tabularnewline
10 & 64 & 63.2195969597254 & 0.780403040274641 \tabularnewline
11 & 65 & 65.0324708733474 & -0.0324708733474565 \tabularnewline
12 & 65 & 64.3696560977802 & 0.630343902219805 \tabularnewline
13 & 55 & 55.8587817002212 & -0.85878170022122 \tabularnewline
14 & 57 & 59.3998518512777 & -2.39985185127774 \tabularnewline
15 & 57 & 56.3862966509993 & 0.613703349000727 \tabularnewline
16 & 57 & 56.4989490440828 & 0.50105095591724 \tabularnewline
17 & 65 & 63.3602240697046 & 1.63977593029535 \tabularnewline
18 & 69 & 70.3008494863241 & -1.30084948632414 \tabularnewline
19 & 70 & 67.7997653428065 & 2.20023465719354 \tabularnewline
20 & 71 & 72.7695695893089 & -1.76956958930891 \tabularnewline
21 & 71 & 70.0834512479147 & 0.91654875208526 \tabularnewline
22 & 73 & 72.045612344774 & 0.954387655226047 \tabularnewline
23 & 68 & 65.9877792046986 & 2.01222079530139 \tabularnewline
24 & 65 & 66.3196555732587 & -1.31965557325874 \tabularnewline
25 & 57 & 58.5362054583165 & -1.53620545831646 \tabularnewline
26 & 41 & 40.4578695246032 & 0.542130475396828 \tabularnewline
27 & 21 & 22.4474758860071 & -1.44747588600706 \tabularnewline
28 & 21 & 20.0363967038671 & 0.963603296132854 \tabularnewline
29 & 17 & 16.7240983770593 & 0.275901622940664 \tabularnewline
30 & 9 & 8.8813660402577 & 0.118633959742295 \tabularnewline
31 & 11 & 11.9289767681223 & -0.928976768122318 \tabularnewline
32 & 6 & 5.6108955387796 & 0.389104461220395 \tabularnewline
33 & -2 & -2.48511630108480 & 0.485116301084804 \tabularnewline
34 & 0 & -1.37443997580619 & 1.37443997580619 \tabularnewline
35 & 5 & 4.22154425610989 & 0.778455743890106 \tabularnewline
36 & 3 & 3.08014519131288 & -0.0801451913128798 \tabularnewline
37 & 7 & 9.13797833138822 & -2.13797833138822 \tabularnewline
38 & 4 & 4.77778744928401 & -0.777787449284007 \tabularnewline
39 & 8 & 8.75547981422656 & -0.755479814226565 \tabularnewline
40 & 9 & 7.71807306925522 & 1.28192693074478 \tabularnewline
41 & 14 & 14.8221417876148 & -0.822141787614839 \tabularnewline
42 & 12 & 13.6441079326642 & -1.64410793266419 \tabularnewline
43 & 12 & 11.5159242714974 & 0.484075728502639 \tabularnewline
44 & 7 & 6.41251168725893 & 0.587488312741074 \tabularnewline
45 & 15 & 16.4097109150700 & -1.40971091506997 \tabularnewline
46 & 14 & 13.4554379366508 & 0.54456206334915 \tabularnewline
47 & 19 & 17.8217096294454 & 1.17829037055460 \tabularnewline
48 & 39 & 39.1059065575873 & -0.105906557587347 \tabularnewline
49 & 12 & 11.1656712208522 & 0.834328779147766 \tabularnewline
50 & 11 & 12.6659834095522 & -1.66598340955220 \tabularnewline
51 & 17 & 18.4252421831533 & -1.42524218315331 \tabularnewline
52 & 16 & 17.6103922017263 & -1.61039220172633 \tabularnewline
53 & 25 & 25.2786106610176 & -0.278610661017636 \tabularnewline
54 & 24 & 23.1644143582987 & 0.83558564170129 \tabularnewline
55 & 28 & 29.2982651013039 & -1.29826510130391 \tabularnewline
56 & 25 & 26.1553221268715 & -1.15532212687145 \tabularnewline
57 & 31 & 29.2082601399261 & 1.79173986007385 \tabularnewline
58 & 24 & 22.3129295867181 & 1.68707041328189 \tabularnewline
59 & 24 & 22.9251222136838 & 1.07487778631616 \tabularnewline
60 & 33 & 32.8733907799466 & 0.126609220053431 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104076&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]17[/C][C]16.0736139829279[/C][C]0.926386017072126[/C][/ROW]
[ROW][C]2[/C][C]23[/C][C]20.8773956651227[/C][C]2.1226043348773[/C][/ROW]
[ROW][C]3[/C][C]24[/C][C]24.0203386395551[/C][C]-0.0203386395551447[/C][/ROW]
[ROW][C]4[/C][C]27[/C][C]27.1353068970918[/C][C]-0.135306897091792[/C][/ROW]
[ROW][C]5[/C][C]31[/C][C]32.2543983268314[/C][C]-1.25439832683136[/C][/ROW]
[ROW][C]6[/C][C]40[/C][C]38.4964619532442[/C][C]1.50353804675578[/C][/ROW]
[ROW][C]7[/C][C]47[/C][C]47.5199761676191[/C][C]-0.519976167619087[/C][/ROW]
[ROW][C]8[/C][C]43[/C][C]43.1614767725681[/C][C]-0.161476772568104[/C][/ROW]
[ROW][C]9[/C][C]60[/C][C]61.3027307262776[/C][C]-1.3027307262776[/C][/ROW]
[ROW][C]10[/C][C]64[/C][C]63.2195969597254[/C][C]0.780403040274641[/C][/ROW]
[ROW][C]11[/C][C]65[/C][C]65.0324708733474[/C][C]-0.0324708733474565[/C][/ROW]
[ROW][C]12[/C][C]65[/C][C]64.3696560977802[/C][C]0.630343902219805[/C][/ROW]
[ROW][C]13[/C][C]55[/C][C]55.8587817002212[/C][C]-0.85878170022122[/C][/ROW]
[ROW][C]14[/C][C]57[/C][C]59.3998518512777[/C][C]-2.39985185127774[/C][/ROW]
[ROW][C]15[/C][C]57[/C][C]56.3862966509993[/C][C]0.613703349000727[/C][/ROW]
[ROW][C]16[/C][C]57[/C][C]56.4989490440828[/C][C]0.50105095591724[/C][/ROW]
[ROW][C]17[/C][C]65[/C][C]63.3602240697046[/C][C]1.63977593029535[/C][/ROW]
[ROW][C]18[/C][C]69[/C][C]70.3008494863241[/C][C]-1.30084948632414[/C][/ROW]
[ROW][C]19[/C][C]70[/C][C]67.7997653428065[/C][C]2.20023465719354[/C][/ROW]
[ROW][C]20[/C][C]71[/C][C]72.7695695893089[/C][C]-1.76956958930891[/C][/ROW]
[ROW][C]21[/C][C]71[/C][C]70.0834512479147[/C][C]0.91654875208526[/C][/ROW]
[ROW][C]22[/C][C]73[/C][C]72.045612344774[/C][C]0.954387655226047[/C][/ROW]
[ROW][C]23[/C][C]68[/C][C]65.9877792046986[/C][C]2.01222079530139[/C][/ROW]
[ROW][C]24[/C][C]65[/C][C]66.3196555732587[/C][C]-1.31965557325874[/C][/ROW]
[ROW][C]25[/C][C]57[/C][C]58.5362054583165[/C][C]-1.53620545831646[/C][/ROW]
[ROW][C]26[/C][C]41[/C][C]40.4578695246032[/C][C]0.542130475396828[/C][/ROW]
[ROW][C]27[/C][C]21[/C][C]22.4474758860071[/C][C]-1.44747588600706[/C][/ROW]
[ROW][C]28[/C][C]21[/C][C]20.0363967038671[/C][C]0.963603296132854[/C][/ROW]
[ROW][C]29[/C][C]17[/C][C]16.7240983770593[/C][C]0.275901622940664[/C][/ROW]
[ROW][C]30[/C][C]9[/C][C]8.8813660402577[/C][C]0.118633959742295[/C][/ROW]
[ROW][C]31[/C][C]11[/C][C]11.9289767681223[/C][C]-0.928976768122318[/C][/ROW]
[ROW][C]32[/C][C]6[/C][C]5.6108955387796[/C][C]0.389104461220395[/C][/ROW]
[ROW][C]33[/C][C]-2[/C][C]-2.48511630108480[/C][C]0.485116301084804[/C][/ROW]
[ROW][C]34[/C][C]0[/C][C]-1.37443997580619[/C][C]1.37443997580619[/C][/ROW]
[ROW][C]35[/C][C]5[/C][C]4.22154425610989[/C][C]0.778455743890106[/C][/ROW]
[ROW][C]36[/C][C]3[/C][C]3.08014519131288[/C][C]-0.0801451913128798[/C][/ROW]
[ROW][C]37[/C][C]7[/C][C]9.13797833138822[/C][C]-2.13797833138822[/C][/ROW]
[ROW][C]38[/C][C]4[/C][C]4.77778744928401[/C][C]-0.777787449284007[/C][/ROW]
[ROW][C]39[/C][C]8[/C][C]8.75547981422656[/C][C]-0.755479814226565[/C][/ROW]
[ROW][C]40[/C][C]9[/C][C]7.71807306925522[/C][C]1.28192693074478[/C][/ROW]
[ROW][C]41[/C][C]14[/C][C]14.8221417876148[/C][C]-0.822141787614839[/C][/ROW]
[ROW][C]42[/C][C]12[/C][C]13.6441079326642[/C][C]-1.64410793266419[/C][/ROW]
[ROW][C]43[/C][C]12[/C][C]11.5159242714974[/C][C]0.484075728502639[/C][/ROW]
[ROW][C]44[/C][C]7[/C][C]6.41251168725893[/C][C]0.587488312741074[/C][/ROW]
[ROW][C]45[/C][C]15[/C][C]16.4097109150700[/C][C]-1.40971091506997[/C][/ROW]
[ROW][C]46[/C][C]14[/C][C]13.4554379366508[/C][C]0.54456206334915[/C][/ROW]
[ROW][C]47[/C][C]19[/C][C]17.8217096294454[/C][C]1.17829037055460[/C][/ROW]
[ROW][C]48[/C][C]39[/C][C]39.1059065575873[/C][C]-0.105906557587347[/C][/ROW]
[ROW][C]49[/C][C]12[/C][C]11.1656712208522[/C][C]0.834328779147766[/C][/ROW]
[ROW][C]50[/C][C]11[/C][C]12.6659834095522[/C][C]-1.66598340955220[/C][/ROW]
[ROW][C]51[/C][C]17[/C][C]18.4252421831533[/C][C]-1.42524218315331[/C][/ROW]
[ROW][C]52[/C][C]16[/C][C]17.6103922017263[/C][C]-1.61039220172633[/C][/ROW]
[ROW][C]53[/C][C]25[/C][C]25.2786106610176[/C][C]-0.278610661017636[/C][/ROW]
[ROW][C]54[/C][C]24[/C][C]23.1644143582987[/C][C]0.83558564170129[/C][/ROW]
[ROW][C]55[/C][C]28[/C][C]29.2982651013039[/C][C]-1.29826510130391[/C][/ROW]
[ROW][C]56[/C][C]25[/C][C]26.1553221268715[/C][C]-1.15532212687145[/C][/ROW]
[ROW][C]57[/C][C]31[/C][C]29.2082601399261[/C][C]1.79173986007385[/C][/ROW]
[ROW][C]58[/C][C]24[/C][C]22.3129295867181[/C][C]1.68707041328189[/C][/ROW]
[ROW][C]59[/C][C]24[/C][C]22.9251222136838[/C][C]1.07487778631616[/C][/ROW]
[ROW][C]60[/C][C]33[/C][C]32.8733907799466[/C][C]0.126609220053431[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104076&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104076&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
11716.07361398292790.926386017072126
22320.87739566512272.1226043348773
32424.0203386395551-0.0203386395551447
42727.1353068970918-0.135306897091792
53132.2543983268314-1.25439832683136
64038.49646195324421.50353804675578
74747.5199761676191-0.519976167619087
84343.1614767725681-0.161476772568104
96061.3027307262776-1.3027307262776
106463.21959695972540.780403040274641
116565.0324708733474-0.0324708733474565
126564.36965609778020.630343902219805
135555.8587817002212-0.85878170022122
145759.3998518512777-2.39985185127774
155756.38629665099930.613703349000727
165756.49894904408280.50105095591724
176563.36022406970461.63977593029535
186970.3008494863241-1.30084948632414
197067.79976534280652.20023465719354
207172.7695695893089-1.76956958930891
217170.08345124791470.91654875208526
227372.0456123447740.954387655226047
236865.98777920469862.01222079530139
246566.3196555732587-1.31965557325874
255758.5362054583165-1.53620545831646
264140.45786952460320.542130475396828
272122.4474758860071-1.44747588600706
282120.03639670386710.963603296132854
291716.72409837705930.275901622940664
3098.88136604025770.118633959742295
311111.9289767681223-0.928976768122318
3265.61089553877960.389104461220395
33-2-2.485116301084800.485116301084804
340-1.374439975806191.37443997580619
3554.221544256109890.778455743890106
3633.08014519131288-0.0801451913128798
3779.13797833138822-2.13797833138822
3844.77778744928401-0.777787449284007
3988.75547981422656-0.755479814226565
4097.718073069255221.28192693074478
411414.8221417876148-0.822141787614839
421213.6441079326642-1.64410793266419
431211.51592427149740.484075728502639
4476.412511687258930.587488312741074
451516.4097109150700-1.40971091506997
461413.45543793665080.54456206334915
471917.82170962944541.17829037055460
483939.1059065575873-0.105906557587347
491211.16567122085220.834328779147766
501112.6659834095522-1.66598340955220
511718.4252421831533-1.42524218315331
521617.6103922017263-1.61039220172633
532525.2786106610176-0.278610661017636
542423.16441435829870.83558564170129
552829.2982651013039-1.29826510130391
562526.1553221268715-1.15532212687145
573129.20826013992611.79173986007385
582422.31292958671811.68707041328189
592422.92512221368381.07487778631616
603332.87339077994660.126609220053431







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
80.007008777252563250.01401755450512650.992991222747437
90.07939670492200260.1587934098440050.920603295077997
100.3063079868256590.6126159736513190.69369201317434
110.1973115479250280.3946230958500550.802688452074972
120.1804420343735610.3608840687471220.819557965626439
130.1161414862417620.2322829724835240.883858513758238
140.4107803021900690.8215606043801380.589219697809931
150.3287565263397010.6575130526794020.671243473660299
160.2531878800158590.5063757600317170.746812119984142
170.3245301081405310.6490602162810610.675469891859469
180.2635618948532350.527123789706470.736438105146765
190.6501847359386080.6996305281227840.349815264061392
200.7361909563868920.5276180872262160.263809043613108
210.6765239290427880.6469521419144230.323476070957212
220.6084425618270640.7831148763458720.391557438172936
230.6902813712241780.6194372575516450.309718628775822
240.7460215059857330.5079569880285350.253978494014267
250.7788117264980880.4423765470038240.221188273501912
260.7374266032496520.5251467935006970.262573396750348
270.8225437812640880.3549124374718250.177456218735912
280.8049387153156150.390122569368770.195061284684385
290.748796924946690.502406150106620.25120307505331
300.7177678012786030.5644643974427950.282232198721397
310.6773193498511820.6453613002976360.322680650148818
320.6253190227266020.7493619545467960.374680977273398
330.6119499800709610.7761000398580780.388050019929039
340.6090863666182110.7818272667635770.390913633381789
350.7063014188003060.5873971623993880.293698581199694
360.682541696956530.634916606086940.31745830304347
370.7233266724374180.5533466551251640.276673327562582
380.6663790408750110.6672419182499780.333620959124989
390.6486570760161130.7026858479677740.351342923983887
400.7635192205964420.4729615588071170.236480779403558
410.7263935648566850.5472128702866310.273606435143315
420.7011097205218190.5977805589563630.298890279478181
430.658802207368310.6823955852633790.341197792631690
440.6376721884624440.7246556230751120.362327811537556
450.5622883293434280.8754233413131450.437711670656572
460.5535524695623160.8928950608753690.446447530437684
470.4914770096986640.9829540193973270.508522990301336
480.4003656784476750.800731356895350.599634321552325
490.4367420230799820.8734840461599630.563257976920018
500.4310786854540580.8621573709081160.568921314545942
510.3673695026709510.7347390053419010.632630497329049
520.3801067480744030.7602134961488060.619893251925597

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
8 & 0.00700877725256325 & 0.0140175545051265 & 0.992991222747437 \tabularnewline
9 & 0.0793967049220026 & 0.158793409844005 & 0.920603295077997 \tabularnewline
10 & 0.306307986825659 & 0.612615973651319 & 0.69369201317434 \tabularnewline
11 & 0.197311547925028 & 0.394623095850055 & 0.802688452074972 \tabularnewline
12 & 0.180442034373561 & 0.360884068747122 & 0.819557965626439 \tabularnewline
13 & 0.116141486241762 & 0.232282972483524 & 0.883858513758238 \tabularnewline
14 & 0.410780302190069 & 0.821560604380138 & 0.589219697809931 \tabularnewline
15 & 0.328756526339701 & 0.657513052679402 & 0.671243473660299 \tabularnewline
16 & 0.253187880015859 & 0.506375760031717 & 0.746812119984142 \tabularnewline
17 & 0.324530108140531 & 0.649060216281061 & 0.675469891859469 \tabularnewline
18 & 0.263561894853235 & 0.52712378970647 & 0.736438105146765 \tabularnewline
19 & 0.650184735938608 & 0.699630528122784 & 0.349815264061392 \tabularnewline
20 & 0.736190956386892 & 0.527618087226216 & 0.263809043613108 \tabularnewline
21 & 0.676523929042788 & 0.646952141914423 & 0.323476070957212 \tabularnewline
22 & 0.608442561827064 & 0.783114876345872 & 0.391557438172936 \tabularnewline
23 & 0.690281371224178 & 0.619437257551645 & 0.309718628775822 \tabularnewline
24 & 0.746021505985733 & 0.507956988028535 & 0.253978494014267 \tabularnewline
25 & 0.778811726498088 & 0.442376547003824 & 0.221188273501912 \tabularnewline
26 & 0.737426603249652 & 0.525146793500697 & 0.262573396750348 \tabularnewline
27 & 0.822543781264088 & 0.354912437471825 & 0.177456218735912 \tabularnewline
28 & 0.804938715315615 & 0.39012256936877 & 0.195061284684385 \tabularnewline
29 & 0.74879692494669 & 0.50240615010662 & 0.25120307505331 \tabularnewline
30 & 0.717767801278603 & 0.564464397442795 & 0.282232198721397 \tabularnewline
31 & 0.677319349851182 & 0.645361300297636 & 0.322680650148818 \tabularnewline
32 & 0.625319022726602 & 0.749361954546796 & 0.374680977273398 \tabularnewline
33 & 0.611949980070961 & 0.776100039858078 & 0.388050019929039 \tabularnewline
34 & 0.609086366618211 & 0.781827266763577 & 0.390913633381789 \tabularnewline
35 & 0.706301418800306 & 0.587397162399388 & 0.293698581199694 \tabularnewline
36 & 0.68254169695653 & 0.63491660608694 & 0.31745830304347 \tabularnewline
37 & 0.723326672437418 & 0.553346655125164 & 0.276673327562582 \tabularnewline
38 & 0.666379040875011 & 0.667241918249978 & 0.333620959124989 \tabularnewline
39 & 0.648657076016113 & 0.702685847967774 & 0.351342923983887 \tabularnewline
40 & 0.763519220596442 & 0.472961558807117 & 0.236480779403558 \tabularnewline
41 & 0.726393564856685 & 0.547212870286631 & 0.273606435143315 \tabularnewline
42 & 0.701109720521819 & 0.597780558956363 & 0.298890279478181 \tabularnewline
43 & 0.65880220736831 & 0.682395585263379 & 0.341197792631690 \tabularnewline
44 & 0.637672188462444 & 0.724655623075112 & 0.362327811537556 \tabularnewline
45 & 0.562288329343428 & 0.875423341313145 & 0.437711670656572 \tabularnewline
46 & 0.553552469562316 & 0.892895060875369 & 0.446447530437684 \tabularnewline
47 & 0.491477009698664 & 0.982954019397327 & 0.508522990301336 \tabularnewline
48 & 0.400365678447675 & 0.80073135689535 & 0.599634321552325 \tabularnewline
49 & 0.436742023079982 & 0.873484046159963 & 0.563257976920018 \tabularnewline
50 & 0.431078685454058 & 0.862157370908116 & 0.568921314545942 \tabularnewline
51 & 0.367369502670951 & 0.734739005341901 & 0.632630497329049 \tabularnewline
52 & 0.380106748074403 & 0.760213496148806 & 0.619893251925597 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104076&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]8[/C][C]0.00700877725256325[/C][C]0.0140175545051265[/C][C]0.992991222747437[/C][/ROW]
[ROW][C]9[/C][C]0.0793967049220026[/C][C]0.158793409844005[/C][C]0.920603295077997[/C][/ROW]
[ROW][C]10[/C][C]0.306307986825659[/C][C]0.612615973651319[/C][C]0.69369201317434[/C][/ROW]
[ROW][C]11[/C][C]0.197311547925028[/C][C]0.394623095850055[/C][C]0.802688452074972[/C][/ROW]
[ROW][C]12[/C][C]0.180442034373561[/C][C]0.360884068747122[/C][C]0.819557965626439[/C][/ROW]
[ROW][C]13[/C][C]0.116141486241762[/C][C]0.232282972483524[/C][C]0.883858513758238[/C][/ROW]
[ROW][C]14[/C][C]0.410780302190069[/C][C]0.821560604380138[/C][C]0.589219697809931[/C][/ROW]
[ROW][C]15[/C][C]0.328756526339701[/C][C]0.657513052679402[/C][C]0.671243473660299[/C][/ROW]
[ROW][C]16[/C][C]0.253187880015859[/C][C]0.506375760031717[/C][C]0.746812119984142[/C][/ROW]
[ROW][C]17[/C][C]0.324530108140531[/C][C]0.649060216281061[/C][C]0.675469891859469[/C][/ROW]
[ROW][C]18[/C][C]0.263561894853235[/C][C]0.52712378970647[/C][C]0.736438105146765[/C][/ROW]
[ROW][C]19[/C][C]0.650184735938608[/C][C]0.699630528122784[/C][C]0.349815264061392[/C][/ROW]
[ROW][C]20[/C][C]0.736190956386892[/C][C]0.527618087226216[/C][C]0.263809043613108[/C][/ROW]
[ROW][C]21[/C][C]0.676523929042788[/C][C]0.646952141914423[/C][C]0.323476070957212[/C][/ROW]
[ROW][C]22[/C][C]0.608442561827064[/C][C]0.783114876345872[/C][C]0.391557438172936[/C][/ROW]
[ROW][C]23[/C][C]0.690281371224178[/C][C]0.619437257551645[/C][C]0.309718628775822[/C][/ROW]
[ROW][C]24[/C][C]0.746021505985733[/C][C]0.507956988028535[/C][C]0.253978494014267[/C][/ROW]
[ROW][C]25[/C][C]0.778811726498088[/C][C]0.442376547003824[/C][C]0.221188273501912[/C][/ROW]
[ROW][C]26[/C][C]0.737426603249652[/C][C]0.525146793500697[/C][C]0.262573396750348[/C][/ROW]
[ROW][C]27[/C][C]0.822543781264088[/C][C]0.354912437471825[/C][C]0.177456218735912[/C][/ROW]
[ROW][C]28[/C][C]0.804938715315615[/C][C]0.39012256936877[/C][C]0.195061284684385[/C][/ROW]
[ROW][C]29[/C][C]0.74879692494669[/C][C]0.50240615010662[/C][C]0.25120307505331[/C][/ROW]
[ROW][C]30[/C][C]0.717767801278603[/C][C]0.564464397442795[/C][C]0.282232198721397[/C][/ROW]
[ROW][C]31[/C][C]0.677319349851182[/C][C]0.645361300297636[/C][C]0.322680650148818[/C][/ROW]
[ROW][C]32[/C][C]0.625319022726602[/C][C]0.749361954546796[/C][C]0.374680977273398[/C][/ROW]
[ROW][C]33[/C][C]0.611949980070961[/C][C]0.776100039858078[/C][C]0.388050019929039[/C][/ROW]
[ROW][C]34[/C][C]0.609086366618211[/C][C]0.781827266763577[/C][C]0.390913633381789[/C][/ROW]
[ROW][C]35[/C][C]0.706301418800306[/C][C]0.587397162399388[/C][C]0.293698581199694[/C][/ROW]
[ROW][C]36[/C][C]0.68254169695653[/C][C]0.63491660608694[/C][C]0.31745830304347[/C][/ROW]
[ROW][C]37[/C][C]0.723326672437418[/C][C]0.553346655125164[/C][C]0.276673327562582[/C][/ROW]
[ROW][C]38[/C][C]0.666379040875011[/C][C]0.667241918249978[/C][C]0.333620959124989[/C][/ROW]
[ROW][C]39[/C][C]0.648657076016113[/C][C]0.702685847967774[/C][C]0.351342923983887[/C][/ROW]
[ROW][C]40[/C][C]0.763519220596442[/C][C]0.472961558807117[/C][C]0.236480779403558[/C][/ROW]
[ROW][C]41[/C][C]0.726393564856685[/C][C]0.547212870286631[/C][C]0.273606435143315[/C][/ROW]
[ROW][C]42[/C][C]0.701109720521819[/C][C]0.597780558956363[/C][C]0.298890279478181[/C][/ROW]
[ROW][C]43[/C][C]0.65880220736831[/C][C]0.682395585263379[/C][C]0.341197792631690[/C][/ROW]
[ROW][C]44[/C][C]0.637672188462444[/C][C]0.724655623075112[/C][C]0.362327811537556[/C][/ROW]
[ROW][C]45[/C][C]0.562288329343428[/C][C]0.875423341313145[/C][C]0.437711670656572[/C][/ROW]
[ROW][C]46[/C][C]0.553552469562316[/C][C]0.892895060875369[/C][C]0.446447530437684[/C][/ROW]
[ROW][C]47[/C][C]0.491477009698664[/C][C]0.982954019397327[/C][C]0.508522990301336[/C][/ROW]
[ROW][C]48[/C][C]0.400365678447675[/C][C]0.80073135689535[/C][C]0.599634321552325[/C][/ROW]
[ROW][C]49[/C][C]0.436742023079982[/C][C]0.873484046159963[/C][C]0.563257976920018[/C][/ROW]
[ROW][C]50[/C][C]0.431078685454058[/C][C]0.862157370908116[/C][C]0.568921314545942[/C][/ROW]
[ROW][C]51[/C][C]0.367369502670951[/C][C]0.734739005341901[/C][C]0.632630497329049[/C][/ROW]
[ROW][C]52[/C][C]0.380106748074403[/C][C]0.760213496148806[/C][C]0.619893251925597[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104076&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104076&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
80.007008777252563250.01401755450512650.992991222747437
90.07939670492200260.1587934098440050.920603295077997
100.3063079868256590.6126159736513190.69369201317434
110.1973115479250280.3946230958500550.802688452074972
120.1804420343735610.3608840687471220.819557965626439
130.1161414862417620.2322829724835240.883858513758238
140.4107803021900690.8215606043801380.589219697809931
150.3287565263397010.6575130526794020.671243473660299
160.2531878800158590.5063757600317170.746812119984142
170.3245301081405310.6490602162810610.675469891859469
180.2635618948532350.527123789706470.736438105146765
190.6501847359386080.6996305281227840.349815264061392
200.7361909563868920.5276180872262160.263809043613108
210.6765239290427880.6469521419144230.323476070957212
220.6084425618270640.7831148763458720.391557438172936
230.6902813712241780.6194372575516450.309718628775822
240.7460215059857330.5079569880285350.253978494014267
250.7788117264980880.4423765470038240.221188273501912
260.7374266032496520.5251467935006970.262573396750348
270.8225437812640880.3549124374718250.177456218735912
280.8049387153156150.390122569368770.195061284684385
290.748796924946690.502406150106620.25120307505331
300.7177678012786030.5644643974427950.282232198721397
310.6773193498511820.6453613002976360.322680650148818
320.6253190227266020.7493619545467960.374680977273398
330.6119499800709610.7761000398580780.388050019929039
340.6090863666182110.7818272667635770.390913633381789
350.7063014188003060.5873971623993880.293698581199694
360.682541696956530.634916606086940.31745830304347
370.7233266724374180.5533466551251640.276673327562582
380.6663790408750110.6672419182499780.333620959124989
390.6486570760161130.7026858479677740.351342923983887
400.7635192205964420.4729615588071170.236480779403558
410.7263935648566850.5472128702866310.273606435143315
420.7011097205218190.5977805589563630.298890279478181
430.658802207368310.6823955852633790.341197792631690
440.6376721884624440.7246556230751120.362327811537556
450.5622883293434280.8754233413131450.437711670656572
460.5535524695623160.8928950608753690.446447530437684
470.4914770096986640.9829540193973270.508522990301336
480.4003656784476750.800731356895350.599634321552325
490.4367420230799820.8734840461599630.563257976920018
500.4310786854540580.8621573709081160.568921314545942
510.3673695026709510.7347390053419010.632630497329049
520.3801067480744030.7602134961488060.619893251925597







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level10.0222222222222222OK
10% type I error level10.0222222222222222OK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104076&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 level10.0222222222222222OK
10% type I error level10.0222222222222222OK



Parameters (Session):
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')
}