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, 21 Dec 2010 13:33:20 +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/21/t1292938260y7q5w342gwmhhew.htm/, Retrieved Fri, 17 May 2024 12:52:05 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=113522, Retrieved Fri, 17 May 2024 12:52:05 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact141
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] [13dfa60174f50d862e8699db2153bfc5] [Current]
-   P       [Multiple Regression] [MR_werkloos] [2010-12-22 17:32:27] [8441f95c4a5787a301bc621ebc7904ca]
-             [Multiple Regression] [paperMR1] [2010-12-24 17:02:28] [7e261c986c934df955dd3ac53e9d45c6]
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 time7 seconds
R Server'George Udny Yule' @ 72.249.76.132

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

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







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=113522&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=113522&T=1

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113522&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.140400649383239
R-squared0.0197123423472351
Adjusted R-squared0.00309729730227315
F-TEST (value)1.18641522149903
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value0.28048290661509
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.140400649383239 \tabularnewline
R-squared & 0.0197123423472351 \tabularnewline
Adjusted R-squared & 0.00309729730227315 \tabularnewline
F-TEST (value) & 1.18641522149903 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 59 \tabularnewline
p-value & 0.28048290661509 \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=113522&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.140400649383239[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0197123423472351[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.00309729730227315[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]1.18641522149903[/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.28048290661509[/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=113522&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113522&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.140400649383239
R-squared0.0197123423472351
Adjusted R-squared0.00309729730227315
F-TEST (value)1.18641522149903
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value0.28048290661509
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.222222222222
2597546.77777777777850.2222222222223
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.222222222222 \tabularnewline
2 & 597 & 546.777777777778 & 50.2222222222223 \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=113522&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.222222222222[/C][/ROW]
[ROW][C]2[/C][C]597[/C][C]546.777777777778[/C][C]50.2222222222223[/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=113522&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113522&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.222222222222
2597546.77777777777850.2222222222223
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.01365722793190240.02731445586380470.986342772068098
60.01267850134867820.02535700269735630.987321498651322
70.007840336866342620.01568067373268520.992159663133657
80.004025431904925470.008050863809850940.995974568095074
90.02588256556375720.05176513112751440.974117434436243
100.08689506742046680.1737901348409340.913104932579533
110.1493007164237150.298601432847430.850699283576285
120.1316220589840340.2632441179680680.868377941015966
130.1637336566022310.3274673132044610.83626634339777
140.2314538747947970.4629077495895940.768546125205203
150.2716577000137760.5433154000275520.728342299986224
160.3629851295569730.7259702591139460.637014870443027
170.5416287872191350.916742425561730.458371212780865
180.6879490767370730.6241018465258540.312050923262927
190.8360071080859270.3279857838281460.163992891914073
200.9318476557933910.1363046884132180.0681523442066091
210.9295060801146850.1409878397706290.0704939198853147
220.942008365642590.1159832687148180.057991634357409
230.943825550738140.112348898523720.05617444926186
240.9475846567355910.1048306865288170.0524153432644086
250.9585216367397440.08295672652051140.0414783632602557
260.9616010281904520.07679794361909670.0383989718095483
270.961179762508540.07764047498292060.0388202374914603
280.9626456711325840.0747086577348320.037354328867416
290.9705715835868150.05885683282637020.0294284164131851
300.9763426376538430.04731472469231340.0236573623461567
310.9907106178486550.01857876430269040.00928938215134518
320.995199162261260.00960167547747940.0048008377387397
330.9922485824921780.01550283501564410.00775141750782205
340.9885228841183540.02295423176329170.0114771158816459
350.9831011516942140.03379769661157260.0168988483057863
360.9767018738560620.04659625228787510.0232981261439376
370.987061568370180.02587686325964060.0129384316298203
380.9903041827156060.01939163456878780.0096958172843939
390.9903015098236660.01939698035266850.00969849017633427
400.989397682891110.02120463421778160.0106023171088908
410.988003984025770.02399203194845920.0119960159742296
420.9867615935154140.02647681296917210.0132384064845860
430.992822507479090.01435498504182150.00717749252091074
440.99441362885350.01117274229299930.00558637114649966
450.9929586639685560.01408267206288830.00704133603144417
460.9940724778072190.01185504438556230.00592752219278114
470.9902974753168160.01940504936636780.00970252468318389
480.981214007955210.03757198408958020.0187859920447901
490.9669354313179270.0661291373641470.0330645686820735
500.9422191744290120.1155616511419760.057780825570988
510.9084931887667960.1830136224664080.0915068112332042
520.8514128028528640.2971743942942710.148587197147136
530.7623420062507420.4753159874985160.237657993749258
540.667295807105920.665408385788160.33270419289408
550.6657750478795210.6684499042409580.334224952120479
560.6491533723587590.7016932552824820.350846627641241

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.0136572279319024 & 0.0273144558638047 & 0.986342772068098 \tabularnewline
6 & 0.0126785013486782 & 0.0253570026973563 & 0.987321498651322 \tabularnewline
7 & 0.00784033686634262 & 0.0156806737326852 & 0.992159663133657 \tabularnewline
8 & 0.00402543190492547 & 0.00805086380985094 & 0.995974568095074 \tabularnewline
9 & 0.0258825655637572 & 0.0517651311275144 & 0.974117434436243 \tabularnewline
10 & 0.0868950674204668 & 0.173790134840934 & 0.913104932579533 \tabularnewline
11 & 0.149300716423715 & 0.29860143284743 & 0.850699283576285 \tabularnewline
12 & 0.131622058984034 & 0.263244117968068 & 0.868377941015966 \tabularnewline
13 & 0.163733656602231 & 0.327467313204461 & 0.83626634339777 \tabularnewline
14 & 0.231453874794797 & 0.462907749589594 & 0.768546125205203 \tabularnewline
15 & 0.271657700013776 & 0.543315400027552 & 0.728342299986224 \tabularnewline
16 & 0.362985129556973 & 0.725970259113946 & 0.637014870443027 \tabularnewline
17 & 0.541628787219135 & 0.91674242556173 & 0.458371212780865 \tabularnewline
18 & 0.687949076737073 & 0.624101846525854 & 0.312050923262927 \tabularnewline
19 & 0.836007108085927 & 0.327985783828146 & 0.163992891914073 \tabularnewline
20 & 0.931847655793391 & 0.136304688413218 & 0.0681523442066091 \tabularnewline
21 & 0.929506080114685 & 0.140987839770629 & 0.0704939198853147 \tabularnewline
22 & 0.94200836564259 & 0.115983268714818 & 0.057991634357409 \tabularnewline
23 & 0.94382555073814 & 0.11234889852372 & 0.05617444926186 \tabularnewline
24 & 0.947584656735591 & 0.104830686528817 & 0.0524153432644086 \tabularnewline
25 & 0.958521636739744 & 0.0829567265205114 & 0.0414783632602557 \tabularnewline
26 & 0.961601028190452 & 0.0767979436190967 & 0.0383989718095483 \tabularnewline
27 & 0.96117976250854 & 0.0776404749829206 & 0.0388202374914603 \tabularnewline
28 & 0.962645671132584 & 0.074708657734832 & 0.037354328867416 \tabularnewline
29 & 0.970571583586815 & 0.0588568328263702 & 0.0294284164131851 \tabularnewline
30 & 0.976342637653843 & 0.0473147246923134 & 0.0236573623461567 \tabularnewline
31 & 0.990710617848655 & 0.0185787643026904 & 0.00928938215134518 \tabularnewline
32 & 0.99519916226126 & 0.0096016754774794 & 0.0048008377387397 \tabularnewline
33 & 0.992248582492178 & 0.0155028350156441 & 0.00775141750782205 \tabularnewline
34 & 0.988522884118354 & 0.0229542317632917 & 0.0114771158816459 \tabularnewline
35 & 0.983101151694214 & 0.0337976966115726 & 0.0168988483057863 \tabularnewline
36 & 0.976701873856062 & 0.0465962522878751 & 0.0232981261439376 \tabularnewline
37 & 0.98706156837018 & 0.0258768632596406 & 0.0129384316298203 \tabularnewline
38 & 0.990304182715606 & 0.0193916345687878 & 0.0096958172843939 \tabularnewline
39 & 0.990301509823666 & 0.0193969803526685 & 0.00969849017633427 \tabularnewline
40 & 0.98939768289111 & 0.0212046342177816 & 0.0106023171088908 \tabularnewline
41 & 0.98800398402577 & 0.0239920319484592 & 0.0119960159742296 \tabularnewline
42 & 0.986761593515414 & 0.0264768129691721 & 0.0132384064845860 \tabularnewline
43 & 0.99282250747909 & 0.0143549850418215 & 0.00717749252091074 \tabularnewline
44 & 0.9944136288535 & 0.0111727422929993 & 0.00558637114649966 \tabularnewline
45 & 0.992958663968556 & 0.0140826720628883 & 0.00704133603144417 \tabularnewline
46 & 0.994072477807219 & 0.0118550443855623 & 0.00592752219278114 \tabularnewline
47 & 0.990297475316816 & 0.0194050493663678 & 0.00970252468318389 \tabularnewline
48 & 0.98121400795521 & 0.0375719840895802 & 0.0187859920447901 \tabularnewline
49 & 0.966935431317927 & 0.066129137364147 & 0.0330645686820735 \tabularnewline
50 & 0.942219174429012 & 0.115561651141976 & 0.057780825570988 \tabularnewline
51 & 0.908493188766796 & 0.183013622466408 & 0.0915068112332042 \tabularnewline
52 & 0.851412802852864 & 0.297174394294271 & 0.148587197147136 \tabularnewline
53 & 0.762342006250742 & 0.475315987498516 & 0.237657993749258 \tabularnewline
54 & 0.66729580710592 & 0.66540838578816 & 0.33270419289408 \tabularnewline
55 & 0.665775047879521 & 0.668449904240958 & 0.334224952120479 \tabularnewline
56 & 0.649153372358759 & 0.701693255282482 & 0.350846627641241 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113522&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.0136572279319024[/C][C]0.0273144558638047[/C][C]0.986342772068098[/C][/ROW]
[ROW][C]6[/C][C]0.0126785013486782[/C][C]0.0253570026973563[/C][C]0.987321498651322[/C][/ROW]
[ROW][C]7[/C][C]0.00784033686634262[/C][C]0.0156806737326852[/C][C]0.992159663133657[/C][/ROW]
[ROW][C]8[/C][C]0.00402543190492547[/C][C]0.00805086380985094[/C][C]0.995974568095074[/C][/ROW]
[ROW][C]9[/C][C]0.0258825655637572[/C][C]0.0517651311275144[/C][C]0.974117434436243[/C][/ROW]
[ROW][C]10[/C][C]0.0868950674204668[/C][C]0.173790134840934[/C][C]0.913104932579533[/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.131622058984034[/C][C]0.263244117968068[/C][C]0.868377941015966[/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.231453874794797[/C][C]0.462907749589594[/C][C]0.768546125205203[/C][/ROW]
[ROW][C]15[/C][C]0.271657700013776[/C][C]0.543315400027552[/C][C]0.728342299986224[/C][/ROW]
[ROW][C]16[/C][C]0.362985129556973[/C][C]0.725970259113946[/C][C]0.637014870443027[/C][/ROW]
[ROW][C]17[/C][C]0.541628787219135[/C][C]0.91674242556173[/C][C]0.458371212780865[/C][/ROW]
[ROW][C]18[/C][C]0.687949076737073[/C][C]0.624101846525854[/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.931847655793391[/C][C]0.136304688413218[/C][C]0.0681523442066091[/C][/ROW]
[ROW][C]21[/C][C]0.929506080114685[/C][C]0.140987839770629[/C][C]0.0704939198853147[/C][/ROW]
[ROW][C]22[/C][C]0.94200836564259[/C][C]0.115983268714818[/C][C]0.057991634357409[/C][/ROW]
[ROW][C]23[/C][C]0.94382555073814[/C][C]0.11234889852372[/C][C]0.05617444926186[/C][/ROW]
[ROW][C]24[/C][C]0.947584656735591[/C][C]0.104830686528817[/C][C]0.0524153432644086[/C][/ROW]
[ROW][C]25[/C][C]0.958521636739744[/C][C]0.0829567265205114[/C][C]0.0414783632602557[/C][/ROW]
[ROW][C]26[/C][C]0.961601028190452[/C][C]0.0767979436190967[/C][C]0.0383989718095483[/C][/ROW]
[ROW][C]27[/C][C]0.96117976250854[/C][C]0.0776404749829206[/C][C]0.0388202374914603[/C][/ROW]
[ROW][C]28[/C][C]0.962645671132584[/C][C]0.074708657734832[/C][C]0.037354328867416[/C][/ROW]
[ROW][C]29[/C][C]0.970571583586815[/C][C]0.0588568328263702[/C][C]0.0294284164131851[/C][/ROW]
[ROW][C]30[/C][C]0.976342637653843[/C][C]0.0473147246923134[/C][C]0.0236573623461567[/C][/ROW]
[ROW][C]31[/C][C]0.990710617848655[/C][C]0.0185787643026904[/C][C]0.00928938215134518[/C][/ROW]
[ROW][C]32[/C][C]0.99519916226126[/C][C]0.0096016754774794[/C][C]0.0048008377387397[/C][/ROW]
[ROW][C]33[/C][C]0.992248582492178[/C][C]0.0155028350156441[/C][C]0.00775141750782205[/C][/ROW]
[ROW][C]34[/C][C]0.988522884118354[/C][C]0.0229542317632917[/C][C]0.0114771158816459[/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.0465962522878751[/C][C]0.0232981261439376[/C][/ROW]
[ROW][C]37[/C][C]0.98706156837018[/C][C]0.0258768632596406[/C][C]0.0129384316298203[/C][/ROW]
[ROW][C]38[/C][C]0.990304182715606[/C][C]0.0193916345687878[/C][C]0.0096958172843939[/C][/ROW]
[ROW][C]39[/C][C]0.990301509823666[/C][C]0.0193969803526685[/C][C]0.00969849017633427[/C][/ROW]
[ROW][C]40[/C][C]0.98939768289111[/C][C]0.0212046342177816[/C][C]0.0106023171088908[/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.0264768129691721[/C][C]0.0132384064845860[/C][/ROW]
[ROW][C]43[/C][C]0.99282250747909[/C][C]0.0143549850418215[/C][C]0.00717749252091074[/C][/ROW]
[ROW][C]44[/C][C]0.9944136288535[/C][C]0.0111727422929993[/C][C]0.00558637114649966[/C][/ROW]
[ROW][C]45[/C][C]0.992958663968556[/C][C]0.0140826720628883[/C][C]0.00704133603144417[/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.0194050493663678[/C][C]0.00970252468318389[/C][/ROW]
[ROW][C]48[/C][C]0.98121400795521[/C][C]0.0375719840895802[/C][C]0.0187859920447901[/C][/ROW]
[ROW][C]49[/C][C]0.966935431317927[/C][C]0.066129137364147[/C][C]0.0330645686820735[/C][/ROW]
[ROW][C]50[/C][C]0.942219174429012[/C][C]0.115561651141976[/C][C]0.057780825570988[/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.762342006250742[/C][C]0.475315987498516[/C][C]0.237657993749258[/C][/ROW]
[ROW][C]54[/C][C]0.66729580710592[/C][C]0.66540838578816[/C][C]0.33270419289408[/C][/ROW]
[ROW][C]55[/C][C]0.665775047879521[/C][C]0.668449904240958[/C][C]0.334224952120479[/C][/ROW]
[ROW][C]56[/C][C]0.649153372358759[/C][C]0.701693255282482[/C][C]0.350846627641241[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113522&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113522&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.01365722793190240.02731445586380470.986342772068098
60.01267850134867820.02535700269735630.987321498651322
70.007840336866342620.01568067373268520.992159663133657
80.004025431904925470.008050863809850940.995974568095074
90.02588256556375720.05176513112751440.974117434436243
100.08689506742046680.1737901348409340.913104932579533
110.1493007164237150.298601432847430.850699283576285
120.1316220589840340.2632441179680680.868377941015966
130.1637336566022310.3274673132044610.83626634339777
140.2314538747947970.4629077495895940.768546125205203
150.2716577000137760.5433154000275520.728342299986224
160.3629851295569730.7259702591139460.637014870443027
170.5416287872191350.916742425561730.458371212780865
180.6879490767370730.6241018465258540.312050923262927
190.8360071080859270.3279857838281460.163992891914073
200.9318476557933910.1363046884132180.0681523442066091
210.9295060801146850.1409878397706290.0704939198853147
220.942008365642590.1159832687148180.057991634357409
230.943825550738140.112348898523720.05617444926186
240.9475846567355910.1048306865288170.0524153432644086
250.9585216367397440.08295672652051140.0414783632602557
260.9616010281904520.07679794361909670.0383989718095483
270.961179762508540.07764047498292060.0388202374914603
280.9626456711325840.0747086577348320.037354328867416
290.9705715835868150.05885683282637020.0294284164131851
300.9763426376538430.04731472469231340.0236573623461567
310.9907106178486550.01857876430269040.00928938215134518
320.995199162261260.00960167547747940.0048008377387397
330.9922485824921780.01550283501564410.00775141750782205
340.9885228841183540.02295423176329170.0114771158816459
350.9831011516942140.03379769661157260.0168988483057863
360.9767018738560620.04659625228787510.0232981261439376
370.987061568370180.02587686325964060.0129384316298203
380.9903041827156060.01939163456878780.0096958172843939
390.9903015098236660.01939698035266850.00969849017633427
400.989397682891110.02120463421778160.0106023171088908
410.988003984025770.02399203194845920.0119960159742296
420.9867615935154140.02647681296917210.0132384064845860
430.992822507479090.01435498504182150.00717749252091074
440.99441362885350.01117274229299930.00558637114649966
450.9929586639685560.01408267206288830.00704133603144417
460.9940724778072190.01185504438556230.00592752219278114
470.9902974753168160.01940504936636780.00970252468318389
480.981214007955210.03757198408958020.0187859920447901
490.9669354313179270.0661291373641470.0330645686820735
500.9422191744290120.1155616511419760.057780825570988
510.9084931887667960.1830136224664080.0915068112332042
520.8514128028528640.2971743942942710.148587197147136
530.7623420062507420.4753159874985160.237657993749258
540.667295807105920.665408385788160.33270419289408
550.6657750478795210.6684499042409580.334224952120479
560.6491533723587590.7016932552824820.350846627641241







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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113522&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 = Include Monthly Dummies ; par3 = 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')
}