Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationMon, 19 Nov 2012 14:27:57 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2012/Nov/19/t1353353346r1ps5cqnx83ieb4.htm/, Retrieved Sun, 28 Apr 2024 16:14:08 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=190751, Retrieved Sun, 28 Apr 2024 16:14:08 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact112
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Competence to learn] [2010-11-17 07:43:53] [b98453cac15ba1066b407e146608df68]
- R PD  [Multiple Regression] [WS7 Model 1] [2012-11-18 13:29:12] [dc1c1ef052cd9b8b4f9db3f2b24d140d]
-   PD    [Multiple Regression] [WS7 Model 1] [2012-11-19 18:29:04] [74be16979710d4c4e7c6647856088456]
-   PD      [Multiple Regression] [WS7 Model 1] [2012-11-19 19:17:57] [74be16979710d4c4e7c6647856088456]
-   PD          [Multiple Regression] [WS7 Model 1] [2012-11-19 19:27:57] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
132838	312991	5599	47645	15545	575093
129842	301647	5234	45970	15001	557560
129694	305353	5279	48069	14961	564478
130080	313665	5391	53080	15245	580523
131496	322402	5280	57896	15656	596594
131556	318280	5173	54344	15577	586570
128925	292852	4724	40482	14630	536214
127836	287481	4554	37110	14336	523597
129164	295210	4713	39263	14834	536535
129531	295650	4811	38889	14921	536322
128548	292919	4668	39593	14707	532638
127330	290649	4516	39305	14516	528222
123815	281687	4203	40560	14055	516141
124393	270336	4016	38306	13493	501866
123707	271420	3993	40911	13528	506174
123736	278183	3971	44700	13719	517945
124507	284913	3838	50328	14170	533590
125005	283487	3891	47499	14009	528379
121383	256677	3306	34446	13159	477580
121200	252945	3235	31434	12927	469357
125249	264963	3404	34066	13510	490243
125253	265988	3400	35044	13520	492622
127977	274857	3447	37040	14089	507561
128984	279650	3431	38706	14251	516922
126770	276715	3321	40430	13980	514258
126448	273887	3189	39613	13715	509846
127845	282308	3256	44236	14112	527070
128818	289847	3290	47859	14289	541657
132127	301101	3475	53711	15020	564591
132338	297008	3454	50352	14860	555362
126645	268909	2806	36142	13800	498662
130625	278383	2777	34819	14431	511038
133506	286226	2865	37353	14944	525919
135277	288936	2924	37550	15083	531673
137664	298953	3011	40462	15707	548854
139821	305837	3099	41753	15954	560576
138440	301979	2988	43437	15631	557274
139879	306281	3032	44784	15813	565742
142256	317057	3131	49537	16356	587625
146322	334780	3343	54974	17086	619916
146389	335895	3275	58535	17302	625809
147841	333874	3243	54762	17247	619567
146449	311028	2897	40738	16398	572942
147960	311767	2818	38052	16590	572775
148487	312575	2836	38436	16673	574205
149802	315040	2721	36993	16962	579799
151387	320325	2742	39056	17278	590072
151936	321178	2707	39996	17224	593408




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time7 seconds
R Server'Gertrude Mary Cox' @ cox.wessa.net

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 7 seconds \tabularnewline
R Server & 'Gertrude Mary Cox' @ cox.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=190751&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]7 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gertrude Mary Cox' @ cox.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=190751&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=190751&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 time7 seconds
R Server'Gertrude Mary Cox' @ cox.wessa.net







Multiple Linear Regression - Estimated Regression Equation
Werkloosheid_totaal[t] = -22725.3195881488 + 1.72179344658075`Basisonderwijs(lager_1ste_graad_secundair)`[t] + 0.996983231492192`Secundair_onderwijs(2de,3de,4de_graad)`[t] + 3.39442676216497Duaal_onderwijs[t] + 1.50044345827079`Hoger_onderwijs(Bachelor)`[t] -2.15934016795725Leercontract[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Werkloosheid_totaal[t] =  -22725.3195881488 +  1.72179344658075`Basisonderwijs(lager_1ste_graad_secundair)`[t] +  0.996983231492192`Secundair_onderwijs(2de,3de,4de_graad)`[t] +  3.39442676216497Duaal_onderwijs[t] +  1.50044345827079`Hoger_onderwijs(Bachelor)`[t] -2.15934016795725Leercontract[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=190751&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Werkloosheid_totaal[t] =  -22725.3195881488 +  1.72179344658075`Basisonderwijs(lager_1ste_graad_secundair)`[t] +  0.996983231492192`Secundair_onderwijs(2de,3de,4de_graad)`[t] +  3.39442676216497Duaal_onderwijs[t] +  1.50044345827079`Hoger_onderwijs(Bachelor)`[t] -2.15934016795725Leercontract[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=190751&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=190751&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_totaal[t] = -22725.3195881488 + 1.72179344658075`Basisonderwijs(lager_1ste_graad_secundair)`[t] + 0.996983231492192`Secundair_onderwijs(2de,3de,4de_graad)`[t] + 3.39442676216497Duaal_onderwijs[t] + 1.50044345827079`Hoger_onderwijs(Bachelor)`[t] -2.15934016795725Leercontract[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-22725.31958814888210.239365-2.76790.0083570.004178
`Basisonderwijs(lager_1ste_graad_secundair)`1.721793446580750.1797019.581400
`Secundair_onderwijs(2de,3de,4de_graad)`0.9969832314921920.1226148.131100
Duaal_onderwijs3.394426762164970.7340164.62453.6e-051.8e-05
`Hoger_onderwijs(Bachelor)`1.500443458270790.09847515.236800
Leercontract-2.159340167957252.064877-1.04570.3016590.150829

\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) & -22725.3195881488 & 8210.239365 & -2.7679 & 0.008357 & 0.004178 \tabularnewline
`Basisonderwijs(lager_1ste_graad_secundair)` & 1.72179344658075 & 0.179701 & 9.5814 & 0 & 0 \tabularnewline
`Secundair_onderwijs(2de,3de,4de_graad)` & 0.996983231492192 & 0.122614 & 8.1311 & 0 & 0 \tabularnewline
Duaal_onderwijs & 3.39442676216497 & 0.734016 & 4.6245 & 3.6e-05 & 1.8e-05 \tabularnewline
`Hoger_onderwijs(Bachelor)` & 1.50044345827079 & 0.098475 & 15.2368 & 0 & 0 \tabularnewline
Leercontract & -2.15934016795725 & 2.064877 & -1.0457 & 0.301659 & 0.150829 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=190751&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]-22725.3195881488[/C][C]8210.239365[/C][C]-2.7679[/C][C]0.008357[/C][C]0.004178[/C][/ROW]
[ROW][C]`Basisonderwijs(lager_1ste_graad_secundair)`[/C][C]1.72179344658075[/C][C]0.179701[/C][C]9.5814[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]`Secundair_onderwijs(2de,3de,4de_graad)`[/C][C]0.996983231492192[/C][C]0.122614[/C][C]8.1311[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Duaal_onderwijs[/C][C]3.39442676216497[/C][C]0.734016[/C][C]4.6245[/C][C]3.6e-05[/C][C]1.8e-05[/C][/ROW]
[ROW][C]`Hoger_onderwijs(Bachelor)`[/C][C]1.50044345827079[/C][C]0.098475[/C][C]15.2368[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Leercontract[/C][C]-2.15934016795725[/C][C]2.064877[/C][C]-1.0457[/C][C]0.301659[/C][C]0.150829[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=190751&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=190751&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)-22725.31958814888210.239365-2.76790.0083570.004178
`Basisonderwijs(lager_1ste_graad_secundair)`1.721793446580750.1797019.581400
`Secundair_onderwijs(2de,3de,4de_graad)`0.9969832314921920.1226148.131100
Duaal_onderwijs3.394426762164970.7340164.62453.6e-051.8e-05
`Hoger_onderwijs(Bachelor)`1.500443458270790.09847515.236800
Leercontract-2.159340167957252.064877-1.04570.3016590.150829







Multiple Linear Regression - Regression Statistics
Multiple R0.999567022967025
R-squared0.99913423340316
Adjusted R-squared0.999031165951156
F-TEST (value)9693.98402666843
F-TEST (DF numerator)5
F-TEST (DF denominator)42
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1174.7257478348
Sum Squared Residuals57959184.4702931

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.999567022967025 \tabularnewline
R-squared & 0.99913423340316 \tabularnewline
Adjusted R-squared & 0.999031165951156 \tabularnewline
F-TEST (value) & 9693.98402666843 \tabularnewline
F-TEST (DF numerator) & 5 \tabularnewline
F-TEST (DF denominator) & 42 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1174.7257478348 \tabularnewline
Sum Squared Residuals & 57959184.4702931 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=190751&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.999567022967025[/C][/ROW]
[ROW][C]R-squared[/C][C]0.99913423340316[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.999031165951156[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]9693.98402666843[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]5[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]42[/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]1174.7257478348[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]57959184.4702931[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=190751&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=190751&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.999567022967025
R-squared0.99913423340316
Adjusted R-squared0.999031165951156
F-TEST (value)9693.98402666843
F-TEST (DF numerator)5
F-TEST (DF denominator)42
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1174.7257478348
Sum Squared Residuals57959184.4702931







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1575093574968.137976495124.862023505025
2557560555922.3395230671637.6604769332
3564478562750.8875788091727.11242119099
4580523578988.069828411534.93017159017
5596594596098.637357717495.362642283161
6586570586570.18913024-0.189130239995937
7536214536410.511266196-196.511266196339
8523597524178.979385048-581.979385047626
9536535536866.021695509-331.021695508542
10536322537520.217886947-1198.21788694685
11532638534137.941687329-1499.9416873287
12528222529241.998722155-1019.99872215484
13516141516070.98781779170.0121822090153
14501866502946.219584172-1080.21958417155
15506174506600.805590142-426.805590141804
16517945518591.404097215-646.404097214893
17533590533647.778600502-57.7786005024482
18528379529366.33749078-987.337490779591
19477580476665.292217047914.707782953005
20469357468370.089518935986.91048106539
21490243490587.305647269-344.30564726874
22492622493048.363226795-426.363226795161
23507561508506.531500348-945.531500347946
24516922517114.532995672-192.532995672256
25514258513174.895284251083.10471574999
26509846508699.3077222871146.69227771325
27527070525806.9676135281263.03238647232
28541657540167.8431687711489.15683122936
29564591564915.393376744-324.393376743889
30555362556432.261316011-1070.261316011
31498662497383.8698970521278.13010294844
32511038510235.958232224802.041767776094
33525919526008.876408583-89.8764085829295
34531673531955.707416722-282.707416722295
35548854549369.587617555-515.587617555397
36560576561649.153685635-1073.15368563499
37557274558272.427916188-998.427916187989
38565742566816.562752955-1074.56275295489
39587625587947.891373452-322.891373451795
40619916619919.448572574-3.44857257370651
41625809625792.28569540516.7143045952969
42619567620626.395553787-1059.39555378691
43572942575069.169253573-2127.16925357296
44572775573694.625604055-919.625604055033
45574205575865.617937203-1660.61793720328
46579799577407.7916886122391.20831138815
47590072587890.2370032222181.76299677781
48593408591094.1445850262313.85541497368

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 575093 & 574968.137976495 & 124.862023505025 \tabularnewline
2 & 557560 & 555922.339523067 & 1637.6604769332 \tabularnewline
3 & 564478 & 562750.887578809 & 1727.11242119099 \tabularnewline
4 & 580523 & 578988.06982841 & 1534.93017159017 \tabularnewline
5 & 596594 & 596098.637357717 & 495.362642283161 \tabularnewline
6 & 586570 & 586570.18913024 & -0.189130239995937 \tabularnewline
7 & 536214 & 536410.511266196 & -196.511266196339 \tabularnewline
8 & 523597 & 524178.979385048 & -581.979385047626 \tabularnewline
9 & 536535 & 536866.021695509 & -331.021695508542 \tabularnewline
10 & 536322 & 537520.217886947 & -1198.21788694685 \tabularnewline
11 & 532638 & 534137.941687329 & -1499.9416873287 \tabularnewline
12 & 528222 & 529241.998722155 & -1019.99872215484 \tabularnewline
13 & 516141 & 516070.987817791 & 70.0121822090153 \tabularnewline
14 & 501866 & 502946.219584172 & -1080.21958417155 \tabularnewline
15 & 506174 & 506600.805590142 & -426.805590141804 \tabularnewline
16 & 517945 & 518591.404097215 & -646.404097214893 \tabularnewline
17 & 533590 & 533647.778600502 & -57.7786005024482 \tabularnewline
18 & 528379 & 529366.33749078 & -987.337490779591 \tabularnewline
19 & 477580 & 476665.292217047 & 914.707782953005 \tabularnewline
20 & 469357 & 468370.089518935 & 986.91048106539 \tabularnewline
21 & 490243 & 490587.305647269 & -344.30564726874 \tabularnewline
22 & 492622 & 493048.363226795 & -426.363226795161 \tabularnewline
23 & 507561 & 508506.531500348 & -945.531500347946 \tabularnewline
24 & 516922 & 517114.532995672 & -192.532995672256 \tabularnewline
25 & 514258 & 513174.89528425 & 1083.10471574999 \tabularnewline
26 & 509846 & 508699.307722287 & 1146.69227771325 \tabularnewline
27 & 527070 & 525806.967613528 & 1263.03238647232 \tabularnewline
28 & 541657 & 540167.843168771 & 1489.15683122936 \tabularnewline
29 & 564591 & 564915.393376744 & -324.393376743889 \tabularnewline
30 & 555362 & 556432.261316011 & -1070.261316011 \tabularnewline
31 & 498662 & 497383.869897052 & 1278.13010294844 \tabularnewline
32 & 511038 & 510235.958232224 & 802.041767776094 \tabularnewline
33 & 525919 & 526008.876408583 & -89.8764085829295 \tabularnewline
34 & 531673 & 531955.707416722 & -282.707416722295 \tabularnewline
35 & 548854 & 549369.587617555 & -515.587617555397 \tabularnewline
36 & 560576 & 561649.153685635 & -1073.15368563499 \tabularnewline
37 & 557274 & 558272.427916188 & -998.427916187989 \tabularnewline
38 & 565742 & 566816.562752955 & -1074.56275295489 \tabularnewline
39 & 587625 & 587947.891373452 & -322.891373451795 \tabularnewline
40 & 619916 & 619919.448572574 & -3.44857257370651 \tabularnewline
41 & 625809 & 625792.285695405 & 16.7143045952969 \tabularnewline
42 & 619567 & 620626.395553787 & -1059.39555378691 \tabularnewline
43 & 572942 & 575069.169253573 & -2127.16925357296 \tabularnewline
44 & 572775 & 573694.625604055 & -919.625604055033 \tabularnewline
45 & 574205 & 575865.617937203 & -1660.61793720328 \tabularnewline
46 & 579799 & 577407.791688612 & 2391.20831138815 \tabularnewline
47 & 590072 & 587890.237003222 & 2181.76299677781 \tabularnewline
48 & 593408 & 591094.144585026 & 2313.85541497368 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=190751&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]575093[/C][C]574968.137976495[/C][C]124.862023505025[/C][/ROW]
[ROW][C]2[/C][C]557560[/C][C]555922.339523067[/C][C]1637.6604769332[/C][/ROW]
[ROW][C]3[/C][C]564478[/C][C]562750.887578809[/C][C]1727.11242119099[/C][/ROW]
[ROW][C]4[/C][C]580523[/C][C]578988.06982841[/C][C]1534.93017159017[/C][/ROW]
[ROW][C]5[/C][C]596594[/C][C]596098.637357717[/C][C]495.362642283161[/C][/ROW]
[ROW][C]6[/C][C]586570[/C][C]586570.18913024[/C][C]-0.189130239995937[/C][/ROW]
[ROW][C]7[/C][C]536214[/C][C]536410.511266196[/C][C]-196.511266196339[/C][/ROW]
[ROW][C]8[/C][C]523597[/C][C]524178.979385048[/C][C]-581.979385047626[/C][/ROW]
[ROW][C]9[/C][C]536535[/C][C]536866.021695509[/C][C]-331.021695508542[/C][/ROW]
[ROW][C]10[/C][C]536322[/C][C]537520.217886947[/C][C]-1198.21788694685[/C][/ROW]
[ROW][C]11[/C][C]532638[/C][C]534137.941687329[/C][C]-1499.9416873287[/C][/ROW]
[ROW][C]12[/C][C]528222[/C][C]529241.998722155[/C][C]-1019.99872215484[/C][/ROW]
[ROW][C]13[/C][C]516141[/C][C]516070.987817791[/C][C]70.0121822090153[/C][/ROW]
[ROW][C]14[/C][C]501866[/C][C]502946.219584172[/C][C]-1080.21958417155[/C][/ROW]
[ROW][C]15[/C][C]506174[/C][C]506600.805590142[/C][C]-426.805590141804[/C][/ROW]
[ROW][C]16[/C][C]517945[/C][C]518591.404097215[/C][C]-646.404097214893[/C][/ROW]
[ROW][C]17[/C][C]533590[/C][C]533647.778600502[/C][C]-57.7786005024482[/C][/ROW]
[ROW][C]18[/C][C]528379[/C][C]529366.33749078[/C][C]-987.337490779591[/C][/ROW]
[ROW][C]19[/C][C]477580[/C][C]476665.292217047[/C][C]914.707782953005[/C][/ROW]
[ROW][C]20[/C][C]469357[/C][C]468370.089518935[/C][C]986.91048106539[/C][/ROW]
[ROW][C]21[/C][C]490243[/C][C]490587.305647269[/C][C]-344.30564726874[/C][/ROW]
[ROW][C]22[/C][C]492622[/C][C]493048.363226795[/C][C]-426.363226795161[/C][/ROW]
[ROW][C]23[/C][C]507561[/C][C]508506.531500348[/C][C]-945.531500347946[/C][/ROW]
[ROW][C]24[/C][C]516922[/C][C]517114.532995672[/C][C]-192.532995672256[/C][/ROW]
[ROW][C]25[/C][C]514258[/C][C]513174.89528425[/C][C]1083.10471574999[/C][/ROW]
[ROW][C]26[/C][C]509846[/C][C]508699.307722287[/C][C]1146.69227771325[/C][/ROW]
[ROW][C]27[/C][C]527070[/C][C]525806.967613528[/C][C]1263.03238647232[/C][/ROW]
[ROW][C]28[/C][C]541657[/C][C]540167.843168771[/C][C]1489.15683122936[/C][/ROW]
[ROW][C]29[/C][C]564591[/C][C]564915.393376744[/C][C]-324.393376743889[/C][/ROW]
[ROW][C]30[/C][C]555362[/C][C]556432.261316011[/C][C]-1070.261316011[/C][/ROW]
[ROW][C]31[/C][C]498662[/C][C]497383.869897052[/C][C]1278.13010294844[/C][/ROW]
[ROW][C]32[/C][C]511038[/C][C]510235.958232224[/C][C]802.041767776094[/C][/ROW]
[ROW][C]33[/C][C]525919[/C][C]526008.876408583[/C][C]-89.8764085829295[/C][/ROW]
[ROW][C]34[/C][C]531673[/C][C]531955.707416722[/C][C]-282.707416722295[/C][/ROW]
[ROW][C]35[/C][C]548854[/C][C]549369.587617555[/C][C]-515.587617555397[/C][/ROW]
[ROW][C]36[/C][C]560576[/C][C]561649.153685635[/C][C]-1073.15368563499[/C][/ROW]
[ROW][C]37[/C][C]557274[/C][C]558272.427916188[/C][C]-998.427916187989[/C][/ROW]
[ROW][C]38[/C][C]565742[/C][C]566816.562752955[/C][C]-1074.56275295489[/C][/ROW]
[ROW][C]39[/C][C]587625[/C][C]587947.891373452[/C][C]-322.891373451795[/C][/ROW]
[ROW][C]40[/C][C]619916[/C][C]619919.448572574[/C][C]-3.44857257370651[/C][/ROW]
[ROW][C]41[/C][C]625809[/C][C]625792.285695405[/C][C]16.7143045952969[/C][/ROW]
[ROW][C]42[/C][C]619567[/C][C]620626.395553787[/C][C]-1059.39555378691[/C][/ROW]
[ROW][C]43[/C][C]572942[/C][C]575069.169253573[/C][C]-2127.16925357296[/C][/ROW]
[ROW][C]44[/C][C]572775[/C][C]573694.625604055[/C][C]-919.625604055033[/C][/ROW]
[ROW][C]45[/C][C]574205[/C][C]575865.617937203[/C][C]-1660.61793720328[/C][/ROW]
[ROW][C]46[/C][C]579799[/C][C]577407.791688612[/C][C]2391.20831138815[/C][/ROW]
[ROW][C]47[/C][C]590072[/C][C]587890.237003222[/C][C]2181.76299677781[/C][/ROW]
[ROW][C]48[/C][C]593408[/C][C]591094.144585026[/C][C]2313.85541497368[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=190751&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=190751&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
1575093574968.137976495124.862023505025
2557560555922.3395230671637.6604769332
3564478562750.8875788091727.11242119099
4580523578988.069828411534.93017159017
5596594596098.637357717495.362642283161
6586570586570.18913024-0.189130239995937
7536214536410.511266196-196.511266196339
8523597524178.979385048-581.979385047626
9536535536866.021695509-331.021695508542
10536322537520.217886947-1198.21788694685
11532638534137.941687329-1499.9416873287
12528222529241.998722155-1019.99872215484
13516141516070.98781779170.0121822090153
14501866502946.219584172-1080.21958417155
15506174506600.805590142-426.805590141804
16517945518591.404097215-646.404097214893
17533590533647.778600502-57.7786005024482
18528379529366.33749078-987.337490779591
19477580476665.292217047914.707782953005
20469357468370.089518935986.91048106539
21490243490587.305647269-344.30564726874
22492622493048.363226795-426.363226795161
23507561508506.531500348-945.531500347946
24516922517114.532995672-192.532995672256
25514258513174.895284251083.10471574999
26509846508699.3077222871146.69227771325
27527070525806.9676135281263.03238647232
28541657540167.8431687711489.15683122936
29564591564915.393376744-324.393376743889
30555362556432.261316011-1070.261316011
31498662497383.8698970521278.13010294844
32511038510235.958232224802.041767776094
33525919526008.876408583-89.8764085829295
34531673531955.707416722-282.707416722295
35548854549369.587617555-515.587617555397
36560576561649.153685635-1073.15368563499
37557274558272.427916188-998.427916187989
38565742566816.562752955-1074.56275295489
39587625587947.891373452-322.891373451795
40619916619919.448572574-3.44857257370651
41625809625792.28569540516.7143045952969
42619567620626.395553787-1059.39555378691
43572942575069.169253573-2127.16925357296
44572775573694.625604055-919.625604055033
45574205575865.617937203-1660.61793720328
46579799577407.7916886122391.20831138815
47590072587890.2370032222181.76299677781
48593408591094.1445850262313.85541497368







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
90.01689111244532660.03378222489065320.983108887554673
100.03184035138534130.06368070277068250.968159648614659
110.07515841522607330.1503168304521470.924841584773927
120.0387228570853610.0774457141707220.961277142914639
130.01904231578739910.03808463157479830.980957684212601
140.01888213924727410.03776427849454830.981117860752726
150.008356226945244340.01671245389048870.991643773054756
160.003449856434190870.006899712868381750.996550143565809
170.006033268813187380.01206653762637480.993966731186813
180.002532931248897610.005065862497795220.997467068751102
190.02840761983366140.05681523966732280.971592380166339
200.08847266275711010.176945325514220.91152733724289
210.09196600144736870.1839320028947370.908033998552631
220.06501789208208040.1300357841641610.93498210791792
230.03971632983246640.07943265966493290.960283670167534
240.03333534350625210.06667068701250420.966664656493748
250.06916506548513610.1383301309702720.930834934514864
260.08823638436509950.1764727687301990.9117636156349
270.1079710549243350.2159421098486710.892028945075665
280.1639586666010630.3279173332021260.836041333398937
290.1921718179440950.384343635888190.807828182055905
300.8241957883253090.3516084233493810.17580421167469
310.9879852378496610.02402952430067860.0120147621503393
320.9869028393900210.02619432121995750.0130971606099788
330.9876622929187820.02467541416243590.0123377070812179
340.9995971956551950.0008056086896095820.000402804344804791
350.998750678157880.002498643684240340.00124932184212017
360.9957248586358510.008550282728297280.00427514136414864
370.9952869493436170.00942610131276590.00471305065638295
380.99361454814350.01277090371299980.00638545185649992
390.9712597414536120.05748051709277570.0287402585463878

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
9 & 0.0168911124453266 & 0.0337822248906532 & 0.983108887554673 \tabularnewline
10 & 0.0318403513853413 & 0.0636807027706825 & 0.968159648614659 \tabularnewline
11 & 0.0751584152260733 & 0.150316830452147 & 0.924841584773927 \tabularnewline
12 & 0.038722857085361 & 0.077445714170722 & 0.961277142914639 \tabularnewline
13 & 0.0190423157873991 & 0.0380846315747983 & 0.980957684212601 \tabularnewline
14 & 0.0188821392472741 & 0.0377642784945483 & 0.981117860752726 \tabularnewline
15 & 0.00835622694524434 & 0.0167124538904887 & 0.991643773054756 \tabularnewline
16 & 0.00344985643419087 & 0.00689971286838175 & 0.996550143565809 \tabularnewline
17 & 0.00603326881318738 & 0.0120665376263748 & 0.993966731186813 \tabularnewline
18 & 0.00253293124889761 & 0.00506586249779522 & 0.997467068751102 \tabularnewline
19 & 0.0284076198336614 & 0.0568152396673228 & 0.971592380166339 \tabularnewline
20 & 0.0884726627571101 & 0.17694532551422 & 0.91152733724289 \tabularnewline
21 & 0.0919660014473687 & 0.183932002894737 & 0.908033998552631 \tabularnewline
22 & 0.0650178920820804 & 0.130035784164161 & 0.93498210791792 \tabularnewline
23 & 0.0397163298324664 & 0.0794326596649329 & 0.960283670167534 \tabularnewline
24 & 0.0333353435062521 & 0.0666706870125042 & 0.966664656493748 \tabularnewline
25 & 0.0691650654851361 & 0.138330130970272 & 0.930834934514864 \tabularnewline
26 & 0.0882363843650995 & 0.176472768730199 & 0.9117636156349 \tabularnewline
27 & 0.107971054924335 & 0.215942109848671 & 0.892028945075665 \tabularnewline
28 & 0.163958666601063 & 0.327917333202126 & 0.836041333398937 \tabularnewline
29 & 0.192171817944095 & 0.38434363588819 & 0.807828182055905 \tabularnewline
30 & 0.824195788325309 & 0.351608423349381 & 0.17580421167469 \tabularnewline
31 & 0.987985237849661 & 0.0240295243006786 & 0.0120147621503393 \tabularnewline
32 & 0.986902839390021 & 0.0261943212199575 & 0.0130971606099788 \tabularnewline
33 & 0.987662292918782 & 0.0246754141624359 & 0.0123377070812179 \tabularnewline
34 & 0.999597195655195 & 0.000805608689609582 & 0.000402804344804791 \tabularnewline
35 & 0.99875067815788 & 0.00249864368424034 & 0.00124932184212017 \tabularnewline
36 & 0.995724858635851 & 0.00855028272829728 & 0.00427514136414864 \tabularnewline
37 & 0.995286949343617 & 0.0094261013127659 & 0.00471305065638295 \tabularnewline
38 & 0.9936145481435 & 0.0127709037129998 & 0.00638545185649992 \tabularnewline
39 & 0.971259741453612 & 0.0574805170927757 & 0.0287402585463878 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=190751&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.0168911124453266[/C][C]0.0337822248906532[/C][C]0.983108887554673[/C][/ROW]
[ROW][C]10[/C][C]0.0318403513853413[/C][C]0.0636807027706825[/C][C]0.968159648614659[/C][/ROW]
[ROW][C]11[/C][C]0.0751584152260733[/C][C]0.150316830452147[/C][C]0.924841584773927[/C][/ROW]
[ROW][C]12[/C][C]0.038722857085361[/C][C]0.077445714170722[/C][C]0.961277142914639[/C][/ROW]
[ROW][C]13[/C][C]0.0190423157873991[/C][C]0.0380846315747983[/C][C]0.980957684212601[/C][/ROW]
[ROW][C]14[/C][C]0.0188821392472741[/C][C]0.0377642784945483[/C][C]0.981117860752726[/C][/ROW]
[ROW][C]15[/C][C]0.00835622694524434[/C][C]0.0167124538904887[/C][C]0.991643773054756[/C][/ROW]
[ROW][C]16[/C][C]0.00344985643419087[/C][C]0.00689971286838175[/C][C]0.996550143565809[/C][/ROW]
[ROW][C]17[/C][C]0.00603326881318738[/C][C]0.0120665376263748[/C][C]0.993966731186813[/C][/ROW]
[ROW][C]18[/C][C]0.00253293124889761[/C][C]0.00506586249779522[/C][C]0.997467068751102[/C][/ROW]
[ROW][C]19[/C][C]0.0284076198336614[/C][C]0.0568152396673228[/C][C]0.971592380166339[/C][/ROW]
[ROW][C]20[/C][C]0.0884726627571101[/C][C]0.17694532551422[/C][C]0.91152733724289[/C][/ROW]
[ROW][C]21[/C][C]0.0919660014473687[/C][C]0.183932002894737[/C][C]0.908033998552631[/C][/ROW]
[ROW][C]22[/C][C]0.0650178920820804[/C][C]0.130035784164161[/C][C]0.93498210791792[/C][/ROW]
[ROW][C]23[/C][C]0.0397163298324664[/C][C]0.0794326596649329[/C][C]0.960283670167534[/C][/ROW]
[ROW][C]24[/C][C]0.0333353435062521[/C][C]0.0666706870125042[/C][C]0.966664656493748[/C][/ROW]
[ROW][C]25[/C][C]0.0691650654851361[/C][C]0.138330130970272[/C][C]0.930834934514864[/C][/ROW]
[ROW][C]26[/C][C]0.0882363843650995[/C][C]0.176472768730199[/C][C]0.9117636156349[/C][/ROW]
[ROW][C]27[/C][C]0.107971054924335[/C][C]0.215942109848671[/C][C]0.892028945075665[/C][/ROW]
[ROW][C]28[/C][C]0.163958666601063[/C][C]0.327917333202126[/C][C]0.836041333398937[/C][/ROW]
[ROW][C]29[/C][C]0.192171817944095[/C][C]0.38434363588819[/C][C]0.807828182055905[/C][/ROW]
[ROW][C]30[/C][C]0.824195788325309[/C][C]0.351608423349381[/C][C]0.17580421167469[/C][/ROW]
[ROW][C]31[/C][C]0.987985237849661[/C][C]0.0240295243006786[/C][C]0.0120147621503393[/C][/ROW]
[ROW][C]32[/C][C]0.986902839390021[/C][C]0.0261943212199575[/C][C]0.0130971606099788[/C][/ROW]
[ROW][C]33[/C][C]0.987662292918782[/C][C]0.0246754141624359[/C][C]0.0123377070812179[/C][/ROW]
[ROW][C]34[/C][C]0.999597195655195[/C][C]0.000805608689609582[/C][C]0.000402804344804791[/C][/ROW]
[ROW][C]35[/C][C]0.99875067815788[/C][C]0.00249864368424034[/C][C]0.00124932184212017[/C][/ROW]
[ROW][C]36[/C][C]0.995724858635851[/C][C]0.00855028272829728[/C][C]0.00427514136414864[/C][/ROW]
[ROW][C]37[/C][C]0.995286949343617[/C][C]0.0094261013127659[/C][C]0.00471305065638295[/C][/ROW]
[ROW][C]38[/C][C]0.9936145481435[/C][C]0.0127709037129998[/C][C]0.00638545185649992[/C][/ROW]
[ROW][C]39[/C][C]0.971259741453612[/C][C]0.0574805170927757[/C][C]0.0287402585463878[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=190751&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=190751&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.01689111244532660.03378222489065320.983108887554673
100.03184035138534130.06368070277068250.968159648614659
110.07515841522607330.1503168304521470.924841584773927
120.0387228570853610.0774457141707220.961277142914639
130.01904231578739910.03808463157479830.980957684212601
140.01888213924727410.03776427849454830.981117860752726
150.008356226945244340.01671245389048870.991643773054756
160.003449856434190870.006899712868381750.996550143565809
170.006033268813187380.01206653762637480.993966731186813
180.002532931248897610.005065862497795220.997467068751102
190.02840761983366140.05681523966732280.971592380166339
200.08847266275711010.176945325514220.91152733724289
210.09196600144736870.1839320028947370.908033998552631
220.06501789208208040.1300357841641610.93498210791792
230.03971632983246640.07943265966493290.960283670167534
240.03333534350625210.06667068701250420.966664656493748
250.06916506548513610.1383301309702720.930834934514864
260.08823638436509950.1764727687301990.9117636156349
270.1079710549243350.2159421098486710.892028945075665
280.1639586666010630.3279173332021260.836041333398937
290.1921718179440950.384343635888190.807828182055905
300.8241957883253090.3516084233493810.17580421167469
310.9879852378496610.02402952430067860.0120147621503393
320.9869028393900210.02619432121995750.0130971606099788
330.9876622929187820.02467541416243590.0123377070812179
340.9995971956551950.0008056086896095820.000402804344804791
350.998750678157880.002498643684240340.00124932184212017
360.9957248586358510.008550282728297280.00427514136414864
370.9952869493436170.00942610131276590.00471305065638295
380.99361454814350.01277090371299980.00638545185649992
390.9712597414536120.05748051709277570.0287402585463878







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level60.193548387096774NOK
5% type I error level150.483870967741935NOK
10% type I error level210.67741935483871NOK

\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 & 6 & 0.193548387096774 & NOK \tabularnewline
5% type I error level & 15 & 0.483870967741935 & NOK \tabularnewline
10% type I error level & 21 & 0.67741935483871 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=190751&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]6[/C][C]0.193548387096774[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]15[/C][C]0.483870967741935[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]21[/C][C]0.67741935483871[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=190751&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=190751&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 level60.193548387096774NOK
5% type I error level150.483870967741935NOK
10% type I error level210.67741935483871NOK



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