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:12:46 +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/t129248348043yl5f45bfbrad8.htm/, Retrieved Fri, 03 May 2024 05:32:34 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=110762, Retrieved Fri, 03 May 2024 05:32:34 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact169
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:12:46] [6f3869f9d1e39c73f93153f1f7803f84] [Current]
Feedback Forum

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




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 5 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110762&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110762&T=0

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

As an alternative you can also use a QR Code:  

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

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Multiple Linear Regression - Estimated Regression Equation
Werk[t] = + 579.766666666667 -48.8333333333333Crisis[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Werk[t] =  +  579.766666666667 -48.8333333333333Crisis[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110762&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Werk[t] =  +  579.766666666667 -48.8333333333333Crisis[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110762&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110762&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
Werk[t] = + 579.766666666667 -48.8333333333333Crisis[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)579.7666666666675.95602897.341200
Crisis-48.83333333333338.423096-5.797600

\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) & 579.766666666667 & 5.956028 & 97.3412 & 0 & 0 \tabularnewline
Crisis & -48.8333333333333 & 8.423096 & -5.7976 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110762&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]579.766666666667[/C][C]5.956028[/C][C]97.3412[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Crisis[/C][C]-48.8333333333333[/C][C]8.423096[/C][C]-5.7976[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110762&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110762&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)579.7666666666675.95602897.341200
Crisis-48.83333333333338.423096-5.797600







Multiple Linear Regression - Regression Statistics
Multiple R0.605716466197904
R-squared0.366892437423277
Adjusted R-squared0.355976789792644
F-TEST (value)33.6116050864126
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value2.93230160042235e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation32.622510034017
Sum Squared Residuals61725.2333333333

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.605716466197904 \tabularnewline
R-squared & 0.366892437423277 \tabularnewline
Adjusted R-squared & 0.355976789792644 \tabularnewline
F-TEST (value) & 33.6116050864126 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 2.93230160042235e-07 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 32.622510034017 \tabularnewline
Sum Squared Residuals & 61725.2333333333 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110762&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.605716466197904[/C][/ROW]
[ROW][C]R-squared[/C][C]0.366892437423277[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.355976789792644[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]33.6116050864126[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]58[/C][/ROW]
[ROW][C]p-value[/C][C]2.93230160042235e-07[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]32.622510034017[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]61725.2333333333[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110762&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110762&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.605716466197904
R-squared0.366892437423277
Adjusted R-squared0.355976789792644
F-TEST (value)33.6116050864126
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value2.93230160042235e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation32.622510034017
Sum Squared Residuals61725.2333333333







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1591579.76666666666711.2333333333331
2589579.7666666666679.23333333333332
3584579.7666666666674.23333333333334
4573579.766666666667-6.76666666666666
5567579.766666666667-12.7666666666667
6569579.766666666667-10.7666666666667
7621579.76666666666741.2333333333333
8629579.76666666666749.2333333333333
9628579.76666666666748.2333333333333
10612579.76666666666732.2333333333333
11595579.76666666666715.2333333333333
12597579.76666666666717.2333333333333
13593579.76666666666713.2333333333333
14590579.76666666666710.2333333333333
15580579.7666666666670.233333333333341
16574579.766666666667-5.76666666666666
17573579.766666666667-6.76666666666666
18573579.766666666667-6.76666666666666
19620579.76666666666740.2333333333333
20626579.76666666666746.2333333333333
21620579.76666666666740.2333333333333
22588579.7666666666678.23333333333334
23566579.766666666667-13.7666666666667
24557579.766666666667-22.7666666666667
25561579.766666666667-18.7666666666667
26549579.766666666667-30.7666666666667
27532579.766666666667-47.7666666666667
28526579.766666666667-53.7666666666667
29511579.766666666667-68.7666666666667
30499579.766666666667-80.7666666666667
31555530.93333333333324.0666666666667
32565530.93333333333334.0666666666667
33542530.93333333333311.0666666666667
34527530.933333333333-3.93333333333333
35510530.933333333333-20.9333333333333
36514530.933333333333-16.9333333333333
37517530.933333333333-13.9333333333333
38508530.933333333333-22.9333333333333
39493530.933333333333-37.9333333333333
40490530.933333333333-40.9333333333333
41469530.933333333333-61.9333333333333
42478530.933333333333-52.9333333333333
43528530.933333333333-2.93333333333333
44534530.9333333333333.06666666666667
45518530.933333333333-12.9333333333333
46506530.933333333333-24.9333333333333
47502530.933333333333-28.9333333333333
48516530.933333333333-14.9333333333333
49528530.933333333333-2.93333333333333
50533530.9333333333332.06666666666667
51536530.9333333333335.06666666666667
52537530.9333333333336.06666666666667
53524530.933333333333-6.93333333333333
54536530.9333333333335.06666666666667
55587530.93333333333356.0666666666667
56597530.93333333333366.0666666666667
57581530.93333333333350.0666666666667
58564530.93333333333333.0666666666667
59558530.93333333333327.0666666666667
60575530.93333333333344.0666666666667

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 591 & 579.766666666667 & 11.2333333333331 \tabularnewline
2 & 589 & 579.766666666667 & 9.23333333333332 \tabularnewline
3 & 584 & 579.766666666667 & 4.23333333333334 \tabularnewline
4 & 573 & 579.766666666667 & -6.76666666666666 \tabularnewline
5 & 567 & 579.766666666667 & -12.7666666666667 \tabularnewline
6 & 569 & 579.766666666667 & -10.7666666666667 \tabularnewline
7 & 621 & 579.766666666667 & 41.2333333333333 \tabularnewline
8 & 629 & 579.766666666667 & 49.2333333333333 \tabularnewline
9 & 628 & 579.766666666667 & 48.2333333333333 \tabularnewline
10 & 612 & 579.766666666667 & 32.2333333333333 \tabularnewline
11 & 595 & 579.766666666667 & 15.2333333333333 \tabularnewline
12 & 597 & 579.766666666667 & 17.2333333333333 \tabularnewline
13 & 593 & 579.766666666667 & 13.2333333333333 \tabularnewline
14 & 590 & 579.766666666667 & 10.2333333333333 \tabularnewline
15 & 580 & 579.766666666667 & 0.233333333333341 \tabularnewline
16 & 574 & 579.766666666667 & -5.76666666666666 \tabularnewline
17 & 573 & 579.766666666667 & -6.76666666666666 \tabularnewline
18 & 573 & 579.766666666667 & -6.76666666666666 \tabularnewline
19 & 620 & 579.766666666667 & 40.2333333333333 \tabularnewline
20 & 626 & 579.766666666667 & 46.2333333333333 \tabularnewline
21 & 620 & 579.766666666667 & 40.2333333333333 \tabularnewline
22 & 588 & 579.766666666667 & 8.23333333333334 \tabularnewline
23 & 566 & 579.766666666667 & -13.7666666666667 \tabularnewline
24 & 557 & 579.766666666667 & -22.7666666666667 \tabularnewline
25 & 561 & 579.766666666667 & -18.7666666666667 \tabularnewline
26 & 549 & 579.766666666667 & -30.7666666666667 \tabularnewline
27 & 532 & 579.766666666667 & -47.7666666666667 \tabularnewline
28 & 526 & 579.766666666667 & -53.7666666666667 \tabularnewline
29 & 511 & 579.766666666667 & -68.7666666666667 \tabularnewline
30 & 499 & 579.766666666667 & -80.7666666666667 \tabularnewline
31 & 555 & 530.933333333333 & 24.0666666666667 \tabularnewline
32 & 565 & 530.933333333333 & 34.0666666666667 \tabularnewline
33 & 542 & 530.933333333333 & 11.0666666666667 \tabularnewline
34 & 527 & 530.933333333333 & -3.93333333333333 \tabularnewline
35 & 510 & 530.933333333333 & -20.9333333333333 \tabularnewline
36 & 514 & 530.933333333333 & -16.9333333333333 \tabularnewline
37 & 517 & 530.933333333333 & -13.9333333333333 \tabularnewline
38 & 508 & 530.933333333333 & -22.9333333333333 \tabularnewline
39 & 493 & 530.933333333333 & -37.9333333333333 \tabularnewline
40 & 490 & 530.933333333333 & -40.9333333333333 \tabularnewline
41 & 469 & 530.933333333333 & -61.9333333333333 \tabularnewline
42 & 478 & 530.933333333333 & -52.9333333333333 \tabularnewline
43 & 528 & 530.933333333333 & -2.93333333333333 \tabularnewline
44 & 534 & 530.933333333333 & 3.06666666666667 \tabularnewline
45 & 518 & 530.933333333333 & -12.9333333333333 \tabularnewline
46 & 506 & 530.933333333333 & -24.9333333333333 \tabularnewline
47 & 502 & 530.933333333333 & -28.9333333333333 \tabularnewline
48 & 516 & 530.933333333333 & -14.9333333333333 \tabularnewline
49 & 528 & 530.933333333333 & -2.93333333333333 \tabularnewline
50 & 533 & 530.933333333333 & 2.06666666666667 \tabularnewline
51 & 536 & 530.933333333333 & 5.06666666666667 \tabularnewline
52 & 537 & 530.933333333333 & 6.06666666666667 \tabularnewline
53 & 524 & 530.933333333333 & -6.93333333333333 \tabularnewline
54 & 536 & 530.933333333333 & 5.06666666666667 \tabularnewline
55 & 587 & 530.933333333333 & 56.0666666666667 \tabularnewline
56 & 597 & 530.933333333333 & 66.0666666666667 \tabularnewline
57 & 581 & 530.933333333333 & 50.0666666666667 \tabularnewline
58 & 564 & 530.933333333333 & 33.0666666666667 \tabularnewline
59 & 558 & 530.933333333333 & 27.0666666666667 \tabularnewline
60 & 575 & 530.933333333333 & 44.0666666666667 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110762&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]591[/C][C]579.766666666667[/C][C]11.2333333333331[/C][/ROW]
[ROW][C]2[/C][C]589[/C][C]579.766666666667[/C][C]9.23333333333332[/C][/ROW]
[ROW][C]3[/C][C]584[/C][C]579.766666666667[/C][C]4.23333333333334[/C][/ROW]
[ROW][C]4[/C][C]573[/C][C]579.766666666667[/C][C]-6.76666666666666[/C][/ROW]
[ROW][C]5[/C][C]567[/C][C]579.766666666667[/C][C]-12.7666666666667[/C][/ROW]
[ROW][C]6[/C][C]569[/C][C]579.766666666667[/C][C]-10.7666666666667[/C][/ROW]
[ROW][C]7[/C][C]621[/C][C]579.766666666667[/C][C]41.2333333333333[/C][/ROW]
[ROW][C]8[/C][C]629[/C][C]579.766666666667[/C][C]49.2333333333333[/C][/ROW]
[ROW][C]9[/C][C]628[/C][C]579.766666666667[/C][C]48.2333333333333[/C][/ROW]
[ROW][C]10[/C][C]612[/C][C]579.766666666667[/C][C]32.2333333333333[/C][/ROW]
[ROW][C]11[/C][C]595[/C][C]579.766666666667[/C][C]15.2333333333333[/C][/ROW]
[ROW][C]12[/C][C]597[/C][C]579.766666666667[/C][C]17.2333333333333[/C][/ROW]
[ROW][C]13[/C][C]593[/C][C]579.766666666667[/C][C]13.2333333333333[/C][/ROW]
[ROW][C]14[/C][C]590[/C][C]579.766666666667[/C][C]10.2333333333333[/C][/ROW]
[ROW][C]15[/C][C]580[/C][C]579.766666666667[/C][C]0.233333333333341[/C][/ROW]
[ROW][C]16[/C][C]574[/C][C]579.766666666667[/C][C]-5.76666666666666[/C][/ROW]
[ROW][C]17[/C][C]573[/C][C]579.766666666667[/C][C]-6.76666666666666[/C][/ROW]
[ROW][C]18[/C][C]573[/C][C]579.766666666667[/C][C]-6.76666666666666[/C][/ROW]
[ROW][C]19[/C][C]620[/C][C]579.766666666667[/C][C]40.2333333333333[/C][/ROW]
[ROW][C]20[/C][C]626[/C][C]579.766666666667[/C][C]46.2333333333333[/C][/ROW]
[ROW][C]21[/C][C]620[/C][C]579.766666666667[/C][C]40.2333333333333[/C][/ROW]
[ROW][C]22[/C][C]588[/C][C]579.766666666667[/C][C]8.23333333333334[/C][/ROW]
[ROW][C]23[/C][C]566[/C][C]579.766666666667[/C][C]-13.7666666666667[/C][/ROW]
[ROW][C]24[/C][C]557[/C][C]579.766666666667[/C][C]-22.7666666666667[/C][/ROW]
[ROW][C]25[/C][C]561[/C][C]579.766666666667[/C][C]-18.7666666666667[/C][/ROW]
[ROW][C]26[/C][C]549[/C][C]579.766666666667[/C][C]-30.7666666666667[/C][/ROW]
[ROW][C]27[/C][C]532[/C][C]579.766666666667[/C][C]-47.7666666666667[/C][/ROW]
[ROW][C]28[/C][C]526[/C][C]579.766666666667[/C][C]-53.7666666666667[/C][/ROW]
[ROW][C]29[/C][C]511[/C][C]579.766666666667[/C][C]-68.7666666666667[/C][/ROW]
[ROW][C]30[/C][C]499[/C][C]579.766666666667[/C][C]-80.7666666666667[/C][/ROW]
[ROW][C]31[/C][C]555[/C][C]530.933333333333[/C][C]24.0666666666667[/C][/ROW]
[ROW][C]32[/C][C]565[/C][C]530.933333333333[/C][C]34.0666666666667[/C][/ROW]
[ROW][C]33[/C][C]542[/C][C]530.933333333333[/C][C]11.0666666666667[/C][/ROW]
[ROW][C]34[/C][C]527[/C][C]530.933333333333[/C][C]-3.93333333333333[/C][/ROW]
[ROW][C]35[/C][C]510[/C][C]530.933333333333[/C][C]-20.9333333333333[/C][/ROW]
[ROW][C]36[/C][C]514[/C][C]530.933333333333[/C][C]-16.9333333333333[/C][/ROW]
[ROW][C]37[/C][C]517[/C][C]530.933333333333[/C][C]-13.9333333333333[/C][/ROW]
[ROW][C]38[/C][C]508[/C][C]530.933333333333[/C][C]-22.9333333333333[/C][/ROW]
[ROW][C]39[/C][C]493[/C][C]530.933333333333[/C][C]-37.9333333333333[/C][/ROW]
[ROW][C]40[/C][C]490[/C][C]530.933333333333[/C][C]-40.9333333333333[/C][/ROW]
[ROW][C]41[/C][C]469[/C][C]530.933333333333[/C][C]-61.9333333333333[/C][/ROW]
[ROW][C]42[/C][C]478[/C][C]530.933333333333[/C][C]-52.9333333333333[/C][/ROW]
[ROW][C]43[/C][C]528[/C][C]530.933333333333[/C][C]-2.93333333333333[/C][/ROW]
[ROW][C]44[/C][C]534[/C][C]530.933333333333[/C][C]3.06666666666667[/C][/ROW]
[ROW][C]45[/C][C]518[/C][C]530.933333333333[/C][C]-12.9333333333333[/C][/ROW]
[ROW][C]46[/C][C]506[/C][C]530.933333333333[/C][C]-24.9333333333333[/C][/ROW]
[ROW][C]47[/C][C]502[/C][C]530.933333333333[/C][C]-28.9333333333333[/C][/ROW]
[ROW][C]48[/C][C]516[/C][C]530.933333333333[/C][C]-14.9333333333333[/C][/ROW]
[ROW][C]49[/C][C]528[/C][C]530.933333333333[/C][C]-2.93333333333333[/C][/ROW]
[ROW][C]50[/C][C]533[/C][C]530.933333333333[/C][C]2.06666666666667[/C][/ROW]
[ROW][C]51[/C][C]536[/C][C]530.933333333333[/C][C]5.06666666666667[/C][/ROW]
[ROW][C]52[/C][C]537[/C][C]530.933333333333[/C][C]6.06666666666667[/C][/ROW]
[ROW][C]53[/C][C]524[/C][C]530.933333333333[/C][C]-6.93333333333333[/C][/ROW]
[ROW][C]54[/C][C]536[/C][C]530.933333333333[/C][C]5.06666666666667[/C][/ROW]
[ROW][C]55[/C][C]587[/C][C]530.933333333333[/C][C]56.0666666666667[/C][/ROW]
[ROW][C]56[/C][C]597[/C][C]530.933333333333[/C][C]66.0666666666667[/C][/ROW]
[ROW][C]57[/C][C]581[/C][C]530.933333333333[/C][C]50.0666666666667[/C][/ROW]
[ROW][C]58[/C][C]564[/C][C]530.933333333333[/C][C]33.0666666666667[/C][/ROW]
[ROW][C]59[/C][C]558[/C][C]530.933333333333[/C][C]27.0666666666667[/C][/ROW]
[ROW][C]60[/C][C]575[/C][C]530.933333333333[/C][C]44.0666666666667[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110762&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=110762&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
1591579.76666666666711.2333333333331
2589579.7666666666679.23333333333332
3584579.7666666666674.23333333333334
4573579.766666666667-6.76666666666666
5567579.766666666667-12.7666666666667
6569579.766666666667-10.7666666666667
7621579.76666666666741.2333333333333
8629579.76666666666749.2333333333333
9628579.76666666666748.2333333333333
10612579.76666666666732.2333333333333
11595579.76666666666715.2333333333333
12597579.76666666666717.2333333333333
13593579.76666666666713.2333333333333
14590579.76666666666710.2333333333333
15580579.7666666666670.233333333333341
16574579.766666666667-5.76666666666666
17573579.766666666667-6.76666666666666
18573579.766666666667-6.76666666666666
19620579.76666666666740.2333333333333
20626579.76666666666746.2333333333333
21620579.76666666666740.2333333333333
22588579.7666666666678.23333333333334
23566579.766666666667-13.7666666666667
24557579.766666666667-22.7666666666667
25561579.766666666667-18.7666666666667
26549579.766666666667-30.7666666666667
27532579.766666666667-47.7666666666667
28526579.766666666667-53.7666666666667
29511579.766666666667-68.7666666666667
30499579.766666666667-80.7666666666667
31555530.93333333333324.0666666666667
32565530.93333333333334.0666666666667
33542530.93333333333311.0666666666667
34527530.933333333333-3.93333333333333
35510530.933333333333-20.9333333333333
36514530.933333333333-16.9333333333333
37517530.933333333333-13.9333333333333
38508530.933333333333-22.9333333333333
39493530.933333333333-37.9333333333333
40490530.933333333333-40.9333333333333
41469530.933333333333-61.9333333333333
42478530.933333333333-52.9333333333333
43528530.933333333333-2.93333333333333
44534530.9333333333333.06666666666667
45518530.933333333333-12.9333333333333
46506530.933333333333-24.9333333333333
47502530.933333333333-28.9333333333333
48516530.933333333333-14.9333333333333
49528530.933333333333-2.93333333333333
50533530.9333333333332.06666666666667
51536530.9333333333335.06666666666667
52537530.9333333333336.06666666666667
53524530.933333333333-6.93333333333333
54536530.9333333333335.06666666666667
55587530.93333333333356.0666666666667
56597530.93333333333366.0666666666667
57581530.93333333333350.0666666666667
58564530.93333333333333.0666666666667
59558530.93333333333327.0666666666667
60575530.93333333333344.0666666666667







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.05493839716677560.1098767943335510.945061602833224
60.02395418175102020.04790836350204050.97604581824898
70.1238846132278110.2477692264556220.87611538677219
80.236284543840610.472569087681220.76371545615939
90.2910186798936210.5820373597872430.708981320106379
100.234264925353060.468529850706120.76573507464694
110.1593514227125550.318702845425110.840648577287445
120.1051815001721570.2103630003443140.894818499827843
130.0668766864445930.1337533728891860.933123313555407
140.0415918145547770.0831836291095540.958408185445223
150.02829582489482870.05659164978965730.971704175105171
160.02138788203849370.04277576407698740.978612117961506
170.01591907000338610.03183814000677220.984080929996614
180.01138755544072500.02277511088145010.988612444559275
190.01648717793320760.03297435586641520.983512822066792
200.03402154901953830.06804309803907670.965978450980462
210.05792559266029870.1158511853205970.942074407339701
220.05267859766498330.1053571953299670.947321402335017
230.05872182356776280.1174436471355260.941278176432237
240.07610164511210580.1522032902242120.923898354887894
250.08913063778327210.1782612755665440.910869362216728
260.1240801086049640.2481602172099280.875919891395036
270.2101156467303390.4202312934606770.789884353269661
280.3157971868332540.6315943736665080.684202813166746
290.4710784421389380.9421568842778760.528921557861062
300.6324316277995930.7351367444008130.367568372200407
310.579745451610660.8405090967786790.420254548389340
320.5526170253589350.894765949282130.447382974641065
330.489632487795140.979264975590280.51036751220486
340.4299783548645920.8599567097291840.570021645135408
350.4005712178436640.8011424356873280.599428782156336
360.3510321884318210.7020643768636430.648967811568179
370.2943795724828900.5887591449657810.70562042751711
380.2586127446881290.5172254893762570.741387255311872
390.2724889796202010.5449779592404020.727511020379799
400.3024827316094610.6049654632189220.697517268390539
410.5050612188120850.989877562375830.494938781187915
420.6824876556479840.6350246887040330.317512344352016
430.6186435534849160.7627128930301690.381356446515084
440.5444501712523140.9110996574953720.455549828747686
450.5021719302362970.9956561395274060.497828069763703
460.5332631562877010.9334736874245980.466736843712299
470.6315605419963270.7368789160073460.368439458003673
480.6633753975263190.6732492049473620.336624602473681
490.6451849780649050.7096300438701910.354815021935095
500.6137043749408380.7725912501183240.386295625059162
510.5777636448848070.8444727102303860.422236355115193
520.5511651538480870.8976696923038250.448834846151913
530.7215882211109760.5568235577780480.278411778889024
540.8733516325718780.2532967348562440.126648367428122
550.8005539656966750.398892068606650.199446034303325

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.0549383971667756 & 0.109876794333551 & 0.945061602833224 \tabularnewline
6 & 0.0239541817510202 & 0.0479083635020405 & 0.97604581824898 \tabularnewline
7 & 0.123884613227811 & 0.247769226455622 & 0.87611538677219 \tabularnewline
8 & 0.23628454384061 & 0.47256908768122 & 0.76371545615939 \tabularnewline
9 & 0.291018679893621 & 0.582037359787243 & 0.708981320106379 \tabularnewline
10 & 0.23426492535306 & 0.46852985070612 & 0.76573507464694 \tabularnewline
11 & 0.159351422712555 & 0.31870284542511 & 0.840648577287445 \tabularnewline
12 & 0.105181500172157 & 0.210363000344314 & 0.894818499827843 \tabularnewline
13 & 0.066876686444593 & 0.133753372889186 & 0.933123313555407 \tabularnewline
14 & 0.041591814554777 & 0.083183629109554 & 0.958408185445223 \tabularnewline
15 & 0.0282958248948287 & 0.0565916497896573 & 0.971704175105171 \tabularnewline
16 & 0.0213878820384937 & 0.0427757640769874 & 0.978612117961506 \tabularnewline
17 & 0.0159190700033861 & 0.0318381400067722 & 0.984080929996614 \tabularnewline
18 & 0.0113875554407250 & 0.0227751108814501 & 0.988612444559275 \tabularnewline
19 & 0.0164871779332076 & 0.0329743558664152 & 0.983512822066792 \tabularnewline
20 & 0.0340215490195383 & 0.0680430980390767 & 0.965978450980462 \tabularnewline
21 & 0.0579255926602987 & 0.115851185320597 & 0.942074407339701 \tabularnewline
22 & 0.0526785976649833 & 0.105357195329967 & 0.947321402335017 \tabularnewline
23 & 0.0587218235677628 & 0.117443647135526 & 0.941278176432237 \tabularnewline
24 & 0.0761016451121058 & 0.152203290224212 & 0.923898354887894 \tabularnewline
25 & 0.0891306377832721 & 0.178261275566544 & 0.910869362216728 \tabularnewline
26 & 0.124080108604964 & 0.248160217209928 & 0.875919891395036 \tabularnewline
27 & 0.210115646730339 & 0.420231293460677 & 0.789884353269661 \tabularnewline
28 & 0.315797186833254 & 0.631594373666508 & 0.684202813166746 \tabularnewline
29 & 0.471078442138938 & 0.942156884277876 & 0.528921557861062 \tabularnewline
30 & 0.632431627799593 & 0.735136744400813 & 0.367568372200407 \tabularnewline
31 & 0.57974545161066 & 0.840509096778679 & 0.420254548389340 \tabularnewline
32 & 0.552617025358935 & 0.89476594928213 & 0.447382974641065 \tabularnewline
33 & 0.48963248779514 & 0.97926497559028 & 0.51036751220486 \tabularnewline
34 & 0.429978354864592 & 0.859956709729184 & 0.570021645135408 \tabularnewline
35 & 0.400571217843664 & 0.801142435687328 & 0.599428782156336 \tabularnewline
36 & 0.351032188431821 & 0.702064376863643 & 0.648967811568179 \tabularnewline
37 & 0.294379572482890 & 0.588759144965781 & 0.70562042751711 \tabularnewline
38 & 0.258612744688129 & 0.517225489376257 & 0.741387255311872 \tabularnewline
39 & 0.272488979620201 & 0.544977959240402 & 0.727511020379799 \tabularnewline
40 & 0.302482731609461 & 0.604965463218922 & 0.697517268390539 \tabularnewline
41 & 0.505061218812085 & 0.98987756237583 & 0.494938781187915 \tabularnewline
42 & 0.682487655647984 & 0.635024688704033 & 0.317512344352016 \tabularnewline
43 & 0.618643553484916 & 0.762712893030169 & 0.381356446515084 \tabularnewline
44 & 0.544450171252314 & 0.911099657495372 & 0.455549828747686 \tabularnewline
45 & 0.502171930236297 & 0.995656139527406 & 0.497828069763703 \tabularnewline
46 & 0.533263156287701 & 0.933473687424598 & 0.466736843712299 \tabularnewline
47 & 0.631560541996327 & 0.736878916007346 & 0.368439458003673 \tabularnewline
48 & 0.663375397526319 & 0.673249204947362 & 0.336624602473681 \tabularnewline
49 & 0.645184978064905 & 0.709630043870191 & 0.354815021935095 \tabularnewline
50 & 0.613704374940838 & 0.772591250118324 & 0.386295625059162 \tabularnewline
51 & 0.577763644884807 & 0.844472710230386 & 0.422236355115193 \tabularnewline
52 & 0.551165153848087 & 0.897669692303825 & 0.448834846151913 \tabularnewline
53 & 0.721588221110976 & 0.556823557778048 & 0.278411778889024 \tabularnewline
54 & 0.873351632571878 & 0.253296734856244 & 0.126648367428122 \tabularnewline
55 & 0.800553965696675 & 0.39889206860665 & 0.199446034303325 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=110762&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]5[/C][C]0.0549383971667756[/C][C]0.109876794333551[/C][C]0.945061602833224[/C][/ROW]
[ROW][C]6[/C][C]0.0239541817510202[/C][C]0.0479083635020405[/C][C]0.97604581824898[/C][/ROW]
[ROW][C]7[/C][C]0.123884613227811[/C][C]0.247769226455622[/C][C]0.87611538677219[/C][/ROW]
[ROW][C]8[/C][C]0.23628454384061[/C][C]0.47256908768122[/C][C]0.76371545615939[/C][/ROW]
[ROW][C]9[/C][C]0.291018679893621[/C][C]0.582037359787243[/C][C]0.708981320106379[/C][/ROW]
[ROW][C]10[/C][C]0.23426492535306[/C][C]0.46852985070612[/C][C]0.76573507464694[/C][/ROW]
[ROW][C]11[/C][C]0.159351422712555[/C][C]0.31870284542511[/C][C]0.840648577287445[/C][/ROW]
[ROW][C]12[/C][C]0.105181500172157[/C][C]0.210363000344314[/C][C]0.894818499827843[/C][/ROW]
[ROW][C]13[/C][C]0.066876686444593[/C][C]0.133753372889186[/C][C]0.933123313555407[/C][/ROW]
[ROW][C]14[/C][C]0.041591814554777[/C][C]0.083183629109554[/C][C]0.958408185445223[/C][/ROW]
[ROW][C]15[/C][C]0.0282958248948287[/C][C]0.0565916497896573[/C][C]0.971704175105171[/C][/ROW]
[ROW][C]16[/C][C]0.0213878820384937[/C][C]0.0427757640769874[/C][C]0.978612117961506[/C][/ROW]
[ROW][C]17[/C][C]0.0159190700033861[/C][C]0.0318381400067722[/C][C]0.984080929996614[/C][/ROW]
[ROW][C]18[/C][C]0.0113875554407250[/C][C]0.0227751108814501[/C][C]0.988612444559275[/C][/ROW]
[ROW][C]19[/C][C]0.0164871779332076[/C][C]0.0329743558664152[/C][C]0.983512822066792[/C][/ROW]
[ROW][C]20[/C][C]0.0340215490195383[/C][C]0.0680430980390767[/C][C]0.965978450980462[/C][/ROW]
[ROW][C]21[/C][C]0.0579255926602987[/C][C]0.115851185320597[/C][C]0.942074407339701[/C][/ROW]
[ROW][C]22[/C][C]0.0526785976649833[/C][C]0.105357195329967[/C][C]0.947321402335017[/C][/ROW]
[ROW][C]23[/C][C]0.0587218235677628[/C][C]0.117443647135526[/C][C]0.941278176432237[/C][/ROW]
[ROW][C]24[/C][C]0.0761016451121058[/C][C]0.152203290224212[/C][C]0.923898354887894[/C][/ROW]
[ROW][C]25[/C][C]0.0891306377832721[/C][C]0.178261275566544[/C][C]0.910869362216728[/C][/ROW]
[ROW][C]26[/C][C]0.124080108604964[/C][C]0.248160217209928[/C][C]0.875919891395036[/C][/ROW]
[ROW][C]27[/C][C]0.210115646730339[/C][C]0.420231293460677[/C][C]0.789884353269661[/C][/ROW]
[ROW][C]28[/C][C]0.315797186833254[/C][C]0.631594373666508[/C][C]0.684202813166746[/C][/ROW]
[ROW][C]29[/C][C]0.471078442138938[/C][C]0.942156884277876[/C][C]0.528921557861062[/C][/ROW]
[ROW][C]30[/C][C]0.632431627799593[/C][C]0.735136744400813[/C][C]0.367568372200407[/C][/ROW]
[ROW][C]31[/C][C]0.57974545161066[/C][C]0.840509096778679[/C][C]0.420254548389340[/C][/ROW]
[ROW][C]32[/C][C]0.552617025358935[/C][C]0.89476594928213[/C][C]0.447382974641065[/C][/ROW]
[ROW][C]33[/C][C]0.48963248779514[/C][C]0.97926497559028[/C][C]0.51036751220486[/C][/ROW]
[ROW][C]34[/C][C]0.429978354864592[/C][C]0.859956709729184[/C][C]0.570021645135408[/C][/ROW]
[ROW][C]35[/C][C]0.400571217843664[/C][C]0.801142435687328[/C][C]0.599428782156336[/C][/ROW]
[ROW][C]36[/C][C]0.351032188431821[/C][C]0.702064376863643[/C][C]0.648967811568179[/C][/ROW]
[ROW][C]37[/C][C]0.294379572482890[/C][C]0.588759144965781[/C][C]0.70562042751711[/C][/ROW]
[ROW][C]38[/C][C]0.258612744688129[/C][C]0.517225489376257[/C][C]0.741387255311872[/C][/ROW]
[ROW][C]39[/C][C]0.272488979620201[/C][C]0.544977959240402[/C][C]0.727511020379799[/C][/ROW]
[ROW][C]40[/C][C]0.302482731609461[/C][C]0.604965463218922[/C][C]0.697517268390539[/C][/ROW]
[ROW][C]41[/C][C]0.505061218812085[/C][C]0.98987756237583[/C][C]0.494938781187915[/C][/ROW]
[ROW][C]42[/C][C]0.682487655647984[/C][C]0.635024688704033[/C][C]0.317512344352016[/C][/ROW]
[ROW][C]43[/C][C]0.618643553484916[/C][C]0.762712893030169[/C][C]0.381356446515084[/C][/ROW]
[ROW][C]44[/C][C]0.544450171252314[/C][C]0.911099657495372[/C][C]0.455549828747686[/C][/ROW]
[ROW][C]45[/C][C]0.502171930236297[/C][C]0.995656139527406[/C][C]0.497828069763703[/C][/ROW]
[ROW][C]46[/C][C]0.533263156287701[/C][C]0.933473687424598[/C][C]0.466736843712299[/C][/ROW]
[ROW][C]47[/C][C]0.631560541996327[/C][C]0.736878916007346[/C][C]0.368439458003673[/C][/ROW]
[ROW][C]48[/C][C]0.663375397526319[/C][C]0.673249204947362[/C][C]0.336624602473681[/C][/ROW]
[ROW][C]49[/C][C]0.645184978064905[/C][C]0.709630043870191[/C][C]0.354815021935095[/C][/ROW]
[ROW][C]50[/C][C]0.613704374940838[/C][C]0.772591250118324[/C][C]0.386295625059162[/C][/ROW]
[ROW][C]51[/C][C]0.577763644884807[/C][C]0.844472710230386[/C][C]0.422236355115193[/C][/ROW]
[ROW][C]52[/C][C]0.551165153848087[/C][C]0.897669692303825[/C][C]0.448834846151913[/C][/ROW]
[ROW][C]53[/C][C]0.721588221110976[/C][C]0.556823557778048[/C][C]0.278411778889024[/C][/ROW]
[ROW][C]54[/C][C]0.873351632571878[/C][C]0.253296734856244[/C][C]0.126648367428122[/C][/ROW]
[ROW][C]55[/C][C]0.800553965696675[/C][C]0.39889206860665[/C][C]0.199446034303325[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=110762&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.05493839716677560.1098767943335510.945061602833224
60.02395418175102020.04790836350204050.97604581824898
70.1238846132278110.2477692264556220.87611538677219
80.236284543840610.472569087681220.76371545615939
90.2910186798936210.5820373597872430.708981320106379
100.234264925353060.468529850706120.76573507464694
110.1593514227125550.318702845425110.840648577287445
120.1051815001721570.2103630003443140.894818499827843
130.0668766864445930.1337533728891860.933123313555407
140.0415918145547770.0831836291095540.958408185445223
150.02829582489482870.05659164978965730.971704175105171
160.02138788203849370.04277576407698740.978612117961506
170.01591907000338610.03183814000677220.984080929996614
180.01138755544072500.02277511088145010.988612444559275
190.01648717793320760.03297435586641520.983512822066792
200.03402154901953830.06804309803907670.965978450980462
210.05792559266029870.1158511853205970.942074407339701
220.05267859766498330.1053571953299670.947321402335017
230.05872182356776280.1174436471355260.941278176432237
240.07610164511210580.1522032902242120.923898354887894
250.08913063778327210.1782612755665440.910869362216728
260.1240801086049640.2481602172099280.875919891395036
270.2101156467303390.4202312934606770.789884353269661
280.3157971868332540.6315943736665080.684202813166746
290.4710784421389380.9421568842778760.528921557861062
300.6324316277995930.7351367444008130.367568372200407
310.579745451610660.8405090967786790.420254548389340
320.5526170253589350.894765949282130.447382974641065
330.489632487795140.979264975590280.51036751220486
340.4299783548645920.8599567097291840.570021645135408
350.4005712178436640.8011424356873280.599428782156336
360.3510321884318210.7020643768636430.648967811568179
370.2943795724828900.5887591449657810.70562042751711
380.2586127446881290.5172254893762570.741387255311872
390.2724889796202010.5449779592404020.727511020379799
400.3024827316094610.6049654632189220.697517268390539
410.5050612188120850.989877562375830.494938781187915
420.6824876556479840.6350246887040330.317512344352016
430.6186435534849160.7627128930301690.381356446515084
440.5444501712523140.9110996574953720.455549828747686
450.5021719302362970.9956561395274060.497828069763703
460.5332631562877010.9334736874245980.466736843712299
470.6315605419963270.7368789160073460.368439458003673
480.6633753975263190.6732492049473620.336624602473681
490.6451849780649050.7096300438701910.354815021935095
500.6137043749408380.7725912501183240.386295625059162
510.5777636448848070.8444727102303860.422236355115193
520.5511651538480870.8976696923038250.448834846151913
530.7215882211109760.5568235577780480.278411778889024
540.8733516325718780.2532967348562440.126648367428122
550.8005539656966750.398892068606650.199446034303325







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

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

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



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')
}