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 computationThu, 24 Nov 2011 14:59:19 -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/Nov/24/t1322164786jsksahevfzegh90.htm/, Retrieved Fri, 19 Apr 2024 11:47:04 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=147179, Retrieved Fri, 19 Apr 2024 11:47:04 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact123
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Competence to learn] [2010-11-17 07:43:53] [b98453cac15ba1066b407e146608df68]
-    D  [Multiple Regression] [multiple regression] [2010-12-01 14:19:57] [f1aa04283d83c25edc8ae3bb0d0fb93e]
- R       [Multiple Regression] [multiple regression] [2011-11-17 10:21:17] [f1aa04283d83c25edc8ae3bb0d0fb93e]
-             [Multiple Regression] [multiple regression] [2011-11-24 19:59:19] [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 time6 seconds
R Server'George Udny Yule' @ yule.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 & 6 seconds \tabularnewline
R Server & 'George Udny Yule' @ yule.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=147179&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]6 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ yule.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=147179&T=0

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







Multiple Linear Regression - Estimated Regression Equation
werkloosheid[t] = + 0.663907484037988 -3.94105757478893indicator[t] + 1.00077195481772economie[t] + 1.03740674497135`finacië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.03740674497135`finaciën`[t] +  0.888119561734234spaarvermogen[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=147179&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.03740674497135`finaciën`[t] +  0.888119561734234spaarvermogen[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=147179&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=147179&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.03740674497135`finacië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ën`1.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=147179&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=147179&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=147179&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ën`1.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.44583905242
F-TEST (DF numerator)4
F-TEST (DF denominator)55
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.22777002196627
Sum Squared Residuals82.9080574761476

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=147179&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.44583905242
F-TEST (DF numerator)4
F-TEST (DF denominator)55
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.22777002196627
Sum Squared Residuals82.9080574761476







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11716.07361398292780.926386017072153
22320.87739566512272.12260433487732
32424.0203386395551-0.0203386395551358
42727.1353068970918-0.135306897091802
53132.2543983268314-1.25439832683136
64038.49646195324421.50353804675578
74747.5199761676191-0.519976167619086
84343.1614767725681-0.161476772568109
96061.3027307262776-1.3027307262776
106463.21959695972540.780403040274637
116565.0324708733475-0.03247087334746
126564.36965609778020.630343902219803
135555.8587817002212-0.858781700221217
145759.3998518512777-2.39985185127774
155756.38629665099930.61370334900073
165756.49894904408280.501050955917242
176563.36022406970471.63977593029535
186970.3008494863241-1.30084948632414
197067.79976534280652.20023465719354
207172.7695695893089-1.76956958930891
217170.08345124791470.916548752085257
227372.0456123447740.954387655226048
236865.98777920469862.01222079530139
246566.3196555732587-1.31965557325875
255758.5362054583165-1.53620545831646
264140.45786952460320.542130475396825
272122.4474758860071-1.44747588600706
282120.03639670386710.963603296132864
291716.72409837705930.275901622940672
3098.88136604025770.118633959742296
311111.9289767681223-0.928976768122317
3265.610895538779610.389104461220393
33-2-2.48511630108480.485116301084798
340-1.374439975806191.37443997580619
3554.22154425610990.778455743890102
3633.08014519131288-0.0801451913128812
3779.13797833138822-2.13797833138822
3844.77778744928401-0.77778744928401
3988.75547981422656-0.755479814226565
4097.718073069255221.28192693074478
411414.8221417876148-0.82214178761484
421213.6441079326642-1.6441079326642
431211.51592427149740.484075728502632
4476.412511687258930.587488312741068
451516.40971091507-1.40971091506997
461413.45543793665090.544562063349142
471917.82170962944541.1782903705546
483939.1059065575873-0.105906557587345
491211.16567122085220.834328779147761
501112.6659834095522-1.6659834095522
511718.4252421831533-1.42524218315331
521617.6103922017263-1.61039220172633
532525.2786106610176-0.278610661017638
542423.16441435829870.83558564170129
552829.2982651013039-1.29826510130391
562526.1553221268715-1.15532212687145
573129.20826013992611.79173986007386
582422.31292958671811.68707041328189
592422.92512221368381.07487778631617
603332.87339077994660.126609220053433

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 17 & 16.0736139829278 & 0.926386017072153 \tabularnewline
2 & 23 & 20.8773956651227 & 2.12260433487732 \tabularnewline
3 & 24 & 24.0203386395551 & -0.0203386395551358 \tabularnewline
4 & 27 & 27.1353068970918 & -0.135306897091802 \tabularnewline
5 & 31 & 32.2543983268314 & -1.25439832683136 \tabularnewline
6 & 40 & 38.4964619532442 & 1.50353804675578 \tabularnewline
7 & 47 & 47.5199761676191 & -0.519976167619086 \tabularnewline
8 & 43 & 43.1614767725681 & -0.161476772568109 \tabularnewline
9 & 60 & 61.3027307262776 & -1.3027307262776 \tabularnewline
10 & 64 & 63.2195969597254 & 0.780403040274637 \tabularnewline
11 & 65 & 65.0324708733475 & -0.03247087334746 \tabularnewline
12 & 65 & 64.3696560977802 & 0.630343902219803 \tabularnewline
13 & 55 & 55.8587817002212 & -0.858781700221217 \tabularnewline
14 & 57 & 59.3998518512777 & -2.39985185127774 \tabularnewline
15 & 57 & 56.3862966509993 & 0.61370334900073 \tabularnewline
16 & 57 & 56.4989490440828 & 0.501050955917242 \tabularnewline
17 & 65 & 63.3602240697047 & 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.916548752085257 \tabularnewline
22 & 73 & 72.045612344774 & 0.954387655226048 \tabularnewline
23 & 68 & 65.9877792046986 & 2.01222079530139 \tabularnewline
24 & 65 & 66.3196555732587 & -1.31965557325875 \tabularnewline
25 & 57 & 58.5362054583165 & -1.53620545831646 \tabularnewline
26 & 41 & 40.4578695246032 & 0.542130475396825 \tabularnewline
27 & 21 & 22.4474758860071 & -1.44747588600706 \tabularnewline
28 & 21 & 20.0363967038671 & 0.963603296132864 \tabularnewline
29 & 17 & 16.7240983770593 & 0.275901622940672 \tabularnewline
30 & 9 & 8.8813660402577 & 0.118633959742296 \tabularnewline
31 & 11 & 11.9289767681223 & -0.928976768122317 \tabularnewline
32 & 6 & 5.61089553877961 & 0.389104461220393 \tabularnewline
33 & -2 & -2.4851163010848 & 0.485116301084798 \tabularnewline
34 & 0 & -1.37443997580619 & 1.37443997580619 \tabularnewline
35 & 5 & 4.2215442561099 & 0.778455743890102 \tabularnewline
36 & 3 & 3.08014519131288 & -0.0801451913128812 \tabularnewline
37 & 7 & 9.13797833138822 & -2.13797833138822 \tabularnewline
38 & 4 & 4.77778744928401 & -0.77778744928401 \tabularnewline
39 & 8 & 8.75547981422656 & -0.755479814226565 \tabularnewline
40 & 9 & 7.71807306925522 & 1.28192693074478 \tabularnewline
41 & 14 & 14.8221417876148 & -0.82214178761484 \tabularnewline
42 & 12 & 13.6441079326642 & -1.6441079326642 \tabularnewline
43 & 12 & 11.5159242714974 & 0.484075728502632 \tabularnewline
44 & 7 & 6.41251168725893 & 0.587488312741068 \tabularnewline
45 & 15 & 16.40971091507 & -1.40971091506997 \tabularnewline
46 & 14 & 13.4554379366509 & 0.544562063349142 \tabularnewline
47 & 19 & 17.8217096294454 & 1.1782903705546 \tabularnewline
48 & 39 & 39.1059065575873 & -0.105906557587345 \tabularnewline
49 & 12 & 11.1656712208522 & 0.834328779147761 \tabularnewline
50 & 11 & 12.6659834095522 & -1.6659834095522 \tabularnewline
51 & 17 & 18.4252421831533 & -1.42524218315331 \tabularnewline
52 & 16 & 17.6103922017263 & -1.61039220172633 \tabularnewline
53 & 25 & 25.2786106610176 & -0.278610661017638 \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.79173986007386 \tabularnewline
58 & 24 & 22.3129295867181 & 1.68707041328189 \tabularnewline
59 & 24 & 22.9251222136838 & 1.07487778631617 \tabularnewline
60 & 33 & 32.8733907799466 & 0.126609220053433 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=147179&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.0736139829278[/C][C]0.926386017072153[/C][/ROW]
[ROW][C]2[/C][C]23[/C][C]20.8773956651227[/C][C]2.12260433487732[/C][/ROW]
[ROW][C]3[/C][C]24[/C][C]24.0203386395551[/C][C]-0.0203386395551358[/C][/ROW]
[ROW][C]4[/C][C]27[/C][C]27.1353068970918[/C][C]-0.135306897091802[/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.519976167619086[/C][/ROW]
[ROW][C]8[/C][C]43[/C][C]43.1614767725681[/C][C]-0.161476772568109[/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.780403040274637[/C][/ROW]
[ROW][C]11[/C][C]65[/C][C]65.0324708733475[/C][C]-0.03247087334746[/C][/ROW]
[ROW][C]12[/C][C]65[/C][C]64.3696560977802[/C][C]0.630343902219803[/C][/ROW]
[ROW][C]13[/C][C]55[/C][C]55.8587817002212[/C][C]-0.858781700221217[/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.61370334900073[/C][/ROW]
[ROW][C]16[/C][C]57[/C][C]56.4989490440828[/C][C]0.501050955917242[/C][/ROW]
[ROW][C]17[/C][C]65[/C][C]63.3602240697047[/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.916548752085257[/C][/ROW]
[ROW][C]22[/C][C]73[/C][C]72.045612344774[/C][C]0.954387655226048[/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.31965557325875[/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.542130475396825[/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.963603296132864[/C][/ROW]
[ROW][C]29[/C][C]17[/C][C]16.7240983770593[/C][C]0.275901622940672[/C][/ROW]
[ROW][C]30[/C][C]9[/C][C]8.8813660402577[/C][C]0.118633959742296[/C][/ROW]
[ROW][C]31[/C][C]11[/C][C]11.9289767681223[/C][C]-0.928976768122317[/C][/ROW]
[ROW][C]32[/C][C]6[/C][C]5.61089553877961[/C][C]0.389104461220393[/C][/ROW]
[ROW][C]33[/C][C]-2[/C][C]-2.4851163010848[/C][C]0.485116301084798[/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.2215442561099[/C][C]0.778455743890102[/C][/ROW]
[ROW][C]36[/C][C]3[/C][C]3.08014519131288[/C][C]-0.0801451913128812[/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.77778744928401[/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.82214178761484[/C][/ROW]
[ROW][C]42[/C][C]12[/C][C]13.6441079326642[/C][C]-1.6441079326642[/C][/ROW]
[ROW][C]43[/C][C]12[/C][C]11.5159242714974[/C][C]0.484075728502632[/C][/ROW]
[ROW][C]44[/C][C]7[/C][C]6.41251168725893[/C][C]0.587488312741068[/C][/ROW]
[ROW][C]45[/C][C]15[/C][C]16.40971091507[/C][C]-1.40971091506997[/C][/ROW]
[ROW][C]46[/C][C]14[/C][C]13.4554379366509[/C][C]0.544562063349142[/C][/ROW]
[ROW][C]47[/C][C]19[/C][C]17.8217096294454[/C][C]1.1782903705546[/C][/ROW]
[ROW][C]48[/C][C]39[/C][C]39.1059065575873[/C][C]-0.105906557587345[/C][/ROW]
[ROW][C]49[/C][C]12[/C][C]11.1656712208522[/C][C]0.834328779147761[/C][/ROW]
[ROW][C]50[/C][C]11[/C][C]12.6659834095522[/C][C]-1.6659834095522[/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.278610661017638[/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.79173986007386[/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.07487778631617[/C][/ROW]
[ROW][C]60[/C][C]33[/C][C]32.8733907799466[/C][C]0.126609220053433[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=147179&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=147179&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.07361398292780.926386017072153
22320.87739566512272.12260433487732
32424.0203386395551-0.0203386395551358
42727.1353068970918-0.135306897091802
53132.2543983268314-1.25439832683136
64038.49646195324421.50353804675578
74747.5199761676191-0.519976167619086
84343.1614767725681-0.161476772568109
96061.3027307262776-1.3027307262776
106463.21959695972540.780403040274637
116565.0324708733475-0.03247087334746
126564.36965609778020.630343902219803
135555.8587817002212-0.858781700221217
145759.3998518512777-2.39985185127774
155756.38629665099930.61370334900073
165756.49894904408280.501050955917242
176563.36022406970471.63977593029535
186970.3008494863241-1.30084948632414
197067.79976534280652.20023465719354
207172.7695695893089-1.76956958930891
217170.08345124791470.916548752085257
227372.0456123447740.954387655226048
236865.98777920469862.01222079530139
246566.3196555732587-1.31965557325875
255758.5362054583165-1.53620545831646
264140.45786952460320.542130475396825
272122.4474758860071-1.44747588600706
282120.03639670386710.963603296132864
291716.72409837705930.275901622940672
3098.88136604025770.118633959742296
311111.9289767681223-0.928976768122317
3265.610895538779610.389104461220393
33-2-2.48511630108480.485116301084798
340-1.374439975806191.37443997580619
3554.22154425610990.778455743890102
3633.08014519131288-0.0801451913128812
3779.13797833138822-2.13797833138822
3844.77778744928401-0.77778744928401
3988.75547981422656-0.755479814226565
4097.718073069255221.28192693074478
411414.8221417876148-0.82214178761484
421213.6441079326642-1.6441079326642
431211.51592427149740.484075728502632
4476.412511687258930.587488312741068
451516.40971091507-1.40971091506997
461413.45543793665090.544562063349142
471917.82170962944541.1782903705546
483939.1059065575873-0.105906557587345
491211.16567122085220.834328779147761
501112.6659834095522-1.6659834095522
511718.4252421831533-1.42524218315331
521617.6103922017263-1.61039220172633
532525.2786106610176-0.278610661017638
542423.16441435829870.83558564170129
552829.2982651013039-1.29826510130391
562526.1553221268715-1.15532212687145
573129.20826013992611.79173986007386
582422.31292958671811.68707041328189
592422.92512221368381.07487778631617
603332.87339077994660.126609220053433







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
80.00700877725256330.01401755450512660.992991222747437
90.07939670492200250.1587934098440050.920603295077998
100.3063079868256580.6126159736513160.693692013174342
110.1973115479250280.3946230958500560.802688452074972
120.1804420343735620.3608840687471250.819557965626438
130.1161414862417610.2322829724835230.883858513758239
140.4107803021900680.8215606043801360.589219697809932
150.3287565263397020.6575130526794040.671243473660298
160.2531878800158590.5063757600317180.746812119984141
170.3245301081405340.6490602162810670.675469891859466
180.2635618948532320.5271237897064640.736438105146768
190.6501847359386070.6996305281227850.349815264061393
200.7361909563868920.5276180872262160.263809043613108
210.6765239290427890.6469521419144230.323476070957211
220.6084425618270680.7831148763458650.391557438172932
230.6902813712241780.6194372575516430.309718628775822
240.7460215059857340.5079569880285320.253978494014266
250.7788117264980870.4423765470038260.221188273501913
260.7374266032496540.5251467935006920.262573396750346
270.8225437812640880.3549124374718250.177456218735912
280.8049387153156150.3901225693687690.195061284684385
290.748796924946690.502406150106620.25120307505331
300.7177678012786030.5644643974427950.282232198721397
310.6773193498511820.6453613002976360.322680650148818
320.6253190227266020.7493619545467960.374680977273398
330.6119499800709590.7761000398580820.388050019929041
340.6090863666182110.7818272667635770.390913633381789
350.7063014188003060.5873971623993890.293698581199694
360.682541696956530.6349166060869390.31745830304347
370.7233266724374180.5533466551251640.276673327562582
380.666379040875010.667241918249980.33362095912499
390.6486570760161140.7026858479677730.351342923983886
400.7635192205964430.4729615588071140.236480779403557
410.7263935648566830.5472128702866350.273606435143317
420.7011097205218190.5977805589563630.298890279478181
430.6588022073683110.6823955852633780.341197792631689
440.6376721884624450.7246556230751110.362327811537555
450.5622883293434280.8754233413131430.437711670656572
460.5535524695623110.8928950608753770.446447530437689
470.4914770096986650.9829540193973310.508522990301335
480.4003656784476780.8007313568953560.599634321552322
490.4367420230799820.8734840461599630.563257976920018
500.4310786854540580.8621573709081170.568921314545942
510.3673695026709510.7347390053419010.632630497329049
520.3801067480744030.7602134961488070.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.0070087772525633 & 0.0140175545051266 & 0.992991222747437 \tabularnewline
9 & 0.0793967049220025 & 0.158793409844005 & 0.920603295077998 \tabularnewline
10 & 0.306307986825658 & 0.612615973651316 & 0.693692013174342 \tabularnewline
11 & 0.197311547925028 & 0.394623095850056 & 0.802688452074972 \tabularnewline
12 & 0.180442034373562 & 0.360884068747125 & 0.819557965626438 \tabularnewline
13 & 0.116141486241761 & 0.232282972483523 & 0.883858513758239 \tabularnewline
14 & 0.410780302190068 & 0.821560604380136 & 0.589219697809932 \tabularnewline
15 & 0.328756526339702 & 0.657513052679404 & 0.671243473660298 \tabularnewline
16 & 0.253187880015859 & 0.506375760031718 & 0.746812119984141 \tabularnewline
17 & 0.324530108140534 & 0.649060216281067 & 0.675469891859466 \tabularnewline
18 & 0.263561894853232 & 0.527123789706464 & 0.736438105146768 \tabularnewline
19 & 0.650184735938607 & 0.699630528122785 & 0.349815264061393 \tabularnewline
20 & 0.736190956386892 & 0.527618087226216 & 0.263809043613108 \tabularnewline
21 & 0.676523929042789 & 0.646952141914423 & 0.323476070957211 \tabularnewline
22 & 0.608442561827068 & 0.783114876345865 & 0.391557438172932 \tabularnewline
23 & 0.690281371224178 & 0.619437257551643 & 0.309718628775822 \tabularnewline
24 & 0.746021505985734 & 0.507956988028532 & 0.253978494014266 \tabularnewline
25 & 0.778811726498087 & 0.442376547003826 & 0.221188273501913 \tabularnewline
26 & 0.737426603249654 & 0.525146793500692 & 0.262573396750346 \tabularnewline
27 & 0.822543781264088 & 0.354912437471825 & 0.177456218735912 \tabularnewline
28 & 0.804938715315615 & 0.390122569368769 & 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.611949980070959 & 0.776100039858082 & 0.388050019929041 \tabularnewline
34 & 0.609086366618211 & 0.781827266763577 & 0.390913633381789 \tabularnewline
35 & 0.706301418800306 & 0.587397162399389 & 0.293698581199694 \tabularnewline
36 & 0.68254169695653 & 0.634916606086939 & 0.31745830304347 \tabularnewline
37 & 0.723326672437418 & 0.553346655125164 & 0.276673327562582 \tabularnewline
38 & 0.66637904087501 & 0.66724191824998 & 0.33362095912499 \tabularnewline
39 & 0.648657076016114 & 0.702685847967773 & 0.351342923983886 \tabularnewline
40 & 0.763519220596443 & 0.472961558807114 & 0.236480779403557 \tabularnewline
41 & 0.726393564856683 & 0.547212870286635 & 0.273606435143317 \tabularnewline
42 & 0.701109720521819 & 0.597780558956363 & 0.298890279478181 \tabularnewline
43 & 0.658802207368311 & 0.682395585263378 & 0.341197792631689 \tabularnewline
44 & 0.637672188462445 & 0.724655623075111 & 0.362327811537555 \tabularnewline
45 & 0.562288329343428 & 0.875423341313143 & 0.437711670656572 \tabularnewline
46 & 0.553552469562311 & 0.892895060875377 & 0.446447530437689 \tabularnewline
47 & 0.491477009698665 & 0.982954019397331 & 0.508522990301335 \tabularnewline
48 & 0.400365678447678 & 0.800731356895356 & 0.599634321552322 \tabularnewline
49 & 0.436742023079982 & 0.873484046159963 & 0.563257976920018 \tabularnewline
50 & 0.431078685454058 & 0.862157370908117 & 0.568921314545942 \tabularnewline
51 & 0.367369502670951 & 0.734739005341901 & 0.632630497329049 \tabularnewline
52 & 0.380106748074403 & 0.760213496148807 & 0.619893251925597 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=147179&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.0070087772525633[/C][C]0.0140175545051266[/C][C]0.992991222747437[/C][/ROW]
[ROW][C]9[/C][C]0.0793967049220025[/C][C]0.158793409844005[/C][C]0.920603295077998[/C][/ROW]
[ROW][C]10[/C][C]0.306307986825658[/C][C]0.612615973651316[/C][C]0.693692013174342[/C][/ROW]
[ROW][C]11[/C][C]0.197311547925028[/C][C]0.394623095850056[/C][C]0.802688452074972[/C][/ROW]
[ROW][C]12[/C][C]0.180442034373562[/C][C]0.360884068747125[/C][C]0.819557965626438[/C][/ROW]
[ROW][C]13[/C][C]0.116141486241761[/C][C]0.232282972483523[/C][C]0.883858513758239[/C][/ROW]
[ROW][C]14[/C][C]0.410780302190068[/C][C]0.821560604380136[/C][C]0.589219697809932[/C][/ROW]
[ROW][C]15[/C][C]0.328756526339702[/C][C]0.657513052679404[/C][C]0.671243473660298[/C][/ROW]
[ROW][C]16[/C][C]0.253187880015859[/C][C]0.506375760031718[/C][C]0.746812119984141[/C][/ROW]
[ROW][C]17[/C][C]0.324530108140534[/C][C]0.649060216281067[/C][C]0.675469891859466[/C][/ROW]
[ROW][C]18[/C][C]0.263561894853232[/C][C]0.527123789706464[/C][C]0.736438105146768[/C][/ROW]
[ROW][C]19[/C][C]0.650184735938607[/C][C]0.699630528122785[/C][C]0.349815264061393[/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.676523929042789[/C][C]0.646952141914423[/C][C]0.323476070957211[/C][/ROW]
[ROW][C]22[/C][C]0.608442561827068[/C][C]0.783114876345865[/C][C]0.391557438172932[/C][/ROW]
[ROW][C]23[/C][C]0.690281371224178[/C][C]0.619437257551643[/C][C]0.309718628775822[/C][/ROW]
[ROW][C]24[/C][C]0.746021505985734[/C][C]0.507956988028532[/C][C]0.253978494014266[/C][/ROW]
[ROW][C]25[/C][C]0.778811726498087[/C][C]0.442376547003826[/C][C]0.221188273501913[/C][/ROW]
[ROW][C]26[/C][C]0.737426603249654[/C][C]0.525146793500692[/C][C]0.262573396750346[/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.390122569368769[/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.611949980070959[/C][C]0.776100039858082[/C][C]0.388050019929041[/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.587397162399389[/C][C]0.293698581199694[/C][/ROW]
[ROW][C]36[/C][C]0.68254169695653[/C][C]0.634916606086939[/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.66637904087501[/C][C]0.66724191824998[/C][C]0.33362095912499[/C][/ROW]
[ROW][C]39[/C][C]0.648657076016114[/C][C]0.702685847967773[/C][C]0.351342923983886[/C][/ROW]
[ROW][C]40[/C][C]0.763519220596443[/C][C]0.472961558807114[/C][C]0.236480779403557[/C][/ROW]
[ROW][C]41[/C][C]0.726393564856683[/C][C]0.547212870286635[/C][C]0.273606435143317[/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.658802207368311[/C][C]0.682395585263378[/C][C]0.341197792631689[/C][/ROW]
[ROW][C]44[/C][C]0.637672188462445[/C][C]0.724655623075111[/C][C]0.362327811537555[/C][/ROW]
[ROW][C]45[/C][C]0.562288329343428[/C][C]0.875423341313143[/C][C]0.437711670656572[/C][/ROW]
[ROW][C]46[/C][C]0.553552469562311[/C][C]0.892895060875377[/C][C]0.446447530437689[/C][/ROW]
[ROW][C]47[/C][C]0.491477009698665[/C][C]0.982954019397331[/C][C]0.508522990301335[/C][/ROW]
[ROW][C]48[/C][C]0.400365678447678[/C][C]0.800731356895356[/C][C]0.599634321552322[/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.862157370908117[/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.760213496148807[/C][C]0.619893251925597[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=147179&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=147179&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.00700877725256330.01401755450512660.992991222747437
90.07939670492200250.1587934098440050.920603295077998
100.3063079868256580.6126159736513160.693692013174342
110.1973115479250280.3946230958500560.802688452074972
120.1804420343735620.3608840687471250.819557965626438
130.1161414862417610.2322829724835230.883858513758239
140.4107803021900680.8215606043801360.589219697809932
150.3287565263397020.6575130526794040.671243473660298
160.2531878800158590.5063757600317180.746812119984141
170.3245301081405340.6490602162810670.675469891859466
180.2635618948532320.5271237897064640.736438105146768
190.6501847359386070.6996305281227850.349815264061393
200.7361909563868920.5276180872262160.263809043613108
210.6765239290427890.6469521419144230.323476070957211
220.6084425618270680.7831148763458650.391557438172932
230.6902813712241780.6194372575516430.309718628775822
240.7460215059857340.5079569880285320.253978494014266
250.7788117264980870.4423765470038260.221188273501913
260.7374266032496540.5251467935006920.262573396750346
270.8225437812640880.3549124374718250.177456218735912
280.8049387153156150.3901225693687690.195061284684385
290.748796924946690.502406150106620.25120307505331
300.7177678012786030.5644643974427950.282232198721397
310.6773193498511820.6453613002976360.322680650148818
320.6253190227266020.7493619545467960.374680977273398
330.6119499800709590.7761000398580820.388050019929041
340.6090863666182110.7818272667635770.390913633381789
350.7063014188003060.5873971623993890.293698581199694
360.682541696956530.6349166060869390.31745830304347
370.7233266724374180.5533466551251640.276673327562582
380.666379040875010.667241918249980.33362095912499
390.6486570760161140.7026858479677730.351342923983886
400.7635192205964430.4729615588071140.236480779403557
410.7263935648566830.5472128702866350.273606435143317
420.7011097205218190.5977805589563630.298890279478181
430.6588022073683110.6823955852633780.341197792631689
440.6376721884624450.7246556230751110.362327811537555
450.5622883293434280.8754233413131430.437711670656572
460.5535524695623110.8928950608753770.446447530437689
470.4914770096986650.9829540193973310.508522990301335
480.4003656784476780.8007313568953560.599634321552322
490.4367420230799820.8734840461599630.563257976920018
500.4310786854540580.8621573709081170.568921314545942
510.3673695026709510.7347390053419010.632630497329049
520.3801067480744030.7602134961488070.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=147179&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=147179&T=6

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