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 computationThu, 16 Dec 2010 07:22: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/16/t1292484069ic8oxmgqpyrxic0.htm/, Retrieved Fri, 03 May 2024 06:16:43 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=110763, Retrieved Fri, 03 May 2024 06:16:43 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact171
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [paper: multiple r...] [2010-12-16 07:22:43] [6f3869f9d1e39c73f93153f1f7803f84] [Current]
Feedback Forum

Post a new message
Dataseries X:
567	0	573	584	589	591
569	0	567	573	584	589
621	0	569	567	573	584
629	0	621	569	567	573
628	0	629	621	569	567
612	0	628	629	621	569
595	0	612	628	629	621
597	0	595	612	628	629
593	0	597	595	612	628
590	0	593	597	595	612
580	0	590	593	597	595
574	0	580	590	593	597
573	0	574	580	590	593
573	0	573	574	580	590
620	0	573	573	574	580
626	0	620	573	573	574
620	0	626	620	573	573
588	0	620	626	620	573
566	0	588	620	626	620
557	0	566	588	620	626
561	0	557	566	588	620
549	0	561	557	566	588
532	0	549	561	557	566
526	0	532	549	561	557
511	0	526	532	549	561
499	0	511	526	532	549
555	1	499	511	526	532
565	1	555	499	511	526
542	1	565	555	499	511
527	1	542	565	555	499
510	1	527	542	565	555
514	1	510	527	542	565
517	1	514	510	527	542
508	1	517	514	510	527
493	1	508	517	514	510
490	1	493	508	517	514
469	1	490	493	508	517
478	1	469	490	493	508
528	1	478	469	490	493
534	1	528	478	469	490
518	1	534	528	478	469
506	1	518	534	528	478
502	1	506	518	534	528
516	1	502	506	518	534
528	1	516	502	506	518
533	1	528	516	502	506
536	1	533	528	516	502
537	1	536	533	528	516
524	1	537	536	533	528
536	1	524	537	536	533
587	1	536	524	537	536
597	1	587	536	524	537
581	1	597	587	536	524
564	1	581	597	587	536
558	1	564	581	597	587
575	1	558	564	581	597




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
R Framework error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.

\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
R Framework error message & 
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=110763&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]
[ROW][C]R Framework error message[/C][C]
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=110763&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110763&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
R Framework error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.







Multiple Linear Regression - Estimated Regression Equation
Totaal[t] = + 32.2475215807633 + 2.471430053128Crisis[t] + 1.24026784409011`t-1`[t] -0.575426130628861`t-2`[t] + 0.110311812189182`t-3`[t] + 0.164208502243871`t-4 `[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Totaal[t] =  +  32.2475215807633 +  2.471430053128Crisis[t] +  1.24026784409011`t-1`[t] -0.575426130628861`t-2`[t] +  0.110311812189182`t-3`[t] +  0.164208502243871`t-4
`[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110763&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Totaal[t] =  +  32.2475215807633 +  2.471430053128Crisis[t] +  1.24026784409011`t-1`[t] -0.575426130628861`t-2`[t] +  0.110311812189182`t-3`[t] +  0.164208502243871`t-4
`[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110763&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110763&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
Totaal[t] = + 32.2475215807633 + 2.471430053128Crisis[t] + 1.24026784409011`t-1`[t] -0.575426130628861`t-2`[t] + 0.110311812189182`t-3`[t] + 0.164208502243871`t-4 `[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)32.247521580763363.6344310.50680.6145490.307275
Crisis2.4714300531288.1933680.30160.7641790.38209
`t-1`1.240267844090110.141498.765700
`t-2`-0.5754261306288610.225687-2.54970.0138950.006948
`t-3`0.1103118121891820.2260940.48790.6277520.313876
`t-4 `0.1642085022438710.1576581.04160.3026310.151315

\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) & 32.2475215807633 & 63.634431 & 0.5068 & 0.614549 & 0.307275 \tabularnewline
Crisis & 2.471430053128 & 8.193368 & 0.3016 & 0.764179 & 0.38209 \tabularnewline
`t-1` & 1.24026784409011 & 0.14149 & 8.7657 & 0 & 0 \tabularnewline
`t-2` & -0.575426130628861 & 0.225687 & -2.5497 & 0.013895 & 0.006948 \tabularnewline
`t-3` & 0.110311812189182 & 0.226094 & 0.4879 & 0.627752 & 0.313876 \tabularnewline
`t-4
` & 0.164208502243871 & 0.157658 & 1.0416 & 0.302631 & 0.151315 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110763&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]32.2475215807633[/C][C]63.634431[/C][C]0.5068[/C][C]0.614549[/C][C]0.307275[/C][/ROW]
[ROW][C]Crisis[/C][C]2.471430053128[/C][C]8.193368[/C][C]0.3016[/C][C]0.764179[/C][C]0.38209[/C][/ROW]
[ROW][C]`t-1`[/C][C]1.24026784409011[/C][C]0.14149[/C][C]8.7657[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]`t-2`[/C][C]-0.575426130628861[/C][C]0.225687[/C][C]-2.5497[/C][C]0.013895[/C][C]0.006948[/C][/ROW]
[ROW][C]`t-3`[/C][C]0.110311812189182[/C][C]0.226094[/C][C]0.4879[/C][C]0.627752[/C][C]0.313876[/C][/ROW]
[ROW][C]`t-4
`[/C][C]0.164208502243871[/C][C]0.157658[/C][C]1.0416[/C][C]0.302631[/C][C]0.151315[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110763&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110763&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)32.247521580763363.6344310.50680.6145490.307275
Crisis2.4714300531288.1933680.30160.7641790.38209
`t-1`1.240267844090110.141498.765700
`t-2`-0.5754261306288610.225687-2.54970.0138950.006948
`t-3`0.1103118121891820.2260940.48790.6277520.313876
`t-4 `0.1642085022438710.1576581.04160.3026310.151315







Multiple Linear Regression - Regression Statistics
Multiple R0.913098051345784
R-squared0.833748051371467
Adjusted R-squared0.817122856508614
F-TEST (value)50.1496709211128
F-TEST (DF numerator)5
F-TEST (DF denominator)50
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation17.6529714939156
Sum Squared Residuals15581.3701282499

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.913098051345784 \tabularnewline
R-squared & 0.833748051371467 \tabularnewline
Adjusted R-squared & 0.817122856508614 \tabularnewline
F-TEST (value) & 50.1496709211128 \tabularnewline
F-TEST (DF numerator) & 5 \tabularnewline
F-TEST (DF denominator) & 50 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 17.6529714939156 \tabularnewline
Sum Squared Residuals & 15581.3701282499 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110763&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.913098051345784[/C][/ROW]
[ROW][C]R-squared[/C][C]0.833748051371467[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.817122856508614[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]50.1496709211128[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]5[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]50[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]17.6529714939156[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]15581.3701282499[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110763&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110763&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.913098051345784
R-squared0.833748051371467
Adjusted R-squared0.817122856508614
F-TEST (value)50.1496709211128
F-TEST (DF numerator)5
F-TEST (DF denominator)50
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation17.6529714939156
Sum Squared Residuals15581.3701282499







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1567568.893018162697-1.89301816269679
2569566.901122469642.0988775303598
3621570.79974249629350.2002575037068
4629631.674653729904-2.67465372990351
5628610.91001030083917.0899896991613
6612611.1309646500430.869035349957042
7595601.283441889425-6.28344188942481
8597590.6090628357166.3909371642835
9593600.942645247317-7.94264524731659
10590590.32808476658-0.328084766580404
11580586.338064843058-6.33806484305808
12574575.548834549775-1.54883454977458
13573572.873719345980.126280654020495
14573573.490264657039-0.490264657039133
15620571.76173489209448.2382651079058
16626628.958760738677-2.95876073867692
17620609.19113116141710.8088688385828
18588603.481622485995-15.481622485995
19566575.625278737482-9.62527873748165
20557567.076402487951-10.0764024879509
21561564.058137761458-3.05813776145785
22549566.516512373512-17.5165123735122
23532544.726200362848-12.7262003628476
24526529.510131309424-3.51013130942398
25511531.183860728279-20.1838607282793
26499512.186597016558-13.1865970165583
27555504.95278948875750.047210511243
28565578.672974129048-13.6729741290485
29542555.064919974805-13.0649199748051
30527524.9914577101122.00854228988831
31510529.921035300772-19.9210353007724
32514516.572787252761-2.57278725276102
33517525.884630115365-8.88463011536535
34508522.965300784246-14.9653007842461
35493507.726314506159-14.7263145061594
36490495.28890146601-5.28890146601057
37469499.699309090202-30.6993090902021
38478472.2474090531645.75259094683614
39528492.69970542295535.3002945770447
40534546.725088889097-12.7250888890966
41518522.939817184776-4.93981718477555
42506506.636442025215-0.636442025214569
43502509.832341971524-7.83234197152367
44516510.9966461811465.00335381885412
45528526.7110227387511.28897726124926
46533531.1265217633451.87347823665518
47536531.3102787779224.68972122207791
48537535.7766124347321.22338756526751
49524537.812662974808-13.8126629748084
50536522.26573281879513.734267181205
51587545.23242396497241.7675760350277
52597600.311125389806-3.31112538980605
53581582.556102385735-1.55610238573508
54564564.553960022579-0.553960022579444
55558562.153976499439-4.15397649943859
56575564.37170968310.6282903169996

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 567 & 568.893018162697 & -1.89301816269679 \tabularnewline
2 & 569 & 566.90112246964 & 2.0988775303598 \tabularnewline
3 & 621 & 570.799742496293 & 50.2002575037068 \tabularnewline
4 & 629 & 631.674653729904 & -2.67465372990351 \tabularnewline
5 & 628 & 610.910010300839 & 17.0899896991613 \tabularnewline
6 & 612 & 611.130964650043 & 0.869035349957042 \tabularnewline
7 & 595 & 601.283441889425 & -6.28344188942481 \tabularnewline
8 & 597 & 590.609062835716 & 6.3909371642835 \tabularnewline
9 & 593 & 600.942645247317 & -7.94264524731659 \tabularnewline
10 & 590 & 590.32808476658 & -0.328084766580404 \tabularnewline
11 & 580 & 586.338064843058 & -6.33806484305808 \tabularnewline
12 & 574 & 575.548834549775 & -1.54883454977458 \tabularnewline
13 & 573 & 572.87371934598 & 0.126280654020495 \tabularnewline
14 & 573 & 573.490264657039 & -0.490264657039133 \tabularnewline
15 & 620 & 571.761734892094 & 48.2382651079058 \tabularnewline
16 & 626 & 628.958760738677 & -2.95876073867692 \tabularnewline
17 & 620 & 609.191131161417 & 10.8088688385828 \tabularnewline
18 & 588 & 603.481622485995 & -15.481622485995 \tabularnewline
19 & 566 & 575.625278737482 & -9.62527873748165 \tabularnewline
20 & 557 & 567.076402487951 & -10.0764024879509 \tabularnewline
21 & 561 & 564.058137761458 & -3.05813776145785 \tabularnewline
22 & 549 & 566.516512373512 & -17.5165123735122 \tabularnewline
23 & 532 & 544.726200362848 & -12.7262003628476 \tabularnewline
24 & 526 & 529.510131309424 & -3.51013130942398 \tabularnewline
25 & 511 & 531.183860728279 & -20.1838607282793 \tabularnewline
26 & 499 & 512.186597016558 & -13.1865970165583 \tabularnewline
27 & 555 & 504.952789488757 & 50.047210511243 \tabularnewline
28 & 565 & 578.672974129048 & -13.6729741290485 \tabularnewline
29 & 542 & 555.064919974805 & -13.0649199748051 \tabularnewline
30 & 527 & 524.991457710112 & 2.00854228988831 \tabularnewline
31 & 510 & 529.921035300772 & -19.9210353007724 \tabularnewline
32 & 514 & 516.572787252761 & -2.57278725276102 \tabularnewline
33 & 517 & 525.884630115365 & -8.88463011536535 \tabularnewline
34 & 508 & 522.965300784246 & -14.9653007842461 \tabularnewline
35 & 493 & 507.726314506159 & -14.7263145061594 \tabularnewline
36 & 490 & 495.28890146601 & -5.28890146601057 \tabularnewline
37 & 469 & 499.699309090202 & -30.6993090902021 \tabularnewline
38 & 478 & 472.247409053164 & 5.75259094683614 \tabularnewline
39 & 528 & 492.699705422955 & 35.3002945770447 \tabularnewline
40 & 534 & 546.725088889097 & -12.7250888890966 \tabularnewline
41 & 518 & 522.939817184776 & -4.93981718477555 \tabularnewline
42 & 506 & 506.636442025215 & -0.636442025214569 \tabularnewline
43 & 502 & 509.832341971524 & -7.83234197152367 \tabularnewline
44 & 516 & 510.996646181146 & 5.00335381885412 \tabularnewline
45 & 528 & 526.711022738751 & 1.28897726124926 \tabularnewline
46 & 533 & 531.126521763345 & 1.87347823665518 \tabularnewline
47 & 536 & 531.310278777922 & 4.68972122207791 \tabularnewline
48 & 537 & 535.776612434732 & 1.22338756526751 \tabularnewline
49 & 524 & 537.812662974808 & -13.8126629748084 \tabularnewline
50 & 536 & 522.265732818795 & 13.734267181205 \tabularnewline
51 & 587 & 545.232423964972 & 41.7675760350277 \tabularnewline
52 & 597 & 600.311125389806 & -3.31112538980605 \tabularnewline
53 & 581 & 582.556102385735 & -1.55610238573508 \tabularnewline
54 & 564 & 564.553960022579 & -0.553960022579444 \tabularnewline
55 & 558 & 562.153976499439 & -4.15397649943859 \tabularnewline
56 & 575 & 564.371709683 & 10.6282903169996 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110763&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]567[/C][C]568.893018162697[/C][C]-1.89301816269679[/C][/ROW]
[ROW][C]2[/C][C]569[/C][C]566.90112246964[/C][C]2.0988775303598[/C][/ROW]
[ROW][C]3[/C][C]621[/C][C]570.799742496293[/C][C]50.2002575037068[/C][/ROW]
[ROW][C]4[/C][C]629[/C][C]631.674653729904[/C][C]-2.67465372990351[/C][/ROW]
[ROW][C]5[/C][C]628[/C][C]610.910010300839[/C][C]17.0899896991613[/C][/ROW]
[ROW][C]6[/C][C]612[/C][C]611.130964650043[/C][C]0.869035349957042[/C][/ROW]
[ROW][C]7[/C][C]595[/C][C]601.283441889425[/C][C]-6.28344188942481[/C][/ROW]
[ROW][C]8[/C][C]597[/C][C]590.609062835716[/C][C]6.3909371642835[/C][/ROW]
[ROW][C]9[/C][C]593[/C][C]600.942645247317[/C][C]-7.94264524731659[/C][/ROW]
[ROW][C]10[/C][C]590[/C][C]590.32808476658[/C][C]-0.328084766580404[/C][/ROW]
[ROW][C]11[/C][C]580[/C][C]586.338064843058[/C][C]-6.33806484305808[/C][/ROW]
[ROW][C]12[/C][C]574[/C][C]575.548834549775[/C][C]-1.54883454977458[/C][/ROW]
[ROW][C]13[/C][C]573[/C][C]572.87371934598[/C][C]0.126280654020495[/C][/ROW]
[ROW][C]14[/C][C]573[/C][C]573.490264657039[/C][C]-0.490264657039133[/C][/ROW]
[ROW][C]15[/C][C]620[/C][C]571.761734892094[/C][C]48.2382651079058[/C][/ROW]
[ROW][C]16[/C][C]626[/C][C]628.958760738677[/C][C]-2.95876073867692[/C][/ROW]
[ROW][C]17[/C][C]620[/C][C]609.191131161417[/C][C]10.8088688385828[/C][/ROW]
[ROW][C]18[/C][C]588[/C][C]603.481622485995[/C][C]-15.481622485995[/C][/ROW]
[ROW][C]19[/C][C]566[/C][C]575.625278737482[/C][C]-9.62527873748165[/C][/ROW]
[ROW][C]20[/C][C]557[/C][C]567.076402487951[/C][C]-10.0764024879509[/C][/ROW]
[ROW][C]21[/C][C]561[/C][C]564.058137761458[/C][C]-3.05813776145785[/C][/ROW]
[ROW][C]22[/C][C]549[/C][C]566.516512373512[/C][C]-17.5165123735122[/C][/ROW]
[ROW][C]23[/C][C]532[/C][C]544.726200362848[/C][C]-12.7262003628476[/C][/ROW]
[ROW][C]24[/C][C]526[/C][C]529.510131309424[/C][C]-3.51013130942398[/C][/ROW]
[ROW][C]25[/C][C]511[/C][C]531.183860728279[/C][C]-20.1838607282793[/C][/ROW]
[ROW][C]26[/C][C]499[/C][C]512.186597016558[/C][C]-13.1865970165583[/C][/ROW]
[ROW][C]27[/C][C]555[/C][C]504.952789488757[/C][C]50.047210511243[/C][/ROW]
[ROW][C]28[/C][C]565[/C][C]578.672974129048[/C][C]-13.6729741290485[/C][/ROW]
[ROW][C]29[/C][C]542[/C][C]555.064919974805[/C][C]-13.0649199748051[/C][/ROW]
[ROW][C]30[/C][C]527[/C][C]524.991457710112[/C][C]2.00854228988831[/C][/ROW]
[ROW][C]31[/C][C]510[/C][C]529.921035300772[/C][C]-19.9210353007724[/C][/ROW]
[ROW][C]32[/C][C]514[/C][C]516.572787252761[/C][C]-2.57278725276102[/C][/ROW]
[ROW][C]33[/C][C]517[/C][C]525.884630115365[/C][C]-8.88463011536535[/C][/ROW]
[ROW][C]34[/C][C]508[/C][C]522.965300784246[/C][C]-14.9653007842461[/C][/ROW]
[ROW][C]35[/C][C]493[/C][C]507.726314506159[/C][C]-14.7263145061594[/C][/ROW]
[ROW][C]36[/C][C]490[/C][C]495.28890146601[/C][C]-5.28890146601057[/C][/ROW]
[ROW][C]37[/C][C]469[/C][C]499.699309090202[/C][C]-30.6993090902021[/C][/ROW]
[ROW][C]38[/C][C]478[/C][C]472.247409053164[/C][C]5.75259094683614[/C][/ROW]
[ROW][C]39[/C][C]528[/C][C]492.699705422955[/C][C]35.3002945770447[/C][/ROW]
[ROW][C]40[/C][C]534[/C][C]546.725088889097[/C][C]-12.7250888890966[/C][/ROW]
[ROW][C]41[/C][C]518[/C][C]522.939817184776[/C][C]-4.93981718477555[/C][/ROW]
[ROW][C]42[/C][C]506[/C][C]506.636442025215[/C][C]-0.636442025214569[/C][/ROW]
[ROW][C]43[/C][C]502[/C][C]509.832341971524[/C][C]-7.83234197152367[/C][/ROW]
[ROW][C]44[/C][C]516[/C][C]510.996646181146[/C][C]5.00335381885412[/C][/ROW]
[ROW][C]45[/C][C]528[/C][C]526.711022738751[/C][C]1.28897726124926[/C][/ROW]
[ROW][C]46[/C][C]533[/C][C]531.126521763345[/C][C]1.87347823665518[/C][/ROW]
[ROW][C]47[/C][C]536[/C][C]531.310278777922[/C][C]4.68972122207791[/C][/ROW]
[ROW][C]48[/C][C]537[/C][C]535.776612434732[/C][C]1.22338756526751[/C][/ROW]
[ROW][C]49[/C][C]524[/C][C]537.812662974808[/C][C]-13.8126629748084[/C][/ROW]
[ROW][C]50[/C][C]536[/C][C]522.265732818795[/C][C]13.734267181205[/C][/ROW]
[ROW][C]51[/C][C]587[/C][C]545.232423964972[/C][C]41.7675760350277[/C][/ROW]
[ROW][C]52[/C][C]597[/C][C]600.311125389806[/C][C]-3.31112538980605[/C][/ROW]
[ROW][C]53[/C][C]581[/C][C]582.556102385735[/C][C]-1.55610238573508[/C][/ROW]
[ROW][C]54[/C][C]564[/C][C]564.553960022579[/C][C]-0.553960022579444[/C][/ROW]
[ROW][C]55[/C][C]558[/C][C]562.153976499439[/C][C]-4.15397649943859[/C][/ROW]
[ROW][C]56[/C][C]575[/C][C]564.371709683[/C][C]10.6282903169996[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110763&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110763&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
1567568.893018162697-1.89301816269679
2569566.901122469642.0988775303598
3621570.79974249629350.2002575037068
4629631.674653729904-2.67465372990351
5628610.91001030083917.0899896991613
6612611.1309646500430.869035349957042
7595601.283441889425-6.28344188942481
8597590.6090628357166.3909371642835
9593600.942645247317-7.94264524731659
10590590.32808476658-0.328084766580404
11580586.338064843058-6.33806484305808
12574575.548834549775-1.54883454977458
13573572.873719345980.126280654020495
14573573.490264657039-0.490264657039133
15620571.76173489209448.2382651079058
16626628.958760738677-2.95876073867692
17620609.19113116141710.8088688385828
18588603.481622485995-15.481622485995
19566575.625278737482-9.62527873748165
20557567.076402487951-10.0764024879509
21561564.058137761458-3.05813776145785
22549566.516512373512-17.5165123735122
23532544.726200362848-12.7262003628476
24526529.510131309424-3.51013130942398
25511531.183860728279-20.1838607282793
26499512.186597016558-13.1865970165583
27555504.95278948875750.047210511243
28565578.672974129048-13.6729741290485
29542555.064919974805-13.0649199748051
30527524.9914577101122.00854228988831
31510529.921035300772-19.9210353007724
32514516.572787252761-2.57278725276102
33517525.884630115365-8.88463011536535
34508522.965300784246-14.9653007842461
35493507.726314506159-14.7263145061594
36490495.28890146601-5.28890146601057
37469499.699309090202-30.6993090902021
38478472.2474090531645.75259094683614
39528492.69970542295535.3002945770447
40534546.725088889097-12.7250888890966
41518522.939817184776-4.93981718477555
42506506.636442025215-0.636442025214569
43502509.832341971524-7.83234197152367
44516510.9966461811465.00335381885412
45528526.7110227387511.28897726124926
46533531.1265217633451.87347823665518
47536531.3102787779224.68972122207791
48537535.7766124347321.22338756526751
49524537.812662974808-13.8126629748084
50536522.26573281879513.734267181205
51587545.23242396497241.7675760350277
52597600.311125389806-3.31112538980605
53581582.556102385735-1.55610238573508
54564564.553960022579-0.553960022579444
55558562.153976499439-4.15397649943859
56575564.37170968310.6282903169996







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
90.8433803300894530.3132393398210940.156619669910547
100.7425105841327160.5149788317345690.257489415867284
110.6700269588972080.6599460822055850.329973041102792
120.582050505135690.835898989728620.41794949486431
130.4805191606634380.9610383213268760.519480839336562
140.3952603648167930.7905207296335850.604739635183207
150.7640303879032130.4719392241935740.235969612096787
160.6837689821131440.6324620357737120.316231017886856
170.6611342831202690.6777314337594620.338865716879731
180.5987281119972520.8025437760054960.401271888002748
190.5147369749961030.9705260500077950.485263025003897
200.4306620589504610.8613241179009210.569337941049539
210.3796566419432580.7593132838865150.620343358056742
220.5083849626507470.9832300746985070.491615037349253
230.5691864615567410.8616270768865190.430813538443259
240.5042182299777490.9915635400445030.495781770022251
250.4908813014084040.9817626028168080.509118698591596
260.4269045529143990.8538091058287980.573095447085601
270.6526301340270860.6947397319458280.347369865972914
280.8152355804652460.3695288390695070.184764419534754
290.853362957173790.293274085652420.14663704282621
300.798897725641210.402204548717580.20110227435879
310.8293915052458780.3412169895082440.170608494754122
320.7677751982275830.4644496035448340.232224801772417
330.7178961265585120.5642077468829750.282103873441488
340.6806228158450070.6387543683099860.319377184154993
350.6445931003415920.7108137993168150.355406899658408
360.5679229315940120.8641541368119770.432077068405988
370.8086658795542680.3826682408914640.191334120445732
380.741498698192050.5170026036159020.258501301807951
390.8663100675686060.2673798648627880.133689932431394
400.8534713860352120.2930572279295770.146528613964788
410.7808162023661630.4383675952676750.219183797633837
420.6858972368301840.6282055263396310.314102763169816
430.6526139857256670.6947720285486660.347386014274333
440.538385885340460.923228229319080.46161411465954
450.4354913604280840.8709827208561670.564508639571916
460.307209648947440.6144192978948810.69279035105256
470.1850406968643220.3700813937286450.814959303135678

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
9 & 0.843380330089453 & 0.313239339821094 & 0.156619669910547 \tabularnewline
10 & 0.742510584132716 & 0.514978831734569 & 0.257489415867284 \tabularnewline
11 & 0.670026958897208 & 0.659946082205585 & 0.329973041102792 \tabularnewline
12 & 0.58205050513569 & 0.83589898972862 & 0.41794949486431 \tabularnewline
13 & 0.480519160663438 & 0.961038321326876 & 0.519480839336562 \tabularnewline
14 & 0.395260364816793 & 0.790520729633585 & 0.604739635183207 \tabularnewline
15 & 0.764030387903213 & 0.471939224193574 & 0.235969612096787 \tabularnewline
16 & 0.683768982113144 & 0.632462035773712 & 0.316231017886856 \tabularnewline
17 & 0.661134283120269 & 0.677731433759462 & 0.338865716879731 \tabularnewline
18 & 0.598728111997252 & 0.802543776005496 & 0.401271888002748 \tabularnewline
19 & 0.514736974996103 & 0.970526050007795 & 0.485263025003897 \tabularnewline
20 & 0.430662058950461 & 0.861324117900921 & 0.569337941049539 \tabularnewline
21 & 0.379656641943258 & 0.759313283886515 & 0.620343358056742 \tabularnewline
22 & 0.508384962650747 & 0.983230074698507 & 0.491615037349253 \tabularnewline
23 & 0.569186461556741 & 0.861627076886519 & 0.430813538443259 \tabularnewline
24 & 0.504218229977749 & 0.991563540044503 & 0.495781770022251 \tabularnewline
25 & 0.490881301408404 & 0.981762602816808 & 0.509118698591596 \tabularnewline
26 & 0.426904552914399 & 0.853809105828798 & 0.573095447085601 \tabularnewline
27 & 0.652630134027086 & 0.694739731945828 & 0.347369865972914 \tabularnewline
28 & 0.815235580465246 & 0.369528839069507 & 0.184764419534754 \tabularnewline
29 & 0.85336295717379 & 0.29327408565242 & 0.14663704282621 \tabularnewline
30 & 0.79889772564121 & 0.40220454871758 & 0.20110227435879 \tabularnewline
31 & 0.829391505245878 & 0.341216989508244 & 0.170608494754122 \tabularnewline
32 & 0.767775198227583 & 0.464449603544834 & 0.232224801772417 \tabularnewline
33 & 0.717896126558512 & 0.564207746882975 & 0.282103873441488 \tabularnewline
34 & 0.680622815845007 & 0.638754368309986 & 0.319377184154993 \tabularnewline
35 & 0.644593100341592 & 0.710813799316815 & 0.355406899658408 \tabularnewline
36 & 0.567922931594012 & 0.864154136811977 & 0.432077068405988 \tabularnewline
37 & 0.808665879554268 & 0.382668240891464 & 0.191334120445732 \tabularnewline
38 & 0.74149869819205 & 0.517002603615902 & 0.258501301807951 \tabularnewline
39 & 0.866310067568606 & 0.267379864862788 & 0.133689932431394 \tabularnewline
40 & 0.853471386035212 & 0.293057227929577 & 0.146528613964788 \tabularnewline
41 & 0.780816202366163 & 0.438367595267675 & 0.219183797633837 \tabularnewline
42 & 0.685897236830184 & 0.628205526339631 & 0.314102763169816 \tabularnewline
43 & 0.652613985725667 & 0.694772028548666 & 0.347386014274333 \tabularnewline
44 & 0.53838588534046 & 0.92322822931908 & 0.46161411465954 \tabularnewline
45 & 0.435491360428084 & 0.870982720856167 & 0.564508639571916 \tabularnewline
46 & 0.30720964894744 & 0.614419297894881 & 0.69279035105256 \tabularnewline
47 & 0.185040696864322 & 0.370081393728645 & 0.814959303135678 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110763&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]9[/C][C]0.843380330089453[/C][C]0.313239339821094[/C][C]0.156619669910547[/C][/ROW]
[ROW][C]10[/C][C]0.742510584132716[/C][C]0.514978831734569[/C][C]0.257489415867284[/C][/ROW]
[ROW][C]11[/C][C]0.670026958897208[/C][C]0.659946082205585[/C][C]0.329973041102792[/C][/ROW]
[ROW][C]12[/C][C]0.58205050513569[/C][C]0.83589898972862[/C][C]0.41794949486431[/C][/ROW]
[ROW][C]13[/C][C]0.480519160663438[/C][C]0.961038321326876[/C][C]0.519480839336562[/C][/ROW]
[ROW][C]14[/C][C]0.395260364816793[/C][C]0.790520729633585[/C][C]0.604739635183207[/C][/ROW]
[ROW][C]15[/C][C]0.764030387903213[/C][C]0.471939224193574[/C][C]0.235969612096787[/C][/ROW]
[ROW][C]16[/C][C]0.683768982113144[/C][C]0.632462035773712[/C][C]0.316231017886856[/C][/ROW]
[ROW][C]17[/C][C]0.661134283120269[/C][C]0.677731433759462[/C][C]0.338865716879731[/C][/ROW]
[ROW][C]18[/C][C]0.598728111997252[/C][C]0.802543776005496[/C][C]0.401271888002748[/C][/ROW]
[ROW][C]19[/C][C]0.514736974996103[/C][C]0.970526050007795[/C][C]0.485263025003897[/C][/ROW]
[ROW][C]20[/C][C]0.430662058950461[/C][C]0.861324117900921[/C][C]0.569337941049539[/C][/ROW]
[ROW][C]21[/C][C]0.379656641943258[/C][C]0.759313283886515[/C][C]0.620343358056742[/C][/ROW]
[ROW][C]22[/C][C]0.508384962650747[/C][C]0.983230074698507[/C][C]0.491615037349253[/C][/ROW]
[ROW][C]23[/C][C]0.569186461556741[/C][C]0.861627076886519[/C][C]0.430813538443259[/C][/ROW]
[ROW][C]24[/C][C]0.504218229977749[/C][C]0.991563540044503[/C][C]0.495781770022251[/C][/ROW]
[ROW][C]25[/C][C]0.490881301408404[/C][C]0.981762602816808[/C][C]0.509118698591596[/C][/ROW]
[ROW][C]26[/C][C]0.426904552914399[/C][C]0.853809105828798[/C][C]0.573095447085601[/C][/ROW]
[ROW][C]27[/C][C]0.652630134027086[/C][C]0.694739731945828[/C][C]0.347369865972914[/C][/ROW]
[ROW][C]28[/C][C]0.815235580465246[/C][C]0.369528839069507[/C][C]0.184764419534754[/C][/ROW]
[ROW][C]29[/C][C]0.85336295717379[/C][C]0.29327408565242[/C][C]0.14663704282621[/C][/ROW]
[ROW][C]30[/C][C]0.79889772564121[/C][C]0.40220454871758[/C][C]0.20110227435879[/C][/ROW]
[ROW][C]31[/C][C]0.829391505245878[/C][C]0.341216989508244[/C][C]0.170608494754122[/C][/ROW]
[ROW][C]32[/C][C]0.767775198227583[/C][C]0.464449603544834[/C][C]0.232224801772417[/C][/ROW]
[ROW][C]33[/C][C]0.717896126558512[/C][C]0.564207746882975[/C][C]0.282103873441488[/C][/ROW]
[ROW][C]34[/C][C]0.680622815845007[/C][C]0.638754368309986[/C][C]0.319377184154993[/C][/ROW]
[ROW][C]35[/C][C]0.644593100341592[/C][C]0.710813799316815[/C][C]0.355406899658408[/C][/ROW]
[ROW][C]36[/C][C]0.567922931594012[/C][C]0.864154136811977[/C][C]0.432077068405988[/C][/ROW]
[ROW][C]37[/C][C]0.808665879554268[/C][C]0.382668240891464[/C][C]0.191334120445732[/C][/ROW]
[ROW][C]38[/C][C]0.74149869819205[/C][C]0.517002603615902[/C][C]0.258501301807951[/C][/ROW]
[ROW][C]39[/C][C]0.866310067568606[/C][C]0.267379864862788[/C][C]0.133689932431394[/C][/ROW]
[ROW][C]40[/C][C]0.853471386035212[/C][C]0.293057227929577[/C][C]0.146528613964788[/C][/ROW]
[ROW][C]41[/C][C]0.780816202366163[/C][C]0.438367595267675[/C][C]0.219183797633837[/C][/ROW]
[ROW][C]42[/C][C]0.685897236830184[/C][C]0.628205526339631[/C][C]0.314102763169816[/C][/ROW]
[ROW][C]43[/C][C]0.652613985725667[/C][C]0.694772028548666[/C][C]0.347386014274333[/C][/ROW]
[ROW][C]44[/C][C]0.53838588534046[/C][C]0.92322822931908[/C][C]0.46161411465954[/C][/ROW]
[ROW][C]45[/C][C]0.435491360428084[/C][C]0.870982720856167[/C][C]0.564508639571916[/C][/ROW]
[ROW][C]46[/C][C]0.30720964894744[/C][C]0.614419297894881[/C][C]0.69279035105256[/C][/ROW]
[ROW][C]47[/C][C]0.185040696864322[/C][C]0.370081393728645[/C][C]0.814959303135678[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110763&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110763&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
90.8433803300894530.3132393398210940.156619669910547
100.7425105841327160.5149788317345690.257489415867284
110.6700269588972080.6599460822055850.329973041102792
120.582050505135690.835898989728620.41794949486431
130.4805191606634380.9610383213268760.519480839336562
140.3952603648167930.7905207296335850.604739635183207
150.7640303879032130.4719392241935740.235969612096787
160.6837689821131440.6324620357737120.316231017886856
170.6611342831202690.6777314337594620.338865716879731
180.5987281119972520.8025437760054960.401271888002748
190.5147369749961030.9705260500077950.485263025003897
200.4306620589504610.8613241179009210.569337941049539
210.3796566419432580.7593132838865150.620343358056742
220.5083849626507470.9832300746985070.491615037349253
230.5691864615567410.8616270768865190.430813538443259
240.5042182299777490.9915635400445030.495781770022251
250.4908813014084040.9817626028168080.509118698591596
260.4269045529143990.8538091058287980.573095447085601
270.6526301340270860.6947397319458280.347369865972914
280.8152355804652460.3695288390695070.184764419534754
290.853362957173790.293274085652420.14663704282621
300.798897725641210.402204548717580.20110227435879
310.8293915052458780.3412169895082440.170608494754122
320.7677751982275830.4644496035448340.232224801772417
330.7178961265585120.5642077468829750.282103873441488
340.6806228158450070.6387543683099860.319377184154993
350.6445931003415920.7108137993168150.355406899658408
360.5679229315940120.8641541368119770.432077068405988
370.8086658795542680.3826682408914640.191334120445732
380.741498698192050.5170026036159020.258501301807951
390.8663100675686060.2673798648627880.133689932431394
400.8534713860352120.2930572279295770.146528613964788
410.7808162023661630.4383675952676750.219183797633837
420.6858972368301840.6282055263396310.314102763169816
430.6526139857256670.6947720285486660.347386014274333
440.538385885340460.923228229319080.46161411465954
450.4354913604280840.8709827208561670.564508639571916
460.307209648947440.6144192978948810.69279035105256
470.1850406968643220.3700813937286450.814959303135678







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

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