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 computationTue, 20 Nov 2012 20:03:39 -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/20/t1353459850epb6f0hyl95au2q.htm/, Retrieved Mon, 29 Apr 2024 23:27:20 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=191341, Retrieved Mon, 29 Apr 2024 23:27:20 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact73
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 - Data] [2012-11-20 23:47:19] [4beecb4e29f2a257543dd9eec92fc58e]
-    D      [Multiple Regression] [WS7 - Data Correct] [2012-11-21 01:03:39] [19709c6b8a130f2e474dc3be897c792e] [Current]
Feedback Forum

Post a new message
Dataseries X:
478	184	40	74	11	31	20
494	213	32	72	11	43	18
643	347	57	70	18	16	16
341	565	31	71	11	25	19
773	327	67	72	9	29	24
603	260	25	68	8	32	15
484	325	34	68	12	24	14
546	102	33	62	13	28	11
424	38	36	69	7	25	12
548	226	31	66	9	58	15
506	137	35	60	13	21	9
819	369	30	81	4	77	36
541	109	44	66	9	37	12
491	809	32	67	11	37	16
514	29	30	65	12	35	11
371	245	16	64	10	42	14
457	118	29	64	12	21	10
437	148	36	62	7	81	27
570	387	30	59	15	31	16
432	98	23	56	15	50	15
619	608	33	46	22	24	8
357	218	35	54	14	27	13
623	254	38	54	20	22	11
547	697	44	45	26	18	8
792	827	28	57	12	23	11
799	693	35	57	9	60	18
439	448	31	61	19	14	12
867	942	39	52	17	31	10
912	1017	27	44	21	24	9
462	216	36	43	18	23	8
859	673	38	48	19	22	10
805	989	46	57	14	25	12
652	630	29	47	19	25	9
776	404	32	50	19	21	9
919	692	39	48	16	32	11
732	1517	44	49	13	31	14
657	879	33	72	13	13	22
1419	631	43	59	14	21	13
989	1375	22	49	9	46	13
821	1139	30	54	13	27	12
1740	3545	86	62	22	18	15
815	706	30	47	17	39	11
760	451	32	45	34	15	10
936	433	43	48	26	23	12
863	601	20	69	23	7	12
783	1024	55	42	23	23	11
715	457	44	49	18	30	12
1504	1441	37	57	15	35	13
1324	1022	82	72	22	15	16
940	1244	66	67	26	18	16




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=191341&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'Gwilym Jenkins' @ jenkins.wessa.net







Multiple Linear Regression - Estimated Regression Equation
Y1[t] = + 100.393611638968 + 0.332336476662426X1[t] + 3.99817389808975X2[t] + 1.85791247072403X3[t] + 7.83886063212366X4[t] + 2.55876932475728X5[t] -3.23116194241755X6[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y1[t] =  +  100.393611638968 +  0.332336476662426X1[t] +  3.99817389808975X2[t] +  1.85791247072403X3[t] +  7.83886063212366X4[t] +  2.55876932475728X5[t] -3.23116194241755X6[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=191341&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y1[t] =  +  100.393611638968 +  0.332336476662426X1[t] +  3.99817389808975X2[t] +  1.85791247072403X3[t] +  7.83886063212366X4[t] +  2.55876932475728X5[t] -3.23116194241755X6[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=191341&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=191341&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
Y1[t] = + 100.393611638968 + 0.332336476662426X1[t] + 3.99817389808975X2[t] + 1.85791247072403X3[t] + 7.83886063212366X4[t] + 2.55876932475728X5[t] -3.23116194241755X6[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)100.393611638968370.6931750.27080.787820.39391
X10.3323364766624260.0596175.57452e-061e-06
X23.998173898089752.6824831.49050.1433990.071699
X31.857912470724035.2408730.35450.7246940.362347
X47.838860632123667.7598721.01020.318060.15903
X52.558769324757283.4269520.74670.4593320.229666
X6-3.2311619424175510.715371-0.30150.7644530.382226

\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) & 100.393611638968 & 370.693175 & 0.2708 & 0.78782 & 0.39391 \tabularnewline
X1 & 0.332336476662426 & 0.059617 & 5.5745 & 2e-06 & 1e-06 \tabularnewline
X2 & 3.99817389808975 & 2.682483 & 1.4905 & 0.143399 & 0.071699 \tabularnewline
X3 & 1.85791247072403 & 5.240873 & 0.3545 & 0.724694 & 0.362347 \tabularnewline
X4 & 7.83886063212366 & 7.759872 & 1.0102 & 0.31806 & 0.15903 \tabularnewline
X5 & 2.55876932475728 & 3.426952 & 0.7467 & 0.459332 & 0.229666 \tabularnewline
X6 & -3.23116194241755 & 10.715371 & -0.3015 & 0.764453 & 0.382226 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=191341&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]100.393611638968[/C][C]370.693175[/C][C]0.2708[/C][C]0.78782[/C][C]0.39391[/C][/ROW]
[ROW][C]X1[/C][C]0.332336476662426[/C][C]0.059617[/C][C]5.5745[/C][C]2e-06[/C][C]1e-06[/C][/ROW]
[ROW][C]X2[/C][C]3.99817389808975[/C][C]2.682483[/C][C]1.4905[/C][C]0.143399[/C][C]0.071699[/C][/ROW]
[ROW][C]X3[/C][C]1.85791247072403[/C][C]5.240873[/C][C]0.3545[/C][C]0.724694[/C][C]0.362347[/C][/ROW]
[ROW][C]X4[/C][C]7.83886063212366[/C][C]7.759872[/C][C]1.0102[/C][C]0.31806[/C][C]0.15903[/C][/ROW]
[ROW][C]X5[/C][C]2.55876932475728[/C][C]3.426952[/C][C]0.7467[/C][C]0.459332[/C][C]0.229666[/C][/ROW]
[ROW][C]X6[/C][C]-3.23116194241755[/C][C]10.715371[/C][C]-0.3015[/C][C]0.764453[/C][C]0.382226[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=191341&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=191341&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)100.393611638968370.6931750.27080.787820.39391
X10.3323364766624260.0596175.57452e-061e-06
X23.998173898089752.6824831.49050.1433990.071699
X31.857912470724035.2408730.35450.7246940.362347
X47.838860632123667.7598721.01020.318060.15903
X52.558769324757283.4269520.74670.4593320.229666
X6-3.2311619424175510.715371-0.30150.7644530.382226







Multiple Linear Regression - Regression Statistics
Multiple R0.783045775972243
R-squared0.613160687267972
Adjusted R-squared0.559183108747223
F-TEST (value)11.3595441676266
F-TEST (DF numerator)6
F-TEST (DF denominator)43
p-value1.42426969884646e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation195.157830190179
Sum Squared Residuals1637722.88343517

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.783045775972243 \tabularnewline
R-squared & 0.613160687267972 \tabularnewline
Adjusted R-squared & 0.559183108747223 \tabularnewline
F-TEST (value) & 11.3595441676266 \tabularnewline
F-TEST (DF numerator) & 6 \tabularnewline
F-TEST (DF denominator) & 43 \tabularnewline
p-value & 1.42426969884646e-07 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 195.157830190179 \tabularnewline
Sum Squared Residuals & 1637722.88343517 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=191341&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.783045775972243[/C][/ROW]
[ROW][C]R-squared[/C][C]0.613160687267972[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.559183108747223[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]11.3595441676266[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]6[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]43[/C][/ROW]
[ROW][C]p-value[/C][C]1.42426969884646e-07[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]195.157830190179[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1637722.88343517[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=191341&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=191341&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.783045775972243
R-squared0.613160687267972
Adjusted R-squared0.559183108747223
F-TEST (value)11.3595441676266
F-TEST (DF numerator)6
F-TEST (DF denominator)43
p-value1.42426969884646e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation195.157830190179
Sum Squared Residuals1637722.88343517







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1478559.882079274507-81.8820792745071
2494570.986176753474-76.9861767534744
3643704.005363678289-61.0053636782892
4341632.823520381786-291.823520381786
5773677.92115806077795.0788419392227
6603509.21756534563593.7824346543646
7484580.919451284355-96.9194512843549
8546519.43019202460526.5698079753946
9424465.219932798116-41.2199327981162
10548592.558206662016-44.5582066620163
11506523.893430174056-17.8934301740559
12819605.520749206515213.479250793485
13541561.610429575029-20.610429575029
14491750.878862426951-259.878862426951
15514498.82136958732815.1786304126716
16371505.313879684233-134.313879684233
17457489.951621037286-32.9516210372863
18437583.595210986059-146.595210986059
19570603.776048293387-33.7760482933869
20432526.017630951951-94.0176309519513
21619727.874003901545-108.874003901545
22357549.932038770365-192.932038770365
23623614.5923146782738.40768532172732
24547815.576777312715-268.576777312715
25792710.46099850488581.5390014951147
26799742.45487744147456.5451225585262
27439632.543583986624-193.543583986624
28867846.26566354752520.7343364524746
29912825.02473195194986.9752680480505
30462570.104677478719-108.104677478719
31859738.086124885779120.913875114221
32805853.830735861158-48.830735861158
33652696.861648752452-44.8616487524522
34776629.086786834156146.913213165844
35919747.238641249239171.761358750761
367321007.49617940853-275.496179408532
37657722.310437860598-65.3104378605984
381419713.109341221742705.890658778258
39989882.601833249775106.398166750225
40821831.415365596305-10.4153655963048
4117401907.60530244396-167.605302443964
42815739.80012027440675.1998797255943
43760734.41617047456425.5838295254363
44936729.284709842033206.715290157967
45863667.718509057974195.281490942026
46783942.240759548306-159.240759548306
47715698.31737186705716.6826281329432
481504998.258650167046505.741349832954
4913241060.79933102286263.200668977144
509401100.34943462162-160.349434621625

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 478 & 559.882079274507 & -81.8820792745071 \tabularnewline
2 & 494 & 570.986176753474 & -76.9861767534744 \tabularnewline
3 & 643 & 704.005363678289 & -61.0053636782892 \tabularnewline
4 & 341 & 632.823520381786 & -291.823520381786 \tabularnewline
5 & 773 & 677.921158060777 & 95.0788419392227 \tabularnewline
6 & 603 & 509.217565345635 & 93.7824346543646 \tabularnewline
7 & 484 & 580.919451284355 & -96.9194512843549 \tabularnewline
8 & 546 & 519.430192024605 & 26.5698079753946 \tabularnewline
9 & 424 & 465.219932798116 & -41.2199327981162 \tabularnewline
10 & 548 & 592.558206662016 & -44.5582066620163 \tabularnewline
11 & 506 & 523.893430174056 & -17.8934301740559 \tabularnewline
12 & 819 & 605.520749206515 & 213.479250793485 \tabularnewline
13 & 541 & 561.610429575029 & -20.610429575029 \tabularnewline
14 & 491 & 750.878862426951 & -259.878862426951 \tabularnewline
15 & 514 & 498.821369587328 & 15.1786304126716 \tabularnewline
16 & 371 & 505.313879684233 & -134.313879684233 \tabularnewline
17 & 457 & 489.951621037286 & -32.9516210372863 \tabularnewline
18 & 437 & 583.595210986059 & -146.595210986059 \tabularnewline
19 & 570 & 603.776048293387 & -33.7760482933869 \tabularnewline
20 & 432 & 526.017630951951 & -94.0176309519513 \tabularnewline
21 & 619 & 727.874003901545 & -108.874003901545 \tabularnewline
22 & 357 & 549.932038770365 & -192.932038770365 \tabularnewline
23 & 623 & 614.592314678273 & 8.40768532172732 \tabularnewline
24 & 547 & 815.576777312715 & -268.576777312715 \tabularnewline
25 & 792 & 710.460998504885 & 81.5390014951147 \tabularnewline
26 & 799 & 742.454877441474 & 56.5451225585262 \tabularnewline
27 & 439 & 632.543583986624 & -193.543583986624 \tabularnewline
28 & 867 & 846.265663547525 & 20.7343364524746 \tabularnewline
29 & 912 & 825.024731951949 & 86.9752680480505 \tabularnewline
30 & 462 & 570.104677478719 & -108.104677478719 \tabularnewline
31 & 859 & 738.086124885779 & 120.913875114221 \tabularnewline
32 & 805 & 853.830735861158 & -48.830735861158 \tabularnewline
33 & 652 & 696.861648752452 & -44.8616487524522 \tabularnewline
34 & 776 & 629.086786834156 & 146.913213165844 \tabularnewline
35 & 919 & 747.238641249239 & 171.761358750761 \tabularnewline
36 & 732 & 1007.49617940853 & -275.496179408532 \tabularnewline
37 & 657 & 722.310437860598 & -65.3104378605984 \tabularnewline
38 & 1419 & 713.109341221742 & 705.890658778258 \tabularnewline
39 & 989 & 882.601833249775 & 106.398166750225 \tabularnewline
40 & 821 & 831.415365596305 & -10.4153655963048 \tabularnewline
41 & 1740 & 1907.60530244396 & -167.605302443964 \tabularnewline
42 & 815 & 739.800120274406 & 75.1998797255943 \tabularnewline
43 & 760 & 734.416170474564 & 25.5838295254363 \tabularnewline
44 & 936 & 729.284709842033 & 206.715290157967 \tabularnewline
45 & 863 & 667.718509057974 & 195.281490942026 \tabularnewline
46 & 783 & 942.240759548306 & -159.240759548306 \tabularnewline
47 & 715 & 698.317371867057 & 16.6826281329432 \tabularnewline
48 & 1504 & 998.258650167046 & 505.741349832954 \tabularnewline
49 & 1324 & 1060.79933102286 & 263.200668977144 \tabularnewline
50 & 940 & 1100.34943462162 & -160.349434621625 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=191341&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]478[/C][C]559.882079274507[/C][C]-81.8820792745071[/C][/ROW]
[ROW][C]2[/C][C]494[/C][C]570.986176753474[/C][C]-76.9861767534744[/C][/ROW]
[ROW][C]3[/C][C]643[/C][C]704.005363678289[/C][C]-61.0053636782892[/C][/ROW]
[ROW][C]4[/C][C]341[/C][C]632.823520381786[/C][C]-291.823520381786[/C][/ROW]
[ROW][C]5[/C][C]773[/C][C]677.921158060777[/C][C]95.0788419392227[/C][/ROW]
[ROW][C]6[/C][C]603[/C][C]509.217565345635[/C][C]93.7824346543646[/C][/ROW]
[ROW][C]7[/C][C]484[/C][C]580.919451284355[/C][C]-96.9194512843549[/C][/ROW]
[ROW][C]8[/C][C]546[/C][C]519.430192024605[/C][C]26.5698079753946[/C][/ROW]
[ROW][C]9[/C][C]424[/C][C]465.219932798116[/C][C]-41.2199327981162[/C][/ROW]
[ROW][C]10[/C][C]548[/C][C]592.558206662016[/C][C]-44.5582066620163[/C][/ROW]
[ROW][C]11[/C][C]506[/C][C]523.893430174056[/C][C]-17.8934301740559[/C][/ROW]
[ROW][C]12[/C][C]819[/C][C]605.520749206515[/C][C]213.479250793485[/C][/ROW]
[ROW][C]13[/C][C]541[/C][C]561.610429575029[/C][C]-20.610429575029[/C][/ROW]
[ROW][C]14[/C][C]491[/C][C]750.878862426951[/C][C]-259.878862426951[/C][/ROW]
[ROW][C]15[/C][C]514[/C][C]498.821369587328[/C][C]15.1786304126716[/C][/ROW]
[ROW][C]16[/C][C]371[/C][C]505.313879684233[/C][C]-134.313879684233[/C][/ROW]
[ROW][C]17[/C][C]457[/C][C]489.951621037286[/C][C]-32.9516210372863[/C][/ROW]
[ROW][C]18[/C][C]437[/C][C]583.595210986059[/C][C]-146.595210986059[/C][/ROW]
[ROW][C]19[/C][C]570[/C][C]603.776048293387[/C][C]-33.7760482933869[/C][/ROW]
[ROW][C]20[/C][C]432[/C][C]526.017630951951[/C][C]-94.0176309519513[/C][/ROW]
[ROW][C]21[/C][C]619[/C][C]727.874003901545[/C][C]-108.874003901545[/C][/ROW]
[ROW][C]22[/C][C]357[/C][C]549.932038770365[/C][C]-192.932038770365[/C][/ROW]
[ROW][C]23[/C][C]623[/C][C]614.592314678273[/C][C]8.40768532172732[/C][/ROW]
[ROW][C]24[/C][C]547[/C][C]815.576777312715[/C][C]-268.576777312715[/C][/ROW]
[ROW][C]25[/C][C]792[/C][C]710.460998504885[/C][C]81.5390014951147[/C][/ROW]
[ROW][C]26[/C][C]799[/C][C]742.454877441474[/C][C]56.5451225585262[/C][/ROW]
[ROW][C]27[/C][C]439[/C][C]632.543583986624[/C][C]-193.543583986624[/C][/ROW]
[ROW][C]28[/C][C]867[/C][C]846.265663547525[/C][C]20.7343364524746[/C][/ROW]
[ROW][C]29[/C][C]912[/C][C]825.024731951949[/C][C]86.9752680480505[/C][/ROW]
[ROW][C]30[/C][C]462[/C][C]570.104677478719[/C][C]-108.104677478719[/C][/ROW]
[ROW][C]31[/C][C]859[/C][C]738.086124885779[/C][C]120.913875114221[/C][/ROW]
[ROW][C]32[/C][C]805[/C][C]853.830735861158[/C][C]-48.830735861158[/C][/ROW]
[ROW][C]33[/C][C]652[/C][C]696.861648752452[/C][C]-44.8616487524522[/C][/ROW]
[ROW][C]34[/C][C]776[/C][C]629.086786834156[/C][C]146.913213165844[/C][/ROW]
[ROW][C]35[/C][C]919[/C][C]747.238641249239[/C][C]171.761358750761[/C][/ROW]
[ROW][C]36[/C][C]732[/C][C]1007.49617940853[/C][C]-275.496179408532[/C][/ROW]
[ROW][C]37[/C][C]657[/C][C]722.310437860598[/C][C]-65.3104378605984[/C][/ROW]
[ROW][C]38[/C][C]1419[/C][C]713.109341221742[/C][C]705.890658778258[/C][/ROW]
[ROW][C]39[/C][C]989[/C][C]882.601833249775[/C][C]106.398166750225[/C][/ROW]
[ROW][C]40[/C][C]821[/C][C]831.415365596305[/C][C]-10.4153655963048[/C][/ROW]
[ROW][C]41[/C][C]1740[/C][C]1907.60530244396[/C][C]-167.605302443964[/C][/ROW]
[ROW][C]42[/C][C]815[/C][C]739.800120274406[/C][C]75.1998797255943[/C][/ROW]
[ROW][C]43[/C][C]760[/C][C]734.416170474564[/C][C]25.5838295254363[/C][/ROW]
[ROW][C]44[/C][C]936[/C][C]729.284709842033[/C][C]206.715290157967[/C][/ROW]
[ROW][C]45[/C][C]863[/C][C]667.718509057974[/C][C]195.281490942026[/C][/ROW]
[ROW][C]46[/C][C]783[/C][C]942.240759548306[/C][C]-159.240759548306[/C][/ROW]
[ROW][C]47[/C][C]715[/C][C]698.317371867057[/C][C]16.6826281329432[/C][/ROW]
[ROW][C]48[/C][C]1504[/C][C]998.258650167046[/C][C]505.741349832954[/C][/ROW]
[ROW][C]49[/C][C]1324[/C][C]1060.79933102286[/C][C]263.200668977144[/C][/ROW]
[ROW][C]50[/C][C]940[/C][C]1100.34943462162[/C][C]-160.349434621625[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=191341&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=191341&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
1478559.882079274507-81.8820792745071
2494570.986176753474-76.9861767534744
3643704.005363678289-61.0053636782892
4341632.823520381786-291.823520381786
5773677.92115806077795.0788419392227
6603509.21756534563593.7824346543646
7484580.919451284355-96.9194512843549
8546519.43019202460526.5698079753946
9424465.219932798116-41.2199327981162
10548592.558206662016-44.5582066620163
11506523.893430174056-17.8934301740559
12819605.520749206515213.479250793485
13541561.610429575029-20.610429575029
14491750.878862426951-259.878862426951
15514498.82136958732815.1786304126716
16371505.313879684233-134.313879684233
17457489.951621037286-32.9516210372863
18437583.595210986059-146.595210986059
19570603.776048293387-33.7760482933869
20432526.017630951951-94.0176309519513
21619727.874003901545-108.874003901545
22357549.932038770365-192.932038770365
23623614.5923146782738.40768532172732
24547815.576777312715-268.576777312715
25792710.46099850488581.5390014951147
26799742.45487744147456.5451225585262
27439632.543583986624-193.543583986624
28867846.26566354752520.7343364524746
29912825.02473195194986.9752680480505
30462570.104677478719-108.104677478719
31859738.086124885779120.913875114221
32805853.830735861158-48.830735861158
33652696.861648752452-44.8616487524522
34776629.086786834156146.913213165844
35919747.238641249239171.761358750761
367321007.49617940853-275.496179408532
37657722.310437860598-65.3104378605984
381419713.109341221742705.890658778258
39989882.601833249775106.398166750225
40821831.415365596305-10.4153655963048
4117401907.60530244396-167.605302443964
42815739.80012027440675.1998797255943
43760734.41617047456425.5838295254363
44936729.284709842033206.715290157967
45863667.718509057974195.281490942026
46783942.240759548306-159.240759548306
47715698.31737186705716.6826281329432
481504998.258650167046505.741349832954
4913241060.79933102286263.200668977144
509401100.34943462162-160.349434621625







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
100.1738716613988890.3477433227977780.826128338601111
110.08640117400924840.1728023480184970.913598825990752
120.04760462553929660.09520925107859320.952395374460703
130.01883209312138550.0376641862427710.981167906878615
140.009272674708369590.01854534941673920.99072732529163
150.003411915052905320.006823830105810640.996588084947095
160.002942143669074810.005884287338149620.997057856330925
170.001368665819555210.002737331639110430.998631334180445
180.01024081622839030.02048163245678050.98975918377161
190.007752072073597570.01550414414719510.992247927926402
200.004615961521419620.009231923042839240.99538403847858
210.004402258778654590.008804517557309190.995597741221345
220.004700534951729110.009401069903458210.995299465048271
230.002829602240332550.005659204480665110.997170397759667
240.002130113914208950.00426022782841790.997869886085791
250.005932477800879250.01186495560175850.994067522199121
260.00494122820818320.00988245641636640.995058771791817
270.005944418980849760.01188883796169950.99405558101915
280.00524356943916570.01048713887833140.994756430560834
290.006034407705798410.01206881541159680.993965592294202
300.004476432674434190.008952865348868380.995523567325566
310.003798981289165910.007597962578331830.996201018710834
320.003583901136908920.007167802273817830.996416098863091
330.00269125148438370.005382502968767390.997308748515616
340.003253676183888380.006507352367776760.996746323816112
350.002143465229831360.004286930459662720.997856534770169
360.005679242038402930.01135848407680590.994320757961597
370.002472644190714490.004945288381428980.997527355809286
380.2768286555120830.5536573110241660.723171344487917
390.1734969728385680.3469939456771360.826503027161432
400.09715951689546650.1943190337909330.902840483104534

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
10 & 0.173871661398889 & 0.347743322797778 & 0.826128338601111 \tabularnewline
11 & 0.0864011740092484 & 0.172802348018497 & 0.913598825990752 \tabularnewline
12 & 0.0476046255392966 & 0.0952092510785932 & 0.952395374460703 \tabularnewline
13 & 0.0188320931213855 & 0.037664186242771 & 0.981167906878615 \tabularnewline
14 & 0.00927267470836959 & 0.0185453494167392 & 0.99072732529163 \tabularnewline
15 & 0.00341191505290532 & 0.00682383010581064 & 0.996588084947095 \tabularnewline
16 & 0.00294214366907481 & 0.00588428733814962 & 0.997057856330925 \tabularnewline
17 & 0.00136866581955521 & 0.00273733163911043 & 0.998631334180445 \tabularnewline
18 & 0.0102408162283903 & 0.0204816324567805 & 0.98975918377161 \tabularnewline
19 & 0.00775207207359757 & 0.0155041441471951 & 0.992247927926402 \tabularnewline
20 & 0.00461596152141962 & 0.00923192304283924 & 0.99538403847858 \tabularnewline
21 & 0.00440225877865459 & 0.00880451755730919 & 0.995597741221345 \tabularnewline
22 & 0.00470053495172911 & 0.00940106990345821 & 0.995299465048271 \tabularnewline
23 & 0.00282960224033255 & 0.00565920448066511 & 0.997170397759667 \tabularnewline
24 & 0.00213011391420895 & 0.0042602278284179 & 0.997869886085791 \tabularnewline
25 & 0.00593247780087925 & 0.0118649556017585 & 0.994067522199121 \tabularnewline
26 & 0.0049412282081832 & 0.0098824564163664 & 0.995058771791817 \tabularnewline
27 & 0.00594441898084976 & 0.0118888379616995 & 0.99405558101915 \tabularnewline
28 & 0.0052435694391657 & 0.0104871388783314 & 0.994756430560834 \tabularnewline
29 & 0.00603440770579841 & 0.0120688154115968 & 0.993965592294202 \tabularnewline
30 & 0.00447643267443419 & 0.00895286534886838 & 0.995523567325566 \tabularnewline
31 & 0.00379898128916591 & 0.00759796257833183 & 0.996201018710834 \tabularnewline
32 & 0.00358390113690892 & 0.00716780227381783 & 0.996416098863091 \tabularnewline
33 & 0.0026912514843837 & 0.00538250296876739 & 0.997308748515616 \tabularnewline
34 & 0.00325367618388838 & 0.00650735236777676 & 0.996746323816112 \tabularnewline
35 & 0.00214346522983136 & 0.00428693045966272 & 0.997856534770169 \tabularnewline
36 & 0.00567924203840293 & 0.0113584840768059 & 0.994320757961597 \tabularnewline
37 & 0.00247264419071449 & 0.00494528838142898 & 0.997527355809286 \tabularnewline
38 & 0.276828655512083 & 0.553657311024166 & 0.723171344487917 \tabularnewline
39 & 0.173496972838568 & 0.346993945677136 & 0.826503027161432 \tabularnewline
40 & 0.0971595168954665 & 0.194319033790933 & 0.902840483104534 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=191341&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.173871661398889[/C][C]0.347743322797778[/C][C]0.826128338601111[/C][/ROW]
[ROW][C]11[/C][C]0.0864011740092484[/C][C]0.172802348018497[/C][C]0.913598825990752[/C][/ROW]
[ROW][C]12[/C][C]0.0476046255392966[/C][C]0.0952092510785932[/C][C]0.952395374460703[/C][/ROW]
[ROW][C]13[/C][C]0.0188320931213855[/C][C]0.037664186242771[/C][C]0.981167906878615[/C][/ROW]
[ROW][C]14[/C][C]0.00927267470836959[/C][C]0.0185453494167392[/C][C]0.99072732529163[/C][/ROW]
[ROW][C]15[/C][C]0.00341191505290532[/C][C]0.00682383010581064[/C][C]0.996588084947095[/C][/ROW]
[ROW][C]16[/C][C]0.00294214366907481[/C][C]0.00588428733814962[/C][C]0.997057856330925[/C][/ROW]
[ROW][C]17[/C][C]0.00136866581955521[/C][C]0.00273733163911043[/C][C]0.998631334180445[/C][/ROW]
[ROW][C]18[/C][C]0.0102408162283903[/C][C]0.0204816324567805[/C][C]0.98975918377161[/C][/ROW]
[ROW][C]19[/C][C]0.00775207207359757[/C][C]0.0155041441471951[/C][C]0.992247927926402[/C][/ROW]
[ROW][C]20[/C][C]0.00461596152141962[/C][C]0.00923192304283924[/C][C]0.99538403847858[/C][/ROW]
[ROW][C]21[/C][C]0.00440225877865459[/C][C]0.00880451755730919[/C][C]0.995597741221345[/C][/ROW]
[ROW][C]22[/C][C]0.00470053495172911[/C][C]0.00940106990345821[/C][C]0.995299465048271[/C][/ROW]
[ROW][C]23[/C][C]0.00282960224033255[/C][C]0.00565920448066511[/C][C]0.997170397759667[/C][/ROW]
[ROW][C]24[/C][C]0.00213011391420895[/C][C]0.0042602278284179[/C][C]0.997869886085791[/C][/ROW]
[ROW][C]25[/C][C]0.00593247780087925[/C][C]0.0118649556017585[/C][C]0.994067522199121[/C][/ROW]
[ROW][C]26[/C][C]0.0049412282081832[/C][C]0.0098824564163664[/C][C]0.995058771791817[/C][/ROW]
[ROW][C]27[/C][C]0.00594441898084976[/C][C]0.0118888379616995[/C][C]0.99405558101915[/C][/ROW]
[ROW][C]28[/C][C]0.0052435694391657[/C][C]0.0104871388783314[/C][C]0.994756430560834[/C][/ROW]
[ROW][C]29[/C][C]0.00603440770579841[/C][C]0.0120688154115968[/C][C]0.993965592294202[/C][/ROW]
[ROW][C]30[/C][C]0.00447643267443419[/C][C]0.00895286534886838[/C][C]0.995523567325566[/C][/ROW]
[ROW][C]31[/C][C]0.00379898128916591[/C][C]0.00759796257833183[/C][C]0.996201018710834[/C][/ROW]
[ROW][C]32[/C][C]0.00358390113690892[/C][C]0.00716780227381783[/C][C]0.996416098863091[/C][/ROW]
[ROW][C]33[/C][C]0.0026912514843837[/C][C]0.00538250296876739[/C][C]0.997308748515616[/C][/ROW]
[ROW][C]34[/C][C]0.00325367618388838[/C][C]0.00650735236777676[/C][C]0.996746323816112[/C][/ROW]
[ROW][C]35[/C][C]0.00214346522983136[/C][C]0.00428693045966272[/C][C]0.997856534770169[/C][/ROW]
[ROW][C]36[/C][C]0.00567924203840293[/C][C]0.0113584840768059[/C][C]0.994320757961597[/C][/ROW]
[ROW][C]37[/C][C]0.00247264419071449[/C][C]0.00494528838142898[/C][C]0.997527355809286[/C][/ROW]
[ROW][C]38[/C][C]0.276828655512083[/C][C]0.553657311024166[/C][C]0.723171344487917[/C][/ROW]
[ROW][C]39[/C][C]0.173496972838568[/C][C]0.346993945677136[/C][C]0.826503027161432[/C][/ROW]
[ROW][C]40[/C][C]0.0971595168954665[/C][C]0.194319033790933[/C][C]0.902840483104534[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=191341&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=191341&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.1738716613988890.3477433227977780.826128338601111
110.08640117400924840.1728023480184970.913598825990752
120.04760462553929660.09520925107859320.952395374460703
130.01883209312138550.0376641862427710.981167906878615
140.009272674708369590.01854534941673920.99072732529163
150.003411915052905320.006823830105810640.996588084947095
160.002942143669074810.005884287338149620.997057856330925
170.001368665819555210.002737331639110430.998631334180445
180.01024081622839030.02048163245678050.98975918377161
190.007752072073597570.01550414414719510.992247927926402
200.004615961521419620.009231923042839240.99538403847858
210.004402258778654590.008804517557309190.995597741221345
220.004700534951729110.009401069903458210.995299465048271
230.002829602240332550.005659204480665110.997170397759667
240.002130113914208950.00426022782841790.997869886085791
250.005932477800879250.01186495560175850.994067522199121
260.00494122820818320.00988245641636640.995058771791817
270.005944418980849760.01188883796169950.99405558101915
280.00524356943916570.01048713887833140.994756430560834
290.006034407705798410.01206881541159680.993965592294202
300.004476432674434190.008952865348868380.995523567325566
310.003798981289165910.007597962578331830.996201018710834
320.003583901136908920.007167802273817830.996416098863091
330.00269125148438370.005382502968767390.997308748515616
340.003253676183888380.006507352367776760.996746323816112
350.002143465229831360.004286930459662720.997856534770169
360.005679242038402930.01135848407680590.994320757961597
370.002472644190714490.004945288381428980.997527355809286
380.2768286555120830.5536573110241660.723171344487917
390.1734969728385680.3469939456771360.826503027161432
400.09715951689546650.1943190337909330.902840483104534







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level160.516129032258065NOK
5% type I error level250.806451612903226NOK
10% type I error level260.838709677419355NOK

\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 & 16 & 0.516129032258065 & NOK \tabularnewline
5% type I error level & 25 & 0.806451612903226 & NOK \tabularnewline
10% type I error level & 26 & 0.838709677419355 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=191341&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]16[/C][C]0.516129032258065[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]25[/C][C]0.806451612903226[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]26[/C][C]0.838709677419355[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=191341&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=191341&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 level160.516129032258065NOK
5% type I error level250.806451612903226NOK
10% type I error level260.838709677419355NOK



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