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 computationMon, 10 Dec 2012 08:01:22 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2012/Dec/10/t13551445164kfq7awyhi8vnyh.htm/, Retrieved Sat, 27 Apr 2024 02:10:23 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=198128, Retrieved Sat, 27 Apr 2024 02:10:23 +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] [Werkeloosheid ver...] [2012-11-15 17:53:40] [8ab8078357d7493428921287469fd527]
- R PD    [Multiple Regression] [] [2012-12-10 13:01:22] [eace0511beeaae09dbb51bfebd62c02b] [Current]
Feedback Forum

Post a new message
Dataseries X:
277	5	82	98
232	4	84	100
256	3	85	103
242	4	87	100
302	4	91	100
282	4	94	101
288	5	96	100
321	6	97	100
316	5	99	100
396	5	100	102
362	4	102	103
392	3	104	106
414	2	105	108
417	2	107	105
476	2	108	110
488	1	109	110
489	0	110	110
467	0	110	113
460	1	109	111
482	0	109	111
510	1	109	111
493	0	110	111
476	0	110	107
448	1	110	110
410	2	110	104
466	2	107	105
417	3	108	104
387	3	109	106
370	1	109	105
344	2	110	104
396	3	109	104
349	2	110	104
326	4	110	103
303	4	110	104
300	3	110	98
329	3	110	100
304	3	110	103
286	3	109	100
281	5	110	100
377	5	110	101
344	4	112	100
369	3	112	100
390	2	112	100
406	-1	111	102
426	-4	112	103
467	-5	112	106
437	-4	113	108
410	-2	113	105
390	2	113	110
418	2	112	110
398	2	112	110
422	2	111	113
439	3	112	111
419	1	112	111
484	1	113	111
491	-1	113	111




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time9 seconds
R Server'Gertrude Mary Cox' @ cox.wessa.net

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=198128&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 time9 seconds
R Server'Gertrude Mary Cox' @ cox.wessa.net







Multiple Linear Regression - Estimated Regression Equation
werkeloosheid[t] = -818.048860275771 -7.7938269508306bbp[t] + 2.17169033871477cpi[t] + 9.4220912545599prijsbouw[t] -1.17769539643982Q1[t] -5.77484782323167Q2[t] + 1.10188302722928Q3[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
werkeloosheid[t] =  -818.048860275771 -7.7938269508306bbp[t] +  2.17169033871477cpi[t] +  9.4220912545599prijsbouw[t] -1.17769539643982Q1[t] -5.77484782323167Q2[t] +  1.10188302722928Q3[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=198128&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]werkeloosheid[t] =  -818.048860275771 -7.7938269508306bbp[t] +  2.17169033871477cpi[t] +  9.4220912545599prijsbouw[t] -1.17769539643982Q1[t] -5.77484782323167Q2[t] +  1.10188302722928Q3[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=198128&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=198128&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
werkeloosheid[t] = -818.048860275771 -7.7938269508306bbp[t] + 2.17169033871477cpi[t] + 9.4220912545599prijsbouw[t] -1.17769539643982Q1[t] -5.77484782323167Q2[t] + 1.10188302722928Q3[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-818.048860275771153.297474-5.33632e-061e-06
bbp-7.79382695083062.794103-2.78940.0075010.00375
cpi2.171690338714770.7985182.71970.0090160.004508
prijsbouw9.42209125455991.4315616.581700
Q1-1.1776953964398214.579995-0.08080.935950.467975
Q2-5.7748478232316714.551292-0.39690.6931930.346596
Q31.1018830272292814.55730.07570.9399720.469986

\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) & -818.048860275771 & 153.297474 & -5.3363 & 2e-06 & 1e-06 \tabularnewline
bbp & -7.7938269508306 & 2.794103 & -2.7894 & 0.007501 & 0.00375 \tabularnewline
cpi & 2.17169033871477 & 0.798518 & 2.7197 & 0.009016 & 0.004508 \tabularnewline
prijsbouw & 9.4220912545599 & 1.431561 & 6.5817 & 0 & 0 \tabularnewline
Q1 & -1.17769539643982 & 14.579995 & -0.0808 & 0.93595 & 0.467975 \tabularnewline
Q2 & -5.77484782323167 & 14.551292 & -0.3969 & 0.693193 & 0.346596 \tabularnewline
Q3 & 1.10188302722928 & 14.5573 & 0.0757 & 0.939972 & 0.469986 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=198128&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]-818.048860275771[/C][C]153.297474[/C][C]-5.3363[/C][C]2e-06[/C][C]1e-06[/C][/ROW]
[ROW][C]bbp[/C][C]-7.7938269508306[/C][C]2.794103[/C][C]-2.7894[/C][C]0.007501[/C][C]0.00375[/C][/ROW]
[ROW][C]cpi[/C][C]2.17169033871477[/C][C]0.798518[/C][C]2.7197[/C][C]0.009016[/C][C]0.004508[/C][/ROW]
[ROW][C]prijsbouw[/C][C]9.4220912545599[/C][C]1.431561[/C][C]6.5817[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Q1[/C][C]-1.17769539643982[/C][C]14.579995[/C][C]-0.0808[/C][C]0.93595[/C][C]0.467975[/C][/ROW]
[ROW][C]Q2[/C][C]-5.77484782323167[/C][C]14.551292[/C][C]-0.3969[/C][C]0.693193[/C][C]0.346596[/C][/ROW]
[ROW][C]Q3[/C][C]1.10188302722928[/C][C]14.5573[/C][C]0.0757[/C][C]0.939972[/C][C]0.469986[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=198128&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=198128&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)-818.048860275771153.297474-5.33632e-061e-06
bbp-7.79382695083062.794103-2.78940.0075010.00375
cpi2.171690338714770.7985182.71970.0090160.004508
prijsbouw9.42209125455991.4315616.581700
Q1-1.1776953964398214.579995-0.08080.935950.467975
Q2-5.7748478232316714.551292-0.39690.6931930.346596
Q31.1018830272292814.55730.07570.9399720.469986







Multiple Linear Regression - Regression Statistics
Multiple R0.872196964461358
R-squared0.760727544815607
Adjusted R-squared0.731428876833845
F-TEST (value)25.9645778193445
F-TEST (DF numerator)6
F-TEST (DF denominator)49
p-value1.21569421196455e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation38.4412066146178
Sum Squared Residuals72408.5919333992

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.872196964461358 \tabularnewline
R-squared & 0.760727544815607 \tabularnewline
Adjusted R-squared & 0.731428876833845 \tabularnewline
F-TEST (value) & 25.9645778193445 \tabularnewline
F-TEST (DF numerator) & 6 \tabularnewline
F-TEST (DF denominator) & 49 \tabularnewline
p-value & 1.21569421196455e-13 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 38.4412066146178 \tabularnewline
Sum Squared Residuals & 72408.5919333992 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=198128&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.872196964461358[/C][/ROW]
[ROW][C]R-squared[/C][C]0.760727544815607[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.731428876833845[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]25.9645778193445[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]6[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]49[/C][/ROW]
[ROW][C]p-value[/C][C]1.21569421196455e-13[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]38.4412066146178[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]72408.5919333992[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=198128&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=198128&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.872196964461358
R-squared0.760727544815607
Adjusted R-squared0.731428876833845
F-TEST (value)25.9645778193445
F-TEST (DF numerator)6
F-TEST (DF denominator)49
p-value1.21569421196455e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation38.4412066146178
Sum Squared Residuals72408.5919333992







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1277243.24786029511833.7521397048823
2232269.632098005705-37.6320980057054
3256314.740619909391-58.7406199093915
4242281.922016845081-39.9220168450814
5302289.43108280350112.5689171964993
6282300.771092647413-18.7710926474131
7288294.775285969913-6.77528596991306
8321288.05126633056832.948733669432
9316299.01077856238816.9892214376117
10396315.42949898343180.570501016569
11362343.86552871671218.134471283288
12392383.1671270814238.83287291857746
13414410.7991314836483.20086851635211
14417382.27908597060634.7209140293941
15476438.43796343258137.5620365674189
16488447.30159769489740.6984023051028
17489456.08941958800332.9105804119973
18467479.758540924891-12.7585409248906
19460457.8255719766862.17442802331362
20482464.51751590028817.4824840997123
21510455.54599355301754.4540064469827
22493460.91435841577132.0856415842292
23476430.10272424799245.8972757520079
24448449.473288033612-1.47328803361196
25410383.96921815898226.0307818410178
26466382.27908597060683.7209140293941
27417374.11158895439142.8884110456089
28387394.025578774996-7.02557877499641
29370399.013446025658-29.0134460256579
30344379.37206573219-35.3720657321903
31396376.28327929310619.7167207068941
32349385.146913555422-36.146913555422
33326358.959473002761-32.9594730027611
34303363.784411830529-60.7844118305291
35300321.922422104461-21.9224221044613
36329339.664721586352-10.6647215863518
37304366.753299953592-62.7532999535917
38286331.718183424405-45.7181834244053
39281325.17895071192-44.1789507119199
40377333.4991589392543.5008410607495
41344335.0365799165118.96342008348907
42369338.2332544405530.7667455594503
43390352.90381224184137.0961877581588
44406391.85590223750914.1440977624912
45426425.6534692868350.346530713164616
46467457.1164175745549.88358242544617
47437477.215194322019-40.2151943220188
48410432.259383629449-22.2593836294486
49390447.016836702486-57.0168367024859
50418440.247993936979-22.2479939369793
51398447.12472478744-49.1247247874402
52422472.117425185176-50.1174251851759
53439446.4734106675-7.4734106675004
54419457.46391214237-38.4639121423697
55484466.51233333154517.4876666684545
56491480.99810420597710.0018957940226

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 277 & 243.247860295118 & 33.7521397048823 \tabularnewline
2 & 232 & 269.632098005705 & -37.6320980057054 \tabularnewline
3 & 256 & 314.740619909391 & -58.7406199093915 \tabularnewline
4 & 242 & 281.922016845081 & -39.9220168450814 \tabularnewline
5 & 302 & 289.431082803501 & 12.5689171964993 \tabularnewline
6 & 282 & 300.771092647413 & -18.7710926474131 \tabularnewline
7 & 288 & 294.775285969913 & -6.77528596991306 \tabularnewline
8 & 321 & 288.051266330568 & 32.948733669432 \tabularnewline
9 & 316 & 299.010778562388 & 16.9892214376117 \tabularnewline
10 & 396 & 315.429498983431 & 80.570501016569 \tabularnewline
11 & 362 & 343.865528716712 & 18.134471283288 \tabularnewline
12 & 392 & 383.167127081423 & 8.83287291857746 \tabularnewline
13 & 414 & 410.799131483648 & 3.20086851635211 \tabularnewline
14 & 417 & 382.279085970606 & 34.7209140293941 \tabularnewline
15 & 476 & 438.437963432581 & 37.5620365674189 \tabularnewline
16 & 488 & 447.301597694897 & 40.6984023051028 \tabularnewline
17 & 489 & 456.089419588003 & 32.9105804119973 \tabularnewline
18 & 467 & 479.758540924891 & -12.7585409248906 \tabularnewline
19 & 460 & 457.825571976686 & 2.17442802331362 \tabularnewline
20 & 482 & 464.517515900288 & 17.4824840997123 \tabularnewline
21 & 510 & 455.545993553017 & 54.4540064469827 \tabularnewline
22 & 493 & 460.914358415771 & 32.0856415842292 \tabularnewline
23 & 476 & 430.102724247992 & 45.8972757520079 \tabularnewline
24 & 448 & 449.473288033612 & -1.47328803361196 \tabularnewline
25 & 410 & 383.969218158982 & 26.0307818410178 \tabularnewline
26 & 466 & 382.279085970606 & 83.7209140293941 \tabularnewline
27 & 417 & 374.111588954391 & 42.8884110456089 \tabularnewline
28 & 387 & 394.025578774996 & -7.02557877499641 \tabularnewline
29 & 370 & 399.013446025658 & -29.0134460256579 \tabularnewline
30 & 344 & 379.37206573219 & -35.3720657321903 \tabularnewline
31 & 396 & 376.283279293106 & 19.7167207068941 \tabularnewline
32 & 349 & 385.146913555422 & -36.146913555422 \tabularnewline
33 & 326 & 358.959473002761 & -32.9594730027611 \tabularnewline
34 & 303 & 363.784411830529 & -60.7844118305291 \tabularnewline
35 & 300 & 321.922422104461 & -21.9224221044613 \tabularnewline
36 & 329 & 339.664721586352 & -10.6647215863518 \tabularnewline
37 & 304 & 366.753299953592 & -62.7532999535917 \tabularnewline
38 & 286 & 331.718183424405 & -45.7181834244053 \tabularnewline
39 & 281 & 325.17895071192 & -44.1789507119199 \tabularnewline
40 & 377 & 333.49915893925 & 43.5008410607495 \tabularnewline
41 & 344 & 335.036579916511 & 8.96342008348907 \tabularnewline
42 & 369 & 338.23325444055 & 30.7667455594503 \tabularnewline
43 & 390 & 352.903812241841 & 37.0961877581588 \tabularnewline
44 & 406 & 391.855902237509 & 14.1440977624912 \tabularnewline
45 & 426 & 425.653469286835 & 0.346530713164616 \tabularnewline
46 & 467 & 457.116417574554 & 9.88358242544617 \tabularnewline
47 & 437 & 477.215194322019 & -40.2151943220188 \tabularnewline
48 & 410 & 432.259383629449 & -22.2593836294486 \tabularnewline
49 & 390 & 447.016836702486 & -57.0168367024859 \tabularnewline
50 & 418 & 440.247993936979 & -22.2479939369793 \tabularnewline
51 & 398 & 447.12472478744 & -49.1247247874402 \tabularnewline
52 & 422 & 472.117425185176 & -50.1174251851759 \tabularnewline
53 & 439 & 446.4734106675 & -7.4734106675004 \tabularnewline
54 & 419 & 457.46391214237 & -38.4639121423697 \tabularnewline
55 & 484 & 466.512333331545 & 17.4876666684545 \tabularnewline
56 & 491 & 480.998104205977 & 10.0018957940226 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=198128&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]277[/C][C]243.247860295118[/C][C]33.7521397048823[/C][/ROW]
[ROW][C]2[/C][C]232[/C][C]269.632098005705[/C][C]-37.6320980057054[/C][/ROW]
[ROW][C]3[/C][C]256[/C][C]314.740619909391[/C][C]-58.7406199093915[/C][/ROW]
[ROW][C]4[/C][C]242[/C][C]281.922016845081[/C][C]-39.9220168450814[/C][/ROW]
[ROW][C]5[/C][C]302[/C][C]289.431082803501[/C][C]12.5689171964993[/C][/ROW]
[ROW][C]6[/C][C]282[/C][C]300.771092647413[/C][C]-18.7710926474131[/C][/ROW]
[ROW][C]7[/C][C]288[/C][C]294.775285969913[/C][C]-6.77528596991306[/C][/ROW]
[ROW][C]8[/C][C]321[/C][C]288.051266330568[/C][C]32.948733669432[/C][/ROW]
[ROW][C]9[/C][C]316[/C][C]299.010778562388[/C][C]16.9892214376117[/C][/ROW]
[ROW][C]10[/C][C]396[/C][C]315.429498983431[/C][C]80.570501016569[/C][/ROW]
[ROW][C]11[/C][C]362[/C][C]343.865528716712[/C][C]18.134471283288[/C][/ROW]
[ROW][C]12[/C][C]392[/C][C]383.167127081423[/C][C]8.83287291857746[/C][/ROW]
[ROW][C]13[/C][C]414[/C][C]410.799131483648[/C][C]3.20086851635211[/C][/ROW]
[ROW][C]14[/C][C]417[/C][C]382.279085970606[/C][C]34.7209140293941[/C][/ROW]
[ROW][C]15[/C][C]476[/C][C]438.437963432581[/C][C]37.5620365674189[/C][/ROW]
[ROW][C]16[/C][C]488[/C][C]447.301597694897[/C][C]40.6984023051028[/C][/ROW]
[ROW][C]17[/C][C]489[/C][C]456.089419588003[/C][C]32.9105804119973[/C][/ROW]
[ROW][C]18[/C][C]467[/C][C]479.758540924891[/C][C]-12.7585409248906[/C][/ROW]
[ROW][C]19[/C][C]460[/C][C]457.825571976686[/C][C]2.17442802331362[/C][/ROW]
[ROW][C]20[/C][C]482[/C][C]464.517515900288[/C][C]17.4824840997123[/C][/ROW]
[ROW][C]21[/C][C]510[/C][C]455.545993553017[/C][C]54.4540064469827[/C][/ROW]
[ROW][C]22[/C][C]493[/C][C]460.914358415771[/C][C]32.0856415842292[/C][/ROW]
[ROW][C]23[/C][C]476[/C][C]430.102724247992[/C][C]45.8972757520079[/C][/ROW]
[ROW][C]24[/C][C]448[/C][C]449.473288033612[/C][C]-1.47328803361196[/C][/ROW]
[ROW][C]25[/C][C]410[/C][C]383.969218158982[/C][C]26.0307818410178[/C][/ROW]
[ROW][C]26[/C][C]466[/C][C]382.279085970606[/C][C]83.7209140293941[/C][/ROW]
[ROW][C]27[/C][C]417[/C][C]374.111588954391[/C][C]42.8884110456089[/C][/ROW]
[ROW][C]28[/C][C]387[/C][C]394.025578774996[/C][C]-7.02557877499641[/C][/ROW]
[ROW][C]29[/C][C]370[/C][C]399.013446025658[/C][C]-29.0134460256579[/C][/ROW]
[ROW][C]30[/C][C]344[/C][C]379.37206573219[/C][C]-35.3720657321903[/C][/ROW]
[ROW][C]31[/C][C]396[/C][C]376.283279293106[/C][C]19.7167207068941[/C][/ROW]
[ROW][C]32[/C][C]349[/C][C]385.146913555422[/C][C]-36.146913555422[/C][/ROW]
[ROW][C]33[/C][C]326[/C][C]358.959473002761[/C][C]-32.9594730027611[/C][/ROW]
[ROW][C]34[/C][C]303[/C][C]363.784411830529[/C][C]-60.7844118305291[/C][/ROW]
[ROW][C]35[/C][C]300[/C][C]321.922422104461[/C][C]-21.9224221044613[/C][/ROW]
[ROW][C]36[/C][C]329[/C][C]339.664721586352[/C][C]-10.6647215863518[/C][/ROW]
[ROW][C]37[/C][C]304[/C][C]366.753299953592[/C][C]-62.7532999535917[/C][/ROW]
[ROW][C]38[/C][C]286[/C][C]331.718183424405[/C][C]-45.7181834244053[/C][/ROW]
[ROW][C]39[/C][C]281[/C][C]325.17895071192[/C][C]-44.1789507119199[/C][/ROW]
[ROW][C]40[/C][C]377[/C][C]333.49915893925[/C][C]43.5008410607495[/C][/ROW]
[ROW][C]41[/C][C]344[/C][C]335.036579916511[/C][C]8.96342008348907[/C][/ROW]
[ROW][C]42[/C][C]369[/C][C]338.23325444055[/C][C]30.7667455594503[/C][/ROW]
[ROW][C]43[/C][C]390[/C][C]352.903812241841[/C][C]37.0961877581588[/C][/ROW]
[ROW][C]44[/C][C]406[/C][C]391.855902237509[/C][C]14.1440977624912[/C][/ROW]
[ROW][C]45[/C][C]426[/C][C]425.653469286835[/C][C]0.346530713164616[/C][/ROW]
[ROW][C]46[/C][C]467[/C][C]457.116417574554[/C][C]9.88358242544617[/C][/ROW]
[ROW][C]47[/C][C]437[/C][C]477.215194322019[/C][C]-40.2151943220188[/C][/ROW]
[ROW][C]48[/C][C]410[/C][C]432.259383629449[/C][C]-22.2593836294486[/C][/ROW]
[ROW][C]49[/C][C]390[/C][C]447.016836702486[/C][C]-57.0168367024859[/C][/ROW]
[ROW][C]50[/C][C]418[/C][C]440.247993936979[/C][C]-22.2479939369793[/C][/ROW]
[ROW][C]51[/C][C]398[/C][C]447.12472478744[/C][C]-49.1247247874402[/C][/ROW]
[ROW][C]52[/C][C]422[/C][C]472.117425185176[/C][C]-50.1174251851759[/C][/ROW]
[ROW][C]53[/C][C]439[/C][C]446.4734106675[/C][C]-7.4734106675004[/C][/ROW]
[ROW][C]54[/C][C]419[/C][C]457.46391214237[/C][C]-38.4639121423697[/C][/ROW]
[ROW][C]55[/C][C]484[/C][C]466.512333331545[/C][C]17.4876666684545[/C][/ROW]
[ROW][C]56[/C][C]491[/C][C]480.998104205977[/C][C]10.0018957940226[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=198128&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=198128&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
1277243.24786029511833.7521397048823
2232269.632098005705-37.6320980057054
3256314.740619909391-58.7406199093915
4242281.922016845081-39.9220168450814
5302289.43108280350112.5689171964993
6282300.771092647413-18.7710926474131
7288294.775285969913-6.77528596991306
8321288.05126633056832.948733669432
9316299.01077856238816.9892214376117
10396315.42949898343180.570501016569
11362343.86552871671218.134471283288
12392383.1671270814238.83287291857746
13414410.7991314836483.20086851635211
14417382.27908597060634.7209140293941
15476438.43796343258137.5620365674189
16488447.30159769489740.6984023051028
17489456.08941958800332.9105804119973
18467479.758540924891-12.7585409248906
19460457.8255719766862.17442802331362
20482464.51751590028817.4824840997123
21510455.54599355301754.4540064469827
22493460.91435841577132.0856415842292
23476430.10272424799245.8972757520079
24448449.473288033612-1.47328803361196
25410383.96921815898226.0307818410178
26466382.27908597060683.7209140293941
27417374.11158895439142.8884110456089
28387394.025578774996-7.02557877499641
29370399.013446025658-29.0134460256579
30344379.37206573219-35.3720657321903
31396376.28327929310619.7167207068941
32349385.146913555422-36.146913555422
33326358.959473002761-32.9594730027611
34303363.784411830529-60.7844118305291
35300321.922422104461-21.9224221044613
36329339.664721586352-10.6647215863518
37304366.753299953592-62.7532999535917
38286331.718183424405-45.7181834244053
39281325.17895071192-44.1789507119199
40377333.4991589392543.5008410607495
41344335.0365799165118.96342008348907
42369338.2332544405530.7667455594503
43390352.90381224184137.0961877581588
44406391.85590223750914.1440977624912
45426425.6534692868350.346530713164616
46467457.1164175745549.88358242544617
47437477.215194322019-40.2151943220188
48410432.259383629449-22.2593836294486
49390447.016836702486-57.0168367024859
50418440.247993936979-22.2479939369793
51398447.12472478744-49.1247247874402
52422472.117425185176-50.1174251851759
53439446.4734106675-7.4734106675004
54419457.46391214237-38.4639121423697
55484466.51233333154517.4876666684545
56491480.99810420597710.0018957940226







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
100.4163298997995640.8326597995991280.583670100200436
110.3449924183163770.6899848366327540.655007581683623
120.2186174175692540.4372348351385080.781382582430746
130.1971179406778020.3942358813556040.802882059322198
140.2709332211424680.5418664422849350.729066778857532
150.2271724556686090.4543449113372180.772827544331391
160.235739073559630.471478147119260.76426092644037
170.17394873222090.34789746444180.8260512677791
180.1767123697238080.3534247394476160.823287630276192
190.119383145755370.2387662915107410.88061685424463
200.08408382111048770.1681676422209750.915916178889512
210.07286652721081420.1457330544216280.927133472789186
220.05877470664106920.1175494132821380.941225293358931
230.07233454168318590.1446690833663720.927665458316814
240.05596058101280920.1119211620256180.944039418987191
250.06104194262307090.1220838852461420.938958057376929
260.2423058118988770.4846116237977550.757694188101123
270.3328524660872560.6657049321745130.667147533912744
280.3596078512579070.7192157025158130.640392148742093
290.4910650258042640.9821300516085290.508934974195736
300.587927552945950.82414489410810.41207244705405
310.7621545036467340.4756909927065320.237845496353266
320.7364438497438760.5271123005122490.263556150256124
330.795245029688710.409509940622580.20475497031129
340.8780289542093290.2439420915813420.121971045790671
350.8253175510887840.3493648978224320.174682448911216
360.7633193721464990.4733612557070030.236680627853501
370.7836010211495370.4327979577009270.216398978850463
380.766190916989980.467618166020040.23380908301002
390.8603383391111180.2793233217777650.139661660888882
400.8306557255065980.3386885489868040.169344274493402
410.7519656230816050.4960687538367910.248034376918395
420.666517242539180.6669655149216410.33348275746082
430.6057875428541370.7884249142917260.394212457145863
440.5347739596675540.9304520806648910.465226040332446
450.431929679767680.8638593595353610.56807032023232
460.4753049723185560.9506099446371120.524695027681444

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
10 & 0.416329899799564 & 0.832659799599128 & 0.583670100200436 \tabularnewline
11 & 0.344992418316377 & 0.689984836632754 & 0.655007581683623 \tabularnewline
12 & 0.218617417569254 & 0.437234835138508 & 0.781382582430746 \tabularnewline
13 & 0.197117940677802 & 0.394235881355604 & 0.802882059322198 \tabularnewline
14 & 0.270933221142468 & 0.541866442284935 & 0.729066778857532 \tabularnewline
15 & 0.227172455668609 & 0.454344911337218 & 0.772827544331391 \tabularnewline
16 & 0.23573907355963 & 0.47147814711926 & 0.76426092644037 \tabularnewline
17 & 0.1739487322209 & 0.3478974644418 & 0.8260512677791 \tabularnewline
18 & 0.176712369723808 & 0.353424739447616 & 0.823287630276192 \tabularnewline
19 & 0.11938314575537 & 0.238766291510741 & 0.88061685424463 \tabularnewline
20 & 0.0840838211104877 & 0.168167642220975 & 0.915916178889512 \tabularnewline
21 & 0.0728665272108142 & 0.145733054421628 & 0.927133472789186 \tabularnewline
22 & 0.0587747066410692 & 0.117549413282138 & 0.941225293358931 \tabularnewline
23 & 0.0723345416831859 & 0.144669083366372 & 0.927665458316814 \tabularnewline
24 & 0.0559605810128092 & 0.111921162025618 & 0.944039418987191 \tabularnewline
25 & 0.0610419426230709 & 0.122083885246142 & 0.938958057376929 \tabularnewline
26 & 0.242305811898877 & 0.484611623797755 & 0.757694188101123 \tabularnewline
27 & 0.332852466087256 & 0.665704932174513 & 0.667147533912744 \tabularnewline
28 & 0.359607851257907 & 0.719215702515813 & 0.640392148742093 \tabularnewline
29 & 0.491065025804264 & 0.982130051608529 & 0.508934974195736 \tabularnewline
30 & 0.58792755294595 & 0.8241448941081 & 0.41207244705405 \tabularnewline
31 & 0.762154503646734 & 0.475690992706532 & 0.237845496353266 \tabularnewline
32 & 0.736443849743876 & 0.527112300512249 & 0.263556150256124 \tabularnewline
33 & 0.79524502968871 & 0.40950994062258 & 0.20475497031129 \tabularnewline
34 & 0.878028954209329 & 0.243942091581342 & 0.121971045790671 \tabularnewline
35 & 0.825317551088784 & 0.349364897822432 & 0.174682448911216 \tabularnewline
36 & 0.763319372146499 & 0.473361255707003 & 0.236680627853501 \tabularnewline
37 & 0.783601021149537 & 0.432797957700927 & 0.216398978850463 \tabularnewline
38 & 0.76619091698998 & 0.46761816602004 & 0.23380908301002 \tabularnewline
39 & 0.860338339111118 & 0.279323321777765 & 0.139661660888882 \tabularnewline
40 & 0.830655725506598 & 0.338688548986804 & 0.169344274493402 \tabularnewline
41 & 0.751965623081605 & 0.496068753836791 & 0.248034376918395 \tabularnewline
42 & 0.66651724253918 & 0.666965514921641 & 0.33348275746082 \tabularnewline
43 & 0.605787542854137 & 0.788424914291726 & 0.394212457145863 \tabularnewline
44 & 0.534773959667554 & 0.930452080664891 & 0.465226040332446 \tabularnewline
45 & 0.43192967976768 & 0.863859359535361 & 0.56807032023232 \tabularnewline
46 & 0.475304972318556 & 0.950609944637112 & 0.524695027681444 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=198128&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]10[/C][C]0.416329899799564[/C][C]0.832659799599128[/C][C]0.583670100200436[/C][/ROW]
[ROW][C]11[/C][C]0.344992418316377[/C][C]0.689984836632754[/C][C]0.655007581683623[/C][/ROW]
[ROW][C]12[/C][C]0.218617417569254[/C][C]0.437234835138508[/C][C]0.781382582430746[/C][/ROW]
[ROW][C]13[/C][C]0.197117940677802[/C][C]0.394235881355604[/C][C]0.802882059322198[/C][/ROW]
[ROW][C]14[/C][C]0.270933221142468[/C][C]0.541866442284935[/C][C]0.729066778857532[/C][/ROW]
[ROW][C]15[/C][C]0.227172455668609[/C][C]0.454344911337218[/C][C]0.772827544331391[/C][/ROW]
[ROW][C]16[/C][C]0.23573907355963[/C][C]0.47147814711926[/C][C]0.76426092644037[/C][/ROW]
[ROW][C]17[/C][C]0.1739487322209[/C][C]0.3478974644418[/C][C]0.8260512677791[/C][/ROW]
[ROW][C]18[/C][C]0.176712369723808[/C][C]0.353424739447616[/C][C]0.823287630276192[/C][/ROW]
[ROW][C]19[/C][C]0.11938314575537[/C][C]0.238766291510741[/C][C]0.88061685424463[/C][/ROW]
[ROW][C]20[/C][C]0.0840838211104877[/C][C]0.168167642220975[/C][C]0.915916178889512[/C][/ROW]
[ROW][C]21[/C][C]0.0728665272108142[/C][C]0.145733054421628[/C][C]0.927133472789186[/C][/ROW]
[ROW][C]22[/C][C]0.0587747066410692[/C][C]0.117549413282138[/C][C]0.941225293358931[/C][/ROW]
[ROW][C]23[/C][C]0.0723345416831859[/C][C]0.144669083366372[/C][C]0.927665458316814[/C][/ROW]
[ROW][C]24[/C][C]0.0559605810128092[/C][C]0.111921162025618[/C][C]0.944039418987191[/C][/ROW]
[ROW][C]25[/C][C]0.0610419426230709[/C][C]0.122083885246142[/C][C]0.938958057376929[/C][/ROW]
[ROW][C]26[/C][C]0.242305811898877[/C][C]0.484611623797755[/C][C]0.757694188101123[/C][/ROW]
[ROW][C]27[/C][C]0.332852466087256[/C][C]0.665704932174513[/C][C]0.667147533912744[/C][/ROW]
[ROW][C]28[/C][C]0.359607851257907[/C][C]0.719215702515813[/C][C]0.640392148742093[/C][/ROW]
[ROW][C]29[/C][C]0.491065025804264[/C][C]0.982130051608529[/C][C]0.508934974195736[/C][/ROW]
[ROW][C]30[/C][C]0.58792755294595[/C][C]0.8241448941081[/C][C]0.41207244705405[/C][/ROW]
[ROW][C]31[/C][C]0.762154503646734[/C][C]0.475690992706532[/C][C]0.237845496353266[/C][/ROW]
[ROW][C]32[/C][C]0.736443849743876[/C][C]0.527112300512249[/C][C]0.263556150256124[/C][/ROW]
[ROW][C]33[/C][C]0.79524502968871[/C][C]0.40950994062258[/C][C]0.20475497031129[/C][/ROW]
[ROW][C]34[/C][C]0.878028954209329[/C][C]0.243942091581342[/C][C]0.121971045790671[/C][/ROW]
[ROW][C]35[/C][C]0.825317551088784[/C][C]0.349364897822432[/C][C]0.174682448911216[/C][/ROW]
[ROW][C]36[/C][C]0.763319372146499[/C][C]0.473361255707003[/C][C]0.236680627853501[/C][/ROW]
[ROW][C]37[/C][C]0.783601021149537[/C][C]0.432797957700927[/C][C]0.216398978850463[/C][/ROW]
[ROW][C]38[/C][C]0.76619091698998[/C][C]0.46761816602004[/C][C]0.23380908301002[/C][/ROW]
[ROW][C]39[/C][C]0.860338339111118[/C][C]0.279323321777765[/C][C]0.139661660888882[/C][/ROW]
[ROW][C]40[/C][C]0.830655725506598[/C][C]0.338688548986804[/C][C]0.169344274493402[/C][/ROW]
[ROW][C]41[/C][C]0.751965623081605[/C][C]0.496068753836791[/C][C]0.248034376918395[/C][/ROW]
[ROW][C]42[/C][C]0.66651724253918[/C][C]0.666965514921641[/C][C]0.33348275746082[/C][/ROW]
[ROW][C]43[/C][C]0.605787542854137[/C][C]0.788424914291726[/C][C]0.394212457145863[/C][/ROW]
[ROW][C]44[/C][C]0.534773959667554[/C][C]0.930452080664891[/C][C]0.465226040332446[/C][/ROW]
[ROW][C]45[/C][C]0.43192967976768[/C][C]0.863859359535361[/C][C]0.56807032023232[/C][/ROW]
[ROW][C]46[/C][C]0.475304972318556[/C][C]0.950609944637112[/C][C]0.524695027681444[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=198128&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
100.4163298997995640.8326597995991280.583670100200436
110.3449924183163770.6899848366327540.655007581683623
120.2186174175692540.4372348351385080.781382582430746
130.1971179406778020.3942358813556040.802882059322198
140.2709332211424680.5418664422849350.729066778857532
150.2271724556686090.4543449113372180.772827544331391
160.235739073559630.471478147119260.76426092644037
170.17394873222090.34789746444180.8260512677791
180.1767123697238080.3534247394476160.823287630276192
190.119383145755370.2387662915107410.88061685424463
200.08408382111048770.1681676422209750.915916178889512
210.07286652721081420.1457330544216280.927133472789186
220.05877470664106920.1175494132821380.941225293358931
230.07233454168318590.1446690833663720.927665458316814
240.05596058101280920.1119211620256180.944039418987191
250.06104194262307090.1220838852461420.938958057376929
260.2423058118988770.4846116237977550.757694188101123
270.3328524660872560.6657049321745130.667147533912744
280.3596078512579070.7192157025158130.640392148742093
290.4910650258042640.9821300516085290.508934974195736
300.587927552945950.82414489410810.41207244705405
310.7621545036467340.4756909927065320.237845496353266
320.7364438497438760.5271123005122490.263556150256124
330.795245029688710.409509940622580.20475497031129
340.8780289542093290.2439420915813420.121971045790671
350.8253175510887840.3493648978224320.174682448911216
360.7633193721464990.4733612557070030.236680627853501
370.7836010211495370.4327979577009270.216398978850463
380.766190916989980.467618166020040.23380908301002
390.8603383391111180.2793233217777650.139661660888882
400.8306557255065980.3386885489868040.169344274493402
410.7519656230816050.4960687538367910.248034376918395
420.666517242539180.6669655149216410.33348275746082
430.6057875428541370.7884249142917260.394212457145863
440.5347739596675540.9304520806648910.465226040332446
450.431929679767680.8638593595353610.56807032023232
460.4753049723185560.9506099446371120.524695027681444







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level00OK
10% type I error level00OK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=198128&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 level00OK
5% type I error level00OK
10% type I error level00OK



Parameters (Session):
par1 = 1 ; par2 = Include Quarterly Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Quarterly 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')
}