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:48:15 +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/t1293655576xyb9j2cj3cq253y.htm/, Retrieved Fri, 03 May 2024 14:35:55 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=117117, Retrieved Fri, 03 May 2024 14:35:55 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact132
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Decreasing Compet...] [2010-11-17 09:04:39] [b98453cac15ba1066b407e146608df68]
-   PD  [Multiple Regression] [month] [2010-12-01 21:21:06] [f1aa04283d83c25edc8ae3bb0d0fb93e]
-   PD    [Multiple Regression] [month] [2010-12-28 21:20:22] [f1aa04283d83c25edc8ae3bb0d0fb93e]
-   P         [Multiple Regression] [] [2010-12-29 20:48:15] [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 time3 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 & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ www.wessa.org \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117117&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]3 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=117117&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=117117&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 time3 seconds
R Server'Gwilym Jenkins' @ www.wessa.org







Multiple Linear Regression - Estimated Regression Equation
werkloosheid[t] = + 1.65540269135324 -0.123453483808698maand[t] -3.9315572647213indicator[t] + 1.00836927675496economie[t] + 1.00186866984164`financiën`[t] + 0.881370886951687spaarvermogen[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
werkloosheid[t] =  +  1.65540269135324 -0.123453483808698maand[t] -3.9315572647213indicator[t] +  1.00836927675496economie[t] +  1.00186866984164`financiën`[t] +  0.881370886951687spaarvermogen[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117117&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]werkloosheid[t] =  +  1.65540269135324 -0.123453483808698maand[t] -3.9315572647213indicator[t] +  1.00836927675496economie[t] +  1.00186866984164`financiën`[t] +  0.881370886951687spaarvermogen[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117117&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=117117&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.65540269135324 -0.123453483808698maand[t] -3.9315572647213indicator[t] + 1.00836927675496economie[t] + 1.00186866984164`financiën`[t] + 0.881370886951687spaarvermogen[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)1.655402691353240.580712.85070.0061670.003083
maand-0.1234534838086980.045257-2.72790.0085830.004291
indicator-3.93155726472130.029371-133.857300
economie1.008369276754960.02152846.838900
`financiën`1.001868669841640.1226798.166600
spaarvermogen0.8813708869516870.05626915.663400

\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.65540269135324 & 0.58071 & 2.8507 & 0.006167 & 0.003083 \tabularnewline
maand & -0.123453483808698 & 0.045257 & -2.7279 & 0.008583 & 0.004291 \tabularnewline
indicator & -3.9315572647213 & 0.029371 & -133.8573 & 0 & 0 \tabularnewline
economie & 1.00836927675496 & 0.021528 & 46.8389 & 0 & 0 \tabularnewline
`financiën` & 1.00186866984164 & 0.122679 & 8.1666 & 0 & 0 \tabularnewline
spaarvermogen & 0.881370886951687 & 0.056269 & 15.6634 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117117&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.65540269135324[/C][C]0.58071[/C][C]2.8507[/C][C]0.006167[/C][C]0.003083[/C][/ROW]
[ROW][C]maand[/C][C]-0.123453483808698[/C][C]0.045257[/C][C]-2.7279[/C][C]0.008583[/C][C]0.004291[/C][/ROW]
[ROW][C]indicator[/C][C]-3.9315572647213[/C][C]0.029371[/C][C]-133.8573[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]economie[/C][C]1.00836927675496[/C][C]0.021528[/C][C]46.8389[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]`financiën`[/C][C]1.00186866984164[/C][C]0.122679[/C][C]8.1666[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]spaarvermogen[/C][C]0.881370886951687[/C][C]0.056269[/C][C]15.6634[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117117&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=117117&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.655402691353240.580712.85070.0061670.003083
maand-0.1234534838086980.045257-2.72790.0085830.004291
indicator-3.93155726472130.029371-133.857300
economie1.008369276754960.02152846.838900
`financiën`1.001868669841640.1226798.166600
spaarvermogen0.8813708869516870.05626915.663400







Multiple Linear Regression - Regression Statistics
Multiple R0.998842283514877
R-squared0.997685907337214
Adjusted R-squared0.997471639498067
F-TEST (value)4656.25597994355
F-TEST (DF numerator)5
F-TEST (DF denominator)54
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.16616746115089
Sum Squared Residuals73.4371135621444

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.998842283514877 \tabularnewline
R-squared & 0.997685907337214 \tabularnewline
Adjusted R-squared & 0.997471639498067 \tabularnewline
F-TEST (value) & 4656.25597994355 \tabularnewline
F-TEST (DF numerator) & 5 \tabularnewline
F-TEST (DF denominator) & 54 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1.16616746115089 \tabularnewline
Sum Squared Residuals & 73.4371135621444 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117117&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.998842283514877[/C][/ROW]
[ROW][C]R-squared[/C][C]0.997685907337214[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.997471639498067[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]4656.25597994355[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]5[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]54[/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.16616746115089[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]73.4371135621444[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117117&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=117117&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.998842283514877
R-squared0.997685907337214
Adjusted R-squared0.997471639498067
F-TEST (value)4656.25597994355
F-TEST (DF numerator)5
F-TEST (DF denominator)54
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.16616746115089
Sum Squared Residuals73.4371135621444







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11616.3504085670663-0.3504085670663
21715.65633124489061.34366875510941
32320.48429243116042.5157075688396
42423.82301044387340.176989556126558
52727.0985701477503-0.0985701477502617
63132.3456062647613-1.34560626476128
74038.55531405552471.44468594447534
84747.7404080441703-0.740408044170314
94343.5661093145635-0.566109314563477
106061.7039878962074-1.70398789620736
116463.78033985255880.219660147441176
126565.6600345033576-0.660034503357571
136563.67467207411671.32532792588326
145555.3463984546001-0.346398454600119
155758.9184941914218-1.91849419142177
165756.13176090109080.868239098909232
175756.38221277470270.617787225297262
186563.35322913215471.64677086784528
196970.2868475004064-1.28684750040636
207067.9182652606682.081734739332
217173.0448035947891-2.04480359478908
227170.45918710201770.540812897982345
237372.45937953570640.540620464293637
246866.55280095185631.44719904814369
256565.6002045747442-0.600204574744149
265757.9559627644954-0.95596276449545
274140.06387391571110.936126084288936
282122.0575457829325-1.05754578293253
292119.85404169432881.14595830567117
301716.63455048729890.365449512701052
3199.03488904529497-0.0348890452949698
321112.1072908367058-1.10729083670578
3366.0109910168432-0.010991016843202
34-2-1.90582551360345-0.0941744863965514
350-0.7935045737797580.793504573779758
3654.966908474599790.0330915254002124
3732.410394177309750.589605822690246
3878.5638797287772-1.5638797287772
3944.33180606248967-0.331806062489669
4088.38031620410634-0.380316204106345
4197.501901018073411.49809898192659
421414.779358674552-0.77935867455204
431213.7107867898797-1.71078678987971
441211.65892417595720.341075824042835
4576.748149117662290.251850882337714
461516.7754169971703-1.77541699717034
471413.94410333859460.055896661405361
481918.39868719712590.601312802874138
493938.27038850196960.729611498030369
501210.56340388595781.43659611404221
511112.1705238165586-1.17052381655857
521718.0830138022461-1.08301380224613
531617.3120951852765-1.31209518527649
542525.121507713715-0.121507713715047
552423.10122425421060.898775745789445
562829.3882088023946-1.3882088023946
572526.296397757299-1.29639775729902
583129.47003761887731.52996238112266
592422.70716669558031.29283330441966
602423.43291573922940.567084260770562

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 16 & 16.3504085670663 & -0.3504085670663 \tabularnewline
2 & 17 & 15.6563312448906 & 1.34366875510941 \tabularnewline
3 & 23 & 20.4842924311604 & 2.5157075688396 \tabularnewline
4 & 24 & 23.8230104438734 & 0.176989556126558 \tabularnewline
5 & 27 & 27.0985701477503 & -0.0985701477502617 \tabularnewline
6 & 31 & 32.3456062647613 & -1.34560626476128 \tabularnewline
7 & 40 & 38.5553140555247 & 1.44468594447534 \tabularnewline
8 & 47 & 47.7404080441703 & -0.740408044170314 \tabularnewline
9 & 43 & 43.5661093145635 & -0.566109314563477 \tabularnewline
10 & 60 & 61.7039878962074 & -1.70398789620736 \tabularnewline
11 & 64 & 63.7803398525588 & 0.219660147441176 \tabularnewline
12 & 65 & 65.6600345033576 & -0.660034503357571 \tabularnewline
13 & 65 & 63.6746720741167 & 1.32532792588326 \tabularnewline
14 & 55 & 55.3463984546001 & -0.346398454600119 \tabularnewline
15 & 57 & 58.9184941914218 & -1.91849419142177 \tabularnewline
16 & 57 & 56.1317609010908 & 0.868239098909232 \tabularnewline
17 & 57 & 56.3822127747027 & 0.617787225297262 \tabularnewline
18 & 65 & 63.3532291321547 & 1.64677086784528 \tabularnewline
19 & 69 & 70.2868475004064 & -1.28684750040636 \tabularnewline
20 & 70 & 67.918265260668 & 2.081734739332 \tabularnewline
21 & 71 & 73.0448035947891 & -2.04480359478908 \tabularnewline
22 & 71 & 70.4591871020177 & 0.540812897982345 \tabularnewline
23 & 73 & 72.4593795357064 & 0.540620464293637 \tabularnewline
24 & 68 & 66.5528009518563 & 1.44719904814369 \tabularnewline
25 & 65 & 65.6002045747442 & -0.600204574744149 \tabularnewline
26 & 57 & 57.9559627644954 & -0.95596276449545 \tabularnewline
27 & 41 & 40.0638739157111 & 0.936126084288936 \tabularnewline
28 & 21 & 22.0575457829325 & -1.05754578293253 \tabularnewline
29 & 21 & 19.8540416943288 & 1.14595830567117 \tabularnewline
30 & 17 & 16.6345504872989 & 0.365449512701052 \tabularnewline
31 & 9 & 9.03488904529497 & -0.0348890452949698 \tabularnewline
32 & 11 & 12.1072908367058 & -1.10729083670578 \tabularnewline
33 & 6 & 6.0109910168432 & -0.010991016843202 \tabularnewline
34 & -2 & -1.90582551360345 & -0.0941744863965514 \tabularnewline
35 & 0 & -0.793504573779758 & 0.793504573779758 \tabularnewline
36 & 5 & 4.96690847459979 & 0.0330915254002124 \tabularnewline
37 & 3 & 2.41039417730975 & 0.589605822690246 \tabularnewline
38 & 7 & 8.5638797287772 & -1.5638797287772 \tabularnewline
39 & 4 & 4.33180606248967 & -0.331806062489669 \tabularnewline
40 & 8 & 8.38031620410634 & -0.380316204106345 \tabularnewline
41 & 9 & 7.50190101807341 & 1.49809898192659 \tabularnewline
42 & 14 & 14.779358674552 & -0.77935867455204 \tabularnewline
43 & 12 & 13.7107867898797 & -1.71078678987971 \tabularnewline
44 & 12 & 11.6589241759572 & 0.341075824042835 \tabularnewline
45 & 7 & 6.74814911766229 & 0.251850882337714 \tabularnewline
46 & 15 & 16.7754169971703 & -1.77541699717034 \tabularnewline
47 & 14 & 13.9441033385946 & 0.055896661405361 \tabularnewline
48 & 19 & 18.3986871971259 & 0.601312802874138 \tabularnewline
49 & 39 & 38.2703885019696 & 0.729611498030369 \tabularnewline
50 & 12 & 10.5634038859578 & 1.43659611404221 \tabularnewline
51 & 11 & 12.1705238165586 & -1.17052381655857 \tabularnewline
52 & 17 & 18.0830138022461 & -1.08301380224613 \tabularnewline
53 & 16 & 17.3120951852765 & -1.31209518527649 \tabularnewline
54 & 25 & 25.121507713715 & -0.121507713715047 \tabularnewline
55 & 24 & 23.1012242542106 & 0.898775745789445 \tabularnewline
56 & 28 & 29.3882088023946 & -1.3882088023946 \tabularnewline
57 & 25 & 26.296397757299 & -1.29639775729902 \tabularnewline
58 & 31 & 29.4700376188773 & 1.52996238112266 \tabularnewline
59 & 24 & 22.7071666955803 & 1.29283330441966 \tabularnewline
60 & 24 & 23.4329157392294 & 0.567084260770562 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117117&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.3504085670663[/C][C]-0.3504085670663[/C][/ROW]
[ROW][C]2[/C][C]17[/C][C]15.6563312448906[/C][C]1.34366875510941[/C][/ROW]
[ROW][C]3[/C][C]23[/C][C]20.4842924311604[/C][C]2.5157075688396[/C][/ROW]
[ROW][C]4[/C][C]24[/C][C]23.8230104438734[/C][C]0.176989556126558[/C][/ROW]
[ROW][C]5[/C][C]27[/C][C]27.0985701477503[/C][C]-0.0985701477502617[/C][/ROW]
[ROW][C]6[/C][C]31[/C][C]32.3456062647613[/C][C]-1.34560626476128[/C][/ROW]
[ROW][C]7[/C][C]40[/C][C]38.5553140555247[/C][C]1.44468594447534[/C][/ROW]
[ROW][C]8[/C][C]47[/C][C]47.7404080441703[/C][C]-0.740408044170314[/C][/ROW]
[ROW][C]9[/C][C]43[/C][C]43.5661093145635[/C][C]-0.566109314563477[/C][/ROW]
[ROW][C]10[/C][C]60[/C][C]61.7039878962074[/C][C]-1.70398789620736[/C][/ROW]
[ROW][C]11[/C][C]64[/C][C]63.7803398525588[/C][C]0.219660147441176[/C][/ROW]
[ROW][C]12[/C][C]65[/C][C]65.6600345033576[/C][C]-0.660034503357571[/C][/ROW]
[ROW][C]13[/C][C]65[/C][C]63.6746720741167[/C][C]1.32532792588326[/C][/ROW]
[ROW][C]14[/C][C]55[/C][C]55.3463984546001[/C][C]-0.346398454600119[/C][/ROW]
[ROW][C]15[/C][C]57[/C][C]58.9184941914218[/C][C]-1.91849419142177[/C][/ROW]
[ROW][C]16[/C][C]57[/C][C]56.1317609010908[/C][C]0.868239098909232[/C][/ROW]
[ROW][C]17[/C][C]57[/C][C]56.3822127747027[/C][C]0.617787225297262[/C][/ROW]
[ROW][C]18[/C][C]65[/C][C]63.3532291321547[/C][C]1.64677086784528[/C][/ROW]
[ROW][C]19[/C][C]69[/C][C]70.2868475004064[/C][C]-1.28684750040636[/C][/ROW]
[ROW][C]20[/C][C]70[/C][C]67.918265260668[/C][C]2.081734739332[/C][/ROW]
[ROW][C]21[/C][C]71[/C][C]73.0448035947891[/C][C]-2.04480359478908[/C][/ROW]
[ROW][C]22[/C][C]71[/C][C]70.4591871020177[/C][C]0.540812897982345[/C][/ROW]
[ROW][C]23[/C][C]73[/C][C]72.4593795357064[/C][C]0.540620464293637[/C][/ROW]
[ROW][C]24[/C][C]68[/C][C]66.5528009518563[/C][C]1.44719904814369[/C][/ROW]
[ROW][C]25[/C][C]65[/C][C]65.6002045747442[/C][C]-0.600204574744149[/C][/ROW]
[ROW][C]26[/C][C]57[/C][C]57.9559627644954[/C][C]-0.95596276449545[/C][/ROW]
[ROW][C]27[/C][C]41[/C][C]40.0638739157111[/C][C]0.936126084288936[/C][/ROW]
[ROW][C]28[/C][C]21[/C][C]22.0575457829325[/C][C]-1.05754578293253[/C][/ROW]
[ROW][C]29[/C][C]21[/C][C]19.8540416943288[/C][C]1.14595830567117[/C][/ROW]
[ROW][C]30[/C][C]17[/C][C]16.6345504872989[/C][C]0.365449512701052[/C][/ROW]
[ROW][C]31[/C][C]9[/C][C]9.03488904529497[/C][C]-0.0348890452949698[/C][/ROW]
[ROW][C]32[/C][C]11[/C][C]12.1072908367058[/C][C]-1.10729083670578[/C][/ROW]
[ROW][C]33[/C][C]6[/C][C]6.0109910168432[/C][C]-0.010991016843202[/C][/ROW]
[ROW][C]34[/C][C]-2[/C][C]-1.90582551360345[/C][C]-0.0941744863965514[/C][/ROW]
[ROW][C]35[/C][C]0[/C][C]-0.793504573779758[/C][C]0.793504573779758[/C][/ROW]
[ROW][C]36[/C][C]5[/C][C]4.96690847459979[/C][C]0.0330915254002124[/C][/ROW]
[ROW][C]37[/C][C]3[/C][C]2.41039417730975[/C][C]0.589605822690246[/C][/ROW]
[ROW][C]38[/C][C]7[/C][C]8.5638797287772[/C][C]-1.5638797287772[/C][/ROW]
[ROW][C]39[/C][C]4[/C][C]4.33180606248967[/C][C]-0.331806062489669[/C][/ROW]
[ROW][C]40[/C][C]8[/C][C]8.38031620410634[/C][C]-0.380316204106345[/C][/ROW]
[ROW][C]41[/C][C]9[/C][C]7.50190101807341[/C][C]1.49809898192659[/C][/ROW]
[ROW][C]42[/C][C]14[/C][C]14.779358674552[/C][C]-0.77935867455204[/C][/ROW]
[ROW][C]43[/C][C]12[/C][C]13.7107867898797[/C][C]-1.71078678987971[/C][/ROW]
[ROW][C]44[/C][C]12[/C][C]11.6589241759572[/C][C]0.341075824042835[/C][/ROW]
[ROW][C]45[/C][C]7[/C][C]6.74814911766229[/C][C]0.251850882337714[/C][/ROW]
[ROW][C]46[/C][C]15[/C][C]16.7754169971703[/C][C]-1.77541699717034[/C][/ROW]
[ROW][C]47[/C][C]14[/C][C]13.9441033385946[/C][C]0.055896661405361[/C][/ROW]
[ROW][C]48[/C][C]19[/C][C]18.3986871971259[/C][C]0.601312802874138[/C][/ROW]
[ROW][C]49[/C][C]39[/C][C]38.2703885019696[/C][C]0.729611498030369[/C][/ROW]
[ROW][C]50[/C][C]12[/C][C]10.5634038859578[/C][C]1.43659611404221[/C][/ROW]
[ROW][C]51[/C][C]11[/C][C]12.1705238165586[/C][C]-1.17052381655857[/C][/ROW]
[ROW][C]52[/C][C]17[/C][C]18.0830138022461[/C][C]-1.08301380224613[/C][/ROW]
[ROW][C]53[/C][C]16[/C][C]17.3120951852765[/C][C]-1.31209518527649[/C][/ROW]
[ROW][C]54[/C][C]25[/C][C]25.121507713715[/C][C]-0.121507713715047[/C][/ROW]
[ROW][C]55[/C][C]24[/C][C]23.1012242542106[/C][C]0.898775745789445[/C][/ROW]
[ROW][C]56[/C][C]28[/C][C]29.3882088023946[/C][C]-1.3882088023946[/C][/ROW]
[ROW][C]57[/C][C]25[/C][C]26.296397757299[/C][C]-1.29639775729902[/C][/ROW]
[ROW][C]58[/C][C]31[/C][C]29.4700376188773[/C][C]1.52996238112266[/C][/ROW]
[ROW][C]59[/C][C]24[/C][C]22.7071666955803[/C][C]1.29283330441966[/C][/ROW]
[ROW][C]60[/C][C]24[/C][C]23.4329157392294[/C][C]0.567084260770562[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117117&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=117117&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.3504085670663-0.3504085670663
21715.65633124489061.34366875510941
32320.48429243116042.5157075688396
42423.82301044387340.176989556126558
52727.0985701477503-0.0985701477502617
63132.3456062647613-1.34560626476128
74038.55531405552471.44468594447534
84747.7404080441703-0.740408044170314
94343.5661093145635-0.566109314563477
106061.7039878962074-1.70398789620736
116463.78033985255880.219660147441176
126565.6600345033576-0.660034503357571
136563.67467207411671.32532792588326
145555.3463984546001-0.346398454600119
155758.9184941914218-1.91849419142177
165756.13176090109080.868239098909232
175756.38221277470270.617787225297262
186563.35322913215471.64677086784528
196970.2868475004064-1.28684750040636
207067.9182652606682.081734739332
217173.0448035947891-2.04480359478908
227170.45918710201770.540812897982345
237372.45937953570640.540620464293637
246866.55280095185631.44719904814369
256565.6002045747442-0.600204574744149
265757.9559627644954-0.95596276449545
274140.06387391571110.936126084288936
282122.0575457829325-1.05754578293253
292119.85404169432881.14595830567117
301716.63455048729890.365449512701052
3199.03488904529497-0.0348890452949698
321112.1072908367058-1.10729083670578
3366.0109910168432-0.010991016843202
34-2-1.90582551360345-0.0941744863965514
350-0.7935045737797580.793504573779758
3654.966908474599790.0330915254002124
3732.410394177309750.589605822690246
3878.5638797287772-1.5638797287772
3944.33180606248967-0.331806062489669
4088.38031620410634-0.380316204106345
4197.501901018073411.49809898192659
421414.779358674552-0.77935867455204
431213.7107867898797-1.71078678987971
441211.65892417595720.341075824042835
4576.748149117662290.251850882337714
461516.7754169971703-1.77541699717034
471413.94410333859460.055896661405361
481918.39868719712590.601312802874138
493938.27038850196960.729611498030369
501210.56340388595781.43659611404221
511112.1705238165586-1.17052381655857
521718.0830138022461-1.08301380224613
531617.3120951852765-1.31209518527649
542525.121507713715-0.121507713715047
552423.10122425421060.898775745789445
562829.3882088023946-1.3882088023946
572526.296397757299-1.29639775729902
583129.47003761887731.52996238112266
592422.70716669558031.29283330441966
602423.43291573922940.567084260770562







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
90.03039309847164810.06078619694329620.969606901528352
100.0229701493477660.04594029869553190.977029850652234
110.1162338535378920.2324677070757840.883766146462108
120.2071761531278240.4143523062556480.792823846872176
130.3413153692259060.6826307384518120.658684630774094
140.2806322529309670.5612645058619340.719367747069033
150.6936913617931780.6126172764136440.306308638206822
160.6900226278811670.6199547442376660.309977372118833
170.6417650374708020.7164699250583960.358234962529198
180.7566155416462420.4867689167075160.243384458353758
190.7278352639682830.5443294720634350.272164736031717
200.8877009429524940.2245981140950120.112299057047506
210.9500650218153820.09986995636923580.0499349781846179
220.924233879724170.1515322405516610.0757661202758306
230.889564164957690.2208716700846220.110435835042311
240.8833210662606170.2333578674787670.116678933739383
250.879203032133840.241593935732320.12079696786616
260.8813639178923270.2372721642153460.118636082107673
270.8684978342639560.2630043314720880.131502165736044
280.8994443752225490.2011112495549020.100555624777451
290.8948708254369970.2102583491260050.105129174563003
300.859064890051680.2818702198966410.14093510994832
310.843651223028390.3126975539432190.156348776971609
320.831601455111750.3367970897764980.168398544888249
330.7759462036411750.448107592717650.224053796358825
340.7238177762072730.5523644475854540.276182223792727
350.667514294081770.664971411836460.33248570591823
360.6233956516087040.7532086967825920.376604348391296
370.6064974016909450.787005196618110.393502598309055
380.6306905075786870.7386189848426260.369309492421313
390.5521204257045020.8957591485909960.447879574295498
400.5001269053912520.9997461892174960.499873094608748
410.784102076576980.431795846846040.21589792342302
420.7436492812065580.5127014375868840.256350718793442
430.7582264243509490.4835471512981020.241773575649051
440.7219610420062060.5560779159875880.278038957993794
450.6288221077004540.7423557845990920.371177892299546
460.5845301601179420.8309396797641170.415469839882058
470.4922214918411470.9844429836822930.507778508158853
480.4174638114023430.8349276228046870.582536188597657
490.364997763918070.7299955278361410.63500223608193
500.3730817100226770.7461634200453530.626918289977323
510.2911051080520420.5822102161040840.708894891947958

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
9 & 0.0303930984716481 & 0.0607861969432962 & 0.969606901528352 \tabularnewline
10 & 0.022970149347766 & 0.0459402986955319 & 0.977029850652234 \tabularnewline
11 & 0.116233853537892 & 0.232467707075784 & 0.883766146462108 \tabularnewline
12 & 0.207176153127824 & 0.414352306255648 & 0.792823846872176 \tabularnewline
13 & 0.341315369225906 & 0.682630738451812 & 0.658684630774094 \tabularnewline
14 & 0.280632252930967 & 0.561264505861934 & 0.719367747069033 \tabularnewline
15 & 0.693691361793178 & 0.612617276413644 & 0.306308638206822 \tabularnewline
16 & 0.690022627881167 & 0.619954744237666 & 0.309977372118833 \tabularnewline
17 & 0.641765037470802 & 0.716469925058396 & 0.358234962529198 \tabularnewline
18 & 0.756615541646242 & 0.486768916707516 & 0.243384458353758 \tabularnewline
19 & 0.727835263968283 & 0.544329472063435 & 0.272164736031717 \tabularnewline
20 & 0.887700942952494 & 0.224598114095012 & 0.112299057047506 \tabularnewline
21 & 0.950065021815382 & 0.0998699563692358 & 0.0499349781846179 \tabularnewline
22 & 0.92423387972417 & 0.151532240551661 & 0.0757661202758306 \tabularnewline
23 & 0.88956416495769 & 0.220871670084622 & 0.110435835042311 \tabularnewline
24 & 0.883321066260617 & 0.233357867478767 & 0.116678933739383 \tabularnewline
25 & 0.87920303213384 & 0.24159393573232 & 0.12079696786616 \tabularnewline
26 & 0.881363917892327 & 0.237272164215346 & 0.118636082107673 \tabularnewline
27 & 0.868497834263956 & 0.263004331472088 & 0.131502165736044 \tabularnewline
28 & 0.899444375222549 & 0.201111249554902 & 0.100555624777451 \tabularnewline
29 & 0.894870825436997 & 0.210258349126005 & 0.105129174563003 \tabularnewline
30 & 0.85906489005168 & 0.281870219896641 & 0.14093510994832 \tabularnewline
31 & 0.84365122302839 & 0.312697553943219 & 0.156348776971609 \tabularnewline
32 & 0.83160145511175 & 0.336797089776498 & 0.168398544888249 \tabularnewline
33 & 0.775946203641175 & 0.44810759271765 & 0.224053796358825 \tabularnewline
34 & 0.723817776207273 & 0.552364447585454 & 0.276182223792727 \tabularnewline
35 & 0.66751429408177 & 0.66497141183646 & 0.33248570591823 \tabularnewline
36 & 0.623395651608704 & 0.753208696782592 & 0.376604348391296 \tabularnewline
37 & 0.606497401690945 & 0.78700519661811 & 0.393502598309055 \tabularnewline
38 & 0.630690507578687 & 0.738618984842626 & 0.369309492421313 \tabularnewline
39 & 0.552120425704502 & 0.895759148590996 & 0.447879574295498 \tabularnewline
40 & 0.500126905391252 & 0.999746189217496 & 0.499873094608748 \tabularnewline
41 & 0.78410207657698 & 0.43179584684604 & 0.21589792342302 \tabularnewline
42 & 0.743649281206558 & 0.512701437586884 & 0.256350718793442 \tabularnewline
43 & 0.758226424350949 & 0.483547151298102 & 0.241773575649051 \tabularnewline
44 & 0.721961042006206 & 0.556077915987588 & 0.278038957993794 \tabularnewline
45 & 0.628822107700454 & 0.742355784599092 & 0.371177892299546 \tabularnewline
46 & 0.584530160117942 & 0.830939679764117 & 0.415469839882058 \tabularnewline
47 & 0.492221491841147 & 0.984442983682293 & 0.507778508158853 \tabularnewline
48 & 0.417463811402343 & 0.834927622804687 & 0.582536188597657 \tabularnewline
49 & 0.36499776391807 & 0.729995527836141 & 0.63500223608193 \tabularnewline
50 & 0.373081710022677 & 0.746163420045353 & 0.626918289977323 \tabularnewline
51 & 0.291105108052042 & 0.582210216104084 & 0.708894891947958 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117117&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]9[/C][C]0.0303930984716481[/C][C]0.0607861969432962[/C][C]0.969606901528352[/C][/ROW]
[ROW][C]10[/C][C]0.022970149347766[/C][C]0.0459402986955319[/C][C]0.977029850652234[/C][/ROW]
[ROW][C]11[/C][C]0.116233853537892[/C][C]0.232467707075784[/C][C]0.883766146462108[/C][/ROW]
[ROW][C]12[/C][C]0.207176153127824[/C][C]0.414352306255648[/C][C]0.792823846872176[/C][/ROW]
[ROW][C]13[/C][C]0.341315369225906[/C][C]0.682630738451812[/C][C]0.658684630774094[/C][/ROW]
[ROW][C]14[/C][C]0.280632252930967[/C][C]0.561264505861934[/C][C]0.719367747069033[/C][/ROW]
[ROW][C]15[/C][C]0.693691361793178[/C][C]0.612617276413644[/C][C]0.306308638206822[/C][/ROW]
[ROW][C]16[/C][C]0.690022627881167[/C][C]0.619954744237666[/C][C]0.309977372118833[/C][/ROW]
[ROW][C]17[/C][C]0.641765037470802[/C][C]0.716469925058396[/C][C]0.358234962529198[/C][/ROW]
[ROW][C]18[/C][C]0.756615541646242[/C][C]0.486768916707516[/C][C]0.243384458353758[/C][/ROW]
[ROW][C]19[/C][C]0.727835263968283[/C][C]0.544329472063435[/C][C]0.272164736031717[/C][/ROW]
[ROW][C]20[/C][C]0.887700942952494[/C][C]0.224598114095012[/C][C]0.112299057047506[/C][/ROW]
[ROW][C]21[/C][C]0.950065021815382[/C][C]0.0998699563692358[/C][C]0.0499349781846179[/C][/ROW]
[ROW][C]22[/C][C]0.92423387972417[/C][C]0.151532240551661[/C][C]0.0757661202758306[/C][/ROW]
[ROW][C]23[/C][C]0.88956416495769[/C][C]0.220871670084622[/C][C]0.110435835042311[/C][/ROW]
[ROW][C]24[/C][C]0.883321066260617[/C][C]0.233357867478767[/C][C]0.116678933739383[/C][/ROW]
[ROW][C]25[/C][C]0.87920303213384[/C][C]0.24159393573232[/C][C]0.12079696786616[/C][/ROW]
[ROW][C]26[/C][C]0.881363917892327[/C][C]0.237272164215346[/C][C]0.118636082107673[/C][/ROW]
[ROW][C]27[/C][C]0.868497834263956[/C][C]0.263004331472088[/C][C]0.131502165736044[/C][/ROW]
[ROW][C]28[/C][C]0.899444375222549[/C][C]0.201111249554902[/C][C]0.100555624777451[/C][/ROW]
[ROW][C]29[/C][C]0.894870825436997[/C][C]0.210258349126005[/C][C]0.105129174563003[/C][/ROW]
[ROW][C]30[/C][C]0.85906489005168[/C][C]0.281870219896641[/C][C]0.14093510994832[/C][/ROW]
[ROW][C]31[/C][C]0.84365122302839[/C][C]0.312697553943219[/C][C]0.156348776971609[/C][/ROW]
[ROW][C]32[/C][C]0.83160145511175[/C][C]0.336797089776498[/C][C]0.168398544888249[/C][/ROW]
[ROW][C]33[/C][C]0.775946203641175[/C][C]0.44810759271765[/C][C]0.224053796358825[/C][/ROW]
[ROW][C]34[/C][C]0.723817776207273[/C][C]0.552364447585454[/C][C]0.276182223792727[/C][/ROW]
[ROW][C]35[/C][C]0.66751429408177[/C][C]0.66497141183646[/C][C]0.33248570591823[/C][/ROW]
[ROW][C]36[/C][C]0.623395651608704[/C][C]0.753208696782592[/C][C]0.376604348391296[/C][/ROW]
[ROW][C]37[/C][C]0.606497401690945[/C][C]0.78700519661811[/C][C]0.393502598309055[/C][/ROW]
[ROW][C]38[/C][C]0.630690507578687[/C][C]0.738618984842626[/C][C]0.369309492421313[/C][/ROW]
[ROW][C]39[/C][C]0.552120425704502[/C][C]0.895759148590996[/C][C]0.447879574295498[/C][/ROW]
[ROW][C]40[/C][C]0.500126905391252[/C][C]0.999746189217496[/C][C]0.499873094608748[/C][/ROW]
[ROW][C]41[/C][C]0.78410207657698[/C][C]0.43179584684604[/C][C]0.21589792342302[/C][/ROW]
[ROW][C]42[/C][C]0.743649281206558[/C][C]0.512701437586884[/C][C]0.256350718793442[/C][/ROW]
[ROW][C]43[/C][C]0.758226424350949[/C][C]0.483547151298102[/C][C]0.241773575649051[/C][/ROW]
[ROW][C]44[/C][C]0.721961042006206[/C][C]0.556077915987588[/C][C]0.278038957993794[/C][/ROW]
[ROW][C]45[/C][C]0.628822107700454[/C][C]0.742355784599092[/C][C]0.371177892299546[/C][/ROW]
[ROW][C]46[/C][C]0.584530160117942[/C][C]0.830939679764117[/C][C]0.415469839882058[/C][/ROW]
[ROW][C]47[/C][C]0.492221491841147[/C][C]0.984442983682293[/C][C]0.507778508158853[/C][/ROW]
[ROW][C]48[/C][C]0.417463811402343[/C][C]0.834927622804687[/C][C]0.582536188597657[/C][/ROW]
[ROW][C]49[/C][C]0.36499776391807[/C][C]0.729995527836141[/C][C]0.63500223608193[/C][/ROW]
[ROW][C]50[/C][C]0.373081710022677[/C][C]0.746163420045353[/C][C]0.626918289977323[/C][/ROW]
[ROW][C]51[/C][C]0.291105108052042[/C][C]0.582210216104084[/C][C]0.708894891947958[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117117&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=117117&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
90.03039309847164810.06078619694329620.969606901528352
100.0229701493477660.04594029869553190.977029850652234
110.1162338535378920.2324677070757840.883766146462108
120.2071761531278240.4143523062556480.792823846872176
130.3413153692259060.6826307384518120.658684630774094
140.2806322529309670.5612645058619340.719367747069033
150.6936913617931780.6126172764136440.306308638206822
160.6900226278811670.6199547442376660.309977372118833
170.6417650374708020.7164699250583960.358234962529198
180.7566155416462420.4867689167075160.243384458353758
190.7278352639682830.5443294720634350.272164736031717
200.8877009429524940.2245981140950120.112299057047506
210.9500650218153820.09986995636923580.0499349781846179
220.924233879724170.1515322405516610.0757661202758306
230.889564164957690.2208716700846220.110435835042311
240.8833210662606170.2333578674787670.116678933739383
250.879203032133840.241593935732320.12079696786616
260.8813639178923270.2372721642153460.118636082107673
270.8684978342639560.2630043314720880.131502165736044
280.8994443752225490.2011112495549020.100555624777451
290.8948708254369970.2102583491260050.105129174563003
300.859064890051680.2818702198966410.14093510994832
310.843651223028390.3126975539432190.156348776971609
320.831601455111750.3367970897764980.168398544888249
330.7759462036411750.448107592717650.224053796358825
340.7238177762072730.5523644475854540.276182223792727
350.667514294081770.664971411836460.33248570591823
360.6233956516087040.7532086967825920.376604348391296
370.6064974016909450.787005196618110.393502598309055
380.6306905075786870.7386189848426260.369309492421313
390.5521204257045020.8957591485909960.447879574295498
400.5001269053912520.9997461892174960.499873094608748
410.784102076576980.431795846846040.21589792342302
420.7436492812065580.5127014375868840.256350718793442
430.7582264243509490.4835471512981020.241773575649051
440.7219610420062060.5560779159875880.278038957993794
450.6288221077004540.7423557845990920.371177892299546
460.5845301601179420.8309396797641170.415469839882058
470.4922214918411470.9844429836822930.507778508158853
480.4174638114023430.8349276228046870.582536188597657
490.364997763918070.7299955278361410.63500223608193
500.3730817100226770.7461634200453530.626918289977323
510.2911051080520420.5822102161040840.708894891947958







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

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

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



Parameters (Session):
par1 = 1 ; par2 = 0 ; par3 = 0 ; par4 = 12 ;
Parameters (R input):
par1 = 4 ; par2 = Do not include Seasonal Dummies ; par3 = No 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')
}