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 computationFri, 24 Dec 2010 17:02:28 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/24/t1293210011tpc8rp5ws9yb3l3.htm/, Retrieved Tue, 30 Apr 2024 06:37:50 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=115207, Retrieved Tue, 30 Apr 2024 06:37:50 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact126
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [paperMR] [2010-12-19 15:04:21] [7e261c986c934df955dd3ac53e9d45c6]
-   PD  [Multiple Regression] [paperMR1(werk)] [2010-12-21 13:33:20] [7e261c986c934df955dd3ac53e9d45c6]
-   P     [Multiple Regression] [MR_werkloos] [2010-12-22 17:32:27] [8441f95c4a5787a301bc621ebc7904ca]
-             [Multiple Regression] [paperMR1] [2010-12-24 17:02:28] [13dfa60174f50d862e8699db2153bfc5] [Current]
Feedback Forum

Post a new message
Dataseries X:
595	0
597	0
593	0
590	0
580	0
574	0
573	0
573	0
620	0
626	0
620	0
588	0
566	0
557	0
561	0
549	0
532	0
526	0
511	0
499	0
555	0
565	0
542	0
527	0
510	0
514	0
517	0
508	0
493	0
490	0
469	0
478	0
528	0
534	0
518	0
506	0
502	1
516	1
528	1
533	1
536	1
537	1
524	1
536	1
587	1
597	1
581	1
564	1
558	1
575	1
580	1
575	1
563	1
552	1
537	1
545	1
601	1
604	1
586	1
564	1
549	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk

\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 & 5 seconds \tabularnewline
R Server & 'RServer@AstonUniversity' @ vre.aston.ac.uk \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115207&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]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'RServer@AstonUniversity' @ vre.aston.ac.uk[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115207&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115207&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 time5 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk







Multiple Linear Regression - Estimated Regression Equation
werkloosheid[t] = + 546.777777777778 + 10.4222222222222X[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
werkloosheid[t] =  +  546.777777777778 +  10.4222222222222X[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115207&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]werkloosheid[t] =  +  546.777777777778 +  10.4222222222222X[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115207&T=1

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Estimated Regression Equation
werkloosheid[t] = + 546.777777777778 + 10.4222222222222X[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)546.7777777777786.12557889.261400
X10.42222222222229.5684581.08920.2804830.140241

\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) & 546.777777777778 & 6.125578 & 89.2614 & 0 & 0 \tabularnewline
X & 10.4222222222222 & 9.568458 & 1.0892 & 0.280483 & 0.140241 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115207&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]546.777777777778[/C][C]6.125578[/C][C]89.2614[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]10.4222222222222[/C][C]9.568458[/C][C]1.0892[/C][C]0.280483[/C][C]0.140241[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115207&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115207&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)546.7777777777786.12557889.261400
X10.42222222222229.5684581.08920.2804830.140241







Multiple Linear Regression - Regression Statistics
Multiple R0.140400649383238
R-squared0.0197123423472349
Adjusted R-squared0.00309729730227293
F-TEST (value)1.18641522149902
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value0.280482906615092
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation36.7534668541673
Sum Squared Residuals79698.2222222222

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.140400649383238 \tabularnewline
R-squared & 0.0197123423472349 \tabularnewline
Adjusted R-squared & 0.00309729730227293 \tabularnewline
F-TEST (value) & 1.18641522149902 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 59 \tabularnewline
p-value & 0.280482906615092 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 36.7534668541673 \tabularnewline
Sum Squared Residuals & 79698.2222222222 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115207&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.140400649383238[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0197123423472349[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.00309729730227293[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]1.18641522149902[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]59[/C][/ROW]
[ROW][C]p-value[/C][C]0.280482906615092[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]36.7534668541673[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]79698.2222222222[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115207&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115207&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.140400649383238
R-squared0.0197123423472349
Adjusted R-squared0.00309729730227293
F-TEST (value)1.18641522149902
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value0.280482906615092
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation36.7534668541673
Sum Squared Residuals79698.2222222222







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1595546.77777777777848.2222222222221
2597546.77777777777850.2222222222222
3593546.77777777777846.2222222222222
4590546.77777777777843.2222222222222
5580546.77777777777833.2222222222222
6574546.77777777777827.2222222222222
7573546.77777777777826.2222222222222
8573546.77777777777826.2222222222222
9620546.77777777777873.2222222222222
10626546.77777777777879.2222222222222
11620546.77777777777873.2222222222222
12588546.77777777777841.2222222222222
13566546.77777777777819.2222222222222
14557546.77777777777810.2222222222222
15561546.77777777777814.2222222222222
16549546.7777777777782.22222222222223
17532546.777777777778-14.7777777777778
18526546.777777777778-20.7777777777778
19511546.777777777778-35.7777777777778
20499546.777777777778-47.7777777777778
21555546.7777777777788.22222222222223
22565546.77777777777818.2222222222222
23542546.777777777778-4.77777777777777
24527546.777777777778-19.7777777777778
25510546.777777777778-36.7777777777778
26514546.777777777778-32.7777777777778
27517546.777777777778-29.7777777777778
28508546.777777777778-38.7777777777778
29493546.777777777778-53.7777777777778
30490546.777777777778-56.7777777777778
31469546.777777777778-77.7777777777778
32478546.777777777778-68.7777777777778
33528546.777777777778-18.7777777777778
34534546.777777777778-12.7777777777778
35518546.777777777778-28.7777777777778
36506546.777777777778-40.7777777777778
37502557.2-55.2
38516557.2-41.2
39528557.2-29.2
40533557.2-24.2
41536557.2-21.2
42537557.2-20.2
43524557.2-33.2
44536557.2-21.2
45587557.229.8
46597557.239.8
47581557.223.8
48564557.26.8
49558557.20.8
50575557.217.8
51580557.222.8
52575557.217.8
53563557.25.8
54552557.2-5.2
55537557.2-20.2
56545557.2-12.2
57601557.243.8
58604557.246.8
59586557.228.8
60564557.26.8
61549557.2-8.2

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 595 & 546.777777777778 & 48.2222222222221 \tabularnewline
2 & 597 & 546.777777777778 & 50.2222222222222 \tabularnewline
3 & 593 & 546.777777777778 & 46.2222222222222 \tabularnewline
4 & 590 & 546.777777777778 & 43.2222222222222 \tabularnewline
5 & 580 & 546.777777777778 & 33.2222222222222 \tabularnewline
6 & 574 & 546.777777777778 & 27.2222222222222 \tabularnewline
7 & 573 & 546.777777777778 & 26.2222222222222 \tabularnewline
8 & 573 & 546.777777777778 & 26.2222222222222 \tabularnewline
9 & 620 & 546.777777777778 & 73.2222222222222 \tabularnewline
10 & 626 & 546.777777777778 & 79.2222222222222 \tabularnewline
11 & 620 & 546.777777777778 & 73.2222222222222 \tabularnewline
12 & 588 & 546.777777777778 & 41.2222222222222 \tabularnewline
13 & 566 & 546.777777777778 & 19.2222222222222 \tabularnewline
14 & 557 & 546.777777777778 & 10.2222222222222 \tabularnewline
15 & 561 & 546.777777777778 & 14.2222222222222 \tabularnewline
16 & 549 & 546.777777777778 & 2.22222222222223 \tabularnewline
17 & 532 & 546.777777777778 & -14.7777777777778 \tabularnewline
18 & 526 & 546.777777777778 & -20.7777777777778 \tabularnewline
19 & 511 & 546.777777777778 & -35.7777777777778 \tabularnewline
20 & 499 & 546.777777777778 & -47.7777777777778 \tabularnewline
21 & 555 & 546.777777777778 & 8.22222222222223 \tabularnewline
22 & 565 & 546.777777777778 & 18.2222222222222 \tabularnewline
23 & 542 & 546.777777777778 & -4.77777777777777 \tabularnewline
24 & 527 & 546.777777777778 & -19.7777777777778 \tabularnewline
25 & 510 & 546.777777777778 & -36.7777777777778 \tabularnewline
26 & 514 & 546.777777777778 & -32.7777777777778 \tabularnewline
27 & 517 & 546.777777777778 & -29.7777777777778 \tabularnewline
28 & 508 & 546.777777777778 & -38.7777777777778 \tabularnewline
29 & 493 & 546.777777777778 & -53.7777777777778 \tabularnewline
30 & 490 & 546.777777777778 & -56.7777777777778 \tabularnewline
31 & 469 & 546.777777777778 & -77.7777777777778 \tabularnewline
32 & 478 & 546.777777777778 & -68.7777777777778 \tabularnewline
33 & 528 & 546.777777777778 & -18.7777777777778 \tabularnewline
34 & 534 & 546.777777777778 & -12.7777777777778 \tabularnewline
35 & 518 & 546.777777777778 & -28.7777777777778 \tabularnewline
36 & 506 & 546.777777777778 & -40.7777777777778 \tabularnewline
37 & 502 & 557.2 & -55.2 \tabularnewline
38 & 516 & 557.2 & -41.2 \tabularnewline
39 & 528 & 557.2 & -29.2 \tabularnewline
40 & 533 & 557.2 & -24.2 \tabularnewline
41 & 536 & 557.2 & -21.2 \tabularnewline
42 & 537 & 557.2 & -20.2 \tabularnewline
43 & 524 & 557.2 & -33.2 \tabularnewline
44 & 536 & 557.2 & -21.2 \tabularnewline
45 & 587 & 557.2 & 29.8 \tabularnewline
46 & 597 & 557.2 & 39.8 \tabularnewline
47 & 581 & 557.2 & 23.8 \tabularnewline
48 & 564 & 557.2 & 6.8 \tabularnewline
49 & 558 & 557.2 & 0.8 \tabularnewline
50 & 575 & 557.2 & 17.8 \tabularnewline
51 & 580 & 557.2 & 22.8 \tabularnewline
52 & 575 & 557.2 & 17.8 \tabularnewline
53 & 563 & 557.2 & 5.8 \tabularnewline
54 & 552 & 557.2 & -5.2 \tabularnewline
55 & 537 & 557.2 & -20.2 \tabularnewline
56 & 545 & 557.2 & -12.2 \tabularnewline
57 & 601 & 557.2 & 43.8 \tabularnewline
58 & 604 & 557.2 & 46.8 \tabularnewline
59 & 586 & 557.2 & 28.8 \tabularnewline
60 & 564 & 557.2 & 6.8 \tabularnewline
61 & 549 & 557.2 & -8.2 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115207&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]595[/C][C]546.777777777778[/C][C]48.2222222222221[/C][/ROW]
[ROW][C]2[/C][C]597[/C][C]546.777777777778[/C][C]50.2222222222222[/C][/ROW]
[ROW][C]3[/C][C]593[/C][C]546.777777777778[/C][C]46.2222222222222[/C][/ROW]
[ROW][C]4[/C][C]590[/C][C]546.777777777778[/C][C]43.2222222222222[/C][/ROW]
[ROW][C]5[/C][C]580[/C][C]546.777777777778[/C][C]33.2222222222222[/C][/ROW]
[ROW][C]6[/C][C]574[/C][C]546.777777777778[/C][C]27.2222222222222[/C][/ROW]
[ROW][C]7[/C][C]573[/C][C]546.777777777778[/C][C]26.2222222222222[/C][/ROW]
[ROW][C]8[/C][C]573[/C][C]546.777777777778[/C][C]26.2222222222222[/C][/ROW]
[ROW][C]9[/C][C]620[/C][C]546.777777777778[/C][C]73.2222222222222[/C][/ROW]
[ROW][C]10[/C][C]626[/C][C]546.777777777778[/C][C]79.2222222222222[/C][/ROW]
[ROW][C]11[/C][C]620[/C][C]546.777777777778[/C][C]73.2222222222222[/C][/ROW]
[ROW][C]12[/C][C]588[/C][C]546.777777777778[/C][C]41.2222222222222[/C][/ROW]
[ROW][C]13[/C][C]566[/C][C]546.777777777778[/C][C]19.2222222222222[/C][/ROW]
[ROW][C]14[/C][C]557[/C][C]546.777777777778[/C][C]10.2222222222222[/C][/ROW]
[ROW][C]15[/C][C]561[/C][C]546.777777777778[/C][C]14.2222222222222[/C][/ROW]
[ROW][C]16[/C][C]549[/C][C]546.777777777778[/C][C]2.22222222222223[/C][/ROW]
[ROW][C]17[/C][C]532[/C][C]546.777777777778[/C][C]-14.7777777777778[/C][/ROW]
[ROW][C]18[/C][C]526[/C][C]546.777777777778[/C][C]-20.7777777777778[/C][/ROW]
[ROW][C]19[/C][C]511[/C][C]546.777777777778[/C][C]-35.7777777777778[/C][/ROW]
[ROW][C]20[/C][C]499[/C][C]546.777777777778[/C][C]-47.7777777777778[/C][/ROW]
[ROW][C]21[/C][C]555[/C][C]546.777777777778[/C][C]8.22222222222223[/C][/ROW]
[ROW][C]22[/C][C]565[/C][C]546.777777777778[/C][C]18.2222222222222[/C][/ROW]
[ROW][C]23[/C][C]542[/C][C]546.777777777778[/C][C]-4.77777777777777[/C][/ROW]
[ROW][C]24[/C][C]527[/C][C]546.777777777778[/C][C]-19.7777777777778[/C][/ROW]
[ROW][C]25[/C][C]510[/C][C]546.777777777778[/C][C]-36.7777777777778[/C][/ROW]
[ROW][C]26[/C][C]514[/C][C]546.777777777778[/C][C]-32.7777777777778[/C][/ROW]
[ROW][C]27[/C][C]517[/C][C]546.777777777778[/C][C]-29.7777777777778[/C][/ROW]
[ROW][C]28[/C][C]508[/C][C]546.777777777778[/C][C]-38.7777777777778[/C][/ROW]
[ROW][C]29[/C][C]493[/C][C]546.777777777778[/C][C]-53.7777777777778[/C][/ROW]
[ROW][C]30[/C][C]490[/C][C]546.777777777778[/C][C]-56.7777777777778[/C][/ROW]
[ROW][C]31[/C][C]469[/C][C]546.777777777778[/C][C]-77.7777777777778[/C][/ROW]
[ROW][C]32[/C][C]478[/C][C]546.777777777778[/C][C]-68.7777777777778[/C][/ROW]
[ROW][C]33[/C][C]528[/C][C]546.777777777778[/C][C]-18.7777777777778[/C][/ROW]
[ROW][C]34[/C][C]534[/C][C]546.777777777778[/C][C]-12.7777777777778[/C][/ROW]
[ROW][C]35[/C][C]518[/C][C]546.777777777778[/C][C]-28.7777777777778[/C][/ROW]
[ROW][C]36[/C][C]506[/C][C]546.777777777778[/C][C]-40.7777777777778[/C][/ROW]
[ROW][C]37[/C][C]502[/C][C]557.2[/C][C]-55.2[/C][/ROW]
[ROW][C]38[/C][C]516[/C][C]557.2[/C][C]-41.2[/C][/ROW]
[ROW][C]39[/C][C]528[/C][C]557.2[/C][C]-29.2[/C][/ROW]
[ROW][C]40[/C][C]533[/C][C]557.2[/C][C]-24.2[/C][/ROW]
[ROW][C]41[/C][C]536[/C][C]557.2[/C][C]-21.2[/C][/ROW]
[ROW][C]42[/C][C]537[/C][C]557.2[/C][C]-20.2[/C][/ROW]
[ROW][C]43[/C][C]524[/C][C]557.2[/C][C]-33.2[/C][/ROW]
[ROW][C]44[/C][C]536[/C][C]557.2[/C][C]-21.2[/C][/ROW]
[ROW][C]45[/C][C]587[/C][C]557.2[/C][C]29.8[/C][/ROW]
[ROW][C]46[/C][C]597[/C][C]557.2[/C][C]39.8[/C][/ROW]
[ROW][C]47[/C][C]581[/C][C]557.2[/C][C]23.8[/C][/ROW]
[ROW][C]48[/C][C]564[/C][C]557.2[/C][C]6.8[/C][/ROW]
[ROW][C]49[/C][C]558[/C][C]557.2[/C][C]0.8[/C][/ROW]
[ROW][C]50[/C][C]575[/C][C]557.2[/C][C]17.8[/C][/ROW]
[ROW][C]51[/C][C]580[/C][C]557.2[/C][C]22.8[/C][/ROW]
[ROW][C]52[/C][C]575[/C][C]557.2[/C][C]17.8[/C][/ROW]
[ROW][C]53[/C][C]563[/C][C]557.2[/C][C]5.8[/C][/ROW]
[ROW][C]54[/C][C]552[/C][C]557.2[/C][C]-5.2[/C][/ROW]
[ROW][C]55[/C][C]537[/C][C]557.2[/C][C]-20.2[/C][/ROW]
[ROW][C]56[/C][C]545[/C][C]557.2[/C][C]-12.2[/C][/ROW]
[ROW][C]57[/C][C]601[/C][C]557.2[/C][C]43.8[/C][/ROW]
[ROW][C]58[/C][C]604[/C][C]557.2[/C][C]46.8[/C][/ROW]
[ROW][C]59[/C][C]586[/C][C]557.2[/C][C]28.8[/C][/ROW]
[ROW][C]60[/C][C]564[/C][C]557.2[/C][C]6.8[/C][/ROW]
[ROW][C]61[/C][C]549[/C][C]557.2[/C][C]-8.2[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115207&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115207&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
1595546.77777777777848.2222222222221
2597546.77777777777850.2222222222222
3593546.77777777777846.2222222222222
4590546.77777777777843.2222222222222
5580546.77777777777833.2222222222222
6574546.77777777777827.2222222222222
7573546.77777777777826.2222222222222
8573546.77777777777826.2222222222222
9620546.77777777777873.2222222222222
10626546.77777777777879.2222222222222
11620546.77777777777873.2222222222222
12588546.77777777777841.2222222222222
13566546.77777777777819.2222222222222
14557546.77777777777810.2222222222222
15561546.77777777777814.2222222222222
16549546.7777777777782.22222222222223
17532546.777777777778-14.7777777777778
18526546.777777777778-20.7777777777778
19511546.777777777778-35.7777777777778
20499546.777777777778-47.7777777777778
21555546.7777777777788.22222222222223
22565546.77777777777818.2222222222222
23542546.777777777778-4.77777777777777
24527546.777777777778-19.7777777777778
25510546.777777777778-36.7777777777778
26514546.777777777778-32.7777777777778
27517546.777777777778-29.7777777777778
28508546.777777777778-38.7777777777778
29493546.777777777778-53.7777777777778
30490546.777777777778-56.7777777777778
31469546.777777777778-77.7777777777778
32478546.777777777778-68.7777777777778
33528546.777777777778-18.7777777777778
34534546.777777777778-12.7777777777778
35518546.777777777778-28.7777777777778
36506546.777777777778-40.7777777777778
37502557.2-55.2
38516557.2-41.2
39528557.2-29.2
40533557.2-24.2
41536557.2-21.2
42537557.2-20.2
43524557.2-33.2
44536557.2-21.2
45587557.229.8
46597557.239.8
47581557.223.8
48564557.26.8
49558557.20.8
50575557.217.8
51580557.222.8
52575557.217.8
53563557.25.8
54552557.2-5.2
55537557.2-20.2
56545557.2-12.2
57601557.243.8
58604557.246.8
59586557.228.8
60564557.26.8
61549557.2-8.2







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.01365722793190220.02731445586380440.986342772068098
60.01267850134867810.02535700269735620.987321498651322
70.007840336866342690.01568067373268540.992159663133657
80.004025431904925430.008050863809850850.995974568095075
90.02588256556375770.05176513112751530.974117434436242
100.08689506742046580.1737901348409320.913104932579534
110.1493007164237150.298601432847430.850699283576285
120.1316220589840330.2632441179680670.868377941015967
130.1637336566022310.3274673132044610.83626634339777
140.2314538747947980.4629077495895960.768546125205202
150.2716577000137770.5433154000275530.728342299986223
160.3629851295569740.7259702591139480.637014870443026
170.5416287872191320.9167424255617360.458371212780868
180.6879490767370730.6241018465258530.312050923262927
190.8360071080859270.3279857838281460.163992891914073
200.9318476557933920.1363046884132160.0681523442066082
210.9295060801146840.1409878397706310.0704939198853155
220.9420083656425930.1159832687148150.0579916343574073
230.943825550738140.1123488985237190.0561744492618594
240.9475846567355920.1048306865288170.0524153432644084
250.9585216367397440.08295672652051110.0414783632602556
260.9616010281904520.07679794361909650.0383989718095483
270.961179762508540.07764047498291940.0388202374914597
280.9626456711325840.07470865773483170.0373543288674158
290.9705715835868150.05885683282637030.0294284164131852
300.9763426376538430.04731472469231370.0236573623461569
310.9907106178486550.01857876430269050.00928938215134523
320.995199162261260.009601675477479340.00480083773873967
330.9922485824921780.01550283501564390.00775141750782196
340.9885228841183540.02295423176329160.0114771158816458
350.9831011516942140.03379769661157260.0168988483057863
360.9767018738560620.04659625228787540.0232981261439377
370.987061568370180.02587686325964130.0129384316298206
380.9903041827156060.01939163456878790.00969581728439397
390.9903015098236660.01939698035266860.0096984901763343
400.989397682891110.02120463421778120.0106023171088906
410.988003984025770.02399203194845920.0119960159742296
420.9867615935154140.02647681296917180.0132384064845859
430.992822507479090.01435498504182130.00717749252091063
440.99441362885350.01117274229299940.00558637114649971
450.9929586639685560.01408267206288820.00704133603144411
460.9940724778072190.01185504438556230.00592752219278114
470.9902974753168160.01940504936636770.00970252468318386
480.981214007955210.03757198408957960.0187859920447898
490.9669354313179260.06612913736414720.0330645686820736
500.9422191744290120.1155616511419760.0577808255709878
510.9084931887667960.1830136224664080.0915068112332042
520.8514128028528640.2971743942942710.148587197147136
530.7623420062507430.4753159874985150.237657993749257
540.6672958071059230.6654083857881540.332704192894077
550.665775047879520.6684499042409590.33422495212048
560.6491533723587580.7016932552824850.350846627641242

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.0136572279319022 & 0.0273144558638044 & 0.986342772068098 \tabularnewline
6 & 0.0126785013486781 & 0.0253570026973562 & 0.987321498651322 \tabularnewline
7 & 0.00784033686634269 & 0.0156806737326854 & 0.992159663133657 \tabularnewline
8 & 0.00402543190492543 & 0.00805086380985085 & 0.995974568095075 \tabularnewline
9 & 0.0258825655637577 & 0.0517651311275153 & 0.974117434436242 \tabularnewline
10 & 0.0868950674204658 & 0.173790134840932 & 0.913104932579534 \tabularnewline
11 & 0.149300716423715 & 0.29860143284743 & 0.850699283576285 \tabularnewline
12 & 0.131622058984033 & 0.263244117968067 & 0.868377941015967 \tabularnewline
13 & 0.163733656602231 & 0.327467313204461 & 0.83626634339777 \tabularnewline
14 & 0.231453874794798 & 0.462907749589596 & 0.768546125205202 \tabularnewline
15 & 0.271657700013777 & 0.543315400027553 & 0.728342299986223 \tabularnewline
16 & 0.362985129556974 & 0.725970259113948 & 0.637014870443026 \tabularnewline
17 & 0.541628787219132 & 0.916742425561736 & 0.458371212780868 \tabularnewline
18 & 0.687949076737073 & 0.624101846525853 & 0.312050923262927 \tabularnewline
19 & 0.836007108085927 & 0.327985783828146 & 0.163992891914073 \tabularnewline
20 & 0.931847655793392 & 0.136304688413216 & 0.0681523442066082 \tabularnewline
21 & 0.929506080114684 & 0.140987839770631 & 0.0704939198853155 \tabularnewline
22 & 0.942008365642593 & 0.115983268714815 & 0.0579916343574073 \tabularnewline
23 & 0.94382555073814 & 0.112348898523719 & 0.0561744492618594 \tabularnewline
24 & 0.947584656735592 & 0.104830686528817 & 0.0524153432644084 \tabularnewline
25 & 0.958521636739744 & 0.0829567265205111 & 0.0414783632602556 \tabularnewline
26 & 0.961601028190452 & 0.0767979436190965 & 0.0383989718095483 \tabularnewline
27 & 0.96117976250854 & 0.0776404749829194 & 0.0388202374914597 \tabularnewline
28 & 0.962645671132584 & 0.0747086577348317 & 0.0373543288674158 \tabularnewline
29 & 0.970571583586815 & 0.0588568328263703 & 0.0294284164131852 \tabularnewline
30 & 0.976342637653843 & 0.0473147246923137 & 0.0236573623461569 \tabularnewline
31 & 0.990710617848655 & 0.0185787643026905 & 0.00928938215134523 \tabularnewline
32 & 0.99519916226126 & 0.00960167547747934 & 0.00480083773873967 \tabularnewline
33 & 0.992248582492178 & 0.0155028350156439 & 0.00775141750782196 \tabularnewline
34 & 0.988522884118354 & 0.0229542317632916 & 0.0114771158816458 \tabularnewline
35 & 0.983101151694214 & 0.0337976966115726 & 0.0168988483057863 \tabularnewline
36 & 0.976701873856062 & 0.0465962522878754 & 0.0232981261439377 \tabularnewline
37 & 0.98706156837018 & 0.0258768632596413 & 0.0129384316298206 \tabularnewline
38 & 0.990304182715606 & 0.0193916345687879 & 0.00969581728439397 \tabularnewline
39 & 0.990301509823666 & 0.0193969803526686 & 0.0096984901763343 \tabularnewline
40 & 0.98939768289111 & 0.0212046342177812 & 0.0106023171088906 \tabularnewline
41 & 0.98800398402577 & 0.0239920319484592 & 0.0119960159742296 \tabularnewline
42 & 0.986761593515414 & 0.0264768129691718 & 0.0132384064845859 \tabularnewline
43 & 0.99282250747909 & 0.0143549850418213 & 0.00717749252091063 \tabularnewline
44 & 0.9944136288535 & 0.0111727422929994 & 0.00558637114649971 \tabularnewline
45 & 0.992958663968556 & 0.0140826720628882 & 0.00704133603144411 \tabularnewline
46 & 0.994072477807219 & 0.0118550443855623 & 0.00592752219278114 \tabularnewline
47 & 0.990297475316816 & 0.0194050493663677 & 0.00970252468318386 \tabularnewline
48 & 0.98121400795521 & 0.0375719840895796 & 0.0187859920447898 \tabularnewline
49 & 0.966935431317926 & 0.0661291373641472 & 0.0330645686820736 \tabularnewline
50 & 0.942219174429012 & 0.115561651141976 & 0.0577808255709878 \tabularnewline
51 & 0.908493188766796 & 0.183013622466408 & 0.0915068112332042 \tabularnewline
52 & 0.851412802852864 & 0.297174394294271 & 0.148587197147136 \tabularnewline
53 & 0.762342006250743 & 0.475315987498515 & 0.237657993749257 \tabularnewline
54 & 0.667295807105923 & 0.665408385788154 & 0.332704192894077 \tabularnewline
55 & 0.66577504787952 & 0.668449904240959 & 0.33422495212048 \tabularnewline
56 & 0.649153372358758 & 0.701693255282485 & 0.350846627641242 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115207&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]5[/C][C]0.0136572279319022[/C][C]0.0273144558638044[/C][C]0.986342772068098[/C][/ROW]
[ROW][C]6[/C][C]0.0126785013486781[/C][C]0.0253570026973562[/C][C]0.987321498651322[/C][/ROW]
[ROW][C]7[/C][C]0.00784033686634269[/C][C]0.0156806737326854[/C][C]0.992159663133657[/C][/ROW]
[ROW][C]8[/C][C]0.00402543190492543[/C][C]0.00805086380985085[/C][C]0.995974568095075[/C][/ROW]
[ROW][C]9[/C][C]0.0258825655637577[/C][C]0.0517651311275153[/C][C]0.974117434436242[/C][/ROW]
[ROW][C]10[/C][C]0.0868950674204658[/C][C]0.173790134840932[/C][C]0.913104932579534[/C][/ROW]
[ROW][C]11[/C][C]0.149300716423715[/C][C]0.29860143284743[/C][C]0.850699283576285[/C][/ROW]
[ROW][C]12[/C][C]0.131622058984033[/C][C]0.263244117968067[/C][C]0.868377941015967[/C][/ROW]
[ROW][C]13[/C][C]0.163733656602231[/C][C]0.327467313204461[/C][C]0.83626634339777[/C][/ROW]
[ROW][C]14[/C][C]0.231453874794798[/C][C]0.462907749589596[/C][C]0.768546125205202[/C][/ROW]
[ROW][C]15[/C][C]0.271657700013777[/C][C]0.543315400027553[/C][C]0.728342299986223[/C][/ROW]
[ROW][C]16[/C][C]0.362985129556974[/C][C]0.725970259113948[/C][C]0.637014870443026[/C][/ROW]
[ROW][C]17[/C][C]0.541628787219132[/C][C]0.916742425561736[/C][C]0.458371212780868[/C][/ROW]
[ROW][C]18[/C][C]0.687949076737073[/C][C]0.624101846525853[/C][C]0.312050923262927[/C][/ROW]
[ROW][C]19[/C][C]0.836007108085927[/C][C]0.327985783828146[/C][C]0.163992891914073[/C][/ROW]
[ROW][C]20[/C][C]0.931847655793392[/C][C]0.136304688413216[/C][C]0.0681523442066082[/C][/ROW]
[ROW][C]21[/C][C]0.929506080114684[/C][C]0.140987839770631[/C][C]0.0704939198853155[/C][/ROW]
[ROW][C]22[/C][C]0.942008365642593[/C][C]0.115983268714815[/C][C]0.0579916343574073[/C][/ROW]
[ROW][C]23[/C][C]0.94382555073814[/C][C]0.112348898523719[/C][C]0.0561744492618594[/C][/ROW]
[ROW][C]24[/C][C]0.947584656735592[/C][C]0.104830686528817[/C][C]0.0524153432644084[/C][/ROW]
[ROW][C]25[/C][C]0.958521636739744[/C][C]0.0829567265205111[/C][C]0.0414783632602556[/C][/ROW]
[ROW][C]26[/C][C]0.961601028190452[/C][C]0.0767979436190965[/C][C]0.0383989718095483[/C][/ROW]
[ROW][C]27[/C][C]0.96117976250854[/C][C]0.0776404749829194[/C][C]0.0388202374914597[/C][/ROW]
[ROW][C]28[/C][C]0.962645671132584[/C][C]0.0747086577348317[/C][C]0.0373543288674158[/C][/ROW]
[ROW][C]29[/C][C]0.970571583586815[/C][C]0.0588568328263703[/C][C]0.0294284164131852[/C][/ROW]
[ROW][C]30[/C][C]0.976342637653843[/C][C]0.0473147246923137[/C][C]0.0236573623461569[/C][/ROW]
[ROW][C]31[/C][C]0.990710617848655[/C][C]0.0185787643026905[/C][C]0.00928938215134523[/C][/ROW]
[ROW][C]32[/C][C]0.99519916226126[/C][C]0.00960167547747934[/C][C]0.00480083773873967[/C][/ROW]
[ROW][C]33[/C][C]0.992248582492178[/C][C]0.0155028350156439[/C][C]0.00775141750782196[/C][/ROW]
[ROW][C]34[/C][C]0.988522884118354[/C][C]0.0229542317632916[/C][C]0.0114771158816458[/C][/ROW]
[ROW][C]35[/C][C]0.983101151694214[/C][C]0.0337976966115726[/C][C]0.0168988483057863[/C][/ROW]
[ROW][C]36[/C][C]0.976701873856062[/C][C]0.0465962522878754[/C][C]0.0232981261439377[/C][/ROW]
[ROW][C]37[/C][C]0.98706156837018[/C][C]0.0258768632596413[/C][C]0.0129384316298206[/C][/ROW]
[ROW][C]38[/C][C]0.990304182715606[/C][C]0.0193916345687879[/C][C]0.00969581728439397[/C][/ROW]
[ROW][C]39[/C][C]0.990301509823666[/C][C]0.0193969803526686[/C][C]0.0096984901763343[/C][/ROW]
[ROW][C]40[/C][C]0.98939768289111[/C][C]0.0212046342177812[/C][C]0.0106023171088906[/C][/ROW]
[ROW][C]41[/C][C]0.98800398402577[/C][C]0.0239920319484592[/C][C]0.0119960159742296[/C][/ROW]
[ROW][C]42[/C][C]0.986761593515414[/C][C]0.0264768129691718[/C][C]0.0132384064845859[/C][/ROW]
[ROW][C]43[/C][C]0.99282250747909[/C][C]0.0143549850418213[/C][C]0.00717749252091063[/C][/ROW]
[ROW][C]44[/C][C]0.9944136288535[/C][C]0.0111727422929994[/C][C]0.00558637114649971[/C][/ROW]
[ROW][C]45[/C][C]0.992958663968556[/C][C]0.0140826720628882[/C][C]0.00704133603144411[/C][/ROW]
[ROW][C]46[/C][C]0.994072477807219[/C][C]0.0118550443855623[/C][C]0.00592752219278114[/C][/ROW]
[ROW][C]47[/C][C]0.990297475316816[/C][C]0.0194050493663677[/C][C]0.00970252468318386[/C][/ROW]
[ROW][C]48[/C][C]0.98121400795521[/C][C]0.0375719840895796[/C][C]0.0187859920447898[/C][/ROW]
[ROW][C]49[/C][C]0.966935431317926[/C][C]0.0661291373641472[/C][C]0.0330645686820736[/C][/ROW]
[ROW][C]50[/C][C]0.942219174429012[/C][C]0.115561651141976[/C][C]0.0577808255709878[/C][/ROW]
[ROW][C]51[/C][C]0.908493188766796[/C][C]0.183013622466408[/C][C]0.0915068112332042[/C][/ROW]
[ROW][C]52[/C][C]0.851412802852864[/C][C]0.297174394294271[/C][C]0.148587197147136[/C][/ROW]
[ROW][C]53[/C][C]0.762342006250743[/C][C]0.475315987498515[/C][C]0.237657993749257[/C][/ROW]
[ROW][C]54[/C][C]0.667295807105923[/C][C]0.665408385788154[/C][C]0.332704192894077[/C][/ROW]
[ROW][C]55[/C][C]0.66577504787952[/C][C]0.668449904240959[/C][C]0.33422495212048[/C][/ROW]
[ROW][C]56[/C][C]0.649153372358758[/C][C]0.701693255282485[/C][C]0.350846627641242[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115207&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115207&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
50.01365722793190220.02731445586380440.986342772068098
60.01267850134867810.02535700269735620.987321498651322
70.007840336866342690.01568067373268540.992159663133657
80.004025431904925430.008050863809850850.995974568095075
90.02588256556375770.05176513112751530.974117434436242
100.08689506742046580.1737901348409320.913104932579534
110.1493007164237150.298601432847430.850699283576285
120.1316220589840330.2632441179680670.868377941015967
130.1637336566022310.3274673132044610.83626634339777
140.2314538747947980.4629077495895960.768546125205202
150.2716577000137770.5433154000275530.728342299986223
160.3629851295569740.7259702591139480.637014870443026
170.5416287872191320.9167424255617360.458371212780868
180.6879490767370730.6241018465258530.312050923262927
190.8360071080859270.3279857838281460.163992891914073
200.9318476557933920.1363046884132160.0681523442066082
210.9295060801146840.1409878397706310.0704939198853155
220.9420083656425930.1159832687148150.0579916343574073
230.943825550738140.1123488985237190.0561744492618594
240.9475846567355920.1048306865288170.0524153432644084
250.9585216367397440.08295672652051110.0414783632602556
260.9616010281904520.07679794361909650.0383989718095483
270.961179762508540.07764047498291940.0388202374914597
280.9626456711325840.07470865773483170.0373543288674158
290.9705715835868150.05885683282637030.0294284164131852
300.9763426376538430.04731472469231370.0236573623461569
310.9907106178486550.01857876430269050.00928938215134523
320.995199162261260.009601675477479340.00480083773873967
330.9922485824921780.01550283501564390.00775141750782196
340.9885228841183540.02295423176329160.0114771158816458
350.9831011516942140.03379769661157260.0168988483057863
360.9767018738560620.04659625228787540.0232981261439377
370.987061568370180.02587686325964130.0129384316298206
380.9903041827156060.01939163456878790.00969581728439397
390.9903015098236660.01939698035266860.0096984901763343
400.989397682891110.02120463421778120.0106023171088906
410.988003984025770.02399203194845920.0119960159742296
420.9867615935154140.02647681296917180.0132384064845859
430.992822507479090.01435498504182130.00717749252091063
440.99441362885350.01117274229299940.00558637114649971
450.9929586639685560.01408267206288820.00704133603144411
460.9940724778072190.01185504438556230.00592752219278114
470.9902974753168160.01940504936636770.00970252468318386
480.981214007955210.03757198408957960.0187859920447898
490.9669354313179260.06612913736414720.0330645686820736
500.9422191744290120.1155616511419760.0577808255709878
510.9084931887667960.1830136224664080.0915068112332042
520.8514128028528640.2971743942942710.148587197147136
530.7623420062507430.4753159874985150.237657993749257
540.6672958071059230.6654083857881540.332704192894077
550.665775047879520.6684499042409590.33422495212048
560.6491533723587580.7016932552824850.350846627641242







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level20.0384615384615385NOK
5% type I error level230.442307692307692NOK
10% type I error level300.576923076923077NOK

\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 & 2 & 0.0384615384615385 & NOK \tabularnewline
5% type I error level & 23 & 0.442307692307692 & NOK \tabularnewline
10% type I error level & 30 & 0.576923076923077 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115207&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]2[/C][C]0.0384615384615385[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]23[/C][C]0.442307692307692[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]30[/C][C]0.576923076923077[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115207&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115207&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 level20.0384615384615385NOK
5% type I error level230.442307692307692NOK
10% type I error level300.576923076923077NOK



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