Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationFri, 19 Dec 2008 03:30:26 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Dec/19/t1229682677e9cyw90l0bv45x5.htm/, Retrieved Sat, 18 May 2024 12:18:13 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=35028, Retrieved Sat, 18 May 2024 12:18:13 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact256
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [WS 6 Q3 G6 eigen ...] [2007-11-15 11:12:24] [22f18fc6a98517db16300404be421f9a]
- R  D    [Multiple Regression] [dummie eenvoudig ...] [2008-12-19 10:30:26] [b0654df83a8a0e1de3ceb7bf60f0d58f] [Current]
-   P       [Multiple Regression] [dummie seizoenale...] [2008-12-19 10:38:56] [005293453b571dbccb80b45226e44173]
-   P         [Multiple Regression] [dummie lineaire t...] [2008-12-19 10:47:40] [005293453b571dbccb80b45226e44173]
Feedback Forum

Post a new message
Dataseries X:
565464	0
547344	0
554788	0
562325	0
560854	0
555332	0
543599	0
536662	0
542722	0
593530	0
610763	0
612613	0
611324	0
594167	0
595454	0
590865	0
589379	0
584428	0
573100	0
567456	0
569028	0
620735	0
628884	0
628232	0
612117	0
595404	0
597141	0
593408	0
590072	0
579799	0
574205	0
572775	0
572942	0
619567	0
625809	0
619916	0
587625	0
565742	0
557274	0
560576	1
548854	1
531673	1
525919	1
511038	1
498662	1
555362	1
564591	1
541657	1
527070	1
509846	1
514258	1
516922	1
507561	1
492622	1
490243	1
469357	1
477580	1
528379	1
533590	1
517945	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time11 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001

\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 & 11 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35028&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]11 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35028&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35028&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 time11 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 584688.307692308 -64511.8791208791X[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  584688.307692308 -64511.8791208791X[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35028&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  584688.307692308 -64511.8791208791X[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35028&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35028&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
Y[t] = + 584688.307692308 -64511.8791208791X[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)584688.3076923084151.892684140.824500
X-64511.87912087917017.979534-9.192400

\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) & 584688.307692308 & 4151.892684 & 140.8245 & 0 & 0 \tabularnewline
X & -64511.8791208791 & 7017.979534 & -9.1924 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35028&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]584688.307692308[/C][C]4151.892684[/C][C]140.8245[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]-64511.8791208791[/C][C]7017.979534[/C][C]-9.1924[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35028&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35028&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)584688.3076923084151.892684140.824500
X-64511.87912087917017.979534-9.192400







Multiple Linear Regression - Regression Statistics
Multiple R0.77005299297022
R-squared0.592981611982393
Adjusted R-squared0.585964053568297
F-TEST (value)84.4997044543625
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value6.3948846218409e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation25928.5614989401
Sum Squared Residuals38992837481.4506

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.77005299297022 \tabularnewline
R-squared & 0.592981611982393 \tabularnewline
Adjusted R-squared & 0.585964053568297 \tabularnewline
F-TEST (value) & 84.4997044543625 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 6.3948846218409e-13 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 25928.5614989401 \tabularnewline
Sum Squared Residuals & 38992837481.4506 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35028&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.77005299297022[/C][/ROW]
[ROW][C]R-squared[/C][C]0.592981611982393[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.585964053568297[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]84.4997044543625[/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]6.3948846218409e-13[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]25928.5614989401[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]38992837481.4506[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35028&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35028&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.77005299297022
R-squared0.592981611982393
Adjusted R-squared0.585964053568297
F-TEST (value)84.4997044543625
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value6.3948846218409e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation25928.5614989401
Sum Squared Residuals38992837481.4506







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1565464584688.307692309-19224.3076923086
2547344584688.307692308-37344.3076923077
3554788584688.307692308-29900.3076923077
4562325584688.307692308-22363.3076923077
5560854584688.307692308-23834.3076923077
6555332584688.307692308-29356.3076923077
7543599584688.307692308-41089.3076923077
8536662584688.307692308-48026.3076923077
9542722584688.307692308-41966.3076923077
10593530584688.3076923088841.69230769233
11610763584688.30769230826074.6923076923
12612613584688.30769230827924.6923076923
13611324584688.30769230826635.6923076923
14594167584688.3076923089478.69230769233
15595454584688.30769230810765.6923076923
16590865584688.3076923086176.69230769233
17589379584688.3076923084690.69230769233
18584428584688.307692308-260.307692307667
19573100584688.307692308-11588.3076923077
20567456584688.307692308-17232.3076923077
21569028584688.307692308-15660.3076923077
22620735584688.30769230836046.6923076923
23628884584688.30769230844195.6923076923
24628232584688.30769230843543.6923076923
25612117584688.30769230827428.6923076923
26595404584688.30769230810715.6923076923
27597141584688.30769230812452.6923076923
28593408584688.3076923088719.69230769233
29590072584688.3076923085383.69230769233
30579799584688.307692308-4889.30769230767
31574205584688.307692308-10483.3076923077
32572775584688.307692308-11913.3076923077
33572942584688.307692308-11746.3076923077
34619567584688.30769230834878.6923076923
35625809584688.30769230841120.6923076923
36619916584688.30769230835227.6923076923
37587625584688.3076923082936.69230769233
38565742584688.307692308-18946.3076923077
39557274584688.307692308-27414.3076923077
40560576520176.42857142940399.5714285714
41548854520176.42857142928677.5714285714
42531673520176.42857142911496.5714285714
43525919520176.4285714295742.57142857143
44511038520176.428571429-9138.42857142857
45498662520176.428571429-21514.4285714286
46555362520176.42857142935185.5714285714
47564591520176.42857142944414.5714285714
48541657520176.42857142921480.5714285714
49527070520176.4285714296893.57142857143
50509846520176.428571429-10330.4285714286
51514258520176.428571429-5918.42857142857
52516922520176.428571429-3254.42857142857
53507561520176.428571429-12615.4285714286
54492622520176.428571429-27554.4285714286
55490243520176.428571429-29933.4285714286
56469357520176.428571429-50819.4285714286
57477580520176.428571429-42596.4285714286
58528379520176.4285714298202.57142857143
59533590520176.42857142913413.5714285714
60517945520176.428571429-2231.42857142857

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 565464 & 584688.307692309 & -19224.3076923086 \tabularnewline
2 & 547344 & 584688.307692308 & -37344.3076923077 \tabularnewline
3 & 554788 & 584688.307692308 & -29900.3076923077 \tabularnewline
4 & 562325 & 584688.307692308 & -22363.3076923077 \tabularnewline
5 & 560854 & 584688.307692308 & -23834.3076923077 \tabularnewline
6 & 555332 & 584688.307692308 & -29356.3076923077 \tabularnewline
7 & 543599 & 584688.307692308 & -41089.3076923077 \tabularnewline
8 & 536662 & 584688.307692308 & -48026.3076923077 \tabularnewline
9 & 542722 & 584688.307692308 & -41966.3076923077 \tabularnewline
10 & 593530 & 584688.307692308 & 8841.69230769233 \tabularnewline
11 & 610763 & 584688.307692308 & 26074.6923076923 \tabularnewline
12 & 612613 & 584688.307692308 & 27924.6923076923 \tabularnewline
13 & 611324 & 584688.307692308 & 26635.6923076923 \tabularnewline
14 & 594167 & 584688.307692308 & 9478.69230769233 \tabularnewline
15 & 595454 & 584688.307692308 & 10765.6923076923 \tabularnewline
16 & 590865 & 584688.307692308 & 6176.69230769233 \tabularnewline
17 & 589379 & 584688.307692308 & 4690.69230769233 \tabularnewline
18 & 584428 & 584688.307692308 & -260.307692307667 \tabularnewline
19 & 573100 & 584688.307692308 & -11588.3076923077 \tabularnewline
20 & 567456 & 584688.307692308 & -17232.3076923077 \tabularnewline
21 & 569028 & 584688.307692308 & -15660.3076923077 \tabularnewline
22 & 620735 & 584688.307692308 & 36046.6923076923 \tabularnewline
23 & 628884 & 584688.307692308 & 44195.6923076923 \tabularnewline
24 & 628232 & 584688.307692308 & 43543.6923076923 \tabularnewline
25 & 612117 & 584688.307692308 & 27428.6923076923 \tabularnewline
26 & 595404 & 584688.307692308 & 10715.6923076923 \tabularnewline
27 & 597141 & 584688.307692308 & 12452.6923076923 \tabularnewline
28 & 593408 & 584688.307692308 & 8719.69230769233 \tabularnewline
29 & 590072 & 584688.307692308 & 5383.69230769233 \tabularnewline
30 & 579799 & 584688.307692308 & -4889.30769230767 \tabularnewline
31 & 574205 & 584688.307692308 & -10483.3076923077 \tabularnewline
32 & 572775 & 584688.307692308 & -11913.3076923077 \tabularnewline
33 & 572942 & 584688.307692308 & -11746.3076923077 \tabularnewline
34 & 619567 & 584688.307692308 & 34878.6923076923 \tabularnewline
35 & 625809 & 584688.307692308 & 41120.6923076923 \tabularnewline
36 & 619916 & 584688.307692308 & 35227.6923076923 \tabularnewline
37 & 587625 & 584688.307692308 & 2936.69230769233 \tabularnewline
38 & 565742 & 584688.307692308 & -18946.3076923077 \tabularnewline
39 & 557274 & 584688.307692308 & -27414.3076923077 \tabularnewline
40 & 560576 & 520176.428571429 & 40399.5714285714 \tabularnewline
41 & 548854 & 520176.428571429 & 28677.5714285714 \tabularnewline
42 & 531673 & 520176.428571429 & 11496.5714285714 \tabularnewline
43 & 525919 & 520176.428571429 & 5742.57142857143 \tabularnewline
44 & 511038 & 520176.428571429 & -9138.42857142857 \tabularnewline
45 & 498662 & 520176.428571429 & -21514.4285714286 \tabularnewline
46 & 555362 & 520176.428571429 & 35185.5714285714 \tabularnewline
47 & 564591 & 520176.428571429 & 44414.5714285714 \tabularnewline
48 & 541657 & 520176.428571429 & 21480.5714285714 \tabularnewline
49 & 527070 & 520176.428571429 & 6893.57142857143 \tabularnewline
50 & 509846 & 520176.428571429 & -10330.4285714286 \tabularnewline
51 & 514258 & 520176.428571429 & -5918.42857142857 \tabularnewline
52 & 516922 & 520176.428571429 & -3254.42857142857 \tabularnewline
53 & 507561 & 520176.428571429 & -12615.4285714286 \tabularnewline
54 & 492622 & 520176.428571429 & -27554.4285714286 \tabularnewline
55 & 490243 & 520176.428571429 & -29933.4285714286 \tabularnewline
56 & 469357 & 520176.428571429 & -50819.4285714286 \tabularnewline
57 & 477580 & 520176.428571429 & -42596.4285714286 \tabularnewline
58 & 528379 & 520176.428571429 & 8202.57142857143 \tabularnewline
59 & 533590 & 520176.428571429 & 13413.5714285714 \tabularnewline
60 & 517945 & 520176.428571429 & -2231.42857142857 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35028&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]565464[/C][C]584688.307692309[/C][C]-19224.3076923086[/C][/ROW]
[ROW][C]2[/C][C]547344[/C][C]584688.307692308[/C][C]-37344.3076923077[/C][/ROW]
[ROW][C]3[/C][C]554788[/C][C]584688.307692308[/C][C]-29900.3076923077[/C][/ROW]
[ROW][C]4[/C][C]562325[/C][C]584688.307692308[/C][C]-22363.3076923077[/C][/ROW]
[ROW][C]5[/C][C]560854[/C][C]584688.307692308[/C][C]-23834.3076923077[/C][/ROW]
[ROW][C]6[/C][C]555332[/C][C]584688.307692308[/C][C]-29356.3076923077[/C][/ROW]
[ROW][C]7[/C][C]543599[/C][C]584688.307692308[/C][C]-41089.3076923077[/C][/ROW]
[ROW][C]8[/C][C]536662[/C][C]584688.307692308[/C][C]-48026.3076923077[/C][/ROW]
[ROW][C]9[/C][C]542722[/C][C]584688.307692308[/C][C]-41966.3076923077[/C][/ROW]
[ROW][C]10[/C][C]593530[/C][C]584688.307692308[/C][C]8841.69230769233[/C][/ROW]
[ROW][C]11[/C][C]610763[/C][C]584688.307692308[/C][C]26074.6923076923[/C][/ROW]
[ROW][C]12[/C][C]612613[/C][C]584688.307692308[/C][C]27924.6923076923[/C][/ROW]
[ROW][C]13[/C][C]611324[/C][C]584688.307692308[/C][C]26635.6923076923[/C][/ROW]
[ROW][C]14[/C][C]594167[/C][C]584688.307692308[/C][C]9478.69230769233[/C][/ROW]
[ROW][C]15[/C][C]595454[/C][C]584688.307692308[/C][C]10765.6923076923[/C][/ROW]
[ROW][C]16[/C][C]590865[/C][C]584688.307692308[/C][C]6176.69230769233[/C][/ROW]
[ROW][C]17[/C][C]589379[/C][C]584688.307692308[/C][C]4690.69230769233[/C][/ROW]
[ROW][C]18[/C][C]584428[/C][C]584688.307692308[/C][C]-260.307692307667[/C][/ROW]
[ROW][C]19[/C][C]573100[/C][C]584688.307692308[/C][C]-11588.3076923077[/C][/ROW]
[ROW][C]20[/C][C]567456[/C][C]584688.307692308[/C][C]-17232.3076923077[/C][/ROW]
[ROW][C]21[/C][C]569028[/C][C]584688.307692308[/C][C]-15660.3076923077[/C][/ROW]
[ROW][C]22[/C][C]620735[/C][C]584688.307692308[/C][C]36046.6923076923[/C][/ROW]
[ROW][C]23[/C][C]628884[/C][C]584688.307692308[/C][C]44195.6923076923[/C][/ROW]
[ROW][C]24[/C][C]628232[/C][C]584688.307692308[/C][C]43543.6923076923[/C][/ROW]
[ROW][C]25[/C][C]612117[/C][C]584688.307692308[/C][C]27428.6923076923[/C][/ROW]
[ROW][C]26[/C][C]595404[/C][C]584688.307692308[/C][C]10715.6923076923[/C][/ROW]
[ROW][C]27[/C][C]597141[/C][C]584688.307692308[/C][C]12452.6923076923[/C][/ROW]
[ROW][C]28[/C][C]593408[/C][C]584688.307692308[/C][C]8719.69230769233[/C][/ROW]
[ROW][C]29[/C][C]590072[/C][C]584688.307692308[/C][C]5383.69230769233[/C][/ROW]
[ROW][C]30[/C][C]579799[/C][C]584688.307692308[/C][C]-4889.30769230767[/C][/ROW]
[ROW][C]31[/C][C]574205[/C][C]584688.307692308[/C][C]-10483.3076923077[/C][/ROW]
[ROW][C]32[/C][C]572775[/C][C]584688.307692308[/C][C]-11913.3076923077[/C][/ROW]
[ROW][C]33[/C][C]572942[/C][C]584688.307692308[/C][C]-11746.3076923077[/C][/ROW]
[ROW][C]34[/C][C]619567[/C][C]584688.307692308[/C][C]34878.6923076923[/C][/ROW]
[ROW][C]35[/C][C]625809[/C][C]584688.307692308[/C][C]41120.6923076923[/C][/ROW]
[ROW][C]36[/C][C]619916[/C][C]584688.307692308[/C][C]35227.6923076923[/C][/ROW]
[ROW][C]37[/C][C]587625[/C][C]584688.307692308[/C][C]2936.69230769233[/C][/ROW]
[ROW][C]38[/C][C]565742[/C][C]584688.307692308[/C][C]-18946.3076923077[/C][/ROW]
[ROW][C]39[/C][C]557274[/C][C]584688.307692308[/C][C]-27414.3076923077[/C][/ROW]
[ROW][C]40[/C][C]560576[/C][C]520176.428571429[/C][C]40399.5714285714[/C][/ROW]
[ROW][C]41[/C][C]548854[/C][C]520176.428571429[/C][C]28677.5714285714[/C][/ROW]
[ROW][C]42[/C][C]531673[/C][C]520176.428571429[/C][C]11496.5714285714[/C][/ROW]
[ROW][C]43[/C][C]525919[/C][C]520176.428571429[/C][C]5742.57142857143[/C][/ROW]
[ROW][C]44[/C][C]511038[/C][C]520176.428571429[/C][C]-9138.42857142857[/C][/ROW]
[ROW][C]45[/C][C]498662[/C][C]520176.428571429[/C][C]-21514.4285714286[/C][/ROW]
[ROW][C]46[/C][C]555362[/C][C]520176.428571429[/C][C]35185.5714285714[/C][/ROW]
[ROW][C]47[/C][C]564591[/C][C]520176.428571429[/C][C]44414.5714285714[/C][/ROW]
[ROW][C]48[/C][C]541657[/C][C]520176.428571429[/C][C]21480.5714285714[/C][/ROW]
[ROW][C]49[/C][C]527070[/C][C]520176.428571429[/C][C]6893.57142857143[/C][/ROW]
[ROW][C]50[/C][C]509846[/C][C]520176.428571429[/C][C]-10330.4285714286[/C][/ROW]
[ROW][C]51[/C][C]514258[/C][C]520176.428571429[/C][C]-5918.42857142857[/C][/ROW]
[ROW][C]52[/C][C]516922[/C][C]520176.428571429[/C][C]-3254.42857142857[/C][/ROW]
[ROW][C]53[/C][C]507561[/C][C]520176.428571429[/C][C]-12615.4285714286[/C][/ROW]
[ROW][C]54[/C][C]492622[/C][C]520176.428571429[/C][C]-27554.4285714286[/C][/ROW]
[ROW][C]55[/C][C]490243[/C][C]520176.428571429[/C][C]-29933.4285714286[/C][/ROW]
[ROW][C]56[/C][C]469357[/C][C]520176.428571429[/C][C]-50819.4285714286[/C][/ROW]
[ROW][C]57[/C][C]477580[/C][C]520176.428571429[/C][C]-42596.4285714286[/C][/ROW]
[ROW][C]58[/C][C]528379[/C][C]520176.428571429[/C][C]8202.57142857143[/C][/ROW]
[ROW][C]59[/C][C]533590[/C][C]520176.428571429[/C][C]13413.5714285714[/C][/ROW]
[ROW][C]60[/C][C]517945[/C][C]520176.428571429[/C][C]-2231.42857142857[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35028&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35028&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
1565464584688.307692309-19224.3076923086
2547344584688.307692308-37344.3076923077
3554788584688.307692308-29900.3076923077
4562325584688.307692308-22363.3076923077
5560854584688.307692308-23834.3076923077
6555332584688.307692308-29356.3076923077
7543599584688.307692308-41089.3076923077
8536662584688.307692308-48026.3076923077
9542722584688.307692308-41966.3076923077
10593530584688.3076923088841.69230769233
11610763584688.30769230826074.6923076923
12612613584688.30769230827924.6923076923
13611324584688.30769230826635.6923076923
14594167584688.3076923089478.69230769233
15595454584688.30769230810765.6923076923
16590865584688.3076923086176.69230769233
17589379584688.3076923084690.69230769233
18584428584688.307692308-260.307692307667
19573100584688.307692308-11588.3076923077
20567456584688.307692308-17232.3076923077
21569028584688.307692308-15660.3076923077
22620735584688.30769230836046.6923076923
23628884584688.30769230844195.6923076923
24628232584688.30769230843543.6923076923
25612117584688.30769230827428.6923076923
26595404584688.30769230810715.6923076923
27597141584688.30769230812452.6923076923
28593408584688.3076923088719.69230769233
29590072584688.3076923085383.69230769233
30579799584688.307692308-4889.30769230767
31574205584688.307692308-10483.3076923077
32572775584688.307692308-11913.3076923077
33572942584688.307692308-11746.3076923077
34619567584688.30769230834878.6923076923
35625809584688.30769230841120.6923076923
36619916584688.30769230835227.6923076923
37587625584688.3076923082936.69230769233
38565742584688.307692308-18946.3076923077
39557274584688.307692308-27414.3076923077
40560576520176.42857142940399.5714285714
41548854520176.42857142928677.5714285714
42531673520176.42857142911496.5714285714
43525919520176.4285714295742.57142857143
44511038520176.428571429-9138.42857142857
45498662520176.428571429-21514.4285714286
46555362520176.42857142935185.5714285714
47564591520176.42857142944414.5714285714
48541657520176.42857142921480.5714285714
49527070520176.4285714296893.57142857143
50509846520176.428571429-10330.4285714286
51514258520176.428571429-5918.42857142857
52516922520176.428571429-3254.42857142857
53507561520176.428571429-12615.4285714286
54492622520176.428571429-27554.4285714286
55490243520176.428571429-29933.4285714286
56469357520176.428571429-50819.4285714286
57477580520176.428571429-42596.4285714286
58528379520176.4285714298202.57142857143
59533590520176.42857142913413.5714285714
60517945520176.428571429-2231.42857142857







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.04313749979727930.08627499959455850.95686250020272
60.01253386629057790.02506773258115570.987466133709422
70.01369157337568520.02738314675137040.986308426624315
80.02645449579813830.05290899159627660.973545504201862
90.02019636319393290.04039272638786590.979803636806067
100.1833577822778100.3667155645556210.81664221772219
110.5707668032798930.8584663934402140.429233196720107
120.7736113794768350.4527772410463290.226388620523165
130.8527191441794390.2945617116411220.147280855820561
140.8303650023505190.3392699952989620.169634997649481
150.8049399208518670.3901201582962670.195060079148133
160.7608751090362460.4782497819275080.239124890963754
170.7069124944014070.5861750111971850.293087505598593
180.6398255235079580.7203489529840850.360174476492042
190.5751472667936850.849705466412630.424852733206315
200.5275187913873050.944962417225390.472481208612695
210.4793247377119160.9586494754238320.520675262288084
220.5919414759990330.8161170480019350.408058524000967
230.7374956078556870.5250087842886270.262504392144313
240.832064631905080.3358707361898410.167935368094920
250.8324300148843710.3351399702312580.167569985115629
260.7878917987674730.4242164024650550.212108201232527
270.7401853905716490.5196292188567020.259814609428351
280.6805775851107820.6388448297784370.319422414889218
290.6116919747484910.7766160505030180.388308025251509
300.5410389921859470.9179220156281060.458961007814053
310.4816250220302820.9632500440605640.518374977969718
320.4304253017086650.8608506034173310.569574698291335
330.3860238199454560.7720476398909130.613976180054544
340.4138602465573430.8277204931146860.586139753442657
350.5085486934409630.9829026131180740.491451306559037
360.607068865730980.785862268538040.39293113426902
370.5625140459644310.8749719080711390.437485954035569
380.5019634382435790.9960731235128420.498036561756421
390.4522543061594410.9045086123188830.547745693840559
400.5041191045026220.9917617909947550.495880895497378
410.5086245733191460.9827508533617070.491375426680854
420.4590283951283070.9180567902566150.540971604871693
430.3965109753917790.7930219507835590.60348902460822
440.3407035940103590.6814071880207180.659296405989641
450.3184743920775350.636948784155070.681525607922465
460.3944985208803160.7889970417606320.605501479119684
470.6479055797007410.7041888405985170.352094420299259
480.7037936426386150.5924127147227690.296206357361385
490.6746462355798640.6507075288402710.325353764420136
500.5870010402797590.8259979194404820.412998959720241
510.4952473236653330.9904946473306650.504752676334667
520.4098800154596670.8197600309193330.590119984540333
530.3029005170927280.6058010341854570.697099482907272
540.2195427901266570.4390855802533130.780457209873343
550.1500193311565550.3000386623131090.849980668843445

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.0431374997972793 & 0.0862749995945585 & 0.95686250020272 \tabularnewline
6 & 0.0125338662905779 & 0.0250677325811557 & 0.987466133709422 \tabularnewline
7 & 0.0136915733756852 & 0.0273831467513704 & 0.986308426624315 \tabularnewline
8 & 0.0264544957981383 & 0.0529089915962766 & 0.973545504201862 \tabularnewline
9 & 0.0201963631939329 & 0.0403927263878659 & 0.979803636806067 \tabularnewline
10 & 0.183357782277810 & 0.366715564555621 & 0.81664221772219 \tabularnewline
11 & 0.570766803279893 & 0.858466393440214 & 0.429233196720107 \tabularnewline
12 & 0.773611379476835 & 0.452777241046329 & 0.226388620523165 \tabularnewline
13 & 0.852719144179439 & 0.294561711641122 & 0.147280855820561 \tabularnewline
14 & 0.830365002350519 & 0.339269995298962 & 0.169634997649481 \tabularnewline
15 & 0.804939920851867 & 0.390120158296267 & 0.195060079148133 \tabularnewline
16 & 0.760875109036246 & 0.478249781927508 & 0.239124890963754 \tabularnewline
17 & 0.706912494401407 & 0.586175011197185 & 0.293087505598593 \tabularnewline
18 & 0.639825523507958 & 0.720348952984085 & 0.360174476492042 \tabularnewline
19 & 0.575147266793685 & 0.84970546641263 & 0.424852733206315 \tabularnewline
20 & 0.527518791387305 & 0.94496241722539 & 0.472481208612695 \tabularnewline
21 & 0.479324737711916 & 0.958649475423832 & 0.520675262288084 \tabularnewline
22 & 0.591941475999033 & 0.816117048001935 & 0.408058524000967 \tabularnewline
23 & 0.737495607855687 & 0.525008784288627 & 0.262504392144313 \tabularnewline
24 & 0.83206463190508 & 0.335870736189841 & 0.167935368094920 \tabularnewline
25 & 0.832430014884371 & 0.335139970231258 & 0.167569985115629 \tabularnewline
26 & 0.787891798767473 & 0.424216402465055 & 0.212108201232527 \tabularnewline
27 & 0.740185390571649 & 0.519629218856702 & 0.259814609428351 \tabularnewline
28 & 0.680577585110782 & 0.638844829778437 & 0.319422414889218 \tabularnewline
29 & 0.611691974748491 & 0.776616050503018 & 0.388308025251509 \tabularnewline
30 & 0.541038992185947 & 0.917922015628106 & 0.458961007814053 \tabularnewline
31 & 0.481625022030282 & 0.963250044060564 & 0.518374977969718 \tabularnewline
32 & 0.430425301708665 & 0.860850603417331 & 0.569574698291335 \tabularnewline
33 & 0.386023819945456 & 0.772047639890913 & 0.613976180054544 \tabularnewline
34 & 0.413860246557343 & 0.827720493114686 & 0.586139753442657 \tabularnewline
35 & 0.508548693440963 & 0.982902613118074 & 0.491451306559037 \tabularnewline
36 & 0.60706886573098 & 0.78586226853804 & 0.39293113426902 \tabularnewline
37 & 0.562514045964431 & 0.874971908071139 & 0.437485954035569 \tabularnewline
38 & 0.501963438243579 & 0.996073123512842 & 0.498036561756421 \tabularnewline
39 & 0.452254306159441 & 0.904508612318883 & 0.547745693840559 \tabularnewline
40 & 0.504119104502622 & 0.991761790994755 & 0.495880895497378 \tabularnewline
41 & 0.508624573319146 & 0.982750853361707 & 0.491375426680854 \tabularnewline
42 & 0.459028395128307 & 0.918056790256615 & 0.540971604871693 \tabularnewline
43 & 0.396510975391779 & 0.793021950783559 & 0.60348902460822 \tabularnewline
44 & 0.340703594010359 & 0.681407188020718 & 0.659296405989641 \tabularnewline
45 & 0.318474392077535 & 0.63694878415507 & 0.681525607922465 \tabularnewline
46 & 0.394498520880316 & 0.788997041760632 & 0.605501479119684 \tabularnewline
47 & 0.647905579700741 & 0.704188840598517 & 0.352094420299259 \tabularnewline
48 & 0.703793642638615 & 0.592412714722769 & 0.296206357361385 \tabularnewline
49 & 0.674646235579864 & 0.650707528840271 & 0.325353764420136 \tabularnewline
50 & 0.587001040279759 & 0.825997919440482 & 0.412998959720241 \tabularnewline
51 & 0.495247323665333 & 0.990494647330665 & 0.504752676334667 \tabularnewline
52 & 0.409880015459667 & 0.819760030919333 & 0.590119984540333 \tabularnewline
53 & 0.302900517092728 & 0.605801034185457 & 0.697099482907272 \tabularnewline
54 & 0.219542790126657 & 0.439085580253313 & 0.780457209873343 \tabularnewline
55 & 0.150019331156555 & 0.300038662313109 & 0.849980668843445 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35028&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.0431374997972793[/C][C]0.0862749995945585[/C][C]0.95686250020272[/C][/ROW]
[ROW][C]6[/C][C]0.0125338662905779[/C][C]0.0250677325811557[/C][C]0.987466133709422[/C][/ROW]
[ROW][C]7[/C][C]0.0136915733756852[/C][C]0.0273831467513704[/C][C]0.986308426624315[/C][/ROW]
[ROW][C]8[/C][C]0.0264544957981383[/C][C]0.0529089915962766[/C][C]0.973545504201862[/C][/ROW]
[ROW][C]9[/C][C]0.0201963631939329[/C][C]0.0403927263878659[/C][C]0.979803636806067[/C][/ROW]
[ROW][C]10[/C][C]0.183357782277810[/C][C]0.366715564555621[/C][C]0.81664221772219[/C][/ROW]
[ROW][C]11[/C][C]0.570766803279893[/C][C]0.858466393440214[/C][C]0.429233196720107[/C][/ROW]
[ROW][C]12[/C][C]0.773611379476835[/C][C]0.452777241046329[/C][C]0.226388620523165[/C][/ROW]
[ROW][C]13[/C][C]0.852719144179439[/C][C]0.294561711641122[/C][C]0.147280855820561[/C][/ROW]
[ROW][C]14[/C][C]0.830365002350519[/C][C]0.339269995298962[/C][C]0.169634997649481[/C][/ROW]
[ROW][C]15[/C][C]0.804939920851867[/C][C]0.390120158296267[/C][C]0.195060079148133[/C][/ROW]
[ROW][C]16[/C][C]0.760875109036246[/C][C]0.478249781927508[/C][C]0.239124890963754[/C][/ROW]
[ROW][C]17[/C][C]0.706912494401407[/C][C]0.586175011197185[/C][C]0.293087505598593[/C][/ROW]
[ROW][C]18[/C][C]0.639825523507958[/C][C]0.720348952984085[/C][C]0.360174476492042[/C][/ROW]
[ROW][C]19[/C][C]0.575147266793685[/C][C]0.84970546641263[/C][C]0.424852733206315[/C][/ROW]
[ROW][C]20[/C][C]0.527518791387305[/C][C]0.94496241722539[/C][C]0.472481208612695[/C][/ROW]
[ROW][C]21[/C][C]0.479324737711916[/C][C]0.958649475423832[/C][C]0.520675262288084[/C][/ROW]
[ROW][C]22[/C][C]0.591941475999033[/C][C]0.816117048001935[/C][C]0.408058524000967[/C][/ROW]
[ROW][C]23[/C][C]0.737495607855687[/C][C]0.525008784288627[/C][C]0.262504392144313[/C][/ROW]
[ROW][C]24[/C][C]0.83206463190508[/C][C]0.335870736189841[/C][C]0.167935368094920[/C][/ROW]
[ROW][C]25[/C][C]0.832430014884371[/C][C]0.335139970231258[/C][C]0.167569985115629[/C][/ROW]
[ROW][C]26[/C][C]0.787891798767473[/C][C]0.424216402465055[/C][C]0.212108201232527[/C][/ROW]
[ROW][C]27[/C][C]0.740185390571649[/C][C]0.519629218856702[/C][C]0.259814609428351[/C][/ROW]
[ROW][C]28[/C][C]0.680577585110782[/C][C]0.638844829778437[/C][C]0.319422414889218[/C][/ROW]
[ROW][C]29[/C][C]0.611691974748491[/C][C]0.776616050503018[/C][C]0.388308025251509[/C][/ROW]
[ROW][C]30[/C][C]0.541038992185947[/C][C]0.917922015628106[/C][C]0.458961007814053[/C][/ROW]
[ROW][C]31[/C][C]0.481625022030282[/C][C]0.963250044060564[/C][C]0.518374977969718[/C][/ROW]
[ROW][C]32[/C][C]0.430425301708665[/C][C]0.860850603417331[/C][C]0.569574698291335[/C][/ROW]
[ROW][C]33[/C][C]0.386023819945456[/C][C]0.772047639890913[/C][C]0.613976180054544[/C][/ROW]
[ROW][C]34[/C][C]0.413860246557343[/C][C]0.827720493114686[/C][C]0.586139753442657[/C][/ROW]
[ROW][C]35[/C][C]0.508548693440963[/C][C]0.982902613118074[/C][C]0.491451306559037[/C][/ROW]
[ROW][C]36[/C][C]0.60706886573098[/C][C]0.78586226853804[/C][C]0.39293113426902[/C][/ROW]
[ROW][C]37[/C][C]0.562514045964431[/C][C]0.874971908071139[/C][C]0.437485954035569[/C][/ROW]
[ROW][C]38[/C][C]0.501963438243579[/C][C]0.996073123512842[/C][C]0.498036561756421[/C][/ROW]
[ROW][C]39[/C][C]0.452254306159441[/C][C]0.904508612318883[/C][C]0.547745693840559[/C][/ROW]
[ROW][C]40[/C][C]0.504119104502622[/C][C]0.991761790994755[/C][C]0.495880895497378[/C][/ROW]
[ROW][C]41[/C][C]0.508624573319146[/C][C]0.982750853361707[/C][C]0.491375426680854[/C][/ROW]
[ROW][C]42[/C][C]0.459028395128307[/C][C]0.918056790256615[/C][C]0.540971604871693[/C][/ROW]
[ROW][C]43[/C][C]0.396510975391779[/C][C]0.793021950783559[/C][C]0.60348902460822[/C][/ROW]
[ROW][C]44[/C][C]0.340703594010359[/C][C]0.681407188020718[/C][C]0.659296405989641[/C][/ROW]
[ROW][C]45[/C][C]0.318474392077535[/C][C]0.63694878415507[/C][C]0.681525607922465[/C][/ROW]
[ROW][C]46[/C][C]0.394498520880316[/C][C]0.788997041760632[/C][C]0.605501479119684[/C][/ROW]
[ROW][C]47[/C][C]0.647905579700741[/C][C]0.704188840598517[/C][C]0.352094420299259[/C][/ROW]
[ROW][C]48[/C][C]0.703793642638615[/C][C]0.592412714722769[/C][C]0.296206357361385[/C][/ROW]
[ROW][C]49[/C][C]0.674646235579864[/C][C]0.650707528840271[/C][C]0.325353764420136[/C][/ROW]
[ROW][C]50[/C][C]0.587001040279759[/C][C]0.825997919440482[/C][C]0.412998959720241[/C][/ROW]
[ROW][C]51[/C][C]0.495247323665333[/C][C]0.990494647330665[/C][C]0.504752676334667[/C][/ROW]
[ROW][C]52[/C][C]0.409880015459667[/C][C]0.819760030919333[/C][C]0.590119984540333[/C][/ROW]
[ROW][C]53[/C][C]0.302900517092728[/C][C]0.605801034185457[/C][C]0.697099482907272[/C][/ROW]
[ROW][C]54[/C][C]0.219542790126657[/C][C]0.439085580253313[/C][C]0.780457209873343[/C][/ROW]
[ROW][C]55[/C][C]0.150019331156555[/C][C]0.300038662313109[/C][C]0.849980668843445[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35028&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35028&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.04313749979727930.08627499959455850.95686250020272
60.01253386629057790.02506773258115570.987466133709422
70.01369157337568520.02738314675137040.986308426624315
80.02645449579813830.05290899159627660.973545504201862
90.02019636319393290.04039272638786590.979803636806067
100.1833577822778100.3667155645556210.81664221772219
110.5707668032798930.8584663934402140.429233196720107
120.7736113794768350.4527772410463290.226388620523165
130.8527191441794390.2945617116411220.147280855820561
140.8303650023505190.3392699952989620.169634997649481
150.8049399208518670.3901201582962670.195060079148133
160.7608751090362460.4782497819275080.239124890963754
170.7069124944014070.5861750111971850.293087505598593
180.6398255235079580.7203489529840850.360174476492042
190.5751472667936850.849705466412630.424852733206315
200.5275187913873050.944962417225390.472481208612695
210.4793247377119160.9586494754238320.520675262288084
220.5919414759990330.8161170480019350.408058524000967
230.7374956078556870.5250087842886270.262504392144313
240.832064631905080.3358707361898410.167935368094920
250.8324300148843710.3351399702312580.167569985115629
260.7878917987674730.4242164024650550.212108201232527
270.7401853905716490.5196292188567020.259814609428351
280.6805775851107820.6388448297784370.319422414889218
290.6116919747484910.7766160505030180.388308025251509
300.5410389921859470.9179220156281060.458961007814053
310.4816250220302820.9632500440605640.518374977969718
320.4304253017086650.8608506034173310.569574698291335
330.3860238199454560.7720476398909130.613976180054544
340.4138602465573430.8277204931146860.586139753442657
350.5085486934409630.9829026131180740.491451306559037
360.607068865730980.785862268538040.39293113426902
370.5625140459644310.8749719080711390.437485954035569
380.5019634382435790.9960731235128420.498036561756421
390.4522543061594410.9045086123188830.547745693840559
400.5041191045026220.9917617909947550.495880895497378
410.5086245733191460.9827508533617070.491375426680854
420.4590283951283070.9180567902566150.540971604871693
430.3965109753917790.7930219507835590.60348902460822
440.3407035940103590.6814071880207180.659296405989641
450.3184743920775350.636948784155070.681525607922465
460.3944985208803160.7889970417606320.605501479119684
470.6479055797007410.7041888405985170.352094420299259
480.7037936426386150.5924127147227690.296206357361385
490.6746462355798640.6507075288402710.325353764420136
500.5870010402797590.8259979194404820.412998959720241
510.4952473236653330.9904946473306650.504752676334667
520.4098800154596670.8197600309193330.590119984540333
530.3029005170927280.6058010341854570.697099482907272
540.2195427901266570.4390855802533130.780457209873343
550.1500193311565550.3000386623131090.849980668843445







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

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

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



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