Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationFri, 24 Dec 2010 10:21:43 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/24/t1293185994aomnu2rc9hw1eeq.htm/, Retrieved Tue, 30 Apr 2024 03:23:48 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=114706, Retrieved Tue, 30 Apr 2024 03:23:48 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact161
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] [paperMR2(werk)] [2010-12-21 13:32:08] [7e261c986c934df955dd3ac53e9d45c6]
-   P       [Multiple Regression] [MR2_werkloos] [2010-12-24 10:21:43] [fff0a1ca5ad3b1801f382406d5a383a7] [Current]
-   P         [Multiple Regression] [] [2010-12-24 10:43:38] [8441f95c4a5787a301bc621ebc7904ca]
-               [Multiple Regression] [paperMR3] [2010-12-24 17:05:07] [7e261c986c934df955dd3ac53e9d45c6]
-             [Multiple Regression] [paperMR2] [2010-12-24 17:04:00] [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 time6 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 & 6 seconds \tabularnewline
R Server & 'RServer@AstonUniversity' @ vre.aston.ac.uk \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114706&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]6 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=114706&T=0

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







Multiple Linear Regression - Estimated Regression Equation
werkloosheid[t] = + 545.544217687075 + 10.6394557823129X[t] -4.19727891156464M1[t] + 2M2[t] + 6.00000000000001M3[t] + 1.20000000000001M4[t] -9M5[t] -14M6[t] -27M7[t] -23.6M8[t] + 28.4M9[t] + 35.4M10[t] + 19.6M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
werkloosheid[t] =  +  545.544217687075 +  10.6394557823129X[t] -4.19727891156464M1[t] +  2M2[t] +  6.00000000000001M3[t] +  1.20000000000001M4[t] -9M5[t] -14M6[t] -27M7[t] -23.6M8[t] +  28.4M9[t] +  35.4M10[t] +  19.6M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114706&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]werkloosheid[t] =  +  545.544217687075 +  10.6394557823129X[t] -4.19727891156464M1[t] +  2M2[t] +  6.00000000000001M3[t] +  1.20000000000001M4[t] -9M5[t] -14M6[t] -27M7[t] -23.6M8[t] +  28.4M9[t] +  35.4M10[t] +  19.6M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114706&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114706&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.544217687075 + 10.6394557823129X[t] -4.19727891156464M1[t] + 2M2[t] + 6.00000000000001M3[t] + 1.20000000000001M4[t] -9M5[t] -14M6[t] -27M7[t] -23.6M8[t] + 28.4M9[t] + 35.4M10[t] + 19.6M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)545.54421768707516.1588633.761300
X10.63945578231299.1776161.15930.2520750.126038
M1-4.1972789115646421.326852-0.19680.8448090.422405
M2222.2545360.08990.9287650.464383
M36.0000000000000122.2545360.26960.7886180.394309
M41.2000000000000122.2545360.05390.9572210.478611
M5-922.254536-0.40440.6877060.343853
M6-1422.254536-0.62910.5322760.266138
M7-2722.254536-1.21320.2309760.115488
M8-23.622.254536-1.06050.2942430.147122
M928.422.2545361.27610.2080450.104022
M1035.422.2545361.59070.1182450.059123
M1119.622.2545360.88070.3828580.191429

\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.544217687075 & 16.15886 & 33.7613 & 0 & 0 \tabularnewline
X & 10.6394557823129 & 9.177616 & 1.1593 & 0.252075 & 0.126038 \tabularnewline
M1 & -4.19727891156464 & 21.326852 & -0.1968 & 0.844809 & 0.422405 \tabularnewline
M2 & 2 & 22.254536 & 0.0899 & 0.928765 & 0.464383 \tabularnewline
M3 & 6.00000000000001 & 22.254536 & 0.2696 & 0.788618 & 0.394309 \tabularnewline
M4 & 1.20000000000001 & 22.254536 & 0.0539 & 0.957221 & 0.478611 \tabularnewline
M5 & -9 & 22.254536 & -0.4044 & 0.687706 & 0.343853 \tabularnewline
M6 & -14 & 22.254536 & -0.6291 & 0.532276 & 0.266138 \tabularnewline
M7 & -27 & 22.254536 & -1.2132 & 0.230976 & 0.115488 \tabularnewline
M8 & -23.6 & 22.254536 & -1.0605 & 0.294243 & 0.147122 \tabularnewline
M9 & 28.4 & 22.254536 & 1.2761 & 0.208045 & 0.104022 \tabularnewline
M10 & 35.4 & 22.254536 & 1.5907 & 0.118245 & 0.059123 \tabularnewline
M11 & 19.6 & 22.254536 & 0.8807 & 0.382858 & 0.191429 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114706&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.544217687075[/C][C]16.15886[/C][C]33.7613[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]10.6394557823129[/C][C]9.177616[/C][C]1.1593[/C][C]0.252075[/C][C]0.126038[/C][/ROW]
[ROW][C]M1[/C][C]-4.19727891156464[/C][C]21.326852[/C][C]-0.1968[/C][C]0.844809[/C][C]0.422405[/C][/ROW]
[ROW][C]M2[/C][C]2[/C][C]22.254536[/C][C]0.0899[/C][C]0.928765[/C][C]0.464383[/C][/ROW]
[ROW][C]M3[/C][C]6.00000000000001[/C][C]22.254536[/C][C]0.2696[/C][C]0.788618[/C][C]0.394309[/C][/ROW]
[ROW][C]M4[/C][C]1.20000000000001[/C][C]22.254536[/C][C]0.0539[/C][C]0.957221[/C][C]0.478611[/C][/ROW]
[ROW][C]M5[/C][C]-9[/C][C]22.254536[/C][C]-0.4044[/C][C]0.687706[/C][C]0.343853[/C][/ROW]
[ROW][C]M6[/C][C]-14[/C][C]22.254536[/C][C]-0.6291[/C][C]0.532276[/C][C]0.266138[/C][/ROW]
[ROW][C]M7[/C][C]-27[/C][C]22.254536[/C][C]-1.2132[/C][C]0.230976[/C][C]0.115488[/C][/ROW]
[ROW][C]M8[/C][C]-23.6[/C][C]22.254536[/C][C]-1.0605[/C][C]0.294243[/C][C]0.147122[/C][/ROW]
[ROW][C]M9[/C][C]28.4[/C][C]22.254536[/C][C]1.2761[/C][C]0.208045[/C][C]0.104022[/C][/ROW]
[ROW][C]M10[/C][C]35.4[/C][C]22.254536[/C][C]1.5907[/C][C]0.118245[/C][C]0.059123[/C][/ROW]
[ROW][C]M11[/C][C]19.6[/C][C]22.254536[/C][C]0.8807[/C][C]0.382858[/C][C]0.191429[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114706&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114706&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.54421768707516.1588633.761300
X10.63945578231299.1776161.15930.2520750.126038
M1-4.1972789115646421.326852-0.19680.8448090.422405
M2222.2545360.08990.9287650.464383
M36.0000000000000122.2545360.26960.7886180.394309
M41.2000000000000122.2545360.05390.9572210.478611
M5-922.254536-0.40440.6877060.343853
M6-1422.254536-0.62910.5322760.266138
M7-2722.254536-1.21320.2309760.115488
M8-23.622.254536-1.06050.2942430.147122
M928.422.2545361.27610.2080450.104022
M1035.422.2545361.59070.1182450.059123
M1119.622.2545360.88070.3828580.191429







Multiple Linear Regression - Regression Statistics
Multiple R0.518642621269286
R-squared0.268990168597076
Adjusted R-squared0.0862377107463449
F-TEST (value)1.47188263162393
F-TEST (DF numerator)12
F-TEST (DF denominator)48
p-value0.168108290720798
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation35.1875103460552
Sum Squared Residuals59431.7224489796

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.518642621269286 \tabularnewline
R-squared & 0.268990168597076 \tabularnewline
Adjusted R-squared & 0.0862377107463449 \tabularnewline
F-TEST (value) & 1.47188263162393 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 48 \tabularnewline
p-value & 0.168108290720798 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 35.1875103460552 \tabularnewline
Sum Squared Residuals & 59431.7224489796 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114706&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.518642621269286[/C][/ROW]
[ROW][C]R-squared[/C][C]0.268990168597076[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.0862377107463449[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]1.47188263162393[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]48[/C][/ROW]
[ROW][C]p-value[/C][C]0.168108290720798[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]35.1875103460552[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]59431.7224489796[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114706&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114706&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.518642621269286
R-squared0.268990168597076
Adjusted R-squared0.0862377107463449
F-TEST (value)1.47188263162393
F-TEST (DF numerator)12
F-TEST (DF denominator)48
p-value0.168108290720798
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation35.1875103460552
Sum Squared Residuals59431.7224489796







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1595541.3469387755153.6530612244897
2597547.54421768707549.4557823129252
3593551.54421768707541.4557823129252
4590546.74421768707543.2557823129251
5580536.54421768707543.4557823129252
6574531.54421768707542.4557823129252
7573518.54421768707554.4557823129252
8573521.94421768707551.0557823129252
9620573.94421768707546.0557823129252
10626580.94421768707545.0557823129252
11620565.14421768707554.8557823129252
12588545.54421768707542.4557823129252
13566541.3469387755124.6530612244898
14557547.5442176870759.45578231292518
15561551.5442176870759.45578231292517
16549546.7442176870752.25578231292517
17532536.544217687075-4.54421768707483
18526531.544217687075-5.54421768707483
19511518.544217687075-7.54421768707483
20499521.944217687075-22.9442176870748
21555573.944217687075-18.9442176870748
22565580.944217687075-15.9442176870748
23542565.144217687075-23.1442176870748
24527545.544217687075-18.5442176870748
25510541.34693877551-31.3469387755102
26514547.544217687075-33.5442176870748
27517551.544217687075-34.5442176870748
28508546.744217687075-38.7442176870748
29493536.544217687075-43.5442176870748
30490531.544217687075-41.5442176870748
31469518.544217687075-49.5442176870748
32478521.944217687075-43.9442176870748
33528573.944217687075-45.9442176870748
34534580.944217687075-46.9442176870748
35518565.144217687075-47.1442176870748
36506545.544217687075-39.5442176870748
37502551.986394557823-49.9863945578231
38516558.183673469388-42.1836734693878
39528562.183673469388-34.1836734693878
40533557.383673469388-24.3836734693878
41536547.183673469388-11.1836734693878
42537542.183673469388-5.18367346938776
43524529.183673469388-5.18367346938776
44536532.5836734693883.41632653061225
45587584.5836734693882.41632653061224
46597591.5836734693885.41632653061224
47581575.7836734693885.21632653061224
48564556.1836734693887.81632653061225
49558551.9863945578236.01360544217689
50575558.18367346938816.8163265306123
51580562.18367346938817.8163265306122
52575557.38367346938817.6163265306122
53563547.18367346938815.8163265306122
54552542.1836734693889.81632653061224
55537529.1836734693887.81632653061225
56545532.58367346938812.4163265306123
57601584.58367346938816.4163265306122
58604591.58367346938812.4163265306122
59586575.78367346938810.2163265306122
60564556.1836734693887.81632653061225
61549551.986394557823-2.98639455782311

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 595 & 541.34693877551 & 53.6530612244897 \tabularnewline
2 & 597 & 547.544217687075 & 49.4557823129252 \tabularnewline
3 & 593 & 551.544217687075 & 41.4557823129252 \tabularnewline
4 & 590 & 546.744217687075 & 43.2557823129251 \tabularnewline
5 & 580 & 536.544217687075 & 43.4557823129252 \tabularnewline
6 & 574 & 531.544217687075 & 42.4557823129252 \tabularnewline
7 & 573 & 518.544217687075 & 54.4557823129252 \tabularnewline
8 & 573 & 521.944217687075 & 51.0557823129252 \tabularnewline
9 & 620 & 573.944217687075 & 46.0557823129252 \tabularnewline
10 & 626 & 580.944217687075 & 45.0557823129252 \tabularnewline
11 & 620 & 565.144217687075 & 54.8557823129252 \tabularnewline
12 & 588 & 545.544217687075 & 42.4557823129252 \tabularnewline
13 & 566 & 541.34693877551 & 24.6530612244898 \tabularnewline
14 & 557 & 547.544217687075 & 9.45578231292518 \tabularnewline
15 & 561 & 551.544217687075 & 9.45578231292517 \tabularnewline
16 & 549 & 546.744217687075 & 2.25578231292517 \tabularnewline
17 & 532 & 536.544217687075 & -4.54421768707483 \tabularnewline
18 & 526 & 531.544217687075 & -5.54421768707483 \tabularnewline
19 & 511 & 518.544217687075 & -7.54421768707483 \tabularnewline
20 & 499 & 521.944217687075 & -22.9442176870748 \tabularnewline
21 & 555 & 573.944217687075 & -18.9442176870748 \tabularnewline
22 & 565 & 580.944217687075 & -15.9442176870748 \tabularnewline
23 & 542 & 565.144217687075 & -23.1442176870748 \tabularnewline
24 & 527 & 545.544217687075 & -18.5442176870748 \tabularnewline
25 & 510 & 541.34693877551 & -31.3469387755102 \tabularnewline
26 & 514 & 547.544217687075 & -33.5442176870748 \tabularnewline
27 & 517 & 551.544217687075 & -34.5442176870748 \tabularnewline
28 & 508 & 546.744217687075 & -38.7442176870748 \tabularnewline
29 & 493 & 536.544217687075 & -43.5442176870748 \tabularnewline
30 & 490 & 531.544217687075 & -41.5442176870748 \tabularnewline
31 & 469 & 518.544217687075 & -49.5442176870748 \tabularnewline
32 & 478 & 521.944217687075 & -43.9442176870748 \tabularnewline
33 & 528 & 573.944217687075 & -45.9442176870748 \tabularnewline
34 & 534 & 580.944217687075 & -46.9442176870748 \tabularnewline
35 & 518 & 565.144217687075 & -47.1442176870748 \tabularnewline
36 & 506 & 545.544217687075 & -39.5442176870748 \tabularnewline
37 & 502 & 551.986394557823 & -49.9863945578231 \tabularnewline
38 & 516 & 558.183673469388 & -42.1836734693878 \tabularnewline
39 & 528 & 562.183673469388 & -34.1836734693878 \tabularnewline
40 & 533 & 557.383673469388 & -24.3836734693878 \tabularnewline
41 & 536 & 547.183673469388 & -11.1836734693878 \tabularnewline
42 & 537 & 542.183673469388 & -5.18367346938776 \tabularnewline
43 & 524 & 529.183673469388 & -5.18367346938776 \tabularnewline
44 & 536 & 532.583673469388 & 3.41632653061225 \tabularnewline
45 & 587 & 584.583673469388 & 2.41632653061224 \tabularnewline
46 & 597 & 591.583673469388 & 5.41632653061224 \tabularnewline
47 & 581 & 575.783673469388 & 5.21632653061224 \tabularnewline
48 & 564 & 556.183673469388 & 7.81632653061225 \tabularnewline
49 & 558 & 551.986394557823 & 6.01360544217689 \tabularnewline
50 & 575 & 558.183673469388 & 16.8163265306123 \tabularnewline
51 & 580 & 562.183673469388 & 17.8163265306122 \tabularnewline
52 & 575 & 557.383673469388 & 17.6163265306122 \tabularnewline
53 & 563 & 547.183673469388 & 15.8163265306122 \tabularnewline
54 & 552 & 542.183673469388 & 9.81632653061224 \tabularnewline
55 & 537 & 529.183673469388 & 7.81632653061225 \tabularnewline
56 & 545 & 532.583673469388 & 12.4163265306123 \tabularnewline
57 & 601 & 584.583673469388 & 16.4163265306122 \tabularnewline
58 & 604 & 591.583673469388 & 12.4163265306122 \tabularnewline
59 & 586 & 575.783673469388 & 10.2163265306122 \tabularnewline
60 & 564 & 556.183673469388 & 7.81632653061225 \tabularnewline
61 & 549 & 551.986394557823 & -2.98639455782311 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114706&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]541.34693877551[/C][C]53.6530612244897[/C][/ROW]
[ROW][C]2[/C][C]597[/C][C]547.544217687075[/C][C]49.4557823129252[/C][/ROW]
[ROW][C]3[/C][C]593[/C][C]551.544217687075[/C][C]41.4557823129252[/C][/ROW]
[ROW][C]4[/C][C]590[/C][C]546.744217687075[/C][C]43.2557823129251[/C][/ROW]
[ROW][C]5[/C][C]580[/C][C]536.544217687075[/C][C]43.4557823129252[/C][/ROW]
[ROW][C]6[/C][C]574[/C][C]531.544217687075[/C][C]42.4557823129252[/C][/ROW]
[ROW][C]7[/C][C]573[/C][C]518.544217687075[/C][C]54.4557823129252[/C][/ROW]
[ROW][C]8[/C][C]573[/C][C]521.944217687075[/C][C]51.0557823129252[/C][/ROW]
[ROW][C]9[/C][C]620[/C][C]573.944217687075[/C][C]46.0557823129252[/C][/ROW]
[ROW][C]10[/C][C]626[/C][C]580.944217687075[/C][C]45.0557823129252[/C][/ROW]
[ROW][C]11[/C][C]620[/C][C]565.144217687075[/C][C]54.8557823129252[/C][/ROW]
[ROW][C]12[/C][C]588[/C][C]545.544217687075[/C][C]42.4557823129252[/C][/ROW]
[ROW][C]13[/C][C]566[/C][C]541.34693877551[/C][C]24.6530612244898[/C][/ROW]
[ROW][C]14[/C][C]557[/C][C]547.544217687075[/C][C]9.45578231292518[/C][/ROW]
[ROW][C]15[/C][C]561[/C][C]551.544217687075[/C][C]9.45578231292517[/C][/ROW]
[ROW][C]16[/C][C]549[/C][C]546.744217687075[/C][C]2.25578231292517[/C][/ROW]
[ROW][C]17[/C][C]532[/C][C]536.544217687075[/C][C]-4.54421768707483[/C][/ROW]
[ROW][C]18[/C][C]526[/C][C]531.544217687075[/C][C]-5.54421768707483[/C][/ROW]
[ROW][C]19[/C][C]511[/C][C]518.544217687075[/C][C]-7.54421768707483[/C][/ROW]
[ROW][C]20[/C][C]499[/C][C]521.944217687075[/C][C]-22.9442176870748[/C][/ROW]
[ROW][C]21[/C][C]555[/C][C]573.944217687075[/C][C]-18.9442176870748[/C][/ROW]
[ROW][C]22[/C][C]565[/C][C]580.944217687075[/C][C]-15.9442176870748[/C][/ROW]
[ROW][C]23[/C][C]542[/C][C]565.144217687075[/C][C]-23.1442176870748[/C][/ROW]
[ROW][C]24[/C][C]527[/C][C]545.544217687075[/C][C]-18.5442176870748[/C][/ROW]
[ROW][C]25[/C][C]510[/C][C]541.34693877551[/C][C]-31.3469387755102[/C][/ROW]
[ROW][C]26[/C][C]514[/C][C]547.544217687075[/C][C]-33.5442176870748[/C][/ROW]
[ROW][C]27[/C][C]517[/C][C]551.544217687075[/C][C]-34.5442176870748[/C][/ROW]
[ROW][C]28[/C][C]508[/C][C]546.744217687075[/C][C]-38.7442176870748[/C][/ROW]
[ROW][C]29[/C][C]493[/C][C]536.544217687075[/C][C]-43.5442176870748[/C][/ROW]
[ROW][C]30[/C][C]490[/C][C]531.544217687075[/C][C]-41.5442176870748[/C][/ROW]
[ROW][C]31[/C][C]469[/C][C]518.544217687075[/C][C]-49.5442176870748[/C][/ROW]
[ROW][C]32[/C][C]478[/C][C]521.944217687075[/C][C]-43.9442176870748[/C][/ROW]
[ROW][C]33[/C][C]528[/C][C]573.944217687075[/C][C]-45.9442176870748[/C][/ROW]
[ROW][C]34[/C][C]534[/C][C]580.944217687075[/C][C]-46.9442176870748[/C][/ROW]
[ROW][C]35[/C][C]518[/C][C]565.144217687075[/C][C]-47.1442176870748[/C][/ROW]
[ROW][C]36[/C][C]506[/C][C]545.544217687075[/C][C]-39.5442176870748[/C][/ROW]
[ROW][C]37[/C][C]502[/C][C]551.986394557823[/C][C]-49.9863945578231[/C][/ROW]
[ROW][C]38[/C][C]516[/C][C]558.183673469388[/C][C]-42.1836734693878[/C][/ROW]
[ROW][C]39[/C][C]528[/C][C]562.183673469388[/C][C]-34.1836734693878[/C][/ROW]
[ROW][C]40[/C][C]533[/C][C]557.383673469388[/C][C]-24.3836734693878[/C][/ROW]
[ROW][C]41[/C][C]536[/C][C]547.183673469388[/C][C]-11.1836734693878[/C][/ROW]
[ROW][C]42[/C][C]537[/C][C]542.183673469388[/C][C]-5.18367346938776[/C][/ROW]
[ROW][C]43[/C][C]524[/C][C]529.183673469388[/C][C]-5.18367346938776[/C][/ROW]
[ROW][C]44[/C][C]536[/C][C]532.583673469388[/C][C]3.41632653061225[/C][/ROW]
[ROW][C]45[/C][C]587[/C][C]584.583673469388[/C][C]2.41632653061224[/C][/ROW]
[ROW][C]46[/C][C]597[/C][C]591.583673469388[/C][C]5.41632653061224[/C][/ROW]
[ROW][C]47[/C][C]581[/C][C]575.783673469388[/C][C]5.21632653061224[/C][/ROW]
[ROW][C]48[/C][C]564[/C][C]556.183673469388[/C][C]7.81632653061225[/C][/ROW]
[ROW][C]49[/C][C]558[/C][C]551.986394557823[/C][C]6.01360544217689[/C][/ROW]
[ROW][C]50[/C][C]575[/C][C]558.183673469388[/C][C]16.8163265306123[/C][/ROW]
[ROW][C]51[/C][C]580[/C][C]562.183673469388[/C][C]17.8163265306122[/C][/ROW]
[ROW][C]52[/C][C]575[/C][C]557.383673469388[/C][C]17.6163265306122[/C][/ROW]
[ROW][C]53[/C][C]563[/C][C]547.183673469388[/C][C]15.8163265306122[/C][/ROW]
[ROW][C]54[/C][C]552[/C][C]542.183673469388[/C][C]9.81632653061224[/C][/ROW]
[ROW][C]55[/C][C]537[/C][C]529.183673469388[/C][C]7.81632653061225[/C][/ROW]
[ROW][C]56[/C][C]545[/C][C]532.583673469388[/C][C]12.4163265306123[/C][/ROW]
[ROW][C]57[/C][C]601[/C][C]584.583673469388[/C][C]16.4163265306122[/C][/ROW]
[ROW][C]58[/C][C]604[/C][C]591.583673469388[/C][C]12.4163265306122[/C][/ROW]
[ROW][C]59[/C][C]586[/C][C]575.783673469388[/C][C]10.2163265306122[/C][/ROW]
[ROW][C]60[/C][C]564[/C][C]556.183673469388[/C][C]7.81632653061225[/C][/ROW]
[ROW][C]61[/C][C]549[/C][C]551.986394557823[/C][C]-2.98639455782311[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114706&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114706&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
1595541.3469387755153.6530612244897
2597547.54421768707549.4557823129252
3593551.54421768707541.4557823129252
4590546.74421768707543.2557823129251
5580536.54421768707543.4557823129252
6574531.54421768707542.4557823129252
7573518.54421768707554.4557823129252
8573521.94421768707551.0557823129252
9620573.94421768707546.0557823129252
10626580.94421768707545.0557823129252
11620565.14421768707554.8557823129252
12588545.54421768707542.4557823129252
13566541.3469387755124.6530612244898
14557547.5442176870759.45578231292518
15561551.5442176870759.45578231292517
16549546.7442176870752.25578231292517
17532536.544217687075-4.54421768707483
18526531.544217687075-5.54421768707483
19511518.544217687075-7.54421768707483
20499521.944217687075-22.9442176870748
21555573.944217687075-18.9442176870748
22565580.944217687075-15.9442176870748
23542565.144217687075-23.1442176870748
24527545.544217687075-18.5442176870748
25510541.34693877551-31.3469387755102
26514547.544217687075-33.5442176870748
27517551.544217687075-34.5442176870748
28508546.744217687075-38.7442176870748
29493536.544217687075-43.5442176870748
30490531.544217687075-41.5442176870748
31469518.544217687075-49.5442176870748
32478521.944217687075-43.9442176870748
33528573.944217687075-45.9442176870748
34534580.944217687075-46.9442176870748
35518565.144217687075-47.1442176870748
36506545.544217687075-39.5442176870748
37502551.986394557823-49.9863945578231
38516558.183673469388-42.1836734693878
39528562.183673469388-34.1836734693878
40533557.383673469388-24.3836734693878
41536547.183673469388-11.1836734693878
42537542.183673469388-5.18367346938776
43524529.183673469388-5.18367346938776
44536532.5836734693883.41632653061225
45587584.5836734693882.41632653061224
46597591.5836734693885.41632653061224
47581575.7836734693885.21632653061224
48564556.1836734693887.81632653061225
49558551.9863945578236.01360544217689
50575558.18367346938816.8163265306123
51580562.18367346938817.8163265306122
52575557.38367346938817.6163265306122
53563547.18367346938815.8163265306122
54552542.1836734693889.81632653061224
55537529.1836734693887.81632653061225
56545532.58367346938812.4163265306123
57601584.58367346938816.4163265306122
58604591.58367346938812.4163265306122
59586575.78367346938810.2163265306122
60564556.1836734693887.81632653061225
61549551.986394557823-2.98639455782311







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.919326002351540.1613479952969190.0806739976484595
170.9550164703425620.08996705931487680.0449835296574384
180.973851264061170.05229747187766060.0261487359388303
190.9920487977503230.0159024044993550.00795120224967752
200.9975432895503550.004913420899289240.00245671044964462
210.998583888043820.00283222391236140.0014161119561807
220.9990113211773940.001977357645211350.000988678822605676
230.9994906348813030.001018730237394930.000509365118697467
240.9995162197329540.0009675605340915750.000483780267045787
250.999785765887270.0004284682254606920.000214234112730346
260.9998439056349640.0003121887300725550.000156094365036278
270.9998524068670190.0002951862659624210.00014759313298121
280.9998256966325660.0003486067348680250.000174303367434013
290.999756212487010.0004875750259783390.00024378751298917
300.9996317030104660.0007365939790685220.000368296989534261
310.9995036257537550.0009927484924905060.000496374246245253
320.9991290892654770.001741821469046570.000870910734523286
330.998480478753070.003039042493860240.00151952124693012
340.997383394362550.005233211274899990.00261660563744999
350.9955324570859760.008935085828047650.00446754291402383
360.9915956034133260.0168087931733480.00840439658667401
370.9950524442018360.009895111596327370.00494755579816368
380.9981519895718960.003696020856208790.0018480104281044
390.9995134169147680.0009731661704646770.000486583085232338
400.9999020139606320.0001959720787351229.7986039367561e-05
410.9999487669750250.0001024660499497595.12330249748796e-05
420.9998867510805180.000226497838963610.000113248919481805
430.9996893050517710.0006213898964575170.000310694948228759
440.9986513172506840.002697365498631680.00134868274931584
450.9973410994579620.005317801084075650.00265890054203782

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.91932600235154 & 0.161347995296919 & 0.0806739976484595 \tabularnewline
17 & 0.955016470342562 & 0.0899670593148768 & 0.0449835296574384 \tabularnewline
18 & 0.97385126406117 & 0.0522974718776606 & 0.0261487359388303 \tabularnewline
19 & 0.992048797750323 & 0.015902404499355 & 0.00795120224967752 \tabularnewline
20 & 0.997543289550355 & 0.00491342089928924 & 0.00245671044964462 \tabularnewline
21 & 0.99858388804382 & 0.0028322239123614 & 0.0014161119561807 \tabularnewline
22 & 0.999011321177394 & 0.00197735764521135 & 0.000988678822605676 \tabularnewline
23 & 0.999490634881303 & 0.00101873023739493 & 0.000509365118697467 \tabularnewline
24 & 0.999516219732954 & 0.000967560534091575 & 0.000483780267045787 \tabularnewline
25 & 0.99978576588727 & 0.000428468225460692 & 0.000214234112730346 \tabularnewline
26 & 0.999843905634964 & 0.000312188730072555 & 0.000156094365036278 \tabularnewline
27 & 0.999852406867019 & 0.000295186265962421 & 0.00014759313298121 \tabularnewline
28 & 0.999825696632566 & 0.000348606734868025 & 0.000174303367434013 \tabularnewline
29 & 0.99975621248701 & 0.000487575025978339 & 0.00024378751298917 \tabularnewline
30 & 0.999631703010466 & 0.000736593979068522 & 0.000368296989534261 \tabularnewline
31 & 0.999503625753755 & 0.000992748492490506 & 0.000496374246245253 \tabularnewline
32 & 0.999129089265477 & 0.00174182146904657 & 0.000870910734523286 \tabularnewline
33 & 0.99848047875307 & 0.00303904249386024 & 0.00151952124693012 \tabularnewline
34 & 0.99738339436255 & 0.00523321127489999 & 0.00261660563744999 \tabularnewline
35 & 0.995532457085976 & 0.00893508582804765 & 0.00446754291402383 \tabularnewline
36 & 0.991595603413326 & 0.016808793173348 & 0.00840439658667401 \tabularnewline
37 & 0.995052444201836 & 0.00989511159632737 & 0.00494755579816368 \tabularnewline
38 & 0.998151989571896 & 0.00369602085620879 & 0.0018480104281044 \tabularnewline
39 & 0.999513416914768 & 0.000973166170464677 & 0.000486583085232338 \tabularnewline
40 & 0.999902013960632 & 0.000195972078735122 & 9.7986039367561e-05 \tabularnewline
41 & 0.999948766975025 & 0.000102466049949759 & 5.12330249748796e-05 \tabularnewline
42 & 0.999886751080518 & 0.00022649783896361 & 0.000113248919481805 \tabularnewline
43 & 0.999689305051771 & 0.000621389896457517 & 0.000310694948228759 \tabularnewline
44 & 0.998651317250684 & 0.00269736549863168 & 0.00134868274931584 \tabularnewline
45 & 0.997341099457962 & 0.00531780108407565 & 0.00265890054203782 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114706&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]16[/C][C]0.91932600235154[/C][C]0.161347995296919[/C][C]0.0806739976484595[/C][/ROW]
[ROW][C]17[/C][C]0.955016470342562[/C][C]0.0899670593148768[/C][C]0.0449835296574384[/C][/ROW]
[ROW][C]18[/C][C]0.97385126406117[/C][C]0.0522974718776606[/C][C]0.0261487359388303[/C][/ROW]
[ROW][C]19[/C][C]0.992048797750323[/C][C]0.015902404499355[/C][C]0.00795120224967752[/C][/ROW]
[ROW][C]20[/C][C]0.997543289550355[/C][C]0.00491342089928924[/C][C]0.00245671044964462[/C][/ROW]
[ROW][C]21[/C][C]0.99858388804382[/C][C]0.0028322239123614[/C][C]0.0014161119561807[/C][/ROW]
[ROW][C]22[/C][C]0.999011321177394[/C][C]0.00197735764521135[/C][C]0.000988678822605676[/C][/ROW]
[ROW][C]23[/C][C]0.999490634881303[/C][C]0.00101873023739493[/C][C]0.000509365118697467[/C][/ROW]
[ROW][C]24[/C][C]0.999516219732954[/C][C]0.000967560534091575[/C][C]0.000483780267045787[/C][/ROW]
[ROW][C]25[/C][C]0.99978576588727[/C][C]0.000428468225460692[/C][C]0.000214234112730346[/C][/ROW]
[ROW][C]26[/C][C]0.999843905634964[/C][C]0.000312188730072555[/C][C]0.000156094365036278[/C][/ROW]
[ROW][C]27[/C][C]0.999852406867019[/C][C]0.000295186265962421[/C][C]0.00014759313298121[/C][/ROW]
[ROW][C]28[/C][C]0.999825696632566[/C][C]0.000348606734868025[/C][C]0.000174303367434013[/C][/ROW]
[ROW][C]29[/C][C]0.99975621248701[/C][C]0.000487575025978339[/C][C]0.00024378751298917[/C][/ROW]
[ROW][C]30[/C][C]0.999631703010466[/C][C]0.000736593979068522[/C][C]0.000368296989534261[/C][/ROW]
[ROW][C]31[/C][C]0.999503625753755[/C][C]0.000992748492490506[/C][C]0.000496374246245253[/C][/ROW]
[ROW][C]32[/C][C]0.999129089265477[/C][C]0.00174182146904657[/C][C]0.000870910734523286[/C][/ROW]
[ROW][C]33[/C][C]0.99848047875307[/C][C]0.00303904249386024[/C][C]0.00151952124693012[/C][/ROW]
[ROW][C]34[/C][C]0.99738339436255[/C][C]0.00523321127489999[/C][C]0.00261660563744999[/C][/ROW]
[ROW][C]35[/C][C]0.995532457085976[/C][C]0.00893508582804765[/C][C]0.00446754291402383[/C][/ROW]
[ROW][C]36[/C][C]0.991595603413326[/C][C]0.016808793173348[/C][C]0.00840439658667401[/C][/ROW]
[ROW][C]37[/C][C]0.995052444201836[/C][C]0.00989511159632737[/C][C]0.00494755579816368[/C][/ROW]
[ROW][C]38[/C][C]0.998151989571896[/C][C]0.00369602085620879[/C][C]0.0018480104281044[/C][/ROW]
[ROW][C]39[/C][C]0.999513416914768[/C][C]0.000973166170464677[/C][C]0.000486583085232338[/C][/ROW]
[ROW][C]40[/C][C]0.999902013960632[/C][C]0.000195972078735122[/C][C]9.7986039367561e-05[/C][/ROW]
[ROW][C]41[/C][C]0.999948766975025[/C][C]0.000102466049949759[/C][C]5.12330249748796e-05[/C][/ROW]
[ROW][C]42[/C][C]0.999886751080518[/C][C]0.00022649783896361[/C][C]0.000113248919481805[/C][/ROW]
[ROW][C]43[/C][C]0.999689305051771[/C][C]0.000621389896457517[/C][C]0.000310694948228759[/C][/ROW]
[ROW][C]44[/C][C]0.998651317250684[/C][C]0.00269736549863168[/C][C]0.00134868274931584[/C][/ROW]
[ROW][C]45[/C][C]0.997341099457962[/C][C]0.00531780108407565[/C][C]0.00265890054203782[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114706&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114706&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
160.919326002351540.1613479952969190.0806739976484595
170.9550164703425620.08996705931487680.0449835296574384
180.973851264061170.05229747187766060.0261487359388303
190.9920487977503230.0159024044993550.00795120224967752
200.9975432895503550.004913420899289240.00245671044964462
210.998583888043820.00283222391236140.0014161119561807
220.9990113211773940.001977357645211350.000988678822605676
230.9994906348813030.001018730237394930.000509365118697467
240.9995162197329540.0009675605340915750.000483780267045787
250.999785765887270.0004284682254606920.000214234112730346
260.9998439056349640.0003121887300725550.000156094365036278
270.9998524068670190.0002951862659624210.00014759313298121
280.9998256966325660.0003486067348680250.000174303367434013
290.999756212487010.0004875750259783390.00024378751298917
300.9996317030104660.0007365939790685220.000368296989534261
310.9995036257537550.0009927484924905060.000496374246245253
320.9991290892654770.001741821469046570.000870910734523286
330.998480478753070.003039042493860240.00151952124693012
340.997383394362550.005233211274899990.00261660563744999
350.9955324570859760.008935085828047650.00446754291402383
360.9915956034133260.0168087931733480.00840439658667401
370.9950524442018360.009895111596327370.00494755579816368
380.9981519895718960.003696020856208790.0018480104281044
390.9995134169147680.0009731661704646770.000486583085232338
400.9999020139606320.0001959720787351229.7986039367561e-05
410.9999487669750250.0001024660499497595.12330249748796e-05
420.9998867510805180.000226497838963610.000113248919481805
430.9996893050517710.0006213898964575170.000310694948228759
440.9986513172506840.002697365498631680.00134868274931584
450.9973410994579620.005317801084075650.00265890054203782







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level250.833333333333333NOK
5% type I error level270.9NOK
10% type I error level290.966666666666667NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114706&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 level250.833333333333333NOK
5% type I error level270.9NOK
10% type I error level290.966666666666667NOK



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