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:17: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/t135335271320p24nzuqj18ems.htm/, Retrieved Sat, 27 Apr 2024 15:49:26 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=190740, Retrieved Sat, 27 Apr 2024 15:49:26 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact84
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] [d41d8cd98f00b204e9800998ecf8427e] [Current]
-   PD          [Multiple Regression] [WS7 Model 1] [2012-11-19 19:27:57] [74be16979710d4c4e7c6647856088456]
Feedback Forum

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




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time7 seconds
R Server'Sir Maurice George Kendall' @ kendall.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 & 'Sir Maurice George Kendall' @ kendall.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=190740&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]'Sir Maurice George Kendall' @ kendall.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=190740&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=190740&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'Sir Maurice George Kendall' @ kendall.wessa.net







Multiple Linear Regression - Estimated Regression Equation
Werkloosheid_totaal[t] = -28076.5841847233 + 1.30945915231219`Basisonderwijs(lager_1ste_graad_secundair)`[t] + 1.0229840449385`Secundair_onderwijs(2de,3de,4de_graad)`[t] -0.294033532280328Duaal_onderwijs[t] + 1.51023525778893`Hoger_onderwijs(Bachelor)`[t] -0.643697757144564Leercontract[t] + 1.347795732592Andere_studies[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Werkloosheid_totaal[t] =  -28076.5841847233 +  1.30945915231219`Basisonderwijs(lager_1ste_graad_secundair)`[t] +  1.0229840449385`Secundair_onderwijs(2de,3de,4de_graad)`[t] -0.294033532280328Duaal_onderwijs[t] +  1.51023525778893`Hoger_onderwijs(Bachelor)`[t] -0.643697757144564Leercontract[t] +  1.347795732592Andere_studies[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=190740&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Werkloosheid_totaal[t] =  -28076.5841847233 +  1.30945915231219`Basisonderwijs(lager_1ste_graad_secundair)`[t] +  1.0229840449385`Secundair_onderwijs(2de,3de,4de_graad)`[t] -0.294033532280328Duaal_onderwijs[t] +  1.51023525778893`Hoger_onderwijs(Bachelor)`[t] -0.643697757144564Leercontract[t] +  1.347795732592Andere_studies[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=190740&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=190740&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] = -28076.5841847233 + 1.30945915231219`Basisonderwijs(lager_1ste_graad_secundair)`[t] + 1.0229840449385`Secundair_onderwijs(2de,3de,4de_graad)`[t] -0.294033532280328Duaal_onderwijs[t] + 1.51023525778893`Hoger_onderwijs(Bachelor)`[t] -0.643697757144564Leercontract[t] + 1.347795732592Andere_studies[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-28076.58418472336304.44433-4.45356.4e-053.2e-05
`Basisonderwijs(lager_1ste_graad_secundair)`1.309459152312190.1547388.462400
`Secundair_onderwijs(2de,3de,4de_graad)`1.02298404493850.09319610.976700
Duaal_onderwijs-0.2940335322803280.85865-0.34240.7337710.366886
`Hoger_onderwijs(Bachelor)`1.510235257788930.07477720.196400
Leercontract-0.6436977571445641.590368-0.40470.6877670.343883
Andere_studies1.3477957325920.2387155.6461e-061e-06

\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) & -28076.5841847233 & 6304.44433 & -4.4535 & 6.4e-05 & 3.2e-05 \tabularnewline
`Basisonderwijs(lager_1ste_graad_secundair)` & 1.30945915231219 & 0.154738 & 8.4624 & 0 & 0 \tabularnewline
`Secundair_onderwijs(2de,3de,4de_graad)` & 1.0229840449385 & 0.093196 & 10.9767 & 0 & 0 \tabularnewline
Duaal_onderwijs & -0.294033532280328 & 0.85865 & -0.3424 & 0.733771 & 0.366886 \tabularnewline
`Hoger_onderwijs(Bachelor)` & 1.51023525778893 & 0.074777 & 20.1964 & 0 & 0 \tabularnewline
Leercontract & -0.643697757144564 & 1.590368 & -0.4047 & 0.687767 & 0.343883 \tabularnewline
Andere_studies & 1.347795732592 & 0.238715 & 5.646 & 1e-06 & 1e-06 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=190740&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]-28076.5841847233[/C][C]6304.44433[/C][C]-4.4535[/C][C]6.4e-05[/C][C]3.2e-05[/C][/ROW]
[ROW][C]`Basisonderwijs(lager_1ste_graad_secundair)`[/C][C]1.30945915231219[/C][C]0.154738[/C][C]8.4624[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]`Secundair_onderwijs(2de,3de,4de_graad)`[/C][C]1.0229840449385[/C][C]0.093196[/C][C]10.9767[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Duaal_onderwijs[/C][C]-0.294033532280328[/C][C]0.85865[/C][C]-0.3424[/C][C]0.733771[/C][C]0.366886[/C][/ROW]
[ROW][C]`Hoger_onderwijs(Bachelor)`[/C][C]1.51023525778893[/C][C]0.074777[/C][C]20.1964[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Leercontract[/C][C]-0.643697757144564[/C][C]1.590368[/C][C]-0.4047[/C][C]0.687767[/C][C]0.343883[/C][/ROW]
[ROW][C]Andere_studies[/C][C]1.347795732592[/C][C]0.238715[/C][C]5.646[/C][C]1e-06[/C][C]1e-06[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=190740&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=190740&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)-28076.58418472336304.44433-4.45356.4e-053.2e-05
`Basisonderwijs(lager_1ste_graad_secundair)`1.309459152312190.1547388.462400
`Secundair_onderwijs(2de,3de,4de_graad)`1.02298404493850.09319610.976700
Duaal_onderwijs-0.2940335322803280.85865-0.34240.7337710.366886
`Hoger_onderwijs(Bachelor)`1.510235257788930.07477720.196400
Leercontract-0.6436977571445641.590368-0.40470.6877670.343883
Andere_studies1.3477957325920.2387155.6461e-061e-06







Multiple Linear Regression - Regression Statistics
Multiple R0.999756436555928
R-squared0.999512932435008
Adjusted R-squared0.999441654254765
F-TEST (value)14022.70553248
F-TEST (DF numerator)6
F-TEST (DF denominator)41
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation891.791639726562
Sum Squared Residuals32606985.4761338

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.999756436555928 \tabularnewline
R-squared & 0.999512932435008 \tabularnewline
Adjusted R-squared & 0.999441654254765 \tabularnewline
F-TEST (value) & 14022.70553248 \tabularnewline
F-TEST (DF numerator) & 6 \tabularnewline
F-TEST (DF denominator) & 41 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 891.791639726562 \tabularnewline
Sum Squared Residuals & 32606985.4761338 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=190740&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.999756436555928[/C][/ROW]
[ROW][C]R-squared[/C][C]0.999512932435008[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.999441654254765[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]14022.70553248[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]6[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]41[/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]891.791639726562[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]32606985.4761338[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=190740&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=190740&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.999756436555928
R-squared0.999512932435008
Adjusted R-squared0.999441654254765
F-TEST (value)14022.70553248
F-TEST (DF numerator)6
F-TEST (DF denominator)41
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation891.791639726562
Sum Squared Residuals32606985.4761338







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1575093574429.911564865663.088435134566
2557560556723.414838254836.58516174633
3564478563442.6431537191035.35684628096
4580523579463.5402015631059.45979843692
5596594596966.706952788-372.706952788003
6586570587085.546203246-515.546203245898
7536214537206.865088548-992.865088547827
8523597524166.208329503-569.208329502561
9536535537441.368502555-906.368502555219
10536322536937.99089741-615.990897410085
11532638533175.43898803-537.438988030468
12528222528276.703834508-54.7038345080675
13516141515745.552620806395.447379194456
14501866501860.0707922975.92920770249068
15506174506041.656748378132.343251621676
16517945517394.903245437550.09675456274
17533590534091.525722559-501.525722558582
18528379529135.49983878-756.499838779673
19477580477604.540199344-24.5401993440014
20469357468557.966915885799.033084114611
21490243490224.41016757918.5898324213042
22492622492503.309269861118.690730139175
23507561507712.773274869-151.773274868677
24516922516910.37383699811.6261630016008
25514258513502.472469891755.527530109288
26509846509286.007281717559.992718283272
27527070526722.172395742347.827604257456
28541657540996.900549357660.099450643191
29564591565272.779019468-681.779019467548
30555362556314.723983659-952.723983659425
31498662498679.791173329-17.7911733289503
32511038510940.85526383897.1447361623281
33525919526361.163902599-442.163902598578
34531673532151.316193451-478.316193450779
35548854549055.401712259-201.401712258745
36560576560527.93279365748.0672063429228
37557274556924.569332113349.430667887084
38565742565233.908658837508.091341162671
39587625586982.400937339642.599062660774
40619916619087.683427324828.316572676025
41625809625890.3319197-81.3319197000604
42619567620604.637786181-1037.63778618137
43572942574826.908864679-1884.90886467943
44572775574682.343984787-1907.34398478724
45574205575877.838555063-1672.83855506299
46579799578357.3707419561441.62925804381
47590072588512.1976555161559.80234448441
48593408591475.3702097561932.62979024411

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 575093 & 574429.911564865 & 663.088435134566 \tabularnewline
2 & 557560 & 556723.414838254 & 836.58516174633 \tabularnewline
3 & 564478 & 563442.643153719 & 1035.35684628096 \tabularnewline
4 & 580523 & 579463.540201563 & 1059.45979843692 \tabularnewline
5 & 596594 & 596966.706952788 & -372.706952788003 \tabularnewline
6 & 586570 & 587085.546203246 & -515.546203245898 \tabularnewline
7 & 536214 & 537206.865088548 & -992.865088547827 \tabularnewline
8 & 523597 & 524166.208329503 & -569.208329502561 \tabularnewline
9 & 536535 & 537441.368502555 & -906.368502555219 \tabularnewline
10 & 536322 & 536937.99089741 & -615.990897410085 \tabularnewline
11 & 532638 & 533175.43898803 & -537.438988030468 \tabularnewline
12 & 528222 & 528276.703834508 & -54.7038345080675 \tabularnewline
13 & 516141 & 515745.552620806 & 395.447379194456 \tabularnewline
14 & 501866 & 501860.070792297 & 5.92920770249068 \tabularnewline
15 & 506174 & 506041.656748378 & 132.343251621676 \tabularnewline
16 & 517945 & 517394.903245437 & 550.09675456274 \tabularnewline
17 & 533590 & 534091.525722559 & -501.525722558582 \tabularnewline
18 & 528379 & 529135.49983878 & -756.499838779673 \tabularnewline
19 & 477580 & 477604.540199344 & -24.5401993440014 \tabularnewline
20 & 469357 & 468557.966915885 & 799.033084114611 \tabularnewline
21 & 490243 & 490224.410167579 & 18.5898324213042 \tabularnewline
22 & 492622 & 492503.309269861 & 118.690730139175 \tabularnewline
23 & 507561 & 507712.773274869 & -151.773274868677 \tabularnewline
24 & 516922 & 516910.373836998 & 11.6261630016008 \tabularnewline
25 & 514258 & 513502.472469891 & 755.527530109288 \tabularnewline
26 & 509846 & 509286.007281717 & 559.992718283272 \tabularnewline
27 & 527070 & 526722.172395742 & 347.827604257456 \tabularnewline
28 & 541657 & 540996.900549357 & 660.099450643191 \tabularnewline
29 & 564591 & 565272.779019468 & -681.779019467548 \tabularnewline
30 & 555362 & 556314.723983659 & -952.723983659425 \tabularnewline
31 & 498662 & 498679.791173329 & -17.7911733289503 \tabularnewline
32 & 511038 & 510940.855263838 & 97.1447361623281 \tabularnewline
33 & 525919 & 526361.163902599 & -442.163902598578 \tabularnewline
34 & 531673 & 532151.316193451 & -478.316193450779 \tabularnewline
35 & 548854 & 549055.401712259 & -201.401712258745 \tabularnewline
36 & 560576 & 560527.932793657 & 48.0672063429228 \tabularnewline
37 & 557274 & 556924.569332113 & 349.430667887084 \tabularnewline
38 & 565742 & 565233.908658837 & 508.091341162671 \tabularnewline
39 & 587625 & 586982.400937339 & 642.599062660774 \tabularnewline
40 & 619916 & 619087.683427324 & 828.316572676025 \tabularnewline
41 & 625809 & 625890.3319197 & -81.3319197000604 \tabularnewline
42 & 619567 & 620604.637786181 & -1037.63778618137 \tabularnewline
43 & 572942 & 574826.908864679 & -1884.90886467943 \tabularnewline
44 & 572775 & 574682.343984787 & -1907.34398478724 \tabularnewline
45 & 574205 & 575877.838555063 & -1672.83855506299 \tabularnewline
46 & 579799 & 578357.370741956 & 1441.62925804381 \tabularnewline
47 & 590072 & 588512.197655516 & 1559.80234448441 \tabularnewline
48 & 593408 & 591475.370209756 & 1932.62979024411 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=190740&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]574429.911564865[/C][C]663.088435134566[/C][/ROW]
[ROW][C]2[/C][C]557560[/C][C]556723.414838254[/C][C]836.58516174633[/C][/ROW]
[ROW][C]3[/C][C]564478[/C][C]563442.643153719[/C][C]1035.35684628096[/C][/ROW]
[ROW][C]4[/C][C]580523[/C][C]579463.540201563[/C][C]1059.45979843692[/C][/ROW]
[ROW][C]5[/C][C]596594[/C][C]596966.706952788[/C][C]-372.706952788003[/C][/ROW]
[ROW][C]6[/C][C]586570[/C][C]587085.546203246[/C][C]-515.546203245898[/C][/ROW]
[ROW][C]7[/C][C]536214[/C][C]537206.865088548[/C][C]-992.865088547827[/C][/ROW]
[ROW][C]8[/C][C]523597[/C][C]524166.208329503[/C][C]-569.208329502561[/C][/ROW]
[ROW][C]9[/C][C]536535[/C][C]537441.368502555[/C][C]-906.368502555219[/C][/ROW]
[ROW][C]10[/C][C]536322[/C][C]536937.99089741[/C][C]-615.990897410085[/C][/ROW]
[ROW][C]11[/C][C]532638[/C][C]533175.43898803[/C][C]-537.438988030468[/C][/ROW]
[ROW][C]12[/C][C]528222[/C][C]528276.703834508[/C][C]-54.7038345080675[/C][/ROW]
[ROW][C]13[/C][C]516141[/C][C]515745.552620806[/C][C]395.447379194456[/C][/ROW]
[ROW][C]14[/C][C]501866[/C][C]501860.070792297[/C][C]5.92920770249068[/C][/ROW]
[ROW][C]15[/C][C]506174[/C][C]506041.656748378[/C][C]132.343251621676[/C][/ROW]
[ROW][C]16[/C][C]517945[/C][C]517394.903245437[/C][C]550.09675456274[/C][/ROW]
[ROW][C]17[/C][C]533590[/C][C]534091.525722559[/C][C]-501.525722558582[/C][/ROW]
[ROW][C]18[/C][C]528379[/C][C]529135.49983878[/C][C]-756.499838779673[/C][/ROW]
[ROW][C]19[/C][C]477580[/C][C]477604.540199344[/C][C]-24.5401993440014[/C][/ROW]
[ROW][C]20[/C][C]469357[/C][C]468557.966915885[/C][C]799.033084114611[/C][/ROW]
[ROW][C]21[/C][C]490243[/C][C]490224.410167579[/C][C]18.5898324213042[/C][/ROW]
[ROW][C]22[/C][C]492622[/C][C]492503.309269861[/C][C]118.690730139175[/C][/ROW]
[ROW][C]23[/C][C]507561[/C][C]507712.773274869[/C][C]-151.773274868677[/C][/ROW]
[ROW][C]24[/C][C]516922[/C][C]516910.373836998[/C][C]11.6261630016008[/C][/ROW]
[ROW][C]25[/C][C]514258[/C][C]513502.472469891[/C][C]755.527530109288[/C][/ROW]
[ROW][C]26[/C][C]509846[/C][C]509286.007281717[/C][C]559.992718283272[/C][/ROW]
[ROW][C]27[/C][C]527070[/C][C]526722.172395742[/C][C]347.827604257456[/C][/ROW]
[ROW][C]28[/C][C]541657[/C][C]540996.900549357[/C][C]660.099450643191[/C][/ROW]
[ROW][C]29[/C][C]564591[/C][C]565272.779019468[/C][C]-681.779019467548[/C][/ROW]
[ROW][C]30[/C][C]555362[/C][C]556314.723983659[/C][C]-952.723983659425[/C][/ROW]
[ROW][C]31[/C][C]498662[/C][C]498679.791173329[/C][C]-17.7911733289503[/C][/ROW]
[ROW][C]32[/C][C]511038[/C][C]510940.855263838[/C][C]97.1447361623281[/C][/ROW]
[ROW][C]33[/C][C]525919[/C][C]526361.163902599[/C][C]-442.163902598578[/C][/ROW]
[ROW][C]34[/C][C]531673[/C][C]532151.316193451[/C][C]-478.316193450779[/C][/ROW]
[ROW][C]35[/C][C]548854[/C][C]549055.401712259[/C][C]-201.401712258745[/C][/ROW]
[ROW][C]36[/C][C]560576[/C][C]560527.932793657[/C][C]48.0672063429228[/C][/ROW]
[ROW][C]37[/C][C]557274[/C][C]556924.569332113[/C][C]349.430667887084[/C][/ROW]
[ROW][C]38[/C][C]565742[/C][C]565233.908658837[/C][C]508.091341162671[/C][/ROW]
[ROW][C]39[/C][C]587625[/C][C]586982.400937339[/C][C]642.599062660774[/C][/ROW]
[ROW][C]40[/C][C]619916[/C][C]619087.683427324[/C][C]828.316572676025[/C][/ROW]
[ROW][C]41[/C][C]625809[/C][C]625890.3319197[/C][C]-81.3319197000604[/C][/ROW]
[ROW][C]42[/C][C]619567[/C][C]620604.637786181[/C][C]-1037.63778618137[/C][/ROW]
[ROW][C]43[/C][C]572942[/C][C]574826.908864679[/C][C]-1884.90886467943[/C][/ROW]
[ROW][C]44[/C][C]572775[/C][C]574682.343984787[/C][C]-1907.34398478724[/C][/ROW]
[ROW][C]45[/C][C]574205[/C][C]575877.838555063[/C][C]-1672.83855506299[/C][/ROW]
[ROW][C]46[/C][C]579799[/C][C]578357.370741956[/C][C]1441.62925804381[/C][/ROW]
[ROW][C]47[/C][C]590072[/C][C]588512.197655516[/C][C]1559.80234448441[/C][/ROW]
[ROW][C]48[/C][C]593408[/C][C]591475.370209756[/C][C]1932.62979024411[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=190740&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=190740&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
1575093574429.911564865663.088435134566
2557560556723.414838254836.58516174633
3564478563442.6431537191035.35684628096
4580523579463.5402015631059.45979843692
5596594596966.706952788-372.706952788003
6586570587085.546203246-515.546203245898
7536214537206.865088548-992.865088547827
8523597524166.208329503-569.208329502561
9536535537441.368502555-906.368502555219
10536322536937.99089741-615.990897410085
11532638533175.43898803-537.438988030468
12528222528276.703834508-54.7038345080675
13516141515745.552620806395.447379194456
14501866501860.0707922975.92920770249068
15506174506041.656748378132.343251621676
16517945517394.903245437550.09675456274
17533590534091.525722559-501.525722558582
18528379529135.49983878-756.499838779673
19477580477604.540199344-24.5401993440014
20469357468557.966915885799.033084114611
21490243490224.41016757918.5898324213042
22492622492503.309269861118.690730139175
23507561507712.773274869-151.773274868677
24516922516910.37383699811.6261630016008
25514258513502.472469891755.527530109288
26509846509286.007281717559.992718283272
27527070526722.172395742347.827604257456
28541657540996.900549357660.099450643191
29564591565272.779019468-681.779019467548
30555362556314.723983659-952.723983659425
31498662498679.791173329-17.7911733289503
32511038510940.85526383897.1447361623281
33525919526361.163902599-442.163902598578
34531673532151.316193451-478.316193450779
35548854549055.401712259-201.401712258745
36560576560527.93279365748.0672063429228
37557274556924.569332113349.430667887084
38565742565233.908658837508.091341162671
39587625586982.400937339642.599062660774
40619916619087.683427324828.316572676025
41625809625890.3319197-81.3319197000604
42619567620604.637786181-1037.63778618137
43572942574826.908864679-1884.90886467943
44572775574682.343984787-1907.34398478724
45574205575877.838555063-1672.83855506299
46579799578357.3707419561441.62925804381
47590072588512.1976555161559.80234448441
48593408591475.3702097561932.62979024411







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
100.01375463659818230.02750927319636470.986245363401818
110.002431559291164340.004863118582328680.997568440708836
120.001325874363325940.002651748726651870.998674125636674
130.0002696766990241160.0005393533980482310.999730323300976
146.1536447367146e-050.0001230728947342920.999938463552633
151.0248445030661e-052.04968900613219e-050.999989751554969
161.15278926006528e-052.30557852013056e-050.999988472107399
171.31933575819618e-052.63867151639236e-050.999986806642418
183.02664483731747e-066.05328967463494e-060.999996973355163
192.49011263101014e-054.98022526202029e-050.99997509887369
200.00188805457351150.003776109147022990.998111945426489
210.01074408660408980.02148817320817960.98925591339591
220.01089913432039440.02179826864078890.989100865679606
230.009113002651663350.01822600530332670.990886997348337
240.007838925426934370.01567785085386870.992161074573066
250.01725347141739050.0345069428347810.982746528582609
260.01525593050924030.03051186101848060.98474406949076
270.01181865273095150.0236373054619030.988181347269048
280.009799425921458320.01959885184291660.990200574078542
290.008754561401294110.01750912280258820.991245438598706
300.1974884151761590.3949768303523180.802511584823841
310.6056263826430420.7887472347139160.394373617356958
320.6664827525458420.6670344949083150.333517247454158
330.8744461753453020.2511076493093970.125553824654698
340.9692275277604330.06154494447913350.0307724722395667
350.9499393400622450.1001213198755090.0500606599377547
360.9029870989186440.1940258021627130.0970129010813564
370.9107731497913440.1784537004173130.0892268502086563
380.9130901065365080.1738197869269830.0869098934634917

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
10 & 0.0137546365981823 & 0.0275092731963647 & 0.986245363401818 \tabularnewline
11 & 0.00243155929116434 & 0.00486311858232868 & 0.997568440708836 \tabularnewline
12 & 0.00132587436332594 & 0.00265174872665187 & 0.998674125636674 \tabularnewline
13 & 0.000269676699024116 & 0.000539353398048231 & 0.999730323300976 \tabularnewline
14 & 6.1536447367146e-05 & 0.000123072894734292 & 0.999938463552633 \tabularnewline
15 & 1.0248445030661e-05 & 2.04968900613219e-05 & 0.999989751554969 \tabularnewline
16 & 1.15278926006528e-05 & 2.30557852013056e-05 & 0.999988472107399 \tabularnewline
17 & 1.31933575819618e-05 & 2.63867151639236e-05 & 0.999986806642418 \tabularnewline
18 & 3.02664483731747e-06 & 6.05328967463494e-06 & 0.999996973355163 \tabularnewline
19 & 2.49011263101014e-05 & 4.98022526202029e-05 & 0.99997509887369 \tabularnewline
20 & 0.0018880545735115 & 0.00377610914702299 & 0.998111945426489 \tabularnewline
21 & 0.0107440866040898 & 0.0214881732081796 & 0.98925591339591 \tabularnewline
22 & 0.0108991343203944 & 0.0217982686407889 & 0.989100865679606 \tabularnewline
23 & 0.00911300265166335 & 0.0182260053033267 & 0.990886997348337 \tabularnewline
24 & 0.00783892542693437 & 0.0156778508538687 & 0.992161074573066 \tabularnewline
25 & 0.0172534714173905 & 0.034506942834781 & 0.982746528582609 \tabularnewline
26 & 0.0152559305092403 & 0.0305118610184806 & 0.98474406949076 \tabularnewline
27 & 0.0118186527309515 & 0.023637305461903 & 0.988181347269048 \tabularnewline
28 & 0.00979942592145832 & 0.0195988518429166 & 0.990200574078542 \tabularnewline
29 & 0.00875456140129411 & 0.0175091228025882 & 0.991245438598706 \tabularnewline
30 & 0.197488415176159 & 0.394976830352318 & 0.802511584823841 \tabularnewline
31 & 0.605626382643042 & 0.788747234713916 & 0.394373617356958 \tabularnewline
32 & 0.666482752545842 & 0.667034494908315 & 0.333517247454158 \tabularnewline
33 & 0.874446175345302 & 0.251107649309397 & 0.125553824654698 \tabularnewline
34 & 0.969227527760433 & 0.0615449444791335 & 0.0307724722395667 \tabularnewline
35 & 0.949939340062245 & 0.100121319875509 & 0.0500606599377547 \tabularnewline
36 & 0.902987098918644 & 0.194025802162713 & 0.0970129010813564 \tabularnewline
37 & 0.910773149791344 & 0.178453700417313 & 0.0892268502086563 \tabularnewline
38 & 0.913090106536508 & 0.173819786926983 & 0.0869098934634917 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=190740&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.0137546365981823[/C][C]0.0275092731963647[/C][C]0.986245363401818[/C][/ROW]
[ROW][C]11[/C][C]0.00243155929116434[/C][C]0.00486311858232868[/C][C]0.997568440708836[/C][/ROW]
[ROW][C]12[/C][C]0.00132587436332594[/C][C]0.00265174872665187[/C][C]0.998674125636674[/C][/ROW]
[ROW][C]13[/C][C]0.000269676699024116[/C][C]0.000539353398048231[/C][C]0.999730323300976[/C][/ROW]
[ROW][C]14[/C][C]6.1536447367146e-05[/C][C]0.000123072894734292[/C][C]0.999938463552633[/C][/ROW]
[ROW][C]15[/C][C]1.0248445030661e-05[/C][C]2.04968900613219e-05[/C][C]0.999989751554969[/C][/ROW]
[ROW][C]16[/C][C]1.15278926006528e-05[/C][C]2.30557852013056e-05[/C][C]0.999988472107399[/C][/ROW]
[ROW][C]17[/C][C]1.31933575819618e-05[/C][C]2.63867151639236e-05[/C][C]0.999986806642418[/C][/ROW]
[ROW][C]18[/C][C]3.02664483731747e-06[/C][C]6.05328967463494e-06[/C][C]0.999996973355163[/C][/ROW]
[ROW][C]19[/C][C]2.49011263101014e-05[/C][C]4.98022526202029e-05[/C][C]0.99997509887369[/C][/ROW]
[ROW][C]20[/C][C]0.0018880545735115[/C][C]0.00377610914702299[/C][C]0.998111945426489[/C][/ROW]
[ROW][C]21[/C][C]0.0107440866040898[/C][C]0.0214881732081796[/C][C]0.98925591339591[/C][/ROW]
[ROW][C]22[/C][C]0.0108991343203944[/C][C]0.0217982686407889[/C][C]0.989100865679606[/C][/ROW]
[ROW][C]23[/C][C]0.00911300265166335[/C][C]0.0182260053033267[/C][C]0.990886997348337[/C][/ROW]
[ROW][C]24[/C][C]0.00783892542693437[/C][C]0.0156778508538687[/C][C]0.992161074573066[/C][/ROW]
[ROW][C]25[/C][C]0.0172534714173905[/C][C]0.034506942834781[/C][C]0.982746528582609[/C][/ROW]
[ROW][C]26[/C][C]0.0152559305092403[/C][C]0.0305118610184806[/C][C]0.98474406949076[/C][/ROW]
[ROW][C]27[/C][C]0.0118186527309515[/C][C]0.023637305461903[/C][C]0.988181347269048[/C][/ROW]
[ROW][C]28[/C][C]0.00979942592145832[/C][C]0.0195988518429166[/C][C]0.990200574078542[/C][/ROW]
[ROW][C]29[/C][C]0.00875456140129411[/C][C]0.0175091228025882[/C][C]0.991245438598706[/C][/ROW]
[ROW][C]30[/C][C]0.197488415176159[/C][C]0.394976830352318[/C][C]0.802511584823841[/C][/ROW]
[ROW][C]31[/C][C]0.605626382643042[/C][C]0.788747234713916[/C][C]0.394373617356958[/C][/ROW]
[ROW][C]32[/C][C]0.666482752545842[/C][C]0.667034494908315[/C][C]0.333517247454158[/C][/ROW]
[ROW][C]33[/C][C]0.874446175345302[/C][C]0.251107649309397[/C][C]0.125553824654698[/C][/ROW]
[ROW][C]34[/C][C]0.969227527760433[/C][C]0.0615449444791335[/C][C]0.0307724722395667[/C][/ROW]
[ROW][C]35[/C][C]0.949939340062245[/C][C]0.100121319875509[/C][C]0.0500606599377547[/C][/ROW]
[ROW][C]36[/C][C]0.902987098918644[/C][C]0.194025802162713[/C][C]0.0970129010813564[/C][/ROW]
[ROW][C]37[/C][C]0.910773149791344[/C][C]0.178453700417313[/C][C]0.0892268502086563[/C][/ROW]
[ROW][C]38[/C][C]0.913090106536508[/C][C]0.173819786926983[/C][C]0.0869098934634917[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=190740&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=190740&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.01375463659818230.02750927319636470.986245363401818
110.002431559291164340.004863118582328680.997568440708836
120.001325874363325940.002651748726651870.998674125636674
130.0002696766990241160.0005393533980482310.999730323300976
146.1536447367146e-050.0001230728947342920.999938463552633
151.0248445030661e-052.04968900613219e-050.999989751554969
161.15278926006528e-052.30557852013056e-050.999988472107399
171.31933575819618e-052.63867151639236e-050.999986806642418
183.02664483731747e-066.05328967463494e-060.999996973355163
192.49011263101014e-054.98022526202029e-050.99997509887369
200.00188805457351150.003776109147022990.998111945426489
210.01074408660408980.02148817320817960.98925591339591
220.01089913432039440.02179826864078890.989100865679606
230.009113002651663350.01822600530332670.990886997348337
240.007838925426934370.01567785085386870.992161074573066
250.01725347141739050.0345069428347810.982746528582609
260.01525593050924030.03051186101848060.98474406949076
270.01181865273095150.0236373054619030.988181347269048
280.009799425921458320.01959885184291660.990200574078542
290.008754561401294110.01750912280258820.991245438598706
300.1974884151761590.3949768303523180.802511584823841
310.6056263826430420.7887472347139160.394373617356958
320.6664827525458420.6670344949083150.333517247454158
330.8744461753453020.2511076493093970.125553824654698
340.9692275277604330.06154494447913350.0307724722395667
350.9499393400622450.1001213198755090.0500606599377547
360.9029870989186440.1940258021627130.0970129010813564
370.9107731497913440.1784537004173130.0892268502086563
380.9130901065365080.1738197869269830.0869098934634917







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level100.344827586206897NOK
5% type I error level200.689655172413793NOK
10% type I error level210.724137931034483NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=190740&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 level100.344827586206897NOK
5% type I error level200.689655172413793NOK
10% type I error level210.724137931034483NOK



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