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, 14 Dec 2012 04:04:13 -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/14/t1355475874ujet7i9b1f8i073.htm/, Retrieved Thu, 25 Apr 2024 20:19:41 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=199460, Retrieved Thu, 25 Apr 2024 20:19:41 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact139
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [] [2012-12-14 09:04:13] [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 time10 seconds
R Server'Gwilym Jenkins' @ jenkins.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 & 10 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ jenkins.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=199460&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]10 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ jenkins.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=199460&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=199460&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 time10 seconds
R Server'Gwilym Jenkins' @ jenkins.wessa.net







Multiple Linear Regression - Estimated Regression Equation
werkeloosheid[t] = -975.383322583056 -9.02296103619653bbp[t] + 5.00099684972349cpi[t] + 8.54402472806781kostenbouwsector[t] -2.76326468981967Q1[t] -6.72129040195627Q2[t] + 0.326178192550799Q3[t] -1.71225555914957t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
werkeloosheid[t] =  -975.383322583056 -9.02296103619653bbp[t] +  5.00099684972349cpi[t] +  8.54402472806781kostenbouwsector[t] -2.76326468981967Q1[t] -6.72129040195627Q2[t] +  0.326178192550799Q3[t] -1.71225555914957t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=199460&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]werkeloosheid[t] =  -975.383322583056 -9.02296103619653bbp[t] +  5.00099684972349cpi[t] +  8.54402472806781kostenbouwsector[t] -2.76326468981967Q1[t] -6.72129040195627Q2[t] +  0.326178192550799Q3[t] -1.71225555914957t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=199460&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=199460&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] = -975.383322583056 -9.02296103619653bbp[t] + 5.00099684972349cpi[t] + 8.54402472806781kostenbouwsector[t] -2.76326468981967Q1[t] -6.72129040195627Q2[t] + 0.326178192550799Q3[t] -1.71225555914957t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-975.383322583056143.612393-6.791800
bbp-9.022961036196532.519683-3.5810.0007960.000398
cpi5.000996849723491.0530894.74891.9e-059e-06
kostenbouwsector8.544024728067811.301786.563300
Q1-2.7632646898196713.037535-0.21190.8330460.416523
Q2-6.7212904019562713.007237-0.51670.6077140.303857
Q30.32617819255079913.0117590.02510.9801050.490052
t-1.712255559149570.46866-3.65350.0006390.00032

\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) & -975.383322583056 & 143.612393 & -6.7918 & 0 & 0 \tabularnewline
bbp & -9.02296103619653 & 2.519683 & -3.581 & 0.000796 & 0.000398 \tabularnewline
cpi & 5.00099684972349 & 1.053089 & 4.7489 & 1.9e-05 & 9e-06 \tabularnewline
kostenbouwsector & 8.54402472806781 & 1.30178 & 6.5633 & 0 & 0 \tabularnewline
Q1 & -2.76326468981967 & 13.037535 & -0.2119 & 0.833046 & 0.416523 \tabularnewline
Q2 & -6.72129040195627 & 13.007237 & -0.5167 & 0.607714 & 0.303857 \tabularnewline
Q3 & 0.326178192550799 & 13.011759 & 0.0251 & 0.980105 & 0.490052 \tabularnewline
t & -1.71225555914957 & 0.46866 & -3.6535 & 0.000639 & 0.00032 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=199460&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]-975.383322583056[/C][C]143.612393[/C][C]-6.7918[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]bbp[/C][C]-9.02296103619653[/C][C]2.519683[/C][C]-3.581[/C][C]0.000796[/C][C]0.000398[/C][/ROW]
[ROW][C]cpi[/C][C]5.00099684972349[/C][C]1.053089[/C][C]4.7489[/C][C]1.9e-05[/C][C]9e-06[/C][/ROW]
[ROW][C]kostenbouwsector[/C][C]8.54402472806781[/C][C]1.30178[/C][C]6.5633[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Q1[/C][C]-2.76326468981967[/C][C]13.037535[/C][C]-0.2119[/C][C]0.833046[/C][C]0.416523[/C][/ROW]
[ROW][C]Q2[/C][C]-6.72129040195627[/C][C]13.007237[/C][C]-0.5167[/C][C]0.607714[/C][C]0.303857[/C][/ROW]
[ROW][C]Q3[/C][C]0.326178192550799[/C][C]13.011759[/C][C]0.0251[/C][C]0.980105[/C][C]0.490052[/C][/ROW]
[ROW][C]t[/C][C]-1.71225555914957[/C][C]0.46866[/C][C]-3.6535[/C][C]0.000639[/C][C]0.00032[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=199460&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=199460&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)-975.383322583056143.612393-6.791800
bbp-9.022961036196532.519683-3.5810.0007960.000398
cpi5.000996849723491.0530894.74891.9e-059e-06
kostenbouwsector8.544024728067811.301786.563300
Q1-2.7632646898196713.037535-0.21190.8330460.416523
Q2-6.7212904019562713.007237-0.51670.6077140.303857
Q30.32617819255079913.0117590.02510.9801050.490052
t-1.712255559149570.46866-3.65350.0006390.00032







Multiple Linear Regression - Regression Statistics
Multiple R0.90154782575271
R-squared0.812788482119439
Adjusted R-squared0.785486802428523
F-TEST (value)29.7706401701687
F-TEST (DF numerator)7
F-TEST (DF denominator)48
p-value2.1094237467878e-15
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation34.3553487627989
Sum Squared Residuals56653.9194534502

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.90154782575271 \tabularnewline
R-squared & 0.812788482119439 \tabularnewline
Adjusted R-squared & 0.785486802428523 \tabularnewline
F-TEST (value) & 29.7706401701687 \tabularnewline
F-TEST (DF numerator) & 7 \tabularnewline
F-TEST (DF denominator) & 48 \tabularnewline
p-value & 2.1094237467878e-15 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 34.3553487627989 \tabularnewline
Sum Squared Residuals & 56653.9194534502 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=199460&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.90154782575271[/C][/ROW]
[ROW][C]R-squared[/C][C]0.812788482119439[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.785486802428523[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]29.7706401701687[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]7[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]48[/C][/ROW]
[ROW][C]p-value[/C][C]2.1094237467878e-15[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]34.3553487627989[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]56653.9194534502[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=199460&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=199460&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.90154782575271
R-squared0.812788482119439
Adjusted R-squared0.785486802428523
F-TEST (value)29.7706401701687
F-TEST (DF numerator)7
F-TEST (DF denominator)48
p-value2.1094237467878e-15
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation34.3553487627989
Sum Squared Residuals56653.9194534502







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1277222.42251701496554.5774829850347
2232252.865239935458-20.8652399354577
3256297.856485040939-41.8564850409387
4242271.165009768285-29.1650097682853
5302286.6934769182115.3065230817899
6282304.570210924162-22.5702109241622
7288302.340431894702-14.3404318947023
8321296.28003395652924.7199660434711
9316310.8294684432035.1705315567968
10396327.24823347777668.7517665222238
11362360.1524259768451.84757402315502
12392402.771021144992-10.7710211449916
13414429.407508238078-15.407508238078
14417408.1071464820358.89285351796466
15476461.16348000745514.8365199925446
16488473.14900414167514.8509958583249
17489482.6974417786266.30255822137417
18467502.659234691543-35.6592346915431
19460476.882440384845-16.882440384845
20482483.866967669341-1.86696766934112
21510470.36848638417539.6315136158247
22493478.72216299880914.2778370011908
23476449.88127712189526.1187228781046
24448464.451956518202-16.451956518202
25410399.68932686462910.3106731353707
26466387.5600797722478.4399202277595
27417380.32930389305736.6706961069428
28387400.379916447216-13.3799164472159
29370405.406293542572-35.4062935425719
30344387.170023356745-43.1700233567449
31396378.48127850618217.5187214938176
32349390.466802640402-41.466802640402
33326359.401335590972-33.4013355909719
34303362.275079047754-59.2750790477536
35300325.369104750901-25.3691047509007
36329340.418720455336-11.418720455336
37304361.57527439057-57.5752743905702
38286325.271922085357-39.2719220853571
39281317.562209898045-36.562209898045
40377324.06780087441252.9321991255875
41344330.07321063301913.9267893669811
42369333.42589039792935.5741096020707
43390347.78406446948342.2159355305167
44406384.90156643278521.0984335672154
45426421.0399508701964.96004912980374
46467450.0247048193116.9752951806899
47437468.42600312433-31.4260031243302
48410422.709573116033-12.7095731160333
49390424.862332362617-34.8623323626171
50418414.1910542416073.8089457583926
51398419.526267276965-21.5262672769649
52422438.118910859745-16.1189108597445
53439412.53337696816726.4666230318334
54419424.909017769273-5.90901776927346
55484435.24522765435448.7547723456455
56491451.25271597504739.7472840249529

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 277 & 222.422517014965 & 54.5774829850347 \tabularnewline
2 & 232 & 252.865239935458 & -20.8652399354577 \tabularnewline
3 & 256 & 297.856485040939 & -41.8564850409387 \tabularnewline
4 & 242 & 271.165009768285 & -29.1650097682853 \tabularnewline
5 & 302 & 286.69347691821 & 15.3065230817899 \tabularnewline
6 & 282 & 304.570210924162 & -22.5702109241622 \tabularnewline
7 & 288 & 302.340431894702 & -14.3404318947023 \tabularnewline
8 & 321 & 296.280033956529 & 24.7199660434711 \tabularnewline
9 & 316 & 310.829468443203 & 5.1705315567968 \tabularnewline
10 & 396 & 327.248233477776 & 68.7517665222238 \tabularnewline
11 & 362 & 360.152425976845 & 1.84757402315502 \tabularnewline
12 & 392 & 402.771021144992 & -10.7710211449916 \tabularnewline
13 & 414 & 429.407508238078 & -15.407508238078 \tabularnewline
14 & 417 & 408.107146482035 & 8.89285351796466 \tabularnewline
15 & 476 & 461.163480007455 & 14.8365199925446 \tabularnewline
16 & 488 & 473.149004141675 & 14.8509958583249 \tabularnewline
17 & 489 & 482.697441778626 & 6.30255822137417 \tabularnewline
18 & 467 & 502.659234691543 & -35.6592346915431 \tabularnewline
19 & 460 & 476.882440384845 & -16.882440384845 \tabularnewline
20 & 482 & 483.866967669341 & -1.86696766934112 \tabularnewline
21 & 510 & 470.368486384175 & 39.6315136158247 \tabularnewline
22 & 493 & 478.722162998809 & 14.2778370011908 \tabularnewline
23 & 476 & 449.881277121895 & 26.1187228781046 \tabularnewline
24 & 448 & 464.451956518202 & -16.451956518202 \tabularnewline
25 & 410 & 399.689326864629 & 10.3106731353707 \tabularnewline
26 & 466 & 387.56007977224 & 78.4399202277595 \tabularnewline
27 & 417 & 380.329303893057 & 36.6706961069428 \tabularnewline
28 & 387 & 400.379916447216 & -13.3799164472159 \tabularnewline
29 & 370 & 405.406293542572 & -35.4062935425719 \tabularnewline
30 & 344 & 387.170023356745 & -43.1700233567449 \tabularnewline
31 & 396 & 378.481278506182 & 17.5187214938176 \tabularnewline
32 & 349 & 390.466802640402 & -41.466802640402 \tabularnewline
33 & 326 & 359.401335590972 & -33.4013355909719 \tabularnewline
34 & 303 & 362.275079047754 & -59.2750790477536 \tabularnewline
35 & 300 & 325.369104750901 & -25.3691047509007 \tabularnewline
36 & 329 & 340.418720455336 & -11.418720455336 \tabularnewline
37 & 304 & 361.57527439057 & -57.5752743905702 \tabularnewline
38 & 286 & 325.271922085357 & -39.2719220853571 \tabularnewline
39 & 281 & 317.562209898045 & -36.562209898045 \tabularnewline
40 & 377 & 324.067800874412 & 52.9321991255875 \tabularnewline
41 & 344 & 330.073210633019 & 13.9267893669811 \tabularnewline
42 & 369 & 333.425890397929 & 35.5741096020707 \tabularnewline
43 & 390 & 347.784064469483 & 42.2159355305167 \tabularnewline
44 & 406 & 384.901566432785 & 21.0984335672154 \tabularnewline
45 & 426 & 421.039950870196 & 4.96004912980374 \tabularnewline
46 & 467 & 450.02470481931 & 16.9752951806899 \tabularnewline
47 & 437 & 468.42600312433 & -31.4260031243302 \tabularnewline
48 & 410 & 422.709573116033 & -12.7095731160333 \tabularnewline
49 & 390 & 424.862332362617 & -34.8623323626171 \tabularnewline
50 & 418 & 414.191054241607 & 3.8089457583926 \tabularnewline
51 & 398 & 419.526267276965 & -21.5262672769649 \tabularnewline
52 & 422 & 438.118910859745 & -16.1189108597445 \tabularnewline
53 & 439 & 412.533376968167 & 26.4666230318334 \tabularnewline
54 & 419 & 424.909017769273 & -5.90901776927346 \tabularnewline
55 & 484 & 435.245227654354 & 48.7547723456455 \tabularnewline
56 & 491 & 451.252715975047 & 39.7472840249529 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=199460&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]222.422517014965[/C][C]54.5774829850347[/C][/ROW]
[ROW][C]2[/C][C]232[/C][C]252.865239935458[/C][C]-20.8652399354577[/C][/ROW]
[ROW][C]3[/C][C]256[/C][C]297.856485040939[/C][C]-41.8564850409387[/C][/ROW]
[ROW][C]4[/C][C]242[/C][C]271.165009768285[/C][C]-29.1650097682853[/C][/ROW]
[ROW][C]5[/C][C]302[/C][C]286.69347691821[/C][C]15.3065230817899[/C][/ROW]
[ROW][C]6[/C][C]282[/C][C]304.570210924162[/C][C]-22.5702109241622[/C][/ROW]
[ROW][C]7[/C][C]288[/C][C]302.340431894702[/C][C]-14.3404318947023[/C][/ROW]
[ROW][C]8[/C][C]321[/C][C]296.280033956529[/C][C]24.7199660434711[/C][/ROW]
[ROW][C]9[/C][C]316[/C][C]310.829468443203[/C][C]5.1705315567968[/C][/ROW]
[ROW][C]10[/C][C]396[/C][C]327.248233477776[/C][C]68.7517665222238[/C][/ROW]
[ROW][C]11[/C][C]362[/C][C]360.152425976845[/C][C]1.84757402315502[/C][/ROW]
[ROW][C]12[/C][C]392[/C][C]402.771021144992[/C][C]-10.7710211449916[/C][/ROW]
[ROW][C]13[/C][C]414[/C][C]429.407508238078[/C][C]-15.407508238078[/C][/ROW]
[ROW][C]14[/C][C]417[/C][C]408.107146482035[/C][C]8.89285351796466[/C][/ROW]
[ROW][C]15[/C][C]476[/C][C]461.163480007455[/C][C]14.8365199925446[/C][/ROW]
[ROW][C]16[/C][C]488[/C][C]473.149004141675[/C][C]14.8509958583249[/C][/ROW]
[ROW][C]17[/C][C]489[/C][C]482.697441778626[/C][C]6.30255822137417[/C][/ROW]
[ROW][C]18[/C][C]467[/C][C]502.659234691543[/C][C]-35.6592346915431[/C][/ROW]
[ROW][C]19[/C][C]460[/C][C]476.882440384845[/C][C]-16.882440384845[/C][/ROW]
[ROW][C]20[/C][C]482[/C][C]483.866967669341[/C][C]-1.86696766934112[/C][/ROW]
[ROW][C]21[/C][C]510[/C][C]470.368486384175[/C][C]39.6315136158247[/C][/ROW]
[ROW][C]22[/C][C]493[/C][C]478.722162998809[/C][C]14.2778370011908[/C][/ROW]
[ROW][C]23[/C][C]476[/C][C]449.881277121895[/C][C]26.1187228781046[/C][/ROW]
[ROW][C]24[/C][C]448[/C][C]464.451956518202[/C][C]-16.451956518202[/C][/ROW]
[ROW][C]25[/C][C]410[/C][C]399.689326864629[/C][C]10.3106731353707[/C][/ROW]
[ROW][C]26[/C][C]466[/C][C]387.56007977224[/C][C]78.4399202277595[/C][/ROW]
[ROW][C]27[/C][C]417[/C][C]380.329303893057[/C][C]36.6706961069428[/C][/ROW]
[ROW][C]28[/C][C]387[/C][C]400.379916447216[/C][C]-13.3799164472159[/C][/ROW]
[ROW][C]29[/C][C]370[/C][C]405.406293542572[/C][C]-35.4062935425719[/C][/ROW]
[ROW][C]30[/C][C]344[/C][C]387.170023356745[/C][C]-43.1700233567449[/C][/ROW]
[ROW][C]31[/C][C]396[/C][C]378.481278506182[/C][C]17.5187214938176[/C][/ROW]
[ROW][C]32[/C][C]349[/C][C]390.466802640402[/C][C]-41.466802640402[/C][/ROW]
[ROW][C]33[/C][C]326[/C][C]359.401335590972[/C][C]-33.4013355909719[/C][/ROW]
[ROW][C]34[/C][C]303[/C][C]362.275079047754[/C][C]-59.2750790477536[/C][/ROW]
[ROW][C]35[/C][C]300[/C][C]325.369104750901[/C][C]-25.3691047509007[/C][/ROW]
[ROW][C]36[/C][C]329[/C][C]340.418720455336[/C][C]-11.418720455336[/C][/ROW]
[ROW][C]37[/C][C]304[/C][C]361.57527439057[/C][C]-57.5752743905702[/C][/ROW]
[ROW][C]38[/C][C]286[/C][C]325.271922085357[/C][C]-39.2719220853571[/C][/ROW]
[ROW][C]39[/C][C]281[/C][C]317.562209898045[/C][C]-36.562209898045[/C][/ROW]
[ROW][C]40[/C][C]377[/C][C]324.067800874412[/C][C]52.9321991255875[/C][/ROW]
[ROW][C]41[/C][C]344[/C][C]330.073210633019[/C][C]13.9267893669811[/C][/ROW]
[ROW][C]42[/C][C]369[/C][C]333.425890397929[/C][C]35.5741096020707[/C][/ROW]
[ROW][C]43[/C][C]390[/C][C]347.784064469483[/C][C]42.2159355305167[/C][/ROW]
[ROW][C]44[/C][C]406[/C][C]384.901566432785[/C][C]21.0984335672154[/C][/ROW]
[ROW][C]45[/C][C]426[/C][C]421.039950870196[/C][C]4.96004912980374[/C][/ROW]
[ROW][C]46[/C][C]467[/C][C]450.02470481931[/C][C]16.9752951806899[/C][/ROW]
[ROW][C]47[/C][C]437[/C][C]468.42600312433[/C][C]-31.4260031243302[/C][/ROW]
[ROW][C]48[/C][C]410[/C][C]422.709573116033[/C][C]-12.7095731160333[/C][/ROW]
[ROW][C]49[/C][C]390[/C][C]424.862332362617[/C][C]-34.8623323626171[/C][/ROW]
[ROW][C]50[/C][C]418[/C][C]414.191054241607[/C][C]3.8089457583926[/C][/ROW]
[ROW][C]51[/C][C]398[/C][C]419.526267276965[/C][C]-21.5262672769649[/C][/ROW]
[ROW][C]52[/C][C]422[/C][C]438.118910859745[/C][C]-16.1189108597445[/C][/ROW]
[ROW][C]53[/C][C]439[/C][C]412.533376968167[/C][C]26.4666230318334[/C][/ROW]
[ROW][C]54[/C][C]419[/C][C]424.909017769273[/C][C]-5.90901776927346[/C][/ROW]
[ROW][C]55[/C][C]484[/C][C]435.245227654354[/C][C]48.7547723456455[/C][/ROW]
[ROW][C]56[/C][C]491[/C][C]451.252715975047[/C][C]39.7472840249529[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=199460&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=199460&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
1277222.42251701496554.5774829850347
2232252.865239935458-20.8652399354577
3256297.856485040939-41.8564850409387
4242271.165009768285-29.1650097682853
5302286.6934769182115.3065230817899
6282304.570210924162-22.5702109241622
7288302.340431894702-14.3404318947023
8321296.28003395652924.7199660434711
9316310.8294684432035.1705315567968
10396327.24823347777668.7517665222238
11362360.1524259768451.84757402315502
12392402.771021144992-10.7710211449916
13414429.407508238078-15.407508238078
14417408.1071464820358.89285351796466
15476461.16348000745514.8365199925446
16488473.14900414167514.8509958583249
17489482.6974417786266.30255822137417
18467502.659234691543-35.6592346915431
19460476.882440384845-16.882440384845
20482483.866967669341-1.86696766934112
21510470.36848638417539.6315136158247
22493478.72216299880914.2778370011908
23476449.88127712189526.1187228781046
24448464.451956518202-16.451956518202
25410399.68932686462910.3106731353707
26466387.5600797722478.4399202277595
27417380.32930389305736.6706961069428
28387400.379916447216-13.3799164472159
29370405.406293542572-35.4062935425719
30344387.170023356745-43.1700233567449
31396378.48127850618217.5187214938176
32349390.466802640402-41.466802640402
33326359.401335590972-33.4013355909719
34303362.275079047754-59.2750790477536
35300325.369104750901-25.3691047509007
36329340.418720455336-11.418720455336
37304361.57527439057-57.5752743905702
38286325.271922085357-39.2719220853571
39281317.562209898045-36.562209898045
40377324.06780087441252.9321991255875
41344330.07321063301913.9267893669811
42369333.42589039792935.5741096020707
43390347.78406446948342.2159355305167
44406384.90156643278521.0984335672154
45426421.0399508701964.96004912980374
46467450.0247048193116.9752951806899
47437468.42600312433-31.4260031243302
48410422.709573116033-12.7095731160333
49390424.862332362617-34.8623323626171
50418414.1910542416073.8089457583926
51398419.526267276965-21.5262672769649
52422438.118910859745-16.1189108597445
53439412.53337696816726.4666230318334
54419424.909017769273-5.90901776927346
55484435.24522765435448.7547723456455
56491451.25271597504739.7472840249529







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
110.4356457372785360.8712914745570710.564354262721464
120.2908767113326310.5817534226652620.709123288667369
130.2500063425831740.5000126851663490.749993657416826
140.2021246819906990.4042493639813980.797875318009301
150.138665540498930.277331080997860.86133445950107
160.1115574305631120.2231148611262240.888442569436888
170.07046365710051770.1409273142010350.929536342899482
180.1964077617503810.3928155235007620.803592238249619
190.1637424634297130.3274849268594270.836257536570287
200.1078313628787760.2156627257575530.892168637121224
210.0806659799977290.1613319599954580.919334020002271
220.05159059453461170.1031811890692230.948409405465388
230.03908475066050350.07816950132100710.960915249339496
240.0540373164506610.1080746329013220.945962683549339
250.07325578251111350.1465115650222270.926744217488886
260.2099253279075730.4198506558151470.790074672092427
270.2974353360785640.5948706721571280.702564663921436
280.3795279242199320.7590558484398650.620472075780068
290.5110999085844370.9778001828311250.488900091415563
300.5816059725048070.8367880549903860.418394027495193
310.842132501944280.315734996111440.15786749805572
320.8211417135141260.3577165729717470.178858286485874
330.8772747962925560.2454504074148870.122725203707444
340.8819671381673850.236065723665230.118032861832615
350.8283650969663490.3432698060673020.171634903033651
360.7673969119626560.4652061760746890.232603088037344
370.7097902236331010.5804195527337970.290209776366899
380.7017374957285110.5965250085429780.298262504271489
390.8381820544144590.3236358911710810.16181794558554
400.9129388080509070.1741223838981860.0870611919490932
410.8552945023327640.2894109953344720.144705497667236
420.8004564221174030.3990871557651940.199543577882597
430.7600761918131850.479847616373630.239923808186815
440.7024392596216060.5951214807567880.297560740378394
450.5399053207688060.9201893584623890.460094679231194

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
11 & 0.435645737278536 & 0.871291474557071 & 0.564354262721464 \tabularnewline
12 & 0.290876711332631 & 0.581753422665262 & 0.709123288667369 \tabularnewline
13 & 0.250006342583174 & 0.500012685166349 & 0.749993657416826 \tabularnewline
14 & 0.202124681990699 & 0.404249363981398 & 0.797875318009301 \tabularnewline
15 & 0.13866554049893 & 0.27733108099786 & 0.86133445950107 \tabularnewline
16 & 0.111557430563112 & 0.223114861126224 & 0.888442569436888 \tabularnewline
17 & 0.0704636571005177 & 0.140927314201035 & 0.929536342899482 \tabularnewline
18 & 0.196407761750381 & 0.392815523500762 & 0.803592238249619 \tabularnewline
19 & 0.163742463429713 & 0.327484926859427 & 0.836257536570287 \tabularnewline
20 & 0.107831362878776 & 0.215662725757553 & 0.892168637121224 \tabularnewline
21 & 0.080665979997729 & 0.161331959995458 & 0.919334020002271 \tabularnewline
22 & 0.0515905945346117 & 0.103181189069223 & 0.948409405465388 \tabularnewline
23 & 0.0390847506605035 & 0.0781695013210071 & 0.960915249339496 \tabularnewline
24 & 0.054037316450661 & 0.108074632901322 & 0.945962683549339 \tabularnewline
25 & 0.0732557825111135 & 0.146511565022227 & 0.926744217488886 \tabularnewline
26 & 0.209925327907573 & 0.419850655815147 & 0.790074672092427 \tabularnewline
27 & 0.297435336078564 & 0.594870672157128 & 0.702564663921436 \tabularnewline
28 & 0.379527924219932 & 0.759055848439865 & 0.620472075780068 \tabularnewline
29 & 0.511099908584437 & 0.977800182831125 & 0.488900091415563 \tabularnewline
30 & 0.581605972504807 & 0.836788054990386 & 0.418394027495193 \tabularnewline
31 & 0.84213250194428 & 0.31573499611144 & 0.15786749805572 \tabularnewline
32 & 0.821141713514126 & 0.357716572971747 & 0.178858286485874 \tabularnewline
33 & 0.877274796292556 & 0.245450407414887 & 0.122725203707444 \tabularnewline
34 & 0.881967138167385 & 0.23606572366523 & 0.118032861832615 \tabularnewline
35 & 0.828365096966349 & 0.343269806067302 & 0.171634903033651 \tabularnewline
36 & 0.767396911962656 & 0.465206176074689 & 0.232603088037344 \tabularnewline
37 & 0.709790223633101 & 0.580419552733797 & 0.290209776366899 \tabularnewline
38 & 0.701737495728511 & 0.596525008542978 & 0.298262504271489 \tabularnewline
39 & 0.838182054414459 & 0.323635891171081 & 0.16181794558554 \tabularnewline
40 & 0.912938808050907 & 0.174122383898186 & 0.0870611919490932 \tabularnewline
41 & 0.855294502332764 & 0.289410995334472 & 0.144705497667236 \tabularnewline
42 & 0.800456422117403 & 0.399087155765194 & 0.199543577882597 \tabularnewline
43 & 0.760076191813185 & 0.47984761637363 & 0.239923808186815 \tabularnewline
44 & 0.702439259621606 & 0.595121480756788 & 0.297560740378394 \tabularnewline
45 & 0.539905320768806 & 0.920189358462389 & 0.460094679231194 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=199460&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]11[/C][C]0.435645737278536[/C][C]0.871291474557071[/C][C]0.564354262721464[/C][/ROW]
[ROW][C]12[/C][C]0.290876711332631[/C][C]0.581753422665262[/C][C]0.709123288667369[/C][/ROW]
[ROW][C]13[/C][C]0.250006342583174[/C][C]0.500012685166349[/C][C]0.749993657416826[/C][/ROW]
[ROW][C]14[/C][C]0.202124681990699[/C][C]0.404249363981398[/C][C]0.797875318009301[/C][/ROW]
[ROW][C]15[/C][C]0.13866554049893[/C][C]0.27733108099786[/C][C]0.86133445950107[/C][/ROW]
[ROW][C]16[/C][C]0.111557430563112[/C][C]0.223114861126224[/C][C]0.888442569436888[/C][/ROW]
[ROW][C]17[/C][C]0.0704636571005177[/C][C]0.140927314201035[/C][C]0.929536342899482[/C][/ROW]
[ROW][C]18[/C][C]0.196407761750381[/C][C]0.392815523500762[/C][C]0.803592238249619[/C][/ROW]
[ROW][C]19[/C][C]0.163742463429713[/C][C]0.327484926859427[/C][C]0.836257536570287[/C][/ROW]
[ROW][C]20[/C][C]0.107831362878776[/C][C]0.215662725757553[/C][C]0.892168637121224[/C][/ROW]
[ROW][C]21[/C][C]0.080665979997729[/C][C]0.161331959995458[/C][C]0.919334020002271[/C][/ROW]
[ROW][C]22[/C][C]0.0515905945346117[/C][C]0.103181189069223[/C][C]0.948409405465388[/C][/ROW]
[ROW][C]23[/C][C]0.0390847506605035[/C][C]0.0781695013210071[/C][C]0.960915249339496[/C][/ROW]
[ROW][C]24[/C][C]0.054037316450661[/C][C]0.108074632901322[/C][C]0.945962683549339[/C][/ROW]
[ROW][C]25[/C][C]0.0732557825111135[/C][C]0.146511565022227[/C][C]0.926744217488886[/C][/ROW]
[ROW][C]26[/C][C]0.209925327907573[/C][C]0.419850655815147[/C][C]0.790074672092427[/C][/ROW]
[ROW][C]27[/C][C]0.297435336078564[/C][C]0.594870672157128[/C][C]0.702564663921436[/C][/ROW]
[ROW][C]28[/C][C]0.379527924219932[/C][C]0.759055848439865[/C][C]0.620472075780068[/C][/ROW]
[ROW][C]29[/C][C]0.511099908584437[/C][C]0.977800182831125[/C][C]0.488900091415563[/C][/ROW]
[ROW][C]30[/C][C]0.581605972504807[/C][C]0.836788054990386[/C][C]0.418394027495193[/C][/ROW]
[ROW][C]31[/C][C]0.84213250194428[/C][C]0.31573499611144[/C][C]0.15786749805572[/C][/ROW]
[ROW][C]32[/C][C]0.821141713514126[/C][C]0.357716572971747[/C][C]0.178858286485874[/C][/ROW]
[ROW][C]33[/C][C]0.877274796292556[/C][C]0.245450407414887[/C][C]0.122725203707444[/C][/ROW]
[ROW][C]34[/C][C]0.881967138167385[/C][C]0.23606572366523[/C][C]0.118032861832615[/C][/ROW]
[ROW][C]35[/C][C]0.828365096966349[/C][C]0.343269806067302[/C][C]0.171634903033651[/C][/ROW]
[ROW][C]36[/C][C]0.767396911962656[/C][C]0.465206176074689[/C][C]0.232603088037344[/C][/ROW]
[ROW][C]37[/C][C]0.709790223633101[/C][C]0.580419552733797[/C][C]0.290209776366899[/C][/ROW]
[ROW][C]38[/C][C]0.701737495728511[/C][C]0.596525008542978[/C][C]0.298262504271489[/C][/ROW]
[ROW][C]39[/C][C]0.838182054414459[/C][C]0.323635891171081[/C][C]0.16181794558554[/C][/ROW]
[ROW][C]40[/C][C]0.912938808050907[/C][C]0.174122383898186[/C][C]0.0870611919490932[/C][/ROW]
[ROW][C]41[/C][C]0.855294502332764[/C][C]0.289410995334472[/C][C]0.144705497667236[/C][/ROW]
[ROW][C]42[/C][C]0.800456422117403[/C][C]0.399087155765194[/C][C]0.199543577882597[/C][/ROW]
[ROW][C]43[/C][C]0.760076191813185[/C][C]0.47984761637363[/C][C]0.239923808186815[/C][/ROW]
[ROW][C]44[/C][C]0.702439259621606[/C][C]0.595121480756788[/C][C]0.297560740378394[/C][/ROW]
[ROW][C]45[/C][C]0.539905320768806[/C][C]0.920189358462389[/C][C]0.460094679231194[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=199460&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=199460&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
110.4356457372785360.8712914745570710.564354262721464
120.2908767113326310.5817534226652620.709123288667369
130.2500063425831740.5000126851663490.749993657416826
140.2021246819906990.4042493639813980.797875318009301
150.138665540498930.277331080997860.86133445950107
160.1115574305631120.2231148611262240.888442569436888
170.07046365710051770.1409273142010350.929536342899482
180.1964077617503810.3928155235007620.803592238249619
190.1637424634297130.3274849268594270.836257536570287
200.1078313628787760.2156627257575530.892168637121224
210.0806659799977290.1613319599954580.919334020002271
220.05159059453461170.1031811890692230.948409405465388
230.03908475066050350.07816950132100710.960915249339496
240.0540373164506610.1080746329013220.945962683549339
250.07325578251111350.1465115650222270.926744217488886
260.2099253279075730.4198506558151470.790074672092427
270.2974353360785640.5948706721571280.702564663921436
280.3795279242199320.7590558484398650.620472075780068
290.5110999085844370.9778001828311250.488900091415563
300.5816059725048070.8367880549903860.418394027495193
310.842132501944280.315734996111440.15786749805572
320.8211417135141260.3577165729717470.178858286485874
330.8772747962925560.2454504074148870.122725203707444
340.8819671381673850.236065723665230.118032861832615
350.8283650969663490.3432698060673020.171634903033651
360.7673969119626560.4652061760746890.232603088037344
370.7097902236331010.5804195527337970.290209776366899
380.7017374957285110.5965250085429780.298262504271489
390.8381820544144590.3236358911710810.16181794558554
400.9129388080509070.1741223838981860.0870611919490932
410.8552945023327640.2894109953344720.144705497667236
420.8004564221174030.3990871557651940.199543577882597
430.7600761918131850.479847616373630.239923808186815
440.7024392596216060.5951214807567880.297560740378394
450.5399053207688060.9201893584623890.460094679231194







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 level10.0285714285714286OK

\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 & 1 & 0.0285714285714286 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=199460&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]1[/C][C]0.0285714285714286[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=199460&T=6

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



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