Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationMon, 01 Dec 2008 13:08:42 -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/01/t1228162307gjfg8zzxy5y3fph.htm/, Retrieved Sun, 05 May 2024 11:42:39 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=27312, Retrieved Sun, 05 May 2024 11:42:39 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact190
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [investeringen paper] [2008-12-01 20:08:42] [98255691c21504803b38711776845ae0] [Current]
-   PD    [Multiple Regression] [investeringen pap...] [2008-12-01 20:19:24] [7a664918911e34206ce9d0436dd7c1c8]
Feedback Forum

Post a new message
Dataseries X:
1202455	0
1201423	0
1505916	0
1513378	0
1977605	0
1873830	0
1424049	0
1322740	0
1584826	0
1680460	0
1648574	0
3095469	1
1307983	0
1367589	0
1572718	0
1611603	0
1641196	0
1845262	0
1464238	0
1402386	0
2077100	0
1691130	0
1729013	0
3347792	1
1365088	0
1545460	0
1844355	0
1775550	0
1721779	0
2128726	0
1664320	0
1769471	0
1904578	0
1872042	0
1802181	0
3222199	1
1491414	0
1658519	0
2079207	0
1748767	0
2084447	0
2067182	0
1718123	0
1782337	0
1958118	0
2028681	0
2076128	0
3383873	1
1870369	0
1654853	0
2074338	0
1888654	0
1991138	0
2168238	0
1867424	0
1842360	0
1927476	0
2065555	0
2455609	0
3336171	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 3 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27312&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]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27312&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27312&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 time3 seconds
R Server'George Udny Yule' @ 72.249.76.132







Multiple Linear Regression - Estimated Regression Equation
x[t] = + 1755235.65454546 + 1521865.14545455y[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
x[t] =  +  1755235.65454546 +  1521865.14545455y[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27312&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]x[t] =  +  1755235.65454546 +  1521865.14545455y[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27312&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27312&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
x[t] = + 1755235.65454546 + 1521865.14545455y[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)1755235.6545454635172.34762749.903900
y1521865.14545455121840.58622212.490600

\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) & 1755235.65454546 & 35172.347627 & 49.9039 & 0 & 0 \tabularnewline
y & 1521865.14545455 & 121840.586222 & 12.4906 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27312&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]1755235.65454546[/C][C]35172.347627[/C][C]49.9039[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]y[/C][C]1521865.14545455[/C][C]121840.586222[/C][C]12.4906[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27312&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27312&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)1755235.6545454635172.34762749.903900
y1521865.14545455121840.58622212.490600







Multiple Linear Regression - Regression Statistics
Multiple R0.853810213286966
R-squared0.728991880313135
Adjusted R-squared0.72431932652543
F-TEST (value)156.015727894116
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation260845.111256933
Sum Squared Residuals3946329979865.23

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.853810213286966 \tabularnewline
R-squared & 0.728991880313135 \tabularnewline
Adjusted R-squared & 0.72431932652543 \tabularnewline
F-TEST (value) & 156.015727894116 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 260845.111256933 \tabularnewline
Sum Squared Residuals & 3946329979865.23 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27312&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.853810213286966[/C][/ROW]
[ROW][C]R-squared[/C][C]0.728991880313135[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.72431932652543[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]156.015727894116[/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]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]260845.111256933[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]3946329979865.23[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27312&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27312&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.853810213286966
R-squared0.728991880313135
Adjusted R-squared0.72431932652543
F-TEST (value)156.015727894116
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation260845.111256933
Sum Squared Residuals3946329979865.23







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
112024551755235.65454545-552780.654545449
212014231755235.65454546-553812.654545457
315059161755235.65454545-249319.654545455
415133781755235.65454545-241857.654545455
519776051755235.65454545222369.345454545
618738301755235.65454545118594.345454545
714240491755235.65454545-331186.654545455
813227401755235.65454545-432495.654545455
915848261755235.65454545-170409.654545455
1016804601755235.65454545-74775.6545454546
1116485741755235.65454545-106661.654545455
1230954693277100.8-181631.8
1313079831755235.65454545-447252.654545455
1413675891755235.65454545-387646.654545455
1515727181755235.65454545-182517.654545455
1616116031755235.65454545-143632.654545455
1716411961755235.65454545-114039.654545455
1818452621755235.6545454590026.3454545454
1914642381755235.65454545-290997.654545455
2014023861755235.65454545-352849.654545455
2120771001755235.65454545321864.345454545
2216911301755235.65454545-64105.6545454546
2317290131755235.65454545-26222.6545454546
2433477923277100.870691.2
2513650881755235.65454545-390147.654545455
2615454601755235.65454545-209775.654545455
2718443551755235.6545454589119.3454545454
2817755501755235.6545454520314.3454545454
2917217791755235.65454545-33456.6545454546
3021287261755235.65454545373490.345454545
3116643201755235.65454545-90915.6545454546
3217694711755235.6545454514235.3454545454
3319045781755235.65454545149342.345454545
3418720421755235.65454545116806.345454545
3518021811755235.6545454546945.3454545454
3632221993277100.8-54901.7999999999
3714914141755235.65454545-263821.654545455
3816585191755235.65454545-96716.6545454546
3920792071755235.65454545323971.345454545
4017487671755235.65454545-6468.65454545458
4120844471755235.65454545329211.345454545
4220671821755235.65454545311946.345454545
4317181231755235.65454545-37112.6545454546
4417823371755235.6545454527101.3454545454
4519581181755235.65454545202882.345454545
4620286811755235.65454545273445.345454545
4720761281755235.65454545320892.345454545
4833838733277100.8106772.2
4918703691755235.65454545115133.345454545
5016548531755235.65454545-100382.654545455
5120743381755235.65454545319102.345454545
5218886541755235.65454545133418.345454545
5319911381755235.65454545235902.345454545
5421682381755235.65454545413002.345454545
5518674241755235.65454545112188.345454545
5618423601755235.6545454587124.3454545454
5719274761755235.65454545172240.345454545
5820655551755235.65454545310319.345454545
5924556091755235.65454545700373.345454545
6033361713277100.859070.2000000001

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1202455 & 1755235.65454545 & -552780.654545449 \tabularnewline
2 & 1201423 & 1755235.65454546 & -553812.654545457 \tabularnewline
3 & 1505916 & 1755235.65454545 & -249319.654545455 \tabularnewline
4 & 1513378 & 1755235.65454545 & -241857.654545455 \tabularnewline
5 & 1977605 & 1755235.65454545 & 222369.345454545 \tabularnewline
6 & 1873830 & 1755235.65454545 & 118594.345454545 \tabularnewline
7 & 1424049 & 1755235.65454545 & -331186.654545455 \tabularnewline
8 & 1322740 & 1755235.65454545 & -432495.654545455 \tabularnewline
9 & 1584826 & 1755235.65454545 & -170409.654545455 \tabularnewline
10 & 1680460 & 1755235.65454545 & -74775.6545454546 \tabularnewline
11 & 1648574 & 1755235.65454545 & -106661.654545455 \tabularnewline
12 & 3095469 & 3277100.8 & -181631.8 \tabularnewline
13 & 1307983 & 1755235.65454545 & -447252.654545455 \tabularnewline
14 & 1367589 & 1755235.65454545 & -387646.654545455 \tabularnewline
15 & 1572718 & 1755235.65454545 & -182517.654545455 \tabularnewline
16 & 1611603 & 1755235.65454545 & -143632.654545455 \tabularnewline
17 & 1641196 & 1755235.65454545 & -114039.654545455 \tabularnewline
18 & 1845262 & 1755235.65454545 & 90026.3454545454 \tabularnewline
19 & 1464238 & 1755235.65454545 & -290997.654545455 \tabularnewline
20 & 1402386 & 1755235.65454545 & -352849.654545455 \tabularnewline
21 & 2077100 & 1755235.65454545 & 321864.345454545 \tabularnewline
22 & 1691130 & 1755235.65454545 & -64105.6545454546 \tabularnewline
23 & 1729013 & 1755235.65454545 & -26222.6545454546 \tabularnewline
24 & 3347792 & 3277100.8 & 70691.2 \tabularnewline
25 & 1365088 & 1755235.65454545 & -390147.654545455 \tabularnewline
26 & 1545460 & 1755235.65454545 & -209775.654545455 \tabularnewline
27 & 1844355 & 1755235.65454545 & 89119.3454545454 \tabularnewline
28 & 1775550 & 1755235.65454545 & 20314.3454545454 \tabularnewline
29 & 1721779 & 1755235.65454545 & -33456.6545454546 \tabularnewline
30 & 2128726 & 1755235.65454545 & 373490.345454545 \tabularnewline
31 & 1664320 & 1755235.65454545 & -90915.6545454546 \tabularnewline
32 & 1769471 & 1755235.65454545 & 14235.3454545454 \tabularnewline
33 & 1904578 & 1755235.65454545 & 149342.345454545 \tabularnewline
34 & 1872042 & 1755235.65454545 & 116806.345454545 \tabularnewline
35 & 1802181 & 1755235.65454545 & 46945.3454545454 \tabularnewline
36 & 3222199 & 3277100.8 & -54901.7999999999 \tabularnewline
37 & 1491414 & 1755235.65454545 & -263821.654545455 \tabularnewline
38 & 1658519 & 1755235.65454545 & -96716.6545454546 \tabularnewline
39 & 2079207 & 1755235.65454545 & 323971.345454545 \tabularnewline
40 & 1748767 & 1755235.65454545 & -6468.65454545458 \tabularnewline
41 & 2084447 & 1755235.65454545 & 329211.345454545 \tabularnewline
42 & 2067182 & 1755235.65454545 & 311946.345454545 \tabularnewline
43 & 1718123 & 1755235.65454545 & -37112.6545454546 \tabularnewline
44 & 1782337 & 1755235.65454545 & 27101.3454545454 \tabularnewline
45 & 1958118 & 1755235.65454545 & 202882.345454545 \tabularnewline
46 & 2028681 & 1755235.65454545 & 273445.345454545 \tabularnewline
47 & 2076128 & 1755235.65454545 & 320892.345454545 \tabularnewline
48 & 3383873 & 3277100.8 & 106772.2 \tabularnewline
49 & 1870369 & 1755235.65454545 & 115133.345454545 \tabularnewline
50 & 1654853 & 1755235.65454545 & -100382.654545455 \tabularnewline
51 & 2074338 & 1755235.65454545 & 319102.345454545 \tabularnewline
52 & 1888654 & 1755235.65454545 & 133418.345454545 \tabularnewline
53 & 1991138 & 1755235.65454545 & 235902.345454545 \tabularnewline
54 & 2168238 & 1755235.65454545 & 413002.345454545 \tabularnewline
55 & 1867424 & 1755235.65454545 & 112188.345454545 \tabularnewline
56 & 1842360 & 1755235.65454545 & 87124.3454545454 \tabularnewline
57 & 1927476 & 1755235.65454545 & 172240.345454545 \tabularnewline
58 & 2065555 & 1755235.65454545 & 310319.345454545 \tabularnewline
59 & 2455609 & 1755235.65454545 & 700373.345454545 \tabularnewline
60 & 3336171 & 3277100.8 & 59070.2000000001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27312&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]1202455[/C][C]1755235.65454545[/C][C]-552780.654545449[/C][/ROW]
[ROW][C]2[/C][C]1201423[/C][C]1755235.65454546[/C][C]-553812.654545457[/C][/ROW]
[ROW][C]3[/C][C]1505916[/C][C]1755235.65454545[/C][C]-249319.654545455[/C][/ROW]
[ROW][C]4[/C][C]1513378[/C][C]1755235.65454545[/C][C]-241857.654545455[/C][/ROW]
[ROW][C]5[/C][C]1977605[/C][C]1755235.65454545[/C][C]222369.345454545[/C][/ROW]
[ROW][C]6[/C][C]1873830[/C][C]1755235.65454545[/C][C]118594.345454545[/C][/ROW]
[ROW][C]7[/C][C]1424049[/C][C]1755235.65454545[/C][C]-331186.654545455[/C][/ROW]
[ROW][C]8[/C][C]1322740[/C][C]1755235.65454545[/C][C]-432495.654545455[/C][/ROW]
[ROW][C]9[/C][C]1584826[/C][C]1755235.65454545[/C][C]-170409.654545455[/C][/ROW]
[ROW][C]10[/C][C]1680460[/C][C]1755235.65454545[/C][C]-74775.6545454546[/C][/ROW]
[ROW][C]11[/C][C]1648574[/C][C]1755235.65454545[/C][C]-106661.654545455[/C][/ROW]
[ROW][C]12[/C][C]3095469[/C][C]3277100.8[/C][C]-181631.8[/C][/ROW]
[ROW][C]13[/C][C]1307983[/C][C]1755235.65454545[/C][C]-447252.654545455[/C][/ROW]
[ROW][C]14[/C][C]1367589[/C][C]1755235.65454545[/C][C]-387646.654545455[/C][/ROW]
[ROW][C]15[/C][C]1572718[/C][C]1755235.65454545[/C][C]-182517.654545455[/C][/ROW]
[ROW][C]16[/C][C]1611603[/C][C]1755235.65454545[/C][C]-143632.654545455[/C][/ROW]
[ROW][C]17[/C][C]1641196[/C][C]1755235.65454545[/C][C]-114039.654545455[/C][/ROW]
[ROW][C]18[/C][C]1845262[/C][C]1755235.65454545[/C][C]90026.3454545454[/C][/ROW]
[ROW][C]19[/C][C]1464238[/C][C]1755235.65454545[/C][C]-290997.654545455[/C][/ROW]
[ROW][C]20[/C][C]1402386[/C][C]1755235.65454545[/C][C]-352849.654545455[/C][/ROW]
[ROW][C]21[/C][C]2077100[/C][C]1755235.65454545[/C][C]321864.345454545[/C][/ROW]
[ROW][C]22[/C][C]1691130[/C][C]1755235.65454545[/C][C]-64105.6545454546[/C][/ROW]
[ROW][C]23[/C][C]1729013[/C][C]1755235.65454545[/C][C]-26222.6545454546[/C][/ROW]
[ROW][C]24[/C][C]3347792[/C][C]3277100.8[/C][C]70691.2[/C][/ROW]
[ROW][C]25[/C][C]1365088[/C][C]1755235.65454545[/C][C]-390147.654545455[/C][/ROW]
[ROW][C]26[/C][C]1545460[/C][C]1755235.65454545[/C][C]-209775.654545455[/C][/ROW]
[ROW][C]27[/C][C]1844355[/C][C]1755235.65454545[/C][C]89119.3454545454[/C][/ROW]
[ROW][C]28[/C][C]1775550[/C][C]1755235.65454545[/C][C]20314.3454545454[/C][/ROW]
[ROW][C]29[/C][C]1721779[/C][C]1755235.65454545[/C][C]-33456.6545454546[/C][/ROW]
[ROW][C]30[/C][C]2128726[/C][C]1755235.65454545[/C][C]373490.345454545[/C][/ROW]
[ROW][C]31[/C][C]1664320[/C][C]1755235.65454545[/C][C]-90915.6545454546[/C][/ROW]
[ROW][C]32[/C][C]1769471[/C][C]1755235.65454545[/C][C]14235.3454545454[/C][/ROW]
[ROW][C]33[/C][C]1904578[/C][C]1755235.65454545[/C][C]149342.345454545[/C][/ROW]
[ROW][C]34[/C][C]1872042[/C][C]1755235.65454545[/C][C]116806.345454545[/C][/ROW]
[ROW][C]35[/C][C]1802181[/C][C]1755235.65454545[/C][C]46945.3454545454[/C][/ROW]
[ROW][C]36[/C][C]3222199[/C][C]3277100.8[/C][C]-54901.7999999999[/C][/ROW]
[ROW][C]37[/C][C]1491414[/C][C]1755235.65454545[/C][C]-263821.654545455[/C][/ROW]
[ROW][C]38[/C][C]1658519[/C][C]1755235.65454545[/C][C]-96716.6545454546[/C][/ROW]
[ROW][C]39[/C][C]2079207[/C][C]1755235.65454545[/C][C]323971.345454545[/C][/ROW]
[ROW][C]40[/C][C]1748767[/C][C]1755235.65454545[/C][C]-6468.65454545458[/C][/ROW]
[ROW][C]41[/C][C]2084447[/C][C]1755235.65454545[/C][C]329211.345454545[/C][/ROW]
[ROW][C]42[/C][C]2067182[/C][C]1755235.65454545[/C][C]311946.345454545[/C][/ROW]
[ROW][C]43[/C][C]1718123[/C][C]1755235.65454545[/C][C]-37112.6545454546[/C][/ROW]
[ROW][C]44[/C][C]1782337[/C][C]1755235.65454545[/C][C]27101.3454545454[/C][/ROW]
[ROW][C]45[/C][C]1958118[/C][C]1755235.65454545[/C][C]202882.345454545[/C][/ROW]
[ROW][C]46[/C][C]2028681[/C][C]1755235.65454545[/C][C]273445.345454545[/C][/ROW]
[ROW][C]47[/C][C]2076128[/C][C]1755235.65454545[/C][C]320892.345454545[/C][/ROW]
[ROW][C]48[/C][C]3383873[/C][C]3277100.8[/C][C]106772.2[/C][/ROW]
[ROW][C]49[/C][C]1870369[/C][C]1755235.65454545[/C][C]115133.345454545[/C][/ROW]
[ROW][C]50[/C][C]1654853[/C][C]1755235.65454545[/C][C]-100382.654545455[/C][/ROW]
[ROW][C]51[/C][C]2074338[/C][C]1755235.65454545[/C][C]319102.345454545[/C][/ROW]
[ROW][C]52[/C][C]1888654[/C][C]1755235.65454545[/C][C]133418.345454545[/C][/ROW]
[ROW][C]53[/C][C]1991138[/C][C]1755235.65454545[/C][C]235902.345454545[/C][/ROW]
[ROW][C]54[/C][C]2168238[/C][C]1755235.65454545[/C][C]413002.345454545[/C][/ROW]
[ROW][C]55[/C][C]1867424[/C][C]1755235.65454545[/C][C]112188.345454545[/C][/ROW]
[ROW][C]56[/C][C]1842360[/C][C]1755235.65454545[/C][C]87124.3454545454[/C][/ROW]
[ROW][C]57[/C][C]1927476[/C][C]1755235.65454545[/C][C]172240.345454545[/C][/ROW]
[ROW][C]58[/C][C]2065555[/C][C]1755235.65454545[/C][C]310319.345454545[/C][/ROW]
[ROW][C]59[/C][C]2455609[/C][C]1755235.65454545[/C][C]700373.345454545[/C][/ROW]
[ROW][C]60[/C][C]3336171[/C][C]3277100.8[/C][C]59070.2000000001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27312&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27312&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
112024551755235.65454545-552780.654545449
212014231755235.65454546-553812.654545457
315059161755235.65454545-249319.654545455
415133781755235.65454545-241857.654545455
519776051755235.65454545222369.345454545
618738301755235.65454545118594.345454545
714240491755235.65454545-331186.654545455
813227401755235.65454545-432495.654545455
915848261755235.65454545-170409.654545455
1016804601755235.65454545-74775.6545454546
1116485741755235.65454545-106661.654545455
1230954693277100.8-181631.8
1313079831755235.65454545-447252.654545455
1413675891755235.65454545-387646.654545455
1515727181755235.65454545-182517.654545455
1616116031755235.65454545-143632.654545455
1716411961755235.65454545-114039.654545455
1818452621755235.6545454590026.3454545454
1914642381755235.65454545-290997.654545455
2014023861755235.65454545-352849.654545455
2120771001755235.65454545321864.345454545
2216911301755235.65454545-64105.6545454546
2317290131755235.65454545-26222.6545454546
2433477923277100.870691.2
2513650881755235.65454545-390147.654545455
2615454601755235.65454545-209775.654545455
2718443551755235.6545454589119.3454545454
2817755501755235.6545454520314.3454545454
2917217791755235.65454545-33456.6545454546
3021287261755235.65454545373490.345454545
3116643201755235.65454545-90915.6545454546
3217694711755235.6545454514235.3454545454
3319045781755235.65454545149342.345454545
3418720421755235.65454545116806.345454545
3518021811755235.6545454546945.3454545454
3632221993277100.8-54901.7999999999
3714914141755235.65454545-263821.654545455
3816585191755235.65454545-96716.6545454546
3920792071755235.65454545323971.345454545
4017487671755235.65454545-6468.65454545458
4120844471755235.65454545329211.345454545
4220671821755235.65454545311946.345454545
4317181231755235.65454545-37112.6545454546
4417823371755235.6545454527101.3454545454
4519581181755235.65454545202882.345454545
4620286811755235.65454545273445.345454545
4720761281755235.65454545320892.345454545
4833838733277100.8106772.2
4918703691755235.65454545115133.345454545
5016548531755235.65454545-100382.654545455
5120743381755235.65454545319102.345454545
5218886541755235.65454545133418.345454545
5319911381755235.65454545235902.345454545
5421682381755235.65454545413002.345454545
5518674241755235.65454545112188.345454545
5618423601755235.6545454587124.3454545454
5719274761755235.65454545172240.345454545
5820655551755235.65454545310319.345454545
5924556091755235.65454545700373.345454545
6033361713277100.859070.2000000001







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.9104069909670860.1791860180658280.089593009032914
60.9208765598257130.1582468803485740.0791234401742872
70.8828452066073660.2343095867852680.117154793392634
80.8724436364041480.2551127271917040.127556363595852
90.815834765592310.3683304688153810.184165234407691
100.7633195118838780.4733609762322430.236680488116122
110.6959649560690530.6080700878618940.304035043930947
120.613604382537710.772791234924580.38639561746229
130.6609488835846490.6781022328307030.339051116415351
140.6730261318137490.6539477363725030.326973868186251
150.6188965755213530.7622068489572940.381103424478647
160.5652830026970230.8694339946059530.434716997302977
170.5144578674701930.9710842650596140.485542132529807
180.5438433793321830.9123132413356350.456156620667817
190.542225686086090.915548627827820.45777431391391
200.5998588343765960.8002823312468070.400141165623404
210.7989751554174370.4020496891651260.201024844582563
220.7661350987141890.4677298025716220.233864901285811
230.731977085719790.536045828560420.26802291428021
240.689280396402970.6214392071940610.310719603597031
250.8123785562737520.3752428874524970.187621443726248
260.8317256379078580.3365487241842830.168274362092142
270.8239098511793390.3521802976413220.176090148820661
280.8031682128474320.3936635743051360.196831787152568
290.7827981222062690.4344037555874630.217201877793731
300.8828237206554480.2343525586891040.117176279344552
310.8764508459371440.2470983081257110.123549154062856
320.8557706957191040.2884586085617920.144229304280896
330.8385028496466750.3229943007066500.161497150353325
340.8117628064167070.3764743871665870.188237193583293
350.7790188071909340.4419623856181320.220981192809066
360.7273746147637340.5452507704725320.272625385236266
370.8504931548465810.2990136903068370.149506845153419
380.8758423316766240.2483153366467530.124157668323376
390.889747473804510.2205050523909780.110252526195489
400.8863514937021280.2272970125957440.113648506297872
410.8914035041106220.2171929917787550.108596495889378
420.8861221145636120.2277557708727750.113877885436388
430.8921452423071730.2157095153856540.107854757692827
440.8837488342940140.2325023314119720.116251165705986
450.8473510741307280.3052978517385440.152648925869272
460.8099492031199720.3801015937600570.190050796880028
470.7779676920755650.4440646158488710.222032307924435
480.6999407303351740.6001185393296520.300059269664826
490.6308112303771510.7383775392456970.369188769622849
500.7476978998158450.504604200368310.252302100184155
510.6739876689224880.6520246621550240.326012331077512
520.6035301419321390.7929397161357220.396469858067861
530.489866343748360.979732687496720.51013365625164
540.4093772169693930.8187544339387850.590622783030607
550.3235193799410450.647038759882090.676480620058955

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.910406990967086 & 0.179186018065828 & 0.089593009032914 \tabularnewline
6 & 0.920876559825713 & 0.158246880348574 & 0.0791234401742872 \tabularnewline
7 & 0.882845206607366 & 0.234309586785268 & 0.117154793392634 \tabularnewline
8 & 0.872443636404148 & 0.255112727191704 & 0.127556363595852 \tabularnewline
9 & 0.81583476559231 & 0.368330468815381 & 0.184165234407691 \tabularnewline
10 & 0.763319511883878 & 0.473360976232243 & 0.236680488116122 \tabularnewline
11 & 0.695964956069053 & 0.608070087861894 & 0.304035043930947 \tabularnewline
12 & 0.61360438253771 & 0.77279123492458 & 0.38639561746229 \tabularnewline
13 & 0.660948883584649 & 0.678102232830703 & 0.339051116415351 \tabularnewline
14 & 0.673026131813749 & 0.653947736372503 & 0.326973868186251 \tabularnewline
15 & 0.618896575521353 & 0.762206848957294 & 0.381103424478647 \tabularnewline
16 & 0.565283002697023 & 0.869433994605953 & 0.434716997302977 \tabularnewline
17 & 0.514457867470193 & 0.971084265059614 & 0.485542132529807 \tabularnewline
18 & 0.543843379332183 & 0.912313241335635 & 0.456156620667817 \tabularnewline
19 & 0.54222568608609 & 0.91554862782782 & 0.45777431391391 \tabularnewline
20 & 0.599858834376596 & 0.800282331246807 & 0.400141165623404 \tabularnewline
21 & 0.798975155417437 & 0.402049689165126 & 0.201024844582563 \tabularnewline
22 & 0.766135098714189 & 0.467729802571622 & 0.233864901285811 \tabularnewline
23 & 0.73197708571979 & 0.53604582856042 & 0.26802291428021 \tabularnewline
24 & 0.68928039640297 & 0.621439207194061 & 0.310719603597031 \tabularnewline
25 & 0.812378556273752 & 0.375242887452497 & 0.187621443726248 \tabularnewline
26 & 0.831725637907858 & 0.336548724184283 & 0.168274362092142 \tabularnewline
27 & 0.823909851179339 & 0.352180297641322 & 0.176090148820661 \tabularnewline
28 & 0.803168212847432 & 0.393663574305136 & 0.196831787152568 \tabularnewline
29 & 0.782798122206269 & 0.434403755587463 & 0.217201877793731 \tabularnewline
30 & 0.882823720655448 & 0.234352558689104 & 0.117176279344552 \tabularnewline
31 & 0.876450845937144 & 0.247098308125711 & 0.123549154062856 \tabularnewline
32 & 0.855770695719104 & 0.288458608561792 & 0.144229304280896 \tabularnewline
33 & 0.838502849646675 & 0.322994300706650 & 0.161497150353325 \tabularnewline
34 & 0.811762806416707 & 0.376474387166587 & 0.188237193583293 \tabularnewline
35 & 0.779018807190934 & 0.441962385618132 & 0.220981192809066 \tabularnewline
36 & 0.727374614763734 & 0.545250770472532 & 0.272625385236266 \tabularnewline
37 & 0.850493154846581 & 0.299013690306837 & 0.149506845153419 \tabularnewline
38 & 0.875842331676624 & 0.248315336646753 & 0.124157668323376 \tabularnewline
39 & 0.88974747380451 & 0.220505052390978 & 0.110252526195489 \tabularnewline
40 & 0.886351493702128 & 0.227297012595744 & 0.113648506297872 \tabularnewline
41 & 0.891403504110622 & 0.217192991778755 & 0.108596495889378 \tabularnewline
42 & 0.886122114563612 & 0.227755770872775 & 0.113877885436388 \tabularnewline
43 & 0.892145242307173 & 0.215709515385654 & 0.107854757692827 \tabularnewline
44 & 0.883748834294014 & 0.232502331411972 & 0.116251165705986 \tabularnewline
45 & 0.847351074130728 & 0.305297851738544 & 0.152648925869272 \tabularnewline
46 & 0.809949203119972 & 0.380101593760057 & 0.190050796880028 \tabularnewline
47 & 0.777967692075565 & 0.444064615848871 & 0.222032307924435 \tabularnewline
48 & 0.699940730335174 & 0.600118539329652 & 0.300059269664826 \tabularnewline
49 & 0.630811230377151 & 0.738377539245697 & 0.369188769622849 \tabularnewline
50 & 0.747697899815845 & 0.50460420036831 & 0.252302100184155 \tabularnewline
51 & 0.673987668922488 & 0.652024662155024 & 0.326012331077512 \tabularnewline
52 & 0.603530141932139 & 0.792939716135722 & 0.396469858067861 \tabularnewline
53 & 0.48986634374836 & 0.97973268749672 & 0.51013365625164 \tabularnewline
54 & 0.409377216969393 & 0.818754433938785 & 0.590622783030607 \tabularnewline
55 & 0.323519379941045 & 0.64703875988209 & 0.676480620058955 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27312&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.910406990967086[/C][C]0.179186018065828[/C][C]0.089593009032914[/C][/ROW]
[ROW][C]6[/C][C]0.920876559825713[/C][C]0.158246880348574[/C][C]0.0791234401742872[/C][/ROW]
[ROW][C]7[/C][C]0.882845206607366[/C][C]0.234309586785268[/C][C]0.117154793392634[/C][/ROW]
[ROW][C]8[/C][C]0.872443636404148[/C][C]0.255112727191704[/C][C]0.127556363595852[/C][/ROW]
[ROW][C]9[/C][C]0.81583476559231[/C][C]0.368330468815381[/C][C]0.184165234407691[/C][/ROW]
[ROW][C]10[/C][C]0.763319511883878[/C][C]0.473360976232243[/C][C]0.236680488116122[/C][/ROW]
[ROW][C]11[/C][C]0.695964956069053[/C][C]0.608070087861894[/C][C]0.304035043930947[/C][/ROW]
[ROW][C]12[/C][C]0.61360438253771[/C][C]0.77279123492458[/C][C]0.38639561746229[/C][/ROW]
[ROW][C]13[/C][C]0.660948883584649[/C][C]0.678102232830703[/C][C]0.339051116415351[/C][/ROW]
[ROW][C]14[/C][C]0.673026131813749[/C][C]0.653947736372503[/C][C]0.326973868186251[/C][/ROW]
[ROW][C]15[/C][C]0.618896575521353[/C][C]0.762206848957294[/C][C]0.381103424478647[/C][/ROW]
[ROW][C]16[/C][C]0.565283002697023[/C][C]0.869433994605953[/C][C]0.434716997302977[/C][/ROW]
[ROW][C]17[/C][C]0.514457867470193[/C][C]0.971084265059614[/C][C]0.485542132529807[/C][/ROW]
[ROW][C]18[/C][C]0.543843379332183[/C][C]0.912313241335635[/C][C]0.456156620667817[/C][/ROW]
[ROW][C]19[/C][C]0.54222568608609[/C][C]0.91554862782782[/C][C]0.45777431391391[/C][/ROW]
[ROW][C]20[/C][C]0.599858834376596[/C][C]0.800282331246807[/C][C]0.400141165623404[/C][/ROW]
[ROW][C]21[/C][C]0.798975155417437[/C][C]0.402049689165126[/C][C]0.201024844582563[/C][/ROW]
[ROW][C]22[/C][C]0.766135098714189[/C][C]0.467729802571622[/C][C]0.233864901285811[/C][/ROW]
[ROW][C]23[/C][C]0.73197708571979[/C][C]0.53604582856042[/C][C]0.26802291428021[/C][/ROW]
[ROW][C]24[/C][C]0.68928039640297[/C][C]0.621439207194061[/C][C]0.310719603597031[/C][/ROW]
[ROW][C]25[/C][C]0.812378556273752[/C][C]0.375242887452497[/C][C]0.187621443726248[/C][/ROW]
[ROW][C]26[/C][C]0.831725637907858[/C][C]0.336548724184283[/C][C]0.168274362092142[/C][/ROW]
[ROW][C]27[/C][C]0.823909851179339[/C][C]0.352180297641322[/C][C]0.176090148820661[/C][/ROW]
[ROW][C]28[/C][C]0.803168212847432[/C][C]0.393663574305136[/C][C]0.196831787152568[/C][/ROW]
[ROW][C]29[/C][C]0.782798122206269[/C][C]0.434403755587463[/C][C]0.217201877793731[/C][/ROW]
[ROW][C]30[/C][C]0.882823720655448[/C][C]0.234352558689104[/C][C]0.117176279344552[/C][/ROW]
[ROW][C]31[/C][C]0.876450845937144[/C][C]0.247098308125711[/C][C]0.123549154062856[/C][/ROW]
[ROW][C]32[/C][C]0.855770695719104[/C][C]0.288458608561792[/C][C]0.144229304280896[/C][/ROW]
[ROW][C]33[/C][C]0.838502849646675[/C][C]0.322994300706650[/C][C]0.161497150353325[/C][/ROW]
[ROW][C]34[/C][C]0.811762806416707[/C][C]0.376474387166587[/C][C]0.188237193583293[/C][/ROW]
[ROW][C]35[/C][C]0.779018807190934[/C][C]0.441962385618132[/C][C]0.220981192809066[/C][/ROW]
[ROW][C]36[/C][C]0.727374614763734[/C][C]0.545250770472532[/C][C]0.272625385236266[/C][/ROW]
[ROW][C]37[/C][C]0.850493154846581[/C][C]0.299013690306837[/C][C]0.149506845153419[/C][/ROW]
[ROW][C]38[/C][C]0.875842331676624[/C][C]0.248315336646753[/C][C]0.124157668323376[/C][/ROW]
[ROW][C]39[/C][C]0.88974747380451[/C][C]0.220505052390978[/C][C]0.110252526195489[/C][/ROW]
[ROW][C]40[/C][C]0.886351493702128[/C][C]0.227297012595744[/C][C]0.113648506297872[/C][/ROW]
[ROW][C]41[/C][C]0.891403504110622[/C][C]0.217192991778755[/C][C]0.108596495889378[/C][/ROW]
[ROW][C]42[/C][C]0.886122114563612[/C][C]0.227755770872775[/C][C]0.113877885436388[/C][/ROW]
[ROW][C]43[/C][C]0.892145242307173[/C][C]0.215709515385654[/C][C]0.107854757692827[/C][/ROW]
[ROW][C]44[/C][C]0.883748834294014[/C][C]0.232502331411972[/C][C]0.116251165705986[/C][/ROW]
[ROW][C]45[/C][C]0.847351074130728[/C][C]0.305297851738544[/C][C]0.152648925869272[/C][/ROW]
[ROW][C]46[/C][C]0.809949203119972[/C][C]0.380101593760057[/C][C]0.190050796880028[/C][/ROW]
[ROW][C]47[/C][C]0.777967692075565[/C][C]0.444064615848871[/C][C]0.222032307924435[/C][/ROW]
[ROW][C]48[/C][C]0.699940730335174[/C][C]0.600118539329652[/C][C]0.300059269664826[/C][/ROW]
[ROW][C]49[/C][C]0.630811230377151[/C][C]0.738377539245697[/C][C]0.369188769622849[/C][/ROW]
[ROW][C]50[/C][C]0.747697899815845[/C][C]0.50460420036831[/C][C]0.252302100184155[/C][/ROW]
[ROW][C]51[/C][C]0.673987668922488[/C][C]0.652024662155024[/C][C]0.326012331077512[/C][/ROW]
[ROW][C]52[/C][C]0.603530141932139[/C][C]0.792939716135722[/C][C]0.396469858067861[/C][/ROW]
[ROW][C]53[/C][C]0.48986634374836[/C][C]0.97973268749672[/C][C]0.51013365625164[/C][/ROW]
[ROW][C]54[/C][C]0.409377216969393[/C][C]0.818754433938785[/C][C]0.590622783030607[/C][/ROW]
[ROW][C]55[/C][C]0.323519379941045[/C][C]0.64703875988209[/C][C]0.676480620058955[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27312&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27312&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.9104069909670860.1791860180658280.089593009032914
60.9208765598257130.1582468803485740.0791234401742872
70.8828452066073660.2343095867852680.117154793392634
80.8724436364041480.2551127271917040.127556363595852
90.815834765592310.3683304688153810.184165234407691
100.7633195118838780.4733609762322430.236680488116122
110.6959649560690530.6080700878618940.304035043930947
120.613604382537710.772791234924580.38639561746229
130.6609488835846490.6781022328307030.339051116415351
140.6730261318137490.6539477363725030.326973868186251
150.6188965755213530.7622068489572940.381103424478647
160.5652830026970230.8694339946059530.434716997302977
170.5144578674701930.9710842650596140.485542132529807
180.5438433793321830.9123132413356350.456156620667817
190.542225686086090.915548627827820.45777431391391
200.5998588343765960.8002823312468070.400141165623404
210.7989751554174370.4020496891651260.201024844582563
220.7661350987141890.4677298025716220.233864901285811
230.731977085719790.536045828560420.26802291428021
240.689280396402970.6214392071940610.310719603597031
250.8123785562737520.3752428874524970.187621443726248
260.8317256379078580.3365487241842830.168274362092142
270.8239098511793390.3521802976413220.176090148820661
280.8031682128474320.3936635743051360.196831787152568
290.7827981222062690.4344037555874630.217201877793731
300.8828237206554480.2343525586891040.117176279344552
310.8764508459371440.2470983081257110.123549154062856
320.8557706957191040.2884586085617920.144229304280896
330.8385028496466750.3229943007066500.161497150353325
340.8117628064167070.3764743871665870.188237193583293
350.7790188071909340.4419623856181320.220981192809066
360.7273746147637340.5452507704725320.272625385236266
370.8504931548465810.2990136903068370.149506845153419
380.8758423316766240.2483153366467530.124157668323376
390.889747473804510.2205050523909780.110252526195489
400.8863514937021280.2272970125957440.113648506297872
410.8914035041106220.2171929917787550.108596495889378
420.8861221145636120.2277557708727750.113877885436388
430.8921452423071730.2157095153856540.107854757692827
440.8837488342940140.2325023314119720.116251165705986
450.8473510741307280.3052978517385440.152648925869272
460.8099492031199720.3801015937600570.190050796880028
470.7779676920755650.4440646158488710.222032307924435
480.6999407303351740.6001185393296520.300059269664826
490.6308112303771510.7383775392456970.369188769622849
500.7476978998158450.504604200368310.252302100184155
510.6739876689224880.6520246621550240.326012331077512
520.6035301419321390.7929397161357220.396469858067861
530.489866343748360.979732687496720.51013365625164
540.4093772169693930.8187544339387850.590622783030607
550.3235193799410450.647038759882090.676480620058955







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

\begin{tabular}{lllllllll}
\hline
Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
Description & # significant tests & % significant tests & OK/NOK \tabularnewline
1% type I error level & 0 & 0 & OK \tabularnewline
5% type I error level & 0 & 0 & OK \tabularnewline
10% type I error level & 0 & 0 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27312&T=6

[TABLE]
[ROW][C]Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]Description[/C][C]# significant tests[/C][C]% significant tests[/C][C]OK/NOK[/C][/ROW]
[ROW][C]1% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27312&T=6

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

As an alternative you can also use a QR Code:  

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

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



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