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, 29 Dec 2010 20:50:14 +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/29/t1293655696g1diz2flen64n6t.htm/, Retrieved Fri, 03 May 2024 11:51:59 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=117118, Retrieved Fri, 03 May 2024 11:51:59 +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] [] [2010-11-17 09:14:55] [b98453cac15ba1066b407e146608df68]
-   PD  [Multiple Regression] [deterministische ...] [2010-12-01 21:57:34] [f1aa04283d83c25edc8ae3bb0d0fb93e]
-   PD    [Multiple Regression] [deterministische ...] [2010-12-28 21:39:11] [f1aa04283d83c25edc8ae3bb0d0fb93e]
-   P         [Multiple Regression] [] [2010-12-29 20:50:14] [b90a48a1f8ff99465eedb4ebbc8930ab] [Current]
Feedback Forum

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




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Gwilym Jenkins' @ www.wessa.org

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 4 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ www.wessa.org \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117118&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]4 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ www.wessa.org[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117118&T=0

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

As an alternative you can also use a QR Code:  

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

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Gwilym Jenkins' @ www.wessa.org







Multiple Linear Regression - Estimated Regression Equation
werkloosheid[t] = + 1.9989505883349 -0.128143998980092maand[t] -3.92249416334768indicator[t] + 0.97268311331247economie[t] + 1.1112397730813`financiën`[t] + 0.894075712318706spaarvermogen[t] -0.0222883901599848t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
werkloosheid[t] =  +  1.9989505883349 -0.128143998980092maand[t] -3.92249416334768indicator[t] +  0.97268311331247economie[t] +  1.1112397730813`financiën`[t] +  0.894075712318706spaarvermogen[t] -0.0222883901599848t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117118&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]werkloosheid[t] =  +  1.9989505883349 -0.128143998980092maand[t] -3.92249416334768indicator[t] +  0.97268311331247economie[t] +  1.1112397730813`financiën`[t] +  0.894075712318706spaarvermogen[t] -0.0222883901599848t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117118&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=117118&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] = + 1.9989505883349 -0.128143998980092maand[t] -3.92249416334768indicator[t] + 0.97268311331247economie[t] + 1.1112397730813`financiën`[t] + 0.894075712318706spaarvermogen[t] -0.0222883901599848t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)1.99895058833490.6482413.08370.0032440.001622
maand-0.1281439989800920.045273-2.83050.0065530.003276
indicator-3.922494163347680.030266-129.60200
economie0.972683113312470.03716626.171400
`financiën`1.11123977308130.153617.234100
spaarvermogen0.8940757123187060.05710315.657300
t-0.02228839015998480.018955-1.17580.2449130.122456

\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) & 1.9989505883349 & 0.648241 & 3.0837 & 0.003244 & 0.001622 \tabularnewline
maand & -0.128143998980092 & 0.045273 & -2.8305 & 0.006553 & 0.003276 \tabularnewline
indicator & -3.92249416334768 & 0.030266 & -129.602 & 0 & 0 \tabularnewline
economie & 0.97268311331247 & 0.037166 & 26.1714 & 0 & 0 \tabularnewline
`financiën` & 1.1112397730813 & 0.15361 & 7.2341 & 0 & 0 \tabularnewline
spaarvermogen & 0.894075712318706 & 0.057103 & 15.6573 & 0 & 0 \tabularnewline
t & -0.0222883901599848 & 0.018955 & -1.1758 & 0.244913 & 0.122456 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117118&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]1.9989505883349[/C][C]0.648241[/C][C]3.0837[/C][C]0.003244[/C][C]0.001622[/C][/ROW]
[ROW][C]maand[/C][C]-0.128143998980092[/C][C]0.045273[/C][C]-2.8305[/C][C]0.006553[/C][C]0.003276[/C][/ROW]
[ROW][C]indicator[/C][C]-3.92249416334768[/C][C]0.030266[/C][C]-129.602[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]economie[/C][C]0.97268311331247[/C][C]0.037166[/C][C]26.1714[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]`financiën`[/C][C]1.1112397730813[/C][C]0.15361[/C][C]7.2341[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]spaarvermogen[/C][C]0.894075712318706[/C][C]0.057103[/C][C]15.6573[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]t[/C][C]-0.0222883901599848[/C][C]0.018955[/C][C]-1.1758[/C][C]0.244913[/C][C]0.122456[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117118&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=117118&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)1.99895058833490.6482413.08370.0032440.001622
maand-0.1281439989800920.045273-2.83050.0065530.003276
indicator-3.922494163347680.030266-129.60200
economie0.972683113312470.03716626.171400
`financiën`1.11123977308130.153617.234100
spaarvermogen0.8940757123187060.05710315.657300
t-0.02228839015998480.018955-1.17580.2449130.122456







Multiple Linear Regression - Regression Statistics
Multiple R0.998871733521904
R-squared0.997744740029054
Adjusted R-squared0.997489427579512
F-TEST (value)3907.93610661126
F-TEST (DF numerator)6
F-TEST (DF denominator)53
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.16205798068679
Sum Squared Residuals71.5700737753262

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.998871733521904 \tabularnewline
R-squared & 0.997744740029054 \tabularnewline
Adjusted R-squared & 0.997489427579512 \tabularnewline
F-TEST (value) & 3907.93610661126 \tabularnewline
F-TEST (DF numerator) & 6 \tabularnewline
F-TEST (DF denominator) & 53 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1.16205798068679 \tabularnewline
Sum Squared Residuals & 71.5700737753262 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117118&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.998871733521904[/C][/ROW]
[ROW][C]R-squared[/C][C]0.997744740029054[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.997489427579512[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]3907.93610661126[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]6[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]53[/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.16205798068679[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]71.5700737753262[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117118&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=117118&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.998871733521904
R-squared0.997744740029054
Adjusted R-squared0.997489427579512
F-TEST (value)3907.93610661126
F-TEST (DF numerator)6
F-TEST (DF denominator)53
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.16205798068679
Sum Squared Residuals71.5700737753262







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11616.5664261509587-0.566426150958654
21715.91318854580851.08681145419152
32321.00593240016161.99406759983842
42424.0520696525584-0.0520696525583974
52727.1545820023096-0.154582002309649
63132.316403851198-1.31640385119796
74038.96147692720721.0385230727928
84747.9072362796744-0.907236279674364
94343.5637525527371-0.563752552737141
106061.9163588600144-1.91635886001435
116463.83259819711110.167401802888893
126565.8651618903374-0.865161890337453
136563.69642860106531.30357139893473
145555.2450483601156-0.24504836011558
155759.0693376393999-2.06933763939988
165755.94826887864711.05173112135288
175756.1327318884610.867268111539013
186563.058091774731.94190822527002
196970.3415534651479-1.3415534651479
207067.95415844909722.04584155090279
217172.898816237223-1.89881623722294
227170.39272945633210.607270543667845
237372.64245721032110.357542789678896
246866.68790175566271.31209824433726
256565.4108630950918-0.410863095091768
265757.7785253268875-0.778525326887539
274139.84289748284411.15710251715593
282122.4075022641389-1.40750226413889
292119.93197044063591.06802955936413
301716.82757940918270.172420590817256
3198.889940772763610.110059227236392
321112.2473341384133-1.24733413841331
3365.873921538819350.126078461180648
34-2-2.164556802232790.164556802232788
350-0.6703481007937240.670348100793724
3654.872613937894350.127386062105646
3732.445826142001650.554173857998346
3878.61209281430023-1.61209281430023
3944.39169477054225-0.391694770542249
4088.55860120247886-0.558601202478862
4197.553217038217681.44678296178232
421414.5746493898961-0.574649389896102
431213.5470329219957-1.54703292199568
441211.65710245187440.342897548125645
4576.555718588769750.444281411230251
461516.7675651075952-1.76756510759524
471413.95179721505740.0482027849425886
481918.46489496106690.535105038933129
493938.22005492415960.779945075840381
501210.42378777955061.57621222044937
511112.0502108999291-1.05021089992905
521717.7821494507025-0.782149450702457
531617.2710426667415-1.27104266674151
542524.92254097908010.0774590209199105
552423.00442296028150.995577039718506
562829.110740373805-1.11074037380501
572526.2763143390485-1.27631433904848
583129.41058839889761.58941160110244
592422.6723263430121.32767365698795
602423.40467375107180.595326248928235

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 16 & 16.5664261509587 & -0.566426150958654 \tabularnewline
2 & 17 & 15.9131885458085 & 1.08681145419152 \tabularnewline
3 & 23 & 21.0059324001616 & 1.99406759983842 \tabularnewline
4 & 24 & 24.0520696525584 & -0.0520696525583974 \tabularnewline
5 & 27 & 27.1545820023096 & -0.154582002309649 \tabularnewline
6 & 31 & 32.316403851198 & -1.31640385119796 \tabularnewline
7 & 40 & 38.9614769272072 & 1.0385230727928 \tabularnewline
8 & 47 & 47.9072362796744 & -0.907236279674364 \tabularnewline
9 & 43 & 43.5637525527371 & -0.563752552737141 \tabularnewline
10 & 60 & 61.9163588600144 & -1.91635886001435 \tabularnewline
11 & 64 & 63.8325981971111 & 0.167401802888893 \tabularnewline
12 & 65 & 65.8651618903374 & -0.865161890337453 \tabularnewline
13 & 65 & 63.6964286010653 & 1.30357139893473 \tabularnewline
14 & 55 & 55.2450483601156 & -0.24504836011558 \tabularnewline
15 & 57 & 59.0693376393999 & -2.06933763939988 \tabularnewline
16 & 57 & 55.9482688786471 & 1.05173112135288 \tabularnewline
17 & 57 & 56.132731888461 & 0.867268111539013 \tabularnewline
18 & 65 & 63.05809177473 & 1.94190822527002 \tabularnewline
19 & 69 & 70.3415534651479 & -1.3415534651479 \tabularnewline
20 & 70 & 67.9541584490972 & 2.04584155090279 \tabularnewline
21 & 71 & 72.898816237223 & -1.89881623722294 \tabularnewline
22 & 71 & 70.3927294563321 & 0.607270543667845 \tabularnewline
23 & 73 & 72.6424572103211 & 0.357542789678896 \tabularnewline
24 & 68 & 66.6879017556627 & 1.31209824433726 \tabularnewline
25 & 65 & 65.4108630950918 & -0.410863095091768 \tabularnewline
26 & 57 & 57.7785253268875 & -0.778525326887539 \tabularnewline
27 & 41 & 39.8428974828441 & 1.15710251715593 \tabularnewline
28 & 21 & 22.4075022641389 & -1.40750226413889 \tabularnewline
29 & 21 & 19.9319704406359 & 1.06802955936413 \tabularnewline
30 & 17 & 16.8275794091827 & 0.172420590817256 \tabularnewline
31 & 9 & 8.88994077276361 & 0.110059227236392 \tabularnewline
32 & 11 & 12.2473341384133 & -1.24733413841331 \tabularnewline
33 & 6 & 5.87392153881935 & 0.126078461180648 \tabularnewline
34 & -2 & -2.16455680223279 & 0.164556802232788 \tabularnewline
35 & 0 & -0.670348100793724 & 0.670348100793724 \tabularnewline
36 & 5 & 4.87261393789435 & 0.127386062105646 \tabularnewline
37 & 3 & 2.44582614200165 & 0.554173857998346 \tabularnewline
38 & 7 & 8.61209281430023 & -1.61209281430023 \tabularnewline
39 & 4 & 4.39169477054225 & -0.391694770542249 \tabularnewline
40 & 8 & 8.55860120247886 & -0.558601202478862 \tabularnewline
41 & 9 & 7.55321703821768 & 1.44678296178232 \tabularnewline
42 & 14 & 14.5746493898961 & -0.574649389896102 \tabularnewline
43 & 12 & 13.5470329219957 & -1.54703292199568 \tabularnewline
44 & 12 & 11.6571024518744 & 0.342897548125645 \tabularnewline
45 & 7 & 6.55571858876975 & 0.444281411230251 \tabularnewline
46 & 15 & 16.7675651075952 & -1.76756510759524 \tabularnewline
47 & 14 & 13.9517972150574 & 0.0482027849425886 \tabularnewline
48 & 19 & 18.4648949610669 & 0.535105038933129 \tabularnewline
49 & 39 & 38.2200549241596 & 0.779945075840381 \tabularnewline
50 & 12 & 10.4237877795506 & 1.57621222044937 \tabularnewline
51 & 11 & 12.0502108999291 & -1.05021089992905 \tabularnewline
52 & 17 & 17.7821494507025 & -0.782149450702457 \tabularnewline
53 & 16 & 17.2710426667415 & -1.27104266674151 \tabularnewline
54 & 25 & 24.9225409790801 & 0.0774590209199105 \tabularnewline
55 & 24 & 23.0044229602815 & 0.995577039718506 \tabularnewline
56 & 28 & 29.110740373805 & -1.11074037380501 \tabularnewline
57 & 25 & 26.2763143390485 & -1.27631433904848 \tabularnewline
58 & 31 & 29.4105883988976 & 1.58941160110244 \tabularnewline
59 & 24 & 22.672326343012 & 1.32767365698795 \tabularnewline
60 & 24 & 23.4046737510718 & 0.595326248928235 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117118&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]16[/C][C]16.5664261509587[/C][C]-0.566426150958654[/C][/ROW]
[ROW][C]2[/C][C]17[/C][C]15.9131885458085[/C][C]1.08681145419152[/C][/ROW]
[ROW][C]3[/C][C]23[/C][C]21.0059324001616[/C][C]1.99406759983842[/C][/ROW]
[ROW][C]4[/C][C]24[/C][C]24.0520696525584[/C][C]-0.0520696525583974[/C][/ROW]
[ROW][C]5[/C][C]27[/C][C]27.1545820023096[/C][C]-0.154582002309649[/C][/ROW]
[ROW][C]6[/C][C]31[/C][C]32.316403851198[/C][C]-1.31640385119796[/C][/ROW]
[ROW][C]7[/C][C]40[/C][C]38.9614769272072[/C][C]1.0385230727928[/C][/ROW]
[ROW][C]8[/C][C]47[/C][C]47.9072362796744[/C][C]-0.907236279674364[/C][/ROW]
[ROW][C]9[/C][C]43[/C][C]43.5637525527371[/C][C]-0.563752552737141[/C][/ROW]
[ROW][C]10[/C][C]60[/C][C]61.9163588600144[/C][C]-1.91635886001435[/C][/ROW]
[ROW][C]11[/C][C]64[/C][C]63.8325981971111[/C][C]0.167401802888893[/C][/ROW]
[ROW][C]12[/C][C]65[/C][C]65.8651618903374[/C][C]-0.865161890337453[/C][/ROW]
[ROW][C]13[/C][C]65[/C][C]63.6964286010653[/C][C]1.30357139893473[/C][/ROW]
[ROW][C]14[/C][C]55[/C][C]55.2450483601156[/C][C]-0.24504836011558[/C][/ROW]
[ROW][C]15[/C][C]57[/C][C]59.0693376393999[/C][C]-2.06933763939988[/C][/ROW]
[ROW][C]16[/C][C]57[/C][C]55.9482688786471[/C][C]1.05173112135288[/C][/ROW]
[ROW][C]17[/C][C]57[/C][C]56.132731888461[/C][C]0.867268111539013[/C][/ROW]
[ROW][C]18[/C][C]65[/C][C]63.05809177473[/C][C]1.94190822527002[/C][/ROW]
[ROW][C]19[/C][C]69[/C][C]70.3415534651479[/C][C]-1.3415534651479[/C][/ROW]
[ROW][C]20[/C][C]70[/C][C]67.9541584490972[/C][C]2.04584155090279[/C][/ROW]
[ROW][C]21[/C][C]71[/C][C]72.898816237223[/C][C]-1.89881623722294[/C][/ROW]
[ROW][C]22[/C][C]71[/C][C]70.3927294563321[/C][C]0.607270543667845[/C][/ROW]
[ROW][C]23[/C][C]73[/C][C]72.6424572103211[/C][C]0.357542789678896[/C][/ROW]
[ROW][C]24[/C][C]68[/C][C]66.6879017556627[/C][C]1.31209824433726[/C][/ROW]
[ROW][C]25[/C][C]65[/C][C]65.4108630950918[/C][C]-0.410863095091768[/C][/ROW]
[ROW][C]26[/C][C]57[/C][C]57.7785253268875[/C][C]-0.778525326887539[/C][/ROW]
[ROW][C]27[/C][C]41[/C][C]39.8428974828441[/C][C]1.15710251715593[/C][/ROW]
[ROW][C]28[/C][C]21[/C][C]22.4075022641389[/C][C]-1.40750226413889[/C][/ROW]
[ROW][C]29[/C][C]21[/C][C]19.9319704406359[/C][C]1.06802955936413[/C][/ROW]
[ROW][C]30[/C][C]17[/C][C]16.8275794091827[/C][C]0.172420590817256[/C][/ROW]
[ROW][C]31[/C][C]9[/C][C]8.88994077276361[/C][C]0.110059227236392[/C][/ROW]
[ROW][C]32[/C][C]11[/C][C]12.2473341384133[/C][C]-1.24733413841331[/C][/ROW]
[ROW][C]33[/C][C]6[/C][C]5.87392153881935[/C][C]0.126078461180648[/C][/ROW]
[ROW][C]34[/C][C]-2[/C][C]-2.16455680223279[/C][C]0.164556802232788[/C][/ROW]
[ROW][C]35[/C][C]0[/C][C]-0.670348100793724[/C][C]0.670348100793724[/C][/ROW]
[ROW][C]36[/C][C]5[/C][C]4.87261393789435[/C][C]0.127386062105646[/C][/ROW]
[ROW][C]37[/C][C]3[/C][C]2.44582614200165[/C][C]0.554173857998346[/C][/ROW]
[ROW][C]38[/C][C]7[/C][C]8.61209281430023[/C][C]-1.61209281430023[/C][/ROW]
[ROW][C]39[/C][C]4[/C][C]4.39169477054225[/C][C]-0.391694770542249[/C][/ROW]
[ROW][C]40[/C][C]8[/C][C]8.55860120247886[/C][C]-0.558601202478862[/C][/ROW]
[ROW][C]41[/C][C]9[/C][C]7.55321703821768[/C][C]1.44678296178232[/C][/ROW]
[ROW][C]42[/C][C]14[/C][C]14.5746493898961[/C][C]-0.574649389896102[/C][/ROW]
[ROW][C]43[/C][C]12[/C][C]13.5470329219957[/C][C]-1.54703292199568[/C][/ROW]
[ROW][C]44[/C][C]12[/C][C]11.6571024518744[/C][C]0.342897548125645[/C][/ROW]
[ROW][C]45[/C][C]7[/C][C]6.55571858876975[/C][C]0.444281411230251[/C][/ROW]
[ROW][C]46[/C][C]15[/C][C]16.7675651075952[/C][C]-1.76756510759524[/C][/ROW]
[ROW][C]47[/C][C]14[/C][C]13.9517972150574[/C][C]0.0482027849425886[/C][/ROW]
[ROW][C]48[/C][C]19[/C][C]18.4648949610669[/C][C]0.535105038933129[/C][/ROW]
[ROW][C]49[/C][C]39[/C][C]38.2200549241596[/C][C]0.779945075840381[/C][/ROW]
[ROW][C]50[/C][C]12[/C][C]10.4237877795506[/C][C]1.57621222044937[/C][/ROW]
[ROW][C]51[/C][C]11[/C][C]12.0502108999291[/C][C]-1.05021089992905[/C][/ROW]
[ROW][C]52[/C][C]17[/C][C]17.7821494507025[/C][C]-0.782149450702457[/C][/ROW]
[ROW][C]53[/C][C]16[/C][C]17.2710426667415[/C][C]-1.27104266674151[/C][/ROW]
[ROW][C]54[/C][C]25[/C][C]24.9225409790801[/C][C]0.0774590209199105[/C][/ROW]
[ROW][C]55[/C][C]24[/C][C]23.0044229602815[/C][C]0.995577039718506[/C][/ROW]
[ROW][C]56[/C][C]28[/C][C]29.110740373805[/C][C]-1.11074037380501[/C][/ROW]
[ROW][C]57[/C][C]25[/C][C]26.2763143390485[/C][C]-1.27631433904848[/C][/ROW]
[ROW][C]58[/C][C]31[/C][C]29.4105883988976[/C][C]1.58941160110244[/C][/ROW]
[ROW][C]59[/C][C]24[/C][C]22.672326343012[/C][C]1.32767365698795[/C][/ROW]
[ROW][C]60[/C][C]24[/C][C]23.4046737510718[/C][C]0.595326248928235[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117118&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=117118&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
11616.5664261509587-0.566426150958654
21715.91318854580851.08681145419152
32321.00593240016161.99406759983842
42424.0520696525584-0.0520696525583974
52727.1545820023096-0.154582002309649
63132.316403851198-1.31640385119796
74038.96147692720721.0385230727928
84747.9072362796744-0.907236279674364
94343.5637525527371-0.563752552737141
106061.9163588600144-1.91635886001435
116463.83259819711110.167401802888893
126565.8651618903374-0.865161890337453
136563.69642860106531.30357139893473
145555.2450483601156-0.24504836011558
155759.0693376393999-2.06933763939988
165755.94826887864711.05173112135288
175756.1327318884610.867268111539013
186563.058091774731.94190822527002
196970.3415534651479-1.3415534651479
207067.95415844909722.04584155090279
217172.898816237223-1.89881623722294
227170.39272945633210.607270543667845
237372.64245721032110.357542789678896
246866.68790175566271.31209824433726
256565.4108630950918-0.410863095091768
265757.7785253268875-0.778525326887539
274139.84289748284411.15710251715593
282122.4075022641389-1.40750226413889
292119.93197044063591.06802955936413
301716.82757940918270.172420590817256
3198.889940772763610.110059227236392
321112.2473341384133-1.24733413841331
3365.873921538819350.126078461180648
34-2-2.164556802232790.164556802232788
350-0.6703481007937240.670348100793724
3654.872613937894350.127386062105646
3732.445826142001650.554173857998346
3878.61209281430023-1.61209281430023
3944.39169477054225-0.391694770542249
4088.55860120247886-0.558601202478862
4197.553217038217681.44678296178232
421414.5746493898961-0.574649389896102
431213.5470329219957-1.54703292199568
441211.65710245187440.342897548125645
4576.555718588769750.444281411230251
461516.7675651075952-1.76756510759524
471413.95179721505740.0482027849425886
481918.46489496106690.535105038933129
493938.22005492415960.779945075840381
501210.42378777955061.57621222044937
511112.0502108999291-1.05021089992905
521717.7821494507025-0.782149450702457
531617.2710426667415-1.27104266674151
542524.92254097908010.0774590209199105
552423.00442296028150.995577039718506
562829.110740373805-1.11074037380501
572526.2763143390485-1.27631433904848
583129.41058839889761.58941160110244
592422.6723263430121.32767365698795
602423.40467375107180.595326248928235







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
100.06971521373596690.1394304274719340.930284786264033
110.2060855603186390.4121711206372780.793914439681361
120.3037962258354620.6075924516709240.696203774164538
130.2043052822259730.4086105644519470.795694717774027
140.3241420747917320.6482841495834630.675857925208268
150.694938312903270.6101233741934620.305061687096731
160.7401598647869450.519680270426110.259840135213055
170.6685301390996750.662939721800650.331469860900325
180.705890147992770.5882197040144590.294109852007229
190.7311338144201380.5377323711597240.268866185579862
200.839756181135760.3204876377284790.160243818864239
210.9322110297845990.1355779404308030.0677889702154014
220.9021910817925520.1956178364148960.097808918207448
230.86351819494320.2729636101135980.136481805056799
240.8316741861968560.3366516276062890.168325813803144
250.82639301590490.3472139681901990.173606984095099
260.8513916221201060.2972167557597880.148608377879894
270.8387625144037610.3224749711924780.161237485596239
280.9003668227691710.1992663544616570.0996331772308285
290.8914372917412170.2171254165175670.108562708258783
300.8542069361692050.291586127661590.145793063830795
310.8359468468143530.3281063063712930.164053153185647
320.8195346823463680.3609306353072650.180465317653632
330.7623970011904350.4752059976191290.237602998809565
340.711637966477550.57672406704490.28836203352245
350.6530099132863060.6939801734273870.346990086713694
360.6111017397520770.7777965204958470.388898260247923
370.5980130362362270.8039739275275450.401986963763773
380.6071422629055780.7857154741888450.392857737094422
390.520345078255430.959309843489140.47965492174457
400.4825592598281920.9651185196563830.517440740171808
410.74173512096460.5165297580707990.258264879035399
420.6882310369802480.6235379260395040.311768963019752
430.6793461431559520.6413077136880950.320653856844048
440.6510291023007910.6979417953984170.348970897699208
450.550587347297750.8988253054044990.449412652702249
460.4786418221205550.957283644241110.521358177879445
470.4189561660916340.8379123321832680.581043833908366
480.3054057729122460.6108115458244910.694594227087754
490.2520244470905240.5040488941810490.747975552909476
500.2448040227164220.4896080454328440.755195977283578

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
10 & 0.0697152137359669 & 0.139430427471934 & 0.930284786264033 \tabularnewline
11 & 0.206085560318639 & 0.412171120637278 & 0.793914439681361 \tabularnewline
12 & 0.303796225835462 & 0.607592451670924 & 0.696203774164538 \tabularnewline
13 & 0.204305282225973 & 0.408610564451947 & 0.795694717774027 \tabularnewline
14 & 0.324142074791732 & 0.648284149583463 & 0.675857925208268 \tabularnewline
15 & 0.69493831290327 & 0.610123374193462 & 0.305061687096731 \tabularnewline
16 & 0.740159864786945 & 0.51968027042611 & 0.259840135213055 \tabularnewline
17 & 0.668530139099675 & 0.66293972180065 & 0.331469860900325 \tabularnewline
18 & 0.70589014799277 & 0.588219704014459 & 0.294109852007229 \tabularnewline
19 & 0.731133814420138 & 0.537732371159724 & 0.268866185579862 \tabularnewline
20 & 0.83975618113576 & 0.320487637728479 & 0.160243818864239 \tabularnewline
21 & 0.932211029784599 & 0.135577940430803 & 0.0677889702154014 \tabularnewline
22 & 0.902191081792552 & 0.195617836414896 & 0.097808918207448 \tabularnewline
23 & 0.8635181949432 & 0.272963610113598 & 0.136481805056799 \tabularnewline
24 & 0.831674186196856 & 0.336651627606289 & 0.168325813803144 \tabularnewline
25 & 0.8263930159049 & 0.347213968190199 & 0.173606984095099 \tabularnewline
26 & 0.851391622120106 & 0.297216755759788 & 0.148608377879894 \tabularnewline
27 & 0.838762514403761 & 0.322474971192478 & 0.161237485596239 \tabularnewline
28 & 0.900366822769171 & 0.199266354461657 & 0.0996331772308285 \tabularnewline
29 & 0.891437291741217 & 0.217125416517567 & 0.108562708258783 \tabularnewline
30 & 0.854206936169205 & 0.29158612766159 & 0.145793063830795 \tabularnewline
31 & 0.835946846814353 & 0.328106306371293 & 0.164053153185647 \tabularnewline
32 & 0.819534682346368 & 0.360930635307265 & 0.180465317653632 \tabularnewline
33 & 0.762397001190435 & 0.475205997619129 & 0.237602998809565 \tabularnewline
34 & 0.71163796647755 & 0.5767240670449 & 0.28836203352245 \tabularnewline
35 & 0.653009913286306 & 0.693980173427387 & 0.346990086713694 \tabularnewline
36 & 0.611101739752077 & 0.777796520495847 & 0.388898260247923 \tabularnewline
37 & 0.598013036236227 & 0.803973927527545 & 0.401986963763773 \tabularnewline
38 & 0.607142262905578 & 0.785715474188845 & 0.392857737094422 \tabularnewline
39 & 0.52034507825543 & 0.95930984348914 & 0.47965492174457 \tabularnewline
40 & 0.482559259828192 & 0.965118519656383 & 0.517440740171808 \tabularnewline
41 & 0.7417351209646 & 0.516529758070799 & 0.258264879035399 \tabularnewline
42 & 0.688231036980248 & 0.623537926039504 & 0.311768963019752 \tabularnewline
43 & 0.679346143155952 & 0.641307713688095 & 0.320653856844048 \tabularnewline
44 & 0.651029102300791 & 0.697941795398417 & 0.348970897699208 \tabularnewline
45 & 0.55058734729775 & 0.898825305404499 & 0.449412652702249 \tabularnewline
46 & 0.478641822120555 & 0.95728364424111 & 0.521358177879445 \tabularnewline
47 & 0.418956166091634 & 0.837912332183268 & 0.581043833908366 \tabularnewline
48 & 0.305405772912246 & 0.610811545824491 & 0.694594227087754 \tabularnewline
49 & 0.252024447090524 & 0.504048894181049 & 0.747975552909476 \tabularnewline
50 & 0.244804022716422 & 0.489608045432844 & 0.755195977283578 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117118&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]10[/C][C]0.0697152137359669[/C][C]0.139430427471934[/C][C]0.930284786264033[/C][/ROW]
[ROW][C]11[/C][C]0.206085560318639[/C][C]0.412171120637278[/C][C]0.793914439681361[/C][/ROW]
[ROW][C]12[/C][C]0.303796225835462[/C][C]0.607592451670924[/C][C]0.696203774164538[/C][/ROW]
[ROW][C]13[/C][C]0.204305282225973[/C][C]0.408610564451947[/C][C]0.795694717774027[/C][/ROW]
[ROW][C]14[/C][C]0.324142074791732[/C][C]0.648284149583463[/C][C]0.675857925208268[/C][/ROW]
[ROW][C]15[/C][C]0.69493831290327[/C][C]0.610123374193462[/C][C]0.305061687096731[/C][/ROW]
[ROW][C]16[/C][C]0.740159864786945[/C][C]0.51968027042611[/C][C]0.259840135213055[/C][/ROW]
[ROW][C]17[/C][C]0.668530139099675[/C][C]0.66293972180065[/C][C]0.331469860900325[/C][/ROW]
[ROW][C]18[/C][C]0.70589014799277[/C][C]0.588219704014459[/C][C]0.294109852007229[/C][/ROW]
[ROW][C]19[/C][C]0.731133814420138[/C][C]0.537732371159724[/C][C]0.268866185579862[/C][/ROW]
[ROW][C]20[/C][C]0.83975618113576[/C][C]0.320487637728479[/C][C]0.160243818864239[/C][/ROW]
[ROW][C]21[/C][C]0.932211029784599[/C][C]0.135577940430803[/C][C]0.0677889702154014[/C][/ROW]
[ROW][C]22[/C][C]0.902191081792552[/C][C]0.195617836414896[/C][C]0.097808918207448[/C][/ROW]
[ROW][C]23[/C][C]0.8635181949432[/C][C]0.272963610113598[/C][C]0.136481805056799[/C][/ROW]
[ROW][C]24[/C][C]0.831674186196856[/C][C]0.336651627606289[/C][C]0.168325813803144[/C][/ROW]
[ROW][C]25[/C][C]0.8263930159049[/C][C]0.347213968190199[/C][C]0.173606984095099[/C][/ROW]
[ROW][C]26[/C][C]0.851391622120106[/C][C]0.297216755759788[/C][C]0.148608377879894[/C][/ROW]
[ROW][C]27[/C][C]0.838762514403761[/C][C]0.322474971192478[/C][C]0.161237485596239[/C][/ROW]
[ROW][C]28[/C][C]0.900366822769171[/C][C]0.199266354461657[/C][C]0.0996331772308285[/C][/ROW]
[ROW][C]29[/C][C]0.891437291741217[/C][C]0.217125416517567[/C][C]0.108562708258783[/C][/ROW]
[ROW][C]30[/C][C]0.854206936169205[/C][C]0.29158612766159[/C][C]0.145793063830795[/C][/ROW]
[ROW][C]31[/C][C]0.835946846814353[/C][C]0.328106306371293[/C][C]0.164053153185647[/C][/ROW]
[ROW][C]32[/C][C]0.819534682346368[/C][C]0.360930635307265[/C][C]0.180465317653632[/C][/ROW]
[ROW][C]33[/C][C]0.762397001190435[/C][C]0.475205997619129[/C][C]0.237602998809565[/C][/ROW]
[ROW][C]34[/C][C]0.71163796647755[/C][C]0.5767240670449[/C][C]0.28836203352245[/C][/ROW]
[ROW][C]35[/C][C]0.653009913286306[/C][C]0.693980173427387[/C][C]0.346990086713694[/C][/ROW]
[ROW][C]36[/C][C]0.611101739752077[/C][C]0.777796520495847[/C][C]0.388898260247923[/C][/ROW]
[ROW][C]37[/C][C]0.598013036236227[/C][C]0.803973927527545[/C][C]0.401986963763773[/C][/ROW]
[ROW][C]38[/C][C]0.607142262905578[/C][C]0.785715474188845[/C][C]0.392857737094422[/C][/ROW]
[ROW][C]39[/C][C]0.52034507825543[/C][C]0.95930984348914[/C][C]0.47965492174457[/C][/ROW]
[ROW][C]40[/C][C]0.482559259828192[/C][C]0.965118519656383[/C][C]0.517440740171808[/C][/ROW]
[ROW][C]41[/C][C]0.7417351209646[/C][C]0.516529758070799[/C][C]0.258264879035399[/C][/ROW]
[ROW][C]42[/C][C]0.688231036980248[/C][C]0.623537926039504[/C][C]0.311768963019752[/C][/ROW]
[ROW][C]43[/C][C]0.679346143155952[/C][C]0.641307713688095[/C][C]0.320653856844048[/C][/ROW]
[ROW][C]44[/C][C]0.651029102300791[/C][C]0.697941795398417[/C][C]0.348970897699208[/C][/ROW]
[ROW][C]45[/C][C]0.55058734729775[/C][C]0.898825305404499[/C][C]0.449412652702249[/C][/ROW]
[ROW][C]46[/C][C]0.478641822120555[/C][C]0.95728364424111[/C][C]0.521358177879445[/C][/ROW]
[ROW][C]47[/C][C]0.418956166091634[/C][C]0.837912332183268[/C][C]0.581043833908366[/C][/ROW]
[ROW][C]48[/C][C]0.305405772912246[/C][C]0.610811545824491[/C][C]0.694594227087754[/C][/ROW]
[ROW][C]49[/C][C]0.252024447090524[/C][C]0.504048894181049[/C][C]0.747975552909476[/C][/ROW]
[ROW][C]50[/C][C]0.244804022716422[/C][C]0.489608045432844[/C][C]0.755195977283578[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117118&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
100.06971521373596690.1394304274719340.930284786264033
110.2060855603186390.4121711206372780.793914439681361
120.3037962258354620.6075924516709240.696203774164538
130.2043052822259730.4086105644519470.795694717774027
140.3241420747917320.6482841495834630.675857925208268
150.694938312903270.6101233741934620.305061687096731
160.7401598647869450.519680270426110.259840135213055
170.6685301390996750.662939721800650.331469860900325
180.705890147992770.5882197040144590.294109852007229
190.7311338144201380.5377323711597240.268866185579862
200.839756181135760.3204876377284790.160243818864239
210.9322110297845990.1355779404308030.0677889702154014
220.9021910817925520.1956178364148960.097808918207448
230.86351819494320.2729636101135980.136481805056799
240.8316741861968560.3366516276062890.168325813803144
250.82639301590490.3472139681901990.173606984095099
260.8513916221201060.2972167557597880.148608377879894
270.8387625144037610.3224749711924780.161237485596239
280.9003668227691710.1992663544616570.0996331772308285
290.8914372917412170.2171254165175670.108562708258783
300.8542069361692050.291586127661590.145793063830795
310.8359468468143530.3281063063712930.164053153185647
320.8195346823463680.3609306353072650.180465317653632
330.7623970011904350.4752059976191290.237602998809565
340.711637966477550.57672406704490.28836203352245
350.6530099132863060.6939801734273870.346990086713694
360.6111017397520770.7777965204958470.388898260247923
370.5980130362362270.8039739275275450.401986963763773
380.6071422629055780.7857154741888450.392857737094422
390.520345078255430.959309843489140.47965492174457
400.4825592598281920.9651185196563830.517440740171808
410.74173512096460.5165297580707990.258264879035399
420.6882310369802480.6235379260395040.311768963019752
430.6793461431559520.6413077136880950.320653856844048
440.6510291023007910.6979417953984170.348970897699208
450.550587347297750.8988253054044990.449412652702249
460.4786418221205550.957283644241110.521358177879445
470.4189561660916340.8379123321832680.581043833908366
480.3054057729122460.6108115458244910.694594227087754
490.2520244470905240.5040488941810490.747975552909476
500.2448040227164220.4896080454328440.755195977283578







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

\begin{tabular}{lllllllll}
\hline
Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
Description & # significant tests & % significant tests & OK/NOK \tabularnewline
1% type I error level & 0 & 0 & OK \tabularnewline
5% type I error level & 0 & 0 & OK \tabularnewline
10% type I error level & 0 & 0 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117118&T=6

[TABLE]
[ROW][C]Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]Description[/C][C]# significant tests[/C][C]% significant tests[/C][C]OK/NOK[/C][/ROW]
[ROW][C]1% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117118&T=6

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

As an alternative you can also use a QR Code:  

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

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



Parameters (Session):
par1 = 1 ; par2 = 0 ; par3 = 0 ; par4 = 12 ;
Parameters (R input):
par1 = 4 ; par2 = Do not include Seasonal Dummies ; par3 = Linear Trend ; par4 = ; par5 = ; par6 = ; par7 = ; par8 = ; par9 = ; par10 = ; par11 = ; par12 = ; par13 = ; par14 = ; par15 = ; par16 = ; par17 = ; par18 = ; par19 = ; par20 = ;
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')
}