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, 26 Nov 2010 14:56:38 +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/Nov/26/t1290783320z64kgtj6q2t0ard.htm/, Retrieved Sat, 04 May 2024 08:02:29 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=101959, Retrieved Sat, 04 May 2024 08:02:29 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact115
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 14:03:14] [b98453cac15ba1066b407e146608df68]
-   PD      [Multiple Regression] [] [2010-11-26 14:56:38] [c2e23af56713b360851e64c7775b3f2b] [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	0
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




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=101959&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=101959&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=101959&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] = + 545.567567567567 + 14.3889541715629Leterme[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Werkloosheid[t] =  +  545.567567567567 +  14.3889541715629Leterme[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=101959&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Werkloosheid[t] =  +  545.567567567567 +  14.3889541715629Leterme[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=101959&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=101959&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] = + 545.567567567567 + 14.3889541715629Leterme[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)545.5675675675676.0427290.285100
Leterme14.38895417156299.7598731.47430.1458090.072905

\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) & 545.567567567567 & 6.04272 & 90.2851 & 0 & 0 \tabularnewline
Leterme & 14.3889541715629 & 9.759873 & 1.4743 & 0.145809 & 0.072905 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=101959&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]545.567567567567[/C][C]6.04272[/C][C]90.2851[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Leterme[/C][C]14.3889541715629[/C][C]9.759873[/C][C]1.4743[/C][C]0.145809[/C][C]0.072905[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=101959&T=2

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







Multiple Linear Regression - Regression Statistics
Multiple R0.190056285612222
R-squared0.0361213917007146
Adjusted R-squared0.0195027950058994
F-TEST (value)2.17355245837236
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.145809033956458
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation36.7564297923929
Sum Squared Residuals78360.0376028201

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.190056285612222 \tabularnewline
R-squared & 0.0361213917007146 \tabularnewline
Adjusted R-squared & 0.0195027950058994 \tabularnewline
F-TEST (value) & 2.17355245837236 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 0.145809033956458 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 36.7564297923929 \tabularnewline
Sum Squared Residuals & 78360.0376028201 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=101959&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.190056285612222[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0361213917007146[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.0195027950058994[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]2.17355245837236[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]58[/C][/ROW]
[ROW][C]p-value[/C][C]0.145809033956458[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]36.7564297923929[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]78360.0376028201[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=101959&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=101959&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.190056285612222
R-squared0.0361213917007146
Adjusted R-squared0.0195027950058994
F-TEST (value)2.17355245837236
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.145809033956458
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation36.7564297923929
Sum Squared Residuals78360.0376028201







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1595545.56756756756849.4324324324317
2597545.56756756756751.4324324324324
3593545.56756756756847.4324324324324
4590545.56756756756844.4324324324324
5580545.56756756756734.4324324324324
6574545.56756756756728.4324324324325
7573545.56756756756727.4324324324325
8573545.56756756756727.4324324324325
9620545.56756756756774.4324324324324
10626545.56756756756780.4324324324324
11620545.56756756756774.4324324324324
12588545.56756756756742.4324324324324
13566545.56756756756720.4324324324324
14557545.56756756756711.4324324324324
15561545.56756756756715.4324324324324
16549545.5675675675683.43243243243245
17532545.567567567567-13.5675675675675
18526545.567567567567-19.5675675675675
19511545.567567567568-34.5675675675676
20499545.567567567568-46.5675675675676
21555545.5675675675679.43243243243245
22565545.56756756756719.4324324324324
23542545.567567567567-3.56756756756755
24527545.567567567567-18.5675675675675
25510545.567567567568-35.5675675675676
26514545.567567567568-31.5675675675676
27517545.567567567568-28.5675675675676
28508545.567567567568-37.5675675675676
29493545.567567567568-52.5675675675676
30490545.567567567567-55.5675675675676
31469545.567567567567-76.5675675675676
32478545.567567567567-67.5675675675676
33528545.567567567567-17.5675675675675
34534545.567567567567-11.5675675675675
35518545.567567567568-27.5675675675676
36506545.567567567568-39.5675675675676
37502545.567567567568-43.5675675675676
38516559.95652173913-43.9565217391304
39528559.95652173913-31.9565217391304
40533559.95652173913-26.9565217391304
41536559.95652173913-23.9565217391304
42537559.95652173913-22.9565217391304
43524559.95652173913-35.9565217391304
44536559.95652173913-23.9565217391304
45587559.9565217391327.0434782608696
46597559.9565217391337.0434782608696
47581559.9565217391321.0434782608696
48564559.956521739134.04347826086957
49558559.95652173913-1.95652173913043
50575559.9565217391315.0434782608696
51580559.9565217391320.0434782608696
52575559.9565217391315.0434782608696
53563559.956521739133.04347826086957
54552559.95652173913-7.95652173913044
55537559.95652173913-22.9565217391304
56545559.95652173913-14.9565217391304
57601559.9565217391341.0434782608696
58604559.9565217391344.0434782608696
59586559.9565217391326.0434782608696
60564559.956521739134.04347826086957

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 595 & 545.567567567568 & 49.4324324324317 \tabularnewline
2 & 597 & 545.567567567567 & 51.4324324324324 \tabularnewline
3 & 593 & 545.567567567568 & 47.4324324324324 \tabularnewline
4 & 590 & 545.567567567568 & 44.4324324324324 \tabularnewline
5 & 580 & 545.567567567567 & 34.4324324324324 \tabularnewline
6 & 574 & 545.567567567567 & 28.4324324324325 \tabularnewline
7 & 573 & 545.567567567567 & 27.4324324324325 \tabularnewline
8 & 573 & 545.567567567567 & 27.4324324324325 \tabularnewline
9 & 620 & 545.567567567567 & 74.4324324324324 \tabularnewline
10 & 626 & 545.567567567567 & 80.4324324324324 \tabularnewline
11 & 620 & 545.567567567567 & 74.4324324324324 \tabularnewline
12 & 588 & 545.567567567567 & 42.4324324324324 \tabularnewline
13 & 566 & 545.567567567567 & 20.4324324324324 \tabularnewline
14 & 557 & 545.567567567567 & 11.4324324324324 \tabularnewline
15 & 561 & 545.567567567567 & 15.4324324324324 \tabularnewline
16 & 549 & 545.567567567568 & 3.43243243243245 \tabularnewline
17 & 532 & 545.567567567567 & -13.5675675675675 \tabularnewline
18 & 526 & 545.567567567567 & -19.5675675675675 \tabularnewline
19 & 511 & 545.567567567568 & -34.5675675675676 \tabularnewline
20 & 499 & 545.567567567568 & -46.5675675675676 \tabularnewline
21 & 555 & 545.567567567567 & 9.43243243243245 \tabularnewline
22 & 565 & 545.567567567567 & 19.4324324324324 \tabularnewline
23 & 542 & 545.567567567567 & -3.56756756756755 \tabularnewline
24 & 527 & 545.567567567567 & -18.5675675675675 \tabularnewline
25 & 510 & 545.567567567568 & -35.5675675675676 \tabularnewline
26 & 514 & 545.567567567568 & -31.5675675675676 \tabularnewline
27 & 517 & 545.567567567568 & -28.5675675675676 \tabularnewline
28 & 508 & 545.567567567568 & -37.5675675675676 \tabularnewline
29 & 493 & 545.567567567568 & -52.5675675675676 \tabularnewline
30 & 490 & 545.567567567567 & -55.5675675675676 \tabularnewline
31 & 469 & 545.567567567567 & -76.5675675675676 \tabularnewline
32 & 478 & 545.567567567567 & -67.5675675675676 \tabularnewline
33 & 528 & 545.567567567567 & -17.5675675675675 \tabularnewline
34 & 534 & 545.567567567567 & -11.5675675675675 \tabularnewline
35 & 518 & 545.567567567568 & -27.5675675675676 \tabularnewline
36 & 506 & 545.567567567568 & -39.5675675675676 \tabularnewline
37 & 502 & 545.567567567568 & -43.5675675675676 \tabularnewline
38 & 516 & 559.95652173913 & -43.9565217391304 \tabularnewline
39 & 528 & 559.95652173913 & -31.9565217391304 \tabularnewline
40 & 533 & 559.95652173913 & -26.9565217391304 \tabularnewline
41 & 536 & 559.95652173913 & -23.9565217391304 \tabularnewline
42 & 537 & 559.95652173913 & -22.9565217391304 \tabularnewline
43 & 524 & 559.95652173913 & -35.9565217391304 \tabularnewline
44 & 536 & 559.95652173913 & -23.9565217391304 \tabularnewline
45 & 587 & 559.95652173913 & 27.0434782608696 \tabularnewline
46 & 597 & 559.95652173913 & 37.0434782608696 \tabularnewline
47 & 581 & 559.95652173913 & 21.0434782608696 \tabularnewline
48 & 564 & 559.95652173913 & 4.04347826086957 \tabularnewline
49 & 558 & 559.95652173913 & -1.95652173913043 \tabularnewline
50 & 575 & 559.95652173913 & 15.0434782608696 \tabularnewline
51 & 580 & 559.95652173913 & 20.0434782608696 \tabularnewline
52 & 575 & 559.95652173913 & 15.0434782608696 \tabularnewline
53 & 563 & 559.95652173913 & 3.04347826086957 \tabularnewline
54 & 552 & 559.95652173913 & -7.95652173913044 \tabularnewline
55 & 537 & 559.95652173913 & -22.9565217391304 \tabularnewline
56 & 545 & 559.95652173913 & -14.9565217391304 \tabularnewline
57 & 601 & 559.95652173913 & 41.0434782608696 \tabularnewline
58 & 604 & 559.95652173913 & 44.0434782608696 \tabularnewline
59 & 586 & 559.95652173913 & 26.0434782608696 \tabularnewline
60 & 564 & 559.95652173913 & 4.04347826086957 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=101959&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]545.567567567568[/C][C]49.4324324324317[/C][/ROW]
[ROW][C]2[/C][C]597[/C][C]545.567567567567[/C][C]51.4324324324324[/C][/ROW]
[ROW][C]3[/C][C]593[/C][C]545.567567567568[/C][C]47.4324324324324[/C][/ROW]
[ROW][C]4[/C][C]590[/C][C]545.567567567568[/C][C]44.4324324324324[/C][/ROW]
[ROW][C]5[/C][C]580[/C][C]545.567567567567[/C][C]34.4324324324324[/C][/ROW]
[ROW][C]6[/C][C]574[/C][C]545.567567567567[/C][C]28.4324324324325[/C][/ROW]
[ROW][C]7[/C][C]573[/C][C]545.567567567567[/C][C]27.4324324324325[/C][/ROW]
[ROW][C]8[/C][C]573[/C][C]545.567567567567[/C][C]27.4324324324325[/C][/ROW]
[ROW][C]9[/C][C]620[/C][C]545.567567567567[/C][C]74.4324324324324[/C][/ROW]
[ROW][C]10[/C][C]626[/C][C]545.567567567567[/C][C]80.4324324324324[/C][/ROW]
[ROW][C]11[/C][C]620[/C][C]545.567567567567[/C][C]74.4324324324324[/C][/ROW]
[ROW][C]12[/C][C]588[/C][C]545.567567567567[/C][C]42.4324324324324[/C][/ROW]
[ROW][C]13[/C][C]566[/C][C]545.567567567567[/C][C]20.4324324324324[/C][/ROW]
[ROW][C]14[/C][C]557[/C][C]545.567567567567[/C][C]11.4324324324324[/C][/ROW]
[ROW][C]15[/C][C]561[/C][C]545.567567567567[/C][C]15.4324324324324[/C][/ROW]
[ROW][C]16[/C][C]549[/C][C]545.567567567568[/C][C]3.43243243243245[/C][/ROW]
[ROW][C]17[/C][C]532[/C][C]545.567567567567[/C][C]-13.5675675675675[/C][/ROW]
[ROW][C]18[/C][C]526[/C][C]545.567567567567[/C][C]-19.5675675675675[/C][/ROW]
[ROW][C]19[/C][C]511[/C][C]545.567567567568[/C][C]-34.5675675675676[/C][/ROW]
[ROW][C]20[/C][C]499[/C][C]545.567567567568[/C][C]-46.5675675675676[/C][/ROW]
[ROW][C]21[/C][C]555[/C][C]545.567567567567[/C][C]9.43243243243245[/C][/ROW]
[ROW][C]22[/C][C]565[/C][C]545.567567567567[/C][C]19.4324324324324[/C][/ROW]
[ROW][C]23[/C][C]542[/C][C]545.567567567567[/C][C]-3.56756756756755[/C][/ROW]
[ROW][C]24[/C][C]527[/C][C]545.567567567567[/C][C]-18.5675675675675[/C][/ROW]
[ROW][C]25[/C][C]510[/C][C]545.567567567568[/C][C]-35.5675675675676[/C][/ROW]
[ROW][C]26[/C][C]514[/C][C]545.567567567568[/C][C]-31.5675675675676[/C][/ROW]
[ROW][C]27[/C][C]517[/C][C]545.567567567568[/C][C]-28.5675675675676[/C][/ROW]
[ROW][C]28[/C][C]508[/C][C]545.567567567568[/C][C]-37.5675675675676[/C][/ROW]
[ROW][C]29[/C][C]493[/C][C]545.567567567568[/C][C]-52.5675675675676[/C][/ROW]
[ROW][C]30[/C][C]490[/C][C]545.567567567567[/C][C]-55.5675675675676[/C][/ROW]
[ROW][C]31[/C][C]469[/C][C]545.567567567567[/C][C]-76.5675675675676[/C][/ROW]
[ROW][C]32[/C][C]478[/C][C]545.567567567567[/C][C]-67.5675675675676[/C][/ROW]
[ROW][C]33[/C][C]528[/C][C]545.567567567567[/C][C]-17.5675675675675[/C][/ROW]
[ROW][C]34[/C][C]534[/C][C]545.567567567567[/C][C]-11.5675675675675[/C][/ROW]
[ROW][C]35[/C][C]518[/C][C]545.567567567568[/C][C]-27.5675675675676[/C][/ROW]
[ROW][C]36[/C][C]506[/C][C]545.567567567568[/C][C]-39.5675675675676[/C][/ROW]
[ROW][C]37[/C][C]502[/C][C]545.567567567568[/C][C]-43.5675675675676[/C][/ROW]
[ROW][C]38[/C][C]516[/C][C]559.95652173913[/C][C]-43.9565217391304[/C][/ROW]
[ROW][C]39[/C][C]528[/C][C]559.95652173913[/C][C]-31.9565217391304[/C][/ROW]
[ROW][C]40[/C][C]533[/C][C]559.95652173913[/C][C]-26.9565217391304[/C][/ROW]
[ROW][C]41[/C][C]536[/C][C]559.95652173913[/C][C]-23.9565217391304[/C][/ROW]
[ROW][C]42[/C][C]537[/C][C]559.95652173913[/C][C]-22.9565217391304[/C][/ROW]
[ROW][C]43[/C][C]524[/C][C]559.95652173913[/C][C]-35.9565217391304[/C][/ROW]
[ROW][C]44[/C][C]536[/C][C]559.95652173913[/C][C]-23.9565217391304[/C][/ROW]
[ROW][C]45[/C][C]587[/C][C]559.95652173913[/C][C]27.0434782608696[/C][/ROW]
[ROW][C]46[/C][C]597[/C][C]559.95652173913[/C][C]37.0434782608696[/C][/ROW]
[ROW][C]47[/C][C]581[/C][C]559.95652173913[/C][C]21.0434782608696[/C][/ROW]
[ROW][C]48[/C][C]564[/C][C]559.95652173913[/C][C]4.04347826086957[/C][/ROW]
[ROW][C]49[/C][C]558[/C][C]559.95652173913[/C][C]-1.95652173913043[/C][/ROW]
[ROW][C]50[/C][C]575[/C][C]559.95652173913[/C][C]15.0434782608696[/C][/ROW]
[ROW][C]51[/C][C]580[/C][C]559.95652173913[/C][C]20.0434782608696[/C][/ROW]
[ROW][C]52[/C][C]575[/C][C]559.95652173913[/C][C]15.0434782608696[/C][/ROW]
[ROW][C]53[/C][C]563[/C][C]559.95652173913[/C][C]3.04347826086957[/C][/ROW]
[ROW][C]54[/C][C]552[/C][C]559.95652173913[/C][C]-7.95652173913044[/C][/ROW]
[ROW][C]55[/C][C]537[/C][C]559.95652173913[/C][C]-22.9565217391304[/C][/ROW]
[ROW][C]56[/C][C]545[/C][C]559.95652173913[/C][C]-14.9565217391304[/C][/ROW]
[ROW][C]57[/C][C]601[/C][C]559.95652173913[/C][C]41.0434782608696[/C][/ROW]
[ROW][C]58[/C][C]604[/C][C]559.95652173913[/C][C]44.0434782608696[/C][/ROW]
[ROW][C]59[/C][C]586[/C][C]559.95652173913[/C][C]26.0434782608696[/C][/ROW]
[ROW][C]60[/C][C]564[/C][C]559.95652173913[/C][C]4.04347826086957[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=101959&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=101959&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
1595545.56756756756849.4324324324317
2597545.56756756756751.4324324324324
3593545.56756756756847.4324324324324
4590545.56756756756844.4324324324324
5580545.56756756756734.4324324324324
6574545.56756756756728.4324324324325
7573545.56756756756727.4324324324325
8573545.56756756756727.4324324324325
9620545.56756756756774.4324324324324
10626545.56756756756780.4324324324324
11620545.56756756756774.4324324324324
12588545.56756756756742.4324324324324
13566545.56756756756720.4324324324324
14557545.56756756756711.4324324324324
15561545.56756756756715.4324324324324
16549545.5675675675683.43243243243245
17532545.567567567567-13.5675675675675
18526545.567567567567-19.5675675675675
19511545.567567567568-34.5675675675676
20499545.567567567568-46.5675675675676
21555545.5675675675679.43243243243245
22565545.56756756756719.4324324324324
23542545.567567567567-3.56756756756755
24527545.567567567567-18.5675675675675
25510545.567567567568-35.5675675675676
26514545.567567567568-31.5675675675676
27517545.567567567568-28.5675675675676
28508545.567567567568-37.5675675675676
29493545.567567567568-52.5675675675676
30490545.567567567567-55.5675675675676
31469545.567567567567-76.5675675675676
32478545.567567567567-67.5675675675676
33528545.567567567567-17.5675675675675
34534545.567567567567-11.5675675675675
35518545.567567567568-27.5675675675676
36506545.567567567568-39.5675675675676
37502545.567567567568-43.5675675675676
38516559.95652173913-43.9565217391304
39528559.95652173913-31.9565217391304
40533559.95652173913-26.9565217391304
41536559.95652173913-23.9565217391304
42537559.95652173913-22.9565217391304
43524559.95652173913-35.9565217391304
44536559.95652173913-23.9565217391304
45587559.9565217391327.0434782608696
46597559.9565217391337.0434782608696
47581559.9565217391321.0434782608696
48564559.956521739134.04347826086957
49558559.95652173913-1.95652173913043
50575559.9565217391315.0434782608696
51580559.9565217391320.0434782608696
52575559.9565217391315.0434782608696
53563559.956521739133.04347826086957
54552559.95652173913-7.95652173913044
55537559.95652173913-22.9565217391304
56545559.95652173913-14.9565217391304
57601559.9565217391341.0434782608696
58604559.9565217391344.0434782608696
59586559.9565217391326.0434782608696
60564559.956521739134.04347826086957







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.01385680972796480.02771361945592950.986143190272035
60.01295767440907490.02591534881814990.987042325590925
70.008084336867823650.01616867373564730.991915663132176
80.004196242710761320.008392485421522650.995803757289239
90.02758899561974430.05517799123948860.972411004380256
100.0952876418473160.1905752836946320.904712358152684
110.1700177014800210.3400354029600430.829982298519979
120.1564923576977390.3129847153954790.84350764230226
130.1979767524040620.3959535048081240.802023247595938
140.2797303589284450.559460717856890.720269641071555
150.3322814955807040.6645629911614080.667718504419296
160.4379392854734880.8758785709469750.562060714526513
170.62248664074240.75502671851520.3775133592576
180.7598091380083060.4803817239833890.240190861991694
190.8843079900275790.2313840199448420.115692009972421
200.9562307888105480.08753842237890470.0437692111894523
210.956885773141390.08622845371721890.0431142268586094
220.968738305408010.06252338918397960.0312616945919898
230.9712736004394160.05745279912116890.0287263995605844
240.973861932114530.05227613577094090.0261380678854704
250.9797559881317750.04048802373644960.0202440118682248
260.9813305504184010.0373388991631970.0186694495815985
270.981065267175280.03786946564944150.0189347328247208
280.9816344010272510.03673119794549770.0183655989727488
290.9856956550405360.02860868991892830.0143043449594641
300.9885928850587440.02281422988251220.0114071149412561
310.9959753602245380.008049279550923970.00402463977546198
320.9979681144171730.004063771165654450.00203188558282722
330.9966540150857830.006691969828433450.00334598491421672
340.9952190132433430.00956197351331380.0047809867566569
350.992732723263940.01453455347211880.0072672767360594
360.9894058357938740.02118832841225210.010594164206126
370.98493164567490.03013670865020030.0150683543251001
380.9885403436291360.0229193127417290.0114596563708645
390.988403202945860.02319359410827950.0115967970541398
400.987268387263870.02546322547225880.0127316127361294
410.9856409804058960.0287180391882080.014359019594104
420.984350052143430.03129989571313830.0156499478565691
430.991998660976850.01600267804629960.00800133902314979
440.9942369804186220.01152603916275650.00576301958137823
450.9920125441264320.01597491174713580.00798745587356788
460.9924676757505850.01506464849883090.00753232424941543
470.986916616907730.0261667661845390.0130833830922695
480.9747433351305320.05051332973893670.0252566648694684
490.9566362539115950.08672749217681040.0433637460884052
500.922699575021960.1546008499560780.0773004249780392
510.8742661657814310.2514676684371380.125733834218569
520.7954551559264580.4090896881470850.204544844073542
530.683638735816230.6327225283675410.31636126418377
540.5780359743480470.8439280513039060.421964025651953
550.6107940793620740.7784118412758530.389205920637926

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.0138568097279648 & 0.0277136194559295 & 0.986143190272035 \tabularnewline
6 & 0.0129576744090749 & 0.0259153488181499 & 0.987042325590925 \tabularnewline
7 & 0.00808433686782365 & 0.0161686737356473 & 0.991915663132176 \tabularnewline
8 & 0.00419624271076132 & 0.00839248542152265 & 0.995803757289239 \tabularnewline
9 & 0.0275889956197443 & 0.0551779912394886 & 0.972411004380256 \tabularnewline
10 & 0.095287641847316 & 0.190575283694632 & 0.904712358152684 \tabularnewline
11 & 0.170017701480021 & 0.340035402960043 & 0.829982298519979 \tabularnewline
12 & 0.156492357697739 & 0.312984715395479 & 0.84350764230226 \tabularnewline
13 & 0.197976752404062 & 0.395953504808124 & 0.802023247595938 \tabularnewline
14 & 0.279730358928445 & 0.55946071785689 & 0.720269641071555 \tabularnewline
15 & 0.332281495580704 & 0.664562991161408 & 0.667718504419296 \tabularnewline
16 & 0.437939285473488 & 0.875878570946975 & 0.562060714526513 \tabularnewline
17 & 0.6224866407424 & 0.7550267185152 & 0.3775133592576 \tabularnewline
18 & 0.759809138008306 & 0.480381723983389 & 0.240190861991694 \tabularnewline
19 & 0.884307990027579 & 0.231384019944842 & 0.115692009972421 \tabularnewline
20 & 0.956230788810548 & 0.0875384223789047 & 0.0437692111894523 \tabularnewline
21 & 0.95688577314139 & 0.0862284537172189 & 0.0431142268586094 \tabularnewline
22 & 0.96873830540801 & 0.0625233891839796 & 0.0312616945919898 \tabularnewline
23 & 0.971273600439416 & 0.0574527991211689 & 0.0287263995605844 \tabularnewline
24 & 0.97386193211453 & 0.0522761357709409 & 0.0261380678854704 \tabularnewline
25 & 0.979755988131775 & 0.0404880237364496 & 0.0202440118682248 \tabularnewline
26 & 0.981330550418401 & 0.037338899163197 & 0.0186694495815985 \tabularnewline
27 & 0.98106526717528 & 0.0378694656494415 & 0.0189347328247208 \tabularnewline
28 & 0.981634401027251 & 0.0367311979454977 & 0.0183655989727488 \tabularnewline
29 & 0.985695655040536 & 0.0286086899189283 & 0.0143043449594641 \tabularnewline
30 & 0.988592885058744 & 0.0228142298825122 & 0.0114071149412561 \tabularnewline
31 & 0.995975360224538 & 0.00804927955092397 & 0.00402463977546198 \tabularnewline
32 & 0.997968114417173 & 0.00406377116565445 & 0.00203188558282722 \tabularnewline
33 & 0.996654015085783 & 0.00669196982843345 & 0.00334598491421672 \tabularnewline
34 & 0.995219013243343 & 0.0095619735133138 & 0.0047809867566569 \tabularnewline
35 & 0.99273272326394 & 0.0145345534721188 & 0.0072672767360594 \tabularnewline
36 & 0.989405835793874 & 0.0211883284122521 & 0.010594164206126 \tabularnewline
37 & 0.9849316456749 & 0.0301367086502003 & 0.0150683543251001 \tabularnewline
38 & 0.988540343629136 & 0.022919312741729 & 0.0114596563708645 \tabularnewline
39 & 0.98840320294586 & 0.0231935941082795 & 0.0115967970541398 \tabularnewline
40 & 0.98726838726387 & 0.0254632254722588 & 0.0127316127361294 \tabularnewline
41 & 0.985640980405896 & 0.028718039188208 & 0.014359019594104 \tabularnewline
42 & 0.98435005214343 & 0.0312998957131383 & 0.0156499478565691 \tabularnewline
43 & 0.99199866097685 & 0.0160026780462996 & 0.00800133902314979 \tabularnewline
44 & 0.994236980418622 & 0.0115260391627565 & 0.00576301958137823 \tabularnewline
45 & 0.992012544126432 & 0.0159749117471358 & 0.00798745587356788 \tabularnewline
46 & 0.992467675750585 & 0.0150646484988309 & 0.00753232424941543 \tabularnewline
47 & 0.98691661690773 & 0.026166766184539 & 0.0130833830922695 \tabularnewline
48 & 0.974743335130532 & 0.0505133297389367 & 0.0252566648694684 \tabularnewline
49 & 0.956636253911595 & 0.0867274921768104 & 0.0433637460884052 \tabularnewline
50 & 0.92269957502196 & 0.154600849956078 & 0.0773004249780392 \tabularnewline
51 & 0.874266165781431 & 0.251467668437138 & 0.125733834218569 \tabularnewline
52 & 0.795455155926458 & 0.409089688147085 & 0.204544844073542 \tabularnewline
53 & 0.68363873581623 & 0.632722528367541 & 0.31636126418377 \tabularnewline
54 & 0.578035974348047 & 0.843928051303906 & 0.421964025651953 \tabularnewline
55 & 0.610794079362074 & 0.778411841275853 & 0.389205920637926 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=101959&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.0138568097279648[/C][C]0.0277136194559295[/C][C]0.986143190272035[/C][/ROW]
[ROW][C]6[/C][C]0.0129576744090749[/C][C]0.0259153488181499[/C][C]0.987042325590925[/C][/ROW]
[ROW][C]7[/C][C]0.00808433686782365[/C][C]0.0161686737356473[/C][C]0.991915663132176[/C][/ROW]
[ROW][C]8[/C][C]0.00419624271076132[/C][C]0.00839248542152265[/C][C]0.995803757289239[/C][/ROW]
[ROW][C]9[/C][C]0.0275889956197443[/C][C]0.0551779912394886[/C][C]0.972411004380256[/C][/ROW]
[ROW][C]10[/C][C]0.095287641847316[/C][C]0.190575283694632[/C][C]0.904712358152684[/C][/ROW]
[ROW][C]11[/C][C]0.170017701480021[/C][C]0.340035402960043[/C][C]0.829982298519979[/C][/ROW]
[ROW][C]12[/C][C]0.156492357697739[/C][C]0.312984715395479[/C][C]0.84350764230226[/C][/ROW]
[ROW][C]13[/C][C]0.197976752404062[/C][C]0.395953504808124[/C][C]0.802023247595938[/C][/ROW]
[ROW][C]14[/C][C]0.279730358928445[/C][C]0.55946071785689[/C][C]0.720269641071555[/C][/ROW]
[ROW][C]15[/C][C]0.332281495580704[/C][C]0.664562991161408[/C][C]0.667718504419296[/C][/ROW]
[ROW][C]16[/C][C]0.437939285473488[/C][C]0.875878570946975[/C][C]0.562060714526513[/C][/ROW]
[ROW][C]17[/C][C]0.6224866407424[/C][C]0.7550267185152[/C][C]0.3775133592576[/C][/ROW]
[ROW][C]18[/C][C]0.759809138008306[/C][C]0.480381723983389[/C][C]0.240190861991694[/C][/ROW]
[ROW][C]19[/C][C]0.884307990027579[/C][C]0.231384019944842[/C][C]0.115692009972421[/C][/ROW]
[ROW][C]20[/C][C]0.956230788810548[/C][C]0.0875384223789047[/C][C]0.0437692111894523[/C][/ROW]
[ROW][C]21[/C][C]0.95688577314139[/C][C]0.0862284537172189[/C][C]0.0431142268586094[/C][/ROW]
[ROW][C]22[/C][C]0.96873830540801[/C][C]0.0625233891839796[/C][C]0.0312616945919898[/C][/ROW]
[ROW][C]23[/C][C]0.971273600439416[/C][C]0.0574527991211689[/C][C]0.0287263995605844[/C][/ROW]
[ROW][C]24[/C][C]0.97386193211453[/C][C]0.0522761357709409[/C][C]0.0261380678854704[/C][/ROW]
[ROW][C]25[/C][C]0.979755988131775[/C][C]0.0404880237364496[/C][C]0.0202440118682248[/C][/ROW]
[ROW][C]26[/C][C]0.981330550418401[/C][C]0.037338899163197[/C][C]0.0186694495815985[/C][/ROW]
[ROW][C]27[/C][C]0.98106526717528[/C][C]0.0378694656494415[/C][C]0.0189347328247208[/C][/ROW]
[ROW][C]28[/C][C]0.981634401027251[/C][C]0.0367311979454977[/C][C]0.0183655989727488[/C][/ROW]
[ROW][C]29[/C][C]0.985695655040536[/C][C]0.0286086899189283[/C][C]0.0143043449594641[/C][/ROW]
[ROW][C]30[/C][C]0.988592885058744[/C][C]0.0228142298825122[/C][C]0.0114071149412561[/C][/ROW]
[ROW][C]31[/C][C]0.995975360224538[/C][C]0.00804927955092397[/C][C]0.00402463977546198[/C][/ROW]
[ROW][C]32[/C][C]0.997968114417173[/C][C]0.00406377116565445[/C][C]0.00203188558282722[/C][/ROW]
[ROW][C]33[/C][C]0.996654015085783[/C][C]0.00669196982843345[/C][C]0.00334598491421672[/C][/ROW]
[ROW][C]34[/C][C]0.995219013243343[/C][C]0.0095619735133138[/C][C]0.0047809867566569[/C][/ROW]
[ROW][C]35[/C][C]0.99273272326394[/C][C]0.0145345534721188[/C][C]0.0072672767360594[/C][/ROW]
[ROW][C]36[/C][C]0.989405835793874[/C][C]0.0211883284122521[/C][C]0.010594164206126[/C][/ROW]
[ROW][C]37[/C][C]0.9849316456749[/C][C]0.0301367086502003[/C][C]0.0150683543251001[/C][/ROW]
[ROW][C]38[/C][C]0.988540343629136[/C][C]0.022919312741729[/C][C]0.0114596563708645[/C][/ROW]
[ROW][C]39[/C][C]0.98840320294586[/C][C]0.0231935941082795[/C][C]0.0115967970541398[/C][/ROW]
[ROW][C]40[/C][C]0.98726838726387[/C][C]0.0254632254722588[/C][C]0.0127316127361294[/C][/ROW]
[ROW][C]41[/C][C]0.985640980405896[/C][C]0.028718039188208[/C][C]0.014359019594104[/C][/ROW]
[ROW][C]42[/C][C]0.98435005214343[/C][C]0.0312998957131383[/C][C]0.0156499478565691[/C][/ROW]
[ROW][C]43[/C][C]0.99199866097685[/C][C]0.0160026780462996[/C][C]0.00800133902314979[/C][/ROW]
[ROW][C]44[/C][C]0.994236980418622[/C][C]0.0115260391627565[/C][C]0.00576301958137823[/C][/ROW]
[ROW][C]45[/C][C]0.992012544126432[/C][C]0.0159749117471358[/C][C]0.00798745587356788[/C][/ROW]
[ROW][C]46[/C][C]0.992467675750585[/C][C]0.0150646484988309[/C][C]0.00753232424941543[/C][/ROW]
[ROW][C]47[/C][C]0.98691661690773[/C][C]0.026166766184539[/C][C]0.0130833830922695[/C][/ROW]
[ROW][C]48[/C][C]0.974743335130532[/C][C]0.0505133297389367[/C][C]0.0252566648694684[/C][/ROW]
[ROW][C]49[/C][C]0.956636253911595[/C][C]0.0867274921768104[/C][C]0.0433637460884052[/C][/ROW]
[ROW][C]50[/C][C]0.92269957502196[/C][C]0.154600849956078[/C][C]0.0773004249780392[/C][/ROW]
[ROW][C]51[/C][C]0.874266165781431[/C][C]0.251467668437138[/C][C]0.125733834218569[/C][/ROW]
[ROW][C]52[/C][C]0.795455155926458[/C][C]0.409089688147085[/C][C]0.204544844073542[/C][/ROW]
[ROW][C]53[/C][C]0.68363873581623[/C][C]0.632722528367541[/C][C]0.31636126418377[/C][/ROW]
[ROW][C]54[/C][C]0.578035974348047[/C][C]0.843928051303906[/C][C]0.421964025651953[/C][/ROW]
[ROW][C]55[/C][C]0.610794079362074[/C][C]0.778411841275853[/C][C]0.389205920637926[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=101959&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=101959&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.01385680972796480.02771361945592950.986143190272035
60.01295767440907490.02591534881814990.987042325590925
70.008084336867823650.01616867373564730.991915663132176
80.004196242710761320.008392485421522650.995803757289239
90.02758899561974430.05517799123948860.972411004380256
100.0952876418473160.1905752836946320.904712358152684
110.1700177014800210.3400354029600430.829982298519979
120.1564923576977390.3129847153954790.84350764230226
130.1979767524040620.3959535048081240.802023247595938
140.2797303589284450.559460717856890.720269641071555
150.3322814955807040.6645629911614080.667718504419296
160.4379392854734880.8758785709469750.562060714526513
170.62248664074240.75502671851520.3775133592576
180.7598091380083060.4803817239833890.240190861991694
190.8843079900275790.2313840199448420.115692009972421
200.9562307888105480.08753842237890470.0437692111894523
210.956885773141390.08622845371721890.0431142268586094
220.968738305408010.06252338918397960.0312616945919898
230.9712736004394160.05745279912116890.0287263995605844
240.973861932114530.05227613577094090.0261380678854704
250.9797559881317750.04048802373644960.0202440118682248
260.9813305504184010.0373388991631970.0186694495815985
270.981065267175280.03786946564944150.0189347328247208
280.9816344010272510.03673119794549770.0183655989727488
290.9856956550405360.02860868991892830.0143043449594641
300.9885928850587440.02281422988251220.0114071149412561
310.9959753602245380.008049279550923970.00402463977546198
320.9979681144171730.004063771165654450.00203188558282722
330.9966540150857830.006691969828433450.00334598491421672
340.9952190132433430.00956197351331380.0047809867566569
350.992732723263940.01453455347211880.0072672767360594
360.9894058357938740.02118832841225210.010594164206126
370.98493164567490.03013670865020030.0150683543251001
380.9885403436291360.0229193127417290.0114596563708645
390.988403202945860.02319359410827950.0115967970541398
400.987268387263870.02546322547225880.0127316127361294
410.9856409804058960.0287180391882080.014359019594104
420.984350052143430.03129989571313830.0156499478565691
430.991998660976850.01600267804629960.00800133902314979
440.9942369804186220.01152603916275650.00576301958137823
450.9920125441264320.01597491174713580.00798745587356788
460.9924676757505850.01506464849883090.00753232424941543
470.986916616907730.0261667661845390.0130833830922695
480.9747433351305320.05051332973893670.0252566648694684
490.9566362539115950.08672749217681040.0433637460884052
500.922699575021960.1546008499560780.0773004249780392
510.8742661657814310.2514676684371380.125733834218569
520.7954551559264580.4090896881470850.204544844073542
530.683638735816230.6327225283675410.31636126418377
540.5780359743480470.8439280513039060.421964025651953
550.6107940793620740.7784118412758530.389205920637926







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level50.0980392156862745NOK
5% type I error level270.529411764705882NOK
10% type I error level350.686274509803922NOK

\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 & 5 & 0.0980392156862745 & NOK \tabularnewline
5% type I error level & 27 & 0.529411764705882 & NOK \tabularnewline
10% type I error level & 35 & 0.686274509803922 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=101959&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]5[/C][C]0.0980392156862745[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]27[/C][C]0.529411764705882[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]35[/C][C]0.686274509803922[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=101959&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=101959&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 level50.0980392156862745NOK
5% type I error level270.529411764705882NOK
10% type I error level350.686274509803922NOK



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