Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationWed, 01 Dec 2010 21:57:34 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/01/t1291240583d7x0l2ih118qc5n.htm/, Retrieved Sat, 27 Apr 2024 08:40:59 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=104189, Retrieved Sat, 27 Apr 2024 08:40:59 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact130
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] [cfea828c93f35e07cca4521b1fb38047] [Current]
-   PD      [Multiple Regression] [deterministische ...] [2010-12-28 21:39:11] [f1aa04283d83c25edc8ae3bb0d0fb93e]
-   P         [Multiple Regression] [] [2010-12-29 20:50:14] [99820e5c3330fe494c612533a1ea567a]
- RMP       [Multiple Regression] [deterministische ...] [2011-11-17 10:29:36] [f1aa04283d83c25edc8ae3bb0d0fb93e]
- RMP       [Multiple Regression] [deterministische ...] [2011-11-24 20:10:12] [f1aa04283d83c25edc8ae3bb0d0fb93e]
Feedback Forum

Post a new message
Dataseries X:
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
12	-5	-6	33	5	15




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time8 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 8 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104189&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]8 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104189&T=0

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







Multiple Linear Regression - Estimated Regression Equation
werkloosheid[t] = + 1.85423823704046 -0.114537989510701maand[t] -3.92322970510058indicator[t] + 0.973210530445734economie[t] + 1.09728386413799`financiën`[t] + 0.908015384045378spaarvermogen[t] -0.0221617445973184t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
werkloosheid[t] =  +  1.85423823704046 -0.114537989510701maand[t] -3.92322970510058indicator[t] +  0.973210530445734economie[t] +  1.09728386413799`financiën`[t] +  0.908015384045378spaarvermogen[t] -0.0221617445973184t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104189&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]werkloosheid[t] =  +  1.85423823704046 -0.114537989510701maand[t] -3.92322970510058indicator[t] +  0.973210530445734economie[t] +  1.09728386413799`financiën`[t] +  0.908015384045378spaarvermogen[t] -0.0221617445973184t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104189&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104189&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.85423823704046 -0.114537989510701maand[t] -3.92322970510058indicator[t] + 0.973210530445734economie[t] + 1.09728386413799`financiën`[t] + 0.908015384045378spaarvermogen[t] -0.0221617445973184t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)1.854238237040460.6209382.98620.0042690.002135
maand-0.1145379895107010.044347-2.58280.0125980.006299
indicator-3.923229705100580.030814-127.320600
economie0.9732105304457340.0373526.056300
`financiën`1.097283864137990.1558367.041300
spaarvermogen0.9080153840453780.05790715.680500
t-0.02216174459731840.019223-1.15290.2541360.127068

\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.85423823704046 & 0.620938 & 2.9862 & 0.004269 & 0.002135 \tabularnewline
maand & -0.114537989510701 & 0.044347 & -2.5828 & 0.012598 & 0.006299 \tabularnewline
indicator & -3.92322970510058 & 0.030814 & -127.3206 & 0 & 0 \tabularnewline
economie & 0.973210530445734 & 0.03735 & 26.0563 & 0 & 0 \tabularnewline
`financiën` & 1.09728386413799 & 0.155836 & 7.0413 & 0 & 0 \tabularnewline
spaarvermogen & 0.908015384045378 & 0.057907 & 15.6805 & 0 & 0 \tabularnewline
t & -0.0221617445973184 & 0.019223 & -1.1529 & 0.254136 & 0.127068 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104189&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.85423823704046[/C][C]0.620938[/C][C]2.9862[/C][C]0.004269[/C][C]0.002135[/C][/ROW]
[ROW][C]maand[/C][C]-0.114537989510701[/C][C]0.044347[/C][C]-2.5828[/C][C]0.012598[/C][C]0.006299[/C][/ROW]
[ROW][C]indicator[/C][C]-3.92322970510058[/C][C]0.030814[/C][C]-127.3206[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]economie[/C][C]0.973210530445734[/C][C]0.03735[/C][C]26.0563[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]`financiën`[/C][C]1.09728386413799[/C][C]0.155836[/C][C]7.0413[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]spaarvermogen[/C][C]0.908015384045378[/C][C]0.057907[/C][C]15.6805[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]t[/C][C]-0.0221617445973184[/C][C]0.019223[/C][C]-1.1529[/C][C]0.254136[/C][C]0.127068[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104189&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104189&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.854238237040460.6209382.98620.0042690.002135
maand-0.1145379895107010.044347-2.58280.0125980.006299
indicator-3.923229705100580.030814-127.320600
economie0.9732105304457340.0373526.056300
`financiën`1.097283864137990.1558367.041300
spaarvermogen0.9080153840453780.05790715.680500
t-0.02216174459731840.019223-1.15290.2541360.127068







Multiple Linear Regression - Regression Statistics
Multiple R0.998851623219125
R-squared0.99770456520748
Adjusted R-squared0.99744470466493
F-TEST (value)3839.38459998337
F-TEST (DF numerator)6
F-TEST (DF denominator)53
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.16791092469633
Sum Squared Residuals72.2928441853268

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.998851623219125 \tabularnewline
R-squared & 0.99770456520748 \tabularnewline
Adjusted R-squared & 0.99744470466493 \tabularnewline
F-TEST (value) & 3839.38459998337 \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.16791092469633 \tabularnewline
Sum Squared Residuals & 72.2928441853268 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104189&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.998851623219125[/C][/ROW]
[ROW][C]R-squared[/C][C]0.99770456520748[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.99744470466493[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]3839.38459998337[/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.16791092469633[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]72.2928441853268[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104189&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104189&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.998851623219125
R-squared0.99770456520748
Adjusted R-squared0.99744470466493
F-TEST (value)3839.38459998337
F-TEST (DF numerator)6
F-TEST (DF denominator)53
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.16791092469633
Sum Squared Residuals72.2928441853268







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11716.00050288393950.999497116060498
22321.07858513500881.92141486499121
32424.0988069097113-0.0988069097112732
42727.1760098923622-0.176009892362197
53132.2971136449659-1.29711364496594
64038.99564122492491.00435877507512
74747.915901348937-0.915901348936988
84343.492897318911-0.492897318910983
96061.9022358268797-1.90223582687975
106463.81885677833570.181143221664279
116565.8513371250321-0.851337125032118
126563.79163240457241.20836759542759
135555.2865177726709-0.286517772670855
145759.1369258668014-2.13692586680139
155756.03113626967540.968863730324596
165756.18870766098920.81129233901085
176563.09924855705281.90075144294720
186970.3415109530804-1.34151095308039
197067.8706189219762.12938107802400
207172.8024541944872-1.80245419448717
217170.37618395846620.623816041533841
227372.59793278525520.402067214744819
236866.65798340871481.34201659128521
246565.4879143861214-0.487914386121406
255757.8275169712083-0.827516971208253
264139.93050697861691.06949302138312
272122.4911887990251-1.49118879902508
282119.93292797665451.06707202334548
291716.85310598308110.146894016918893
3098.916071296809160.0839287031908366
311112.2332070083928-1.23320700839280
3265.778310105552540.221689894447462
33-2-2.232133665571590.232133665571593
340-0.794326889135690.79432688913569
3554.791060140927890.208939859072115
3632.527556042815280.472443957184719
3778.65225790918245-1.65225790918244
3844.48973777896333-0.489737778963332
3988.62941706266955-0.629417062669553
4097.624509443444951.37549055655505
411414.6230451518531-0.623045151853085
421213.6099235941766-1.60992359417664
431211.71917423577250.280825764227542
4476.49384846921430.506151530785706
451516.8022639404889-1.80226394048892
461413.97311161472170.026888385278277
471918.40395906734700.596040932652981
483938.36668723097640.633312769023607
491210.47139709609061.52860290390936
501112.1538310865761-1.15383108657607
511717.899995992758-0.899995992758005
521617.3325035210105-1.33250352101054
532525.0149785702887-0.0149785702887253
542423.09573860791030.904261392089716
552829.1615622869855-1.16156228698554
562526.3260930021099-1.32609300210989
573129.43368356807851.56631643192152
582422.68130153721071.31869846278930
592423.45572014365080.544279856349244
603332.03361311127210.966386888727928

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 17 & 16.0005028839395 & 0.999497116060498 \tabularnewline
2 & 23 & 21.0785851350088 & 1.92141486499121 \tabularnewline
3 & 24 & 24.0988069097113 & -0.0988069097112732 \tabularnewline
4 & 27 & 27.1760098923622 & -0.176009892362197 \tabularnewline
5 & 31 & 32.2971136449659 & -1.29711364496594 \tabularnewline
6 & 40 & 38.9956412249249 & 1.00435877507512 \tabularnewline
7 & 47 & 47.915901348937 & -0.915901348936988 \tabularnewline
8 & 43 & 43.492897318911 & -0.492897318910983 \tabularnewline
9 & 60 & 61.9022358268797 & -1.90223582687975 \tabularnewline
10 & 64 & 63.8188567783357 & 0.181143221664279 \tabularnewline
11 & 65 & 65.8513371250321 & -0.851337125032118 \tabularnewline
12 & 65 & 63.7916324045724 & 1.20836759542759 \tabularnewline
13 & 55 & 55.2865177726709 & -0.286517772670855 \tabularnewline
14 & 57 & 59.1369258668014 & -2.13692586680139 \tabularnewline
15 & 57 & 56.0311362696754 & 0.968863730324596 \tabularnewline
16 & 57 & 56.1887076609892 & 0.81129233901085 \tabularnewline
17 & 65 & 63.0992485570528 & 1.90075144294720 \tabularnewline
18 & 69 & 70.3415109530804 & -1.34151095308039 \tabularnewline
19 & 70 & 67.870618921976 & 2.12938107802400 \tabularnewline
20 & 71 & 72.8024541944872 & -1.80245419448717 \tabularnewline
21 & 71 & 70.3761839584662 & 0.623816041533841 \tabularnewline
22 & 73 & 72.5979327852552 & 0.402067214744819 \tabularnewline
23 & 68 & 66.6579834087148 & 1.34201659128521 \tabularnewline
24 & 65 & 65.4879143861214 & -0.487914386121406 \tabularnewline
25 & 57 & 57.8275169712083 & -0.827516971208253 \tabularnewline
26 & 41 & 39.9305069786169 & 1.06949302138312 \tabularnewline
27 & 21 & 22.4911887990251 & -1.49118879902508 \tabularnewline
28 & 21 & 19.9329279766545 & 1.06707202334548 \tabularnewline
29 & 17 & 16.8531059830811 & 0.146894016918893 \tabularnewline
30 & 9 & 8.91607129680916 & 0.0839287031908366 \tabularnewline
31 & 11 & 12.2332070083928 & -1.23320700839280 \tabularnewline
32 & 6 & 5.77831010555254 & 0.221689894447462 \tabularnewline
33 & -2 & -2.23213366557159 & 0.232133665571593 \tabularnewline
34 & 0 & -0.79432688913569 & 0.79432688913569 \tabularnewline
35 & 5 & 4.79106014092789 & 0.208939859072115 \tabularnewline
36 & 3 & 2.52755604281528 & 0.472443957184719 \tabularnewline
37 & 7 & 8.65225790918245 & -1.65225790918244 \tabularnewline
38 & 4 & 4.48973777896333 & -0.489737778963332 \tabularnewline
39 & 8 & 8.62941706266955 & -0.629417062669553 \tabularnewline
40 & 9 & 7.62450944344495 & 1.37549055655505 \tabularnewline
41 & 14 & 14.6230451518531 & -0.623045151853085 \tabularnewline
42 & 12 & 13.6099235941766 & -1.60992359417664 \tabularnewline
43 & 12 & 11.7191742357725 & 0.280825764227542 \tabularnewline
44 & 7 & 6.4938484692143 & 0.506151530785706 \tabularnewline
45 & 15 & 16.8022639404889 & -1.80226394048892 \tabularnewline
46 & 14 & 13.9731116147217 & 0.026888385278277 \tabularnewline
47 & 19 & 18.4039590673470 & 0.596040932652981 \tabularnewline
48 & 39 & 38.3666872309764 & 0.633312769023607 \tabularnewline
49 & 12 & 10.4713970960906 & 1.52860290390936 \tabularnewline
50 & 11 & 12.1538310865761 & -1.15383108657607 \tabularnewline
51 & 17 & 17.899995992758 & -0.899995992758005 \tabularnewline
52 & 16 & 17.3325035210105 & -1.33250352101054 \tabularnewline
53 & 25 & 25.0149785702887 & -0.0149785702887253 \tabularnewline
54 & 24 & 23.0957386079103 & 0.904261392089716 \tabularnewline
55 & 28 & 29.1615622869855 & -1.16156228698554 \tabularnewline
56 & 25 & 26.3260930021099 & -1.32609300210989 \tabularnewline
57 & 31 & 29.4336835680785 & 1.56631643192152 \tabularnewline
58 & 24 & 22.6813015372107 & 1.31869846278930 \tabularnewline
59 & 24 & 23.4557201436508 & 0.544279856349244 \tabularnewline
60 & 33 & 32.0336131112721 & 0.966386888727928 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104189&T=4

[TABLE]
[ROW][C]Multiple Linear Regression - Actuals, Interpolation, and Residuals[/C][/ROW]
[ROW][C]Time or Index[/C][C]Actuals[/C][C]InterpolationForecast[/C][C]ResidualsPrediction Error[/C][/ROW]
[ROW][C]1[/C][C]17[/C][C]16.0005028839395[/C][C]0.999497116060498[/C][/ROW]
[ROW][C]2[/C][C]23[/C][C]21.0785851350088[/C][C]1.92141486499121[/C][/ROW]
[ROW][C]3[/C][C]24[/C][C]24.0988069097113[/C][C]-0.0988069097112732[/C][/ROW]
[ROW][C]4[/C][C]27[/C][C]27.1760098923622[/C][C]-0.176009892362197[/C][/ROW]
[ROW][C]5[/C][C]31[/C][C]32.2971136449659[/C][C]-1.29711364496594[/C][/ROW]
[ROW][C]6[/C][C]40[/C][C]38.9956412249249[/C][C]1.00435877507512[/C][/ROW]
[ROW][C]7[/C][C]47[/C][C]47.915901348937[/C][C]-0.915901348936988[/C][/ROW]
[ROW][C]8[/C][C]43[/C][C]43.492897318911[/C][C]-0.492897318910983[/C][/ROW]
[ROW][C]9[/C][C]60[/C][C]61.9022358268797[/C][C]-1.90223582687975[/C][/ROW]
[ROW][C]10[/C][C]64[/C][C]63.8188567783357[/C][C]0.181143221664279[/C][/ROW]
[ROW][C]11[/C][C]65[/C][C]65.8513371250321[/C][C]-0.851337125032118[/C][/ROW]
[ROW][C]12[/C][C]65[/C][C]63.7916324045724[/C][C]1.20836759542759[/C][/ROW]
[ROW][C]13[/C][C]55[/C][C]55.2865177726709[/C][C]-0.286517772670855[/C][/ROW]
[ROW][C]14[/C][C]57[/C][C]59.1369258668014[/C][C]-2.13692586680139[/C][/ROW]
[ROW][C]15[/C][C]57[/C][C]56.0311362696754[/C][C]0.968863730324596[/C][/ROW]
[ROW][C]16[/C][C]57[/C][C]56.1887076609892[/C][C]0.81129233901085[/C][/ROW]
[ROW][C]17[/C][C]65[/C][C]63.0992485570528[/C][C]1.90075144294720[/C][/ROW]
[ROW][C]18[/C][C]69[/C][C]70.3415109530804[/C][C]-1.34151095308039[/C][/ROW]
[ROW][C]19[/C][C]70[/C][C]67.870618921976[/C][C]2.12938107802400[/C][/ROW]
[ROW][C]20[/C][C]71[/C][C]72.8024541944872[/C][C]-1.80245419448717[/C][/ROW]
[ROW][C]21[/C][C]71[/C][C]70.3761839584662[/C][C]0.623816041533841[/C][/ROW]
[ROW][C]22[/C][C]73[/C][C]72.5979327852552[/C][C]0.402067214744819[/C][/ROW]
[ROW][C]23[/C][C]68[/C][C]66.6579834087148[/C][C]1.34201659128521[/C][/ROW]
[ROW][C]24[/C][C]65[/C][C]65.4879143861214[/C][C]-0.487914386121406[/C][/ROW]
[ROW][C]25[/C][C]57[/C][C]57.8275169712083[/C][C]-0.827516971208253[/C][/ROW]
[ROW][C]26[/C][C]41[/C][C]39.9305069786169[/C][C]1.06949302138312[/C][/ROW]
[ROW][C]27[/C][C]21[/C][C]22.4911887990251[/C][C]-1.49118879902508[/C][/ROW]
[ROW][C]28[/C][C]21[/C][C]19.9329279766545[/C][C]1.06707202334548[/C][/ROW]
[ROW][C]29[/C][C]17[/C][C]16.8531059830811[/C][C]0.146894016918893[/C][/ROW]
[ROW][C]30[/C][C]9[/C][C]8.91607129680916[/C][C]0.0839287031908366[/C][/ROW]
[ROW][C]31[/C][C]11[/C][C]12.2332070083928[/C][C]-1.23320700839280[/C][/ROW]
[ROW][C]32[/C][C]6[/C][C]5.77831010555254[/C][C]0.221689894447462[/C][/ROW]
[ROW][C]33[/C][C]-2[/C][C]-2.23213366557159[/C][C]0.232133665571593[/C][/ROW]
[ROW][C]34[/C][C]0[/C][C]-0.79432688913569[/C][C]0.79432688913569[/C][/ROW]
[ROW][C]35[/C][C]5[/C][C]4.79106014092789[/C][C]0.208939859072115[/C][/ROW]
[ROW][C]36[/C][C]3[/C][C]2.52755604281528[/C][C]0.472443957184719[/C][/ROW]
[ROW][C]37[/C][C]7[/C][C]8.65225790918245[/C][C]-1.65225790918244[/C][/ROW]
[ROW][C]38[/C][C]4[/C][C]4.48973777896333[/C][C]-0.489737778963332[/C][/ROW]
[ROW][C]39[/C][C]8[/C][C]8.62941706266955[/C][C]-0.629417062669553[/C][/ROW]
[ROW][C]40[/C][C]9[/C][C]7.62450944344495[/C][C]1.37549055655505[/C][/ROW]
[ROW][C]41[/C][C]14[/C][C]14.6230451518531[/C][C]-0.623045151853085[/C][/ROW]
[ROW][C]42[/C][C]12[/C][C]13.6099235941766[/C][C]-1.60992359417664[/C][/ROW]
[ROW][C]43[/C][C]12[/C][C]11.7191742357725[/C][C]0.280825764227542[/C][/ROW]
[ROW][C]44[/C][C]7[/C][C]6.4938484692143[/C][C]0.506151530785706[/C][/ROW]
[ROW][C]45[/C][C]15[/C][C]16.8022639404889[/C][C]-1.80226394048892[/C][/ROW]
[ROW][C]46[/C][C]14[/C][C]13.9731116147217[/C][C]0.026888385278277[/C][/ROW]
[ROW][C]47[/C][C]19[/C][C]18.4039590673470[/C][C]0.596040932652981[/C][/ROW]
[ROW][C]48[/C][C]39[/C][C]38.3666872309764[/C][C]0.633312769023607[/C][/ROW]
[ROW][C]49[/C][C]12[/C][C]10.4713970960906[/C][C]1.52860290390936[/C][/ROW]
[ROW][C]50[/C][C]11[/C][C]12.1538310865761[/C][C]-1.15383108657607[/C][/ROW]
[ROW][C]51[/C][C]17[/C][C]17.899995992758[/C][C]-0.899995992758005[/C][/ROW]
[ROW][C]52[/C][C]16[/C][C]17.3325035210105[/C][C]-1.33250352101054[/C][/ROW]
[ROW][C]53[/C][C]25[/C][C]25.0149785702887[/C][C]-0.0149785702887253[/C][/ROW]
[ROW][C]54[/C][C]24[/C][C]23.0957386079103[/C][C]0.904261392089716[/C][/ROW]
[ROW][C]55[/C][C]28[/C][C]29.1615622869855[/C][C]-1.16156228698554[/C][/ROW]
[ROW][C]56[/C][C]25[/C][C]26.3260930021099[/C][C]-1.32609300210989[/C][/ROW]
[ROW][C]57[/C][C]31[/C][C]29.4336835680785[/C][C]1.56631643192152[/C][/ROW]
[ROW][C]58[/C][C]24[/C][C]22.6813015372107[/C][C]1.31869846278930[/C][/ROW]
[ROW][C]59[/C][C]24[/C][C]23.4557201436508[/C][C]0.544279856349244[/C][/ROW]
[ROW][C]60[/C][C]33[/C][C]32.0336131112721[/C][C]0.966386888727928[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104189&T=4

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11716.00050288393950.999497116060498
22321.07858513500881.92141486499121
32424.0988069097113-0.0988069097112732
42727.1760098923622-0.176009892362197
53132.2971136449659-1.29711364496594
64038.99564122492491.00435877507512
74747.915901348937-0.915901348936988
84343.492897318911-0.492897318910983
96061.9022358268797-1.90223582687975
106463.81885677833570.181143221664279
116565.8513371250321-0.851337125032118
126563.79163240457241.20836759542759
135555.2865177726709-0.286517772670855
145759.1369258668014-2.13692586680139
155756.03113626967540.968863730324596
165756.18870766098920.81129233901085
176563.09924855705281.90075144294720
186970.3415109530804-1.34151095308039
197067.8706189219762.12938107802400
207172.8024541944872-1.80245419448717
217170.37618395846620.623816041533841
227372.59793278525520.402067214744819
236866.65798340871481.34201659128521
246565.4879143861214-0.487914386121406
255757.8275169712083-0.827516971208253
264139.93050697861691.06949302138312
272122.4911887990251-1.49118879902508
282119.93292797665451.06707202334548
291716.85310598308110.146894016918893
3098.916071296809160.0839287031908366
311112.2332070083928-1.23320700839280
3265.778310105552540.221689894447462
33-2-2.232133665571590.232133665571593
340-0.794326889135690.79432688913569
3554.791060140927890.208939859072115
3632.527556042815280.472443957184719
3778.65225790918245-1.65225790918244
3844.48973777896333-0.489737778963332
3988.62941706266955-0.629417062669553
4097.624509443444951.37549055655505
411414.6230451518531-0.623045151853085
421213.6099235941766-1.60992359417664
431211.71917423577250.280825764227542
4476.49384846921430.506151530785706
451516.8022639404889-1.80226394048892
461413.97311161472170.026888385278277
471918.40395906734700.596040932652981
483938.36668723097640.633312769023607
491210.47139709609061.52860290390936
501112.1538310865761-1.15383108657607
511717.899995992758-0.899995992758005
521617.3325035210105-1.33250352101054
532525.0149785702887-0.0149785702887253
542423.09573860791030.904261392089716
552829.1615622869855-1.16156228698554
562526.3260930021099-1.32609300210989
573129.43368356807851.56631643192152
582422.68130153721071.31869846278930
592423.45572014365080.544279856349244
603332.03361311127210.966386888727928







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
100.323272202295850.64654440459170.67672779770415
110.3800067925931850.760013585186370.619993207406815
120.2544043272792320.5088086545584630.745595672720768
130.306619020106170.613238040212340.69338097989383
140.6290597025667520.7418805948664950.370940297433248
150.6159221653504050.768155669299190.384077834649595
160.5352090960651730.9295818078696530.464790903934827
170.5939627371031930.8120745257936150.406037262896807
180.5366592927983070.9266814144033860.463340707201693
190.827531502431920.3449369951361590.172468497568080
200.9135910315506030.1728179368987930.0864089684493967
210.8820512705527760.2358974588944490.117948729447224
220.8349322171176160.3301355657647680.165067782882384
230.8074461636437470.3851076727125070.192553836356253
240.8309573662242740.3380852675514510.169042633775726
250.8609576639333530.2780846721332930.139042336066647
260.8471779774738030.3056440450523940.152822022526197
270.902311943591720.195376112816560.09768805640828
280.8965242349788850.206951530042230.103475765021115
290.8602463551684030.2795072896631950.139753644831597
300.8383278385410570.3233443229178860.161672161458943
310.81640132660590.3671973467881990.183598673394100
320.7634256905224370.4731486189551250.236574309477563
330.7190525053852130.5618949892295750.280947494614787
340.6732832111766980.6534335776466040.326716788823302
350.6541590670499830.6916818659000350.345840932950017
360.6400241177984330.7199517644031340.359975882201567
370.644812050425350.7103758991492990.355187949574650
380.5610338483693940.8779323032612120.438966151630606
390.5234914749172270.9530170501655450.476508525082773
400.7812788602696050.4374422794607890.218721139730395
410.7383628739400040.5232742521199920.261637126059996
420.7258628089027070.5482743821945850.274137191097293
430.7089159179219860.5821681641560270.291084082078014
440.627163731749870.745672536500260.37283626825013
450.5530573665936670.8938852668126650.446942633406333
460.5303814412441630.9392371175116740.469618558755837
470.4215782068929990.8431564137859990.578421793107001
480.3732132246403050.746426449280610.626786775359695
490.3861059850241370.7722119700482730.613894014975863
500.2988353079528020.5976706159056030.701164692047198

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
10 & 0.32327220229585 & 0.6465444045917 & 0.67672779770415 \tabularnewline
11 & 0.380006792593185 & 0.76001358518637 & 0.619993207406815 \tabularnewline
12 & 0.254404327279232 & 0.508808654558463 & 0.745595672720768 \tabularnewline
13 & 0.30661902010617 & 0.61323804021234 & 0.69338097989383 \tabularnewline
14 & 0.629059702566752 & 0.741880594866495 & 0.370940297433248 \tabularnewline
15 & 0.615922165350405 & 0.76815566929919 & 0.384077834649595 \tabularnewline
16 & 0.535209096065173 & 0.929581807869653 & 0.464790903934827 \tabularnewline
17 & 0.593962737103193 & 0.812074525793615 & 0.406037262896807 \tabularnewline
18 & 0.536659292798307 & 0.926681414403386 & 0.463340707201693 \tabularnewline
19 & 0.82753150243192 & 0.344936995136159 & 0.172468497568080 \tabularnewline
20 & 0.913591031550603 & 0.172817936898793 & 0.0864089684493967 \tabularnewline
21 & 0.882051270552776 & 0.235897458894449 & 0.117948729447224 \tabularnewline
22 & 0.834932217117616 & 0.330135565764768 & 0.165067782882384 \tabularnewline
23 & 0.807446163643747 & 0.385107672712507 & 0.192553836356253 \tabularnewline
24 & 0.830957366224274 & 0.338085267551451 & 0.169042633775726 \tabularnewline
25 & 0.860957663933353 & 0.278084672133293 & 0.139042336066647 \tabularnewline
26 & 0.847177977473803 & 0.305644045052394 & 0.152822022526197 \tabularnewline
27 & 0.90231194359172 & 0.19537611281656 & 0.09768805640828 \tabularnewline
28 & 0.896524234978885 & 0.20695153004223 & 0.103475765021115 \tabularnewline
29 & 0.860246355168403 & 0.279507289663195 & 0.139753644831597 \tabularnewline
30 & 0.838327838541057 & 0.323344322917886 & 0.161672161458943 \tabularnewline
31 & 0.8164013266059 & 0.367197346788199 & 0.183598673394100 \tabularnewline
32 & 0.763425690522437 & 0.473148618955125 & 0.236574309477563 \tabularnewline
33 & 0.719052505385213 & 0.561894989229575 & 0.280947494614787 \tabularnewline
34 & 0.673283211176698 & 0.653433577646604 & 0.326716788823302 \tabularnewline
35 & 0.654159067049983 & 0.691681865900035 & 0.345840932950017 \tabularnewline
36 & 0.640024117798433 & 0.719951764403134 & 0.359975882201567 \tabularnewline
37 & 0.64481205042535 & 0.710375899149299 & 0.355187949574650 \tabularnewline
38 & 0.561033848369394 & 0.877932303261212 & 0.438966151630606 \tabularnewline
39 & 0.523491474917227 & 0.953017050165545 & 0.476508525082773 \tabularnewline
40 & 0.781278860269605 & 0.437442279460789 & 0.218721139730395 \tabularnewline
41 & 0.738362873940004 & 0.523274252119992 & 0.261637126059996 \tabularnewline
42 & 0.725862808902707 & 0.548274382194585 & 0.274137191097293 \tabularnewline
43 & 0.708915917921986 & 0.582168164156027 & 0.291084082078014 \tabularnewline
44 & 0.62716373174987 & 0.74567253650026 & 0.37283626825013 \tabularnewline
45 & 0.553057366593667 & 0.893885266812665 & 0.446942633406333 \tabularnewline
46 & 0.530381441244163 & 0.939237117511674 & 0.469618558755837 \tabularnewline
47 & 0.421578206892999 & 0.843156413785999 & 0.578421793107001 \tabularnewline
48 & 0.373213224640305 & 0.74642644928061 & 0.626786775359695 \tabularnewline
49 & 0.386105985024137 & 0.772211970048273 & 0.613894014975863 \tabularnewline
50 & 0.298835307952802 & 0.597670615905603 & 0.701164692047198 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104189&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.32327220229585[/C][C]0.6465444045917[/C][C]0.67672779770415[/C][/ROW]
[ROW][C]11[/C][C]0.380006792593185[/C][C]0.76001358518637[/C][C]0.619993207406815[/C][/ROW]
[ROW][C]12[/C][C]0.254404327279232[/C][C]0.508808654558463[/C][C]0.745595672720768[/C][/ROW]
[ROW][C]13[/C][C]0.30661902010617[/C][C]0.61323804021234[/C][C]0.69338097989383[/C][/ROW]
[ROW][C]14[/C][C]0.629059702566752[/C][C]0.741880594866495[/C][C]0.370940297433248[/C][/ROW]
[ROW][C]15[/C][C]0.615922165350405[/C][C]0.76815566929919[/C][C]0.384077834649595[/C][/ROW]
[ROW][C]16[/C][C]0.535209096065173[/C][C]0.929581807869653[/C][C]0.464790903934827[/C][/ROW]
[ROW][C]17[/C][C]0.593962737103193[/C][C]0.812074525793615[/C][C]0.406037262896807[/C][/ROW]
[ROW][C]18[/C][C]0.536659292798307[/C][C]0.926681414403386[/C][C]0.463340707201693[/C][/ROW]
[ROW][C]19[/C][C]0.82753150243192[/C][C]0.344936995136159[/C][C]0.172468497568080[/C][/ROW]
[ROW][C]20[/C][C]0.913591031550603[/C][C]0.172817936898793[/C][C]0.0864089684493967[/C][/ROW]
[ROW][C]21[/C][C]0.882051270552776[/C][C]0.235897458894449[/C][C]0.117948729447224[/C][/ROW]
[ROW][C]22[/C][C]0.834932217117616[/C][C]0.330135565764768[/C][C]0.165067782882384[/C][/ROW]
[ROW][C]23[/C][C]0.807446163643747[/C][C]0.385107672712507[/C][C]0.192553836356253[/C][/ROW]
[ROW][C]24[/C][C]0.830957366224274[/C][C]0.338085267551451[/C][C]0.169042633775726[/C][/ROW]
[ROW][C]25[/C][C]0.860957663933353[/C][C]0.278084672133293[/C][C]0.139042336066647[/C][/ROW]
[ROW][C]26[/C][C]0.847177977473803[/C][C]0.305644045052394[/C][C]0.152822022526197[/C][/ROW]
[ROW][C]27[/C][C]0.90231194359172[/C][C]0.19537611281656[/C][C]0.09768805640828[/C][/ROW]
[ROW][C]28[/C][C]0.896524234978885[/C][C]0.20695153004223[/C][C]0.103475765021115[/C][/ROW]
[ROW][C]29[/C][C]0.860246355168403[/C][C]0.279507289663195[/C][C]0.139753644831597[/C][/ROW]
[ROW][C]30[/C][C]0.838327838541057[/C][C]0.323344322917886[/C][C]0.161672161458943[/C][/ROW]
[ROW][C]31[/C][C]0.8164013266059[/C][C]0.367197346788199[/C][C]0.183598673394100[/C][/ROW]
[ROW][C]32[/C][C]0.763425690522437[/C][C]0.473148618955125[/C][C]0.236574309477563[/C][/ROW]
[ROW][C]33[/C][C]0.719052505385213[/C][C]0.561894989229575[/C][C]0.280947494614787[/C][/ROW]
[ROW][C]34[/C][C]0.673283211176698[/C][C]0.653433577646604[/C][C]0.326716788823302[/C][/ROW]
[ROW][C]35[/C][C]0.654159067049983[/C][C]0.691681865900035[/C][C]0.345840932950017[/C][/ROW]
[ROW][C]36[/C][C]0.640024117798433[/C][C]0.719951764403134[/C][C]0.359975882201567[/C][/ROW]
[ROW][C]37[/C][C]0.64481205042535[/C][C]0.710375899149299[/C][C]0.355187949574650[/C][/ROW]
[ROW][C]38[/C][C]0.561033848369394[/C][C]0.877932303261212[/C][C]0.438966151630606[/C][/ROW]
[ROW][C]39[/C][C]0.523491474917227[/C][C]0.953017050165545[/C][C]0.476508525082773[/C][/ROW]
[ROW][C]40[/C][C]0.781278860269605[/C][C]0.437442279460789[/C][C]0.218721139730395[/C][/ROW]
[ROW][C]41[/C][C]0.738362873940004[/C][C]0.523274252119992[/C][C]0.261637126059996[/C][/ROW]
[ROW][C]42[/C][C]0.725862808902707[/C][C]0.548274382194585[/C][C]0.274137191097293[/C][/ROW]
[ROW][C]43[/C][C]0.708915917921986[/C][C]0.582168164156027[/C][C]0.291084082078014[/C][/ROW]
[ROW][C]44[/C][C]0.62716373174987[/C][C]0.74567253650026[/C][C]0.37283626825013[/C][/ROW]
[ROW][C]45[/C][C]0.553057366593667[/C][C]0.893885266812665[/C][C]0.446942633406333[/C][/ROW]
[ROW][C]46[/C][C]0.530381441244163[/C][C]0.939237117511674[/C][C]0.469618558755837[/C][/ROW]
[ROW][C]47[/C][C]0.421578206892999[/C][C]0.843156413785999[/C][C]0.578421793107001[/C][/ROW]
[ROW][C]48[/C][C]0.373213224640305[/C][C]0.74642644928061[/C][C]0.626786775359695[/C][/ROW]
[ROW][C]49[/C][C]0.386105985024137[/C][C]0.772211970048273[/C][C]0.613894014975863[/C][/ROW]
[ROW][C]50[/C][C]0.298835307952802[/C][C]0.597670615905603[/C][C]0.701164692047198[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104189&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104189&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.323272202295850.64654440459170.67672779770415
110.3800067925931850.760013585186370.619993207406815
120.2544043272792320.5088086545584630.745595672720768
130.306619020106170.613238040212340.69338097989383
140.6290597025667520.7418805948664950.370940297433248
150.6159221653504050.768155669299190.384077834649595
160.5352090960651730.9295818078696530.464790903934827
170.5939627371031930.8120745257936150.406037262896807
180.5366592927983070.9266814144033860.463340707201693
190.827531502431920.3449369951361590.172468497568080
200.9135910315506030.1728179368987930.0864089684493967
210.8820512705527760.2358974588944490.117948729447224
220.8349322171176160.3301355657647680.165067782882384
230.8074461636437470.3851076727125070.192553836356253
240.8309573662242740.3380852675514510.169042633775726
250.8609576639333530.2780846721332930.139042336066647
260.8471779774738030.3056440450523940.152822022526197
270.902311943591720.195376112816560.09768805640828
280.8965242349788850.206951530042230.103475765021115
290.8602463551684030.2795072896631950.139753644831597
300.8383278385410570.3233443229178860.161672161458943
310.81640132660590.3671973467881990.183598673394100
320.7634256905224370.4731486189551250.236574309477563
330.7190525053852130.5618949892295750.280947494614787
340.6732832111766980.6534335776466040.326716788823302
350.6541590670499830.6916818659000350.345840932950017
360.6400241177984330.7199517644031340.359975882201567
370.644812050425350.7103758991492990.355187949574650
380.5610338483693940.8779323032612120.438966151630606
390.5234914749172270.9530170501655450.476508525082773
400.7812788602696050.4374422794607890.218721139730395
410.7383628739400040.5232742521199920.261637126059996
420.7258628089027070.5482743821945850.274137191097293
430.7089159179219860.5821681641560270.291084082078014
440.627163731749870.745672536500260.37283626825013
450.5530573665936670.8938852668126650.446942633406333
460.5303814412441630.9392371175116740.469618558755837
470.4215782068929990.8431564137859990.578421793107001
480.3732132246403050.746426449280610.626786775359695
490.3861059850241370.7722119700482730.613894014975863
500.2988353079528020.5976706159056030.701164692047198







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=104189&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=104189&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104189&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):
Parameters (R input):
par1 = 4 ; par2 = Do not include Seasonal Dummies ; par3 = Linear Trend ;
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT
H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation
Forecast', 1, TRUE)
a<-table.element(a, 'Residuals
Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,gqarr[mypoint-kp3+1,1])
a<-table.element(a,gqarr[mypoint-kp3+1,2])
a<-table.element(a,gqarr[mypoint-kp3+1,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,numsignificant1)
a<-table.element(a,numsignificant1/numgqtests)
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,numsignificant5)
a<-table.element(a,numsignificant5/numgqtests)
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,numsignificant10)
a<-table.element(a,numsignificant10/numgqtests)
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}