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, 12 Dec 2008 08:01:15 -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/12/t1229094143puyq4t76e5x3pv4.htm/, Retrieved Sat, 18 May 2024 08:53:22 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=32827, Retrieved Sat, 18 May 2024 08:53:22 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact179
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 PD    [Multiple Regression] [Multiple Lineair ...] [2008-12-12 15:01:15] [541f63fa3157af9df10fc4d202b2a90b] [Current]
-   PD      [Multiple Regression] [Multiple Lineair ...] [2008-12-12 15:05:09] [b47fceb71c9525e79a89b5fc6d023d0e]
Feedback Forum

Post a new message
Dataseries X:
91,2	0
99,2	0
108,2	0
101,5	0
106,9	0
104,4	0
77,9	0
60	0
99,5	0
95	0
105,6	0
102,5	0
93,3	0
97,3	0
127	0
111,7	0
96,4	0
133	0
72,2	0
95,8	0
124,1	0
127,6	0
110,7	0
104,6	0
112,7	0
115,3	0
139,4	0
119	0
97,4	0
154	0
81,5	0
88,8	0
127,7	1
105,1	1
114,9	1
106,4	1
104,5	1
121,6	1
141,4	1
99	1
126,7	1
134,1	1
81,3	1
88,6	1
132,7	1
132,9	1
134,4	1
103,7	1
119,7	1
115	1
132,9	1
108,5	1
113,9	1
142	1
97,7	1
92,2	1
128,8	1
134,9	1
128,2	1
114,8	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time7 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 & 7 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32827&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]7 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=32827&T=0

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







Multiple Linear Regression - Estimated Regression Equation
Transportmiddelen[t] = + 96.4804960208562 -2.66374911792379Conjunctuur[t] + 0.504401756311745t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Transportmiddelen[t] =  +  96.4804960208562 -2.66374911792379Conjunctuur[t] +  0.504401756311745t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32827&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Transportmiddelen[t] =  +  96.4804960208562 -2.66374911792379Conjunctuur[t] +  0.504401756311745t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32827&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32827&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
Transportmiddelen[t] = + 96.4804960208562 -2.66374911792379Conjunctuur[t] + 0.504401756311745t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)96.48049602085625.34918818.036500
Conjunctuur-2.663749117923799.119563-0.29210.7712770.385638
t0.5044017563117450.262711.920.0598680.029934

\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) & 96.4804960208562 & 5.349188 & 18.0365 & 0 & 0 \tabularnewline
Conjunctuur & -2.66374911792379 & 9.119563 & -0.2921 & 0.771277 & 0.385638 \tabularnewline
t & 0.504401756311745 & 0.26271 & 1.92 & 0.059868 & 0.029934 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32827&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]96.4804960208562[/C][C]5.349188[/C][C]18.0365[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Conjunctuur[/C][C]-2.66374911792379[/C][C]9.119563[/C][C]-0.2921[/C][C]0.771277[/C][C]0.385638[/C][/ROW]
[ROW][C]t[/C][C]0.504401756311745[/C][C]0.26271[/C][C]1.92[/C][C]0.059868[/C][C]0.029934[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32827&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32827&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)96.48049602085625.34918818.036500
Conjunctuur-2.663749117923799.119563-0.29210.7712770.385638
t0.5044017563117450.262711.920.0598680.029934







Multiple Linear Regression - Regression Statistics
Multiple R0.40328581964221
R-squared0.162639452324489
Adjusted R-squared0.133258380476226
F-TEST (value)5.53551800847939
F-TEST (DF numerator)2
F-TEST (DF denominator)57
p-value0.00635339875354957
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation17.7304864693868
Sum Squared Residuals17919.0985751431

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.40328581964221 \tabularnewline
R-squared & 0.162639452324489 \tabularnewline
Adjusted R-squared & 0.133258380476226 \tabularnewline
F-TEST (value) & 5.53551800847939 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 57 \tabularnewline
p-value & 0.00635339875354957 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 17.7304864693868 \tabularnewline
Sum Squared Residuals & 17919.0985751431 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32827&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.40328581964221[/C][/ROW]
[ROW][C]R-squared[/C][C]0.162639452324489[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.133258380476226[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]5.53551800847939[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]2[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]57[/C][/ROW]
[ROW][C]p-value[/C][C]0.00635339875354957[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]17.7304864693868[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]17919.0985751431[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32827&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32827&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.40328581964221
R-squared0.162639452324489
Adjusted R-squared0.133258380476226
F-TEST (value)5.53551800847939
F-TEST (DF numerator)2
F-TEST (DF denominator)57
p-value0.00635339875354957
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation17.7304864693868
Sum Squared Residuals17919.0985751431







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
191.296.9848977771678-5.78489777716781
299.297.48929953347971.71070046652032
3108.297.993701289791510.2062987102085
4101.598.49810304610323.00189695389681
5106.999.0025048024157.89749519758507
6104.499.50690655872674.89309344127332
777.9100.011308315038-22.1113083150384
860100.515710071350-40.5157100713502
999.5101.020111827662-1.52011182766192
1095101.524513583974-6.52451358397366
11105.6102.0289153402853.57108465971459
12102.5102.533317096597-0.0333170965971528
1393.3103.037718852909-9.7377188529089
1497.3103.542120609221-6.24212060922065
15127104.04652236553222.9534776344676
16111.7104.5509241218447.14907587815587
1796.4105.055325878156-8.65532587815587
18133105.55972763446827.4402723655324
1972.2106.064129390779-33.8641293907794
2095.8106.568531147091-10.7685311470911
21124.1107.07293290340317.0270670965971
22127.6107.57733465971520.0226653402854
23110.7108.0817364160262.61826358397366
24104.6108.586138172338-3.9861381723381
25112.7109.0905399286503.60946007135017
26115.3109.5949416849625.70505831503842
27139.4110.09934344127329.3006565587267
28119110.6037451975858.39625480241493
2997.4111.108146953897-13.7081469538968
30154111.61254871020942.3874512897914
3181.5112.116950466520-30.6169504665203
3288.8112.621352222832-23.8213522228321
33127.7110.4620048612217.23799513878
34105.1110.966406617532-5.86640661753177
35114.9111.4708083738443.4291916261565
36106.4111.975210130155-5.57521013015525
37104.5112.479611886467-7.979611886467
38121.6112.9840136427798.61598635722126
39141.4113.48841539909027.9115846009095
4099113.992817155402-14.9928171554022
41126.7114.49721891171412.2027810882860
42134.1115.00162066802619.0983793319743
4381.3115.506022424337-34.2060224243375
4488.6116.010424180649-27.4104241806492
45132.7116.51482593696116.1851740630390
46132.9117.01922769327315.8807723067273
47134.4117.52362944958416.8763705504156
48103.7118.028031205896-14.3280312058962
49119.7118.5324329622081.16756703779207
50115119.036834718520-4.03683471851968
51132.9119.54123647483113.3587635251686
52108.5120.045638231143-11.5456382311432
53113.9120.550039987455-6.65003998745491
54142121.05444174376720.9455582562333
5597.7121.558843500078-23.8588435000784
5692.2122.063245256390-29.8632452563901
57128.8122.5676470127026.23235298729812
58134.9123.07204876901411.8279512309864
59128.2123.5764505253254.62354947467460
60114.8124.080852281637-9.28085228163713

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 91.2 & 96.9848977771678 & -5.78489777716781 \tabularnewline
2 & 99.2 & 97.4892995334797 & 1.71070046652032 \tabularnewline
3 & 108.2 & 97.9937012897915 & 10.2062987102085 \tabularnewline
4 & 101.5 & 98.4981030461032 & 3.00189695389681 \tabularnewline
5 & 106.9 & 99.002504802415 & 7.89749519758507 \tabularnewline
6 & 104.4 & 99.5069065587267 & 4.89309344127332 \tabularnewline
7 & 77.9 & 100.011308315038 & -22.1113083150384 \tabularnewline
8 & 60 & 100.515710071350 & -40.5157100713502 \tabularnewline
9 & 99.5 & 101.020111827662 & -1.52011182766192 \tabularnewline
10 & 95 & 101.524513583974 & -6.52451358397366 \tabularnewline
11 & 105.6 & 102.028915340285 & 3.57108465971459 \tabularnewline
12 & 102.5 & 102.533317096597 & -0.0333170965971528 \tabularnewline
13 & 93.3 & 103.037718852909 & -9.7377188529089 \tabularnewline
14 & 97.3 & 103.542120609221 & -6.24212060922065 \tabularnewline
15 & 127 & 104.046522365532 & 22.9534776344676 \tabularnewline
16 & 111.7 & 104.550924121844 & 7.14907587815587 \tabularnewline
17 & 96.4 & 105.055325878156 & -8.65532587815587 \tabularnewline
18 & 133 & 105.559727634468 & 27.4402723655324 \tabularnewline
19 & 72.2 & 106.064129390779 & -33.8641293907794 \tabularnewline
20 & 95.8 & 106.568531147091 & -10.7685311470911 \tabularnewline
21 & 124.1 & 107.072932903403 & 17.0270670965971 \tabularnewline
22 & 127.6 & 107.577334659715 & 20.0226653402854 \tabularnewline
23 & 110.7 & 108.081736416026 & 2.61826358397366 \tabularnewline
24 & 104.6 & 108.586138172338 & -3.9861381723381 \tabularnewline
25 & 112.7 & 109.090539928650 & 3.60946007135017 \tabularnewline
26 & 115.3 & 109.594941684962 & 5.70505831503842 \tabularnewline
27 & 139.4 & 110.099343441273 & 29.3006565587267 \tabularnewline
28 & 119 & 110.603745197585 & 8.39625480241493 \tabularnewline
29 & 97.4 & 111.108146953897 & -13.7081469538968 \tabularnewline
30 & 154 & 111.612548710209 & 42.3874512897914 \tabularnewline
31 & 81.5 & 112.116950466520 & -30.6169504665203 \tabularnewline
32 & 88.8 & 112.621352222832 & -23.8213522228321 \tabularnewline
33 & 127.7 & 110.46200486122 & 17.23799513878 \tabularnewline
34 & 105.1 & 110.966406617532 & -5.86640661753177 \tabularnewline
35 & 114.9 & 111.470808373844 & 3.4291916261565 \tabularnewline
36 & 106.4 & 111.975210130155 & -5.57521013015525 \tabularnewline
37 & 104.5 & 112.479611886467 & -7.979611886467 \tabularnewline
38 & 121.6 & 112.984013642779 & 8.61598635722126 \tabularnewline
39 & 141.4 & 113.488415399090 & 27.9115846009095 \tabularnewline
40 & 99 & 113.992817155402 & -14.9928171554022 \tabularnewline
41 & 126.7 & 114.497218911714 & 12.2027810882860 \tabularnewline
42 & 134.1 & 115.001620668026 & 19.0983793319743 \tabularnewline
43 & 81.3 & 115.506022424337 & -34.2060224243375 \tabularnewline
44 & 88.6 & 116.010424180649 & -27.4104241806492 \tabularnewline
45 & 132.7 & 116.514825936961 & 16.1851740630390 \tabularnewline
46 & 132.9 & 117.019227693273 & 15.8807723067273 \tabularnewline
47 & 134.4 & 117.523629449584 & 16.8763705504156 \tabularnewline
48 & 103.7 & 118.028031205896 & -14.3280312058962 \tabularnewline
49 & 119.7 & 118.532432962208 & 1.16756703779207 \tabularnewline
50 & 115 & 119.036834718520 & -4.03683471851968 \tabularnewline
51 & 132.9 & 119.541236474831 & 13.3587635251686 \tabularnewline
52 & 108.5 & 120.045638231143 & -11.5456382311432 \tabularnewline
53 & 113.9 & 120.550039987455 & -6.65003998745491 \tabularnewline
54 & 142 & 121.054441743767 & 20.9455582562333 \tabularnewline
55 & 97.7 & 121.558843500078 & -23.8588435000784 \tabularnewline
56 & 92.2 & 122.063245256390 & -29.8632452563901 \tabularnewline
57 & 128.8 & 122.567647012702 & 6.23235298729812 \tabularnewline
58 & 134.9 & 123.072048769014 & 11.8279512309864 \tabularnewline
59 & 128.2 & 123.576450525325 & 4.62354947467460 \tabularnewline
60 & 114.8 & 124.080852281637 & -9.28085228163713 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32827&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]91.2[/C][C]96.9848977771678[/C][C]-5.78489777716781[/C][/ROW]
[ROW][C]2[/C][C]99.2[/C][C]97.4892995334797[/C][C]1.71070046652032[/C][/ROW]
[ROW][C]3[/C][C]108.2[/C][C]97.9937012897915[/C][C]10.2062987102085[/C][/ROW]
[ROW][C]4[/C][C]101.5[/C][C]98.4981030461032[/C][C]3.00189695389681[/C][/ROW]
[ROW][C]5[/C][C]106.9[/C][C]99.002504802415[/C][C]7.89749519758507[/C][/ROW]
[ROW][C]6[/C][C]104.4[/C][C]99.5069065587267[/C][C]4.89309344127332[/C][/ROW]
[ROW][C]7[/C][C]77.9[/C][C]100.011308315038[/C][C]-22.1113083150384[/C][/ROW]
[ROW][C]8[/C][C]60[/C][C]100.515710071350[/C][C]-40.5157100713502[/C][/ROW]
[ROW][C]9[/C][C]99.5[/C][C]101.020111827662[/C][C]-1.52011182766192[/C][/ROW]
[ROW][C]10[/C][C]95[/C][C]101.524513583974[/C][C]-6.52451358397366[/C][/ROW]
[ROW][C]11[/C][C]105.6[/C][C]102.028915340285[/C][C]3.57108465971459[/C][/ROW]
[ROW][C]12[/C][C]102.5[/C][C]102.533317096597[/C][C]-0.0333170965971528[/C][/ROW]
[ROW][C]13[/C][C]93.3[/C][C]103.037718852909[/C][C]-9.7377188529089[/C][/ROW]
[ROW][C]14[/C][C]97.3[/C][C]103.542120609221[/C][C]-6.24212060922065[/C][/ROW]
[ROW][C]15[/C][C]127[/C][C]104.046522365532[/C][C]22.9534776344676[/C][/ROW]
[ROW][C]16[/C][C]111.7[/C][C]104.550924121844[/C][C]7.14907587815587[/C][/ROW]
[ROW][C]17[/C][C]96.4[/C][C]105.055325878156[/C][C]-8.65532587815587[/C][/ROW]
[ROW][C]18[/C][C]133[/C][C]105.559727634468[/C][C]27.4402723655324[/C][/ROW]
[ROW][C]19[/C][C]72.2[/C][C]106.064129390779[/C][C]-33.8641293907794[/C][/ROW]
[ROW][C]20[/C][C]95.8[/C][C]106.568531147091[/C][C]-10.7685311470911[/C][/ROW]
[ROW][C]21[/C][C]124.1[/C][C]107.072932903403[/C][C]17.0270670965971[/C][/ROW]
[ROW][C]22[/C][C]127.6[/C][C]107.577334659715[/C][C]20.0226653402854[/C][/ROW]
[ROW][C]23[/C][C]110.7[/C][C]108.081736416026[/C][C]2.61826358397366[/C][/ROW]
[ROW][C]24[/C][C]104.6[/C][C]108.586138172338[/C][C]-3.9861381723381[/C][/ROW]
[ROW][C]25[/C][C]112.7[/C][C]109.090539928650[/C][C]3.60946007135017[/C][/ROW]
[ROW][C]26[/C][C]115.3[/C][C]109.594941684962[/C][C]5.70505831503842[/C][/ROW]
[ROW][C]27[/C][C]139.4[/C][C]110.099343441273[/C][C]29.3006565587267[/C][/ROW]
[ROW][C]28[/C][C]119[/C][C]110.603745197585[/C][C]8.39625480241493[/C][/ROW]
[ROW][C]29[/C][C]97.4[/C][C]111.108146953897[/C][C]-13.7081469538968[/C][/ROW]
[ROW][C]30[/C][C]154[/C][C]111.612548710209[/C][C]42.3874512897914[/C][/ROW]
[ROW][C]31[/C][C]81.5[/C][C]112.116950466520[/C][C]-30.6169504665203[/C][/ROW]
[ROW][C]32[/C][C]88.8[/C][C]112.621352222832[/C][C]-23.8213522228321[/C][/ROW]
[ROW][C]33[/C][C]127.7[/C][C]110.46200486122[/C][C]17.23799513878[/C][/ROW]
[ROW][C]34[/C][C]105.1[/C][C]110.966406617532[/C][C]-5.86640661753177[/C][/ROW]
[ROW][C]35[/C][C]114.9[/C][C]111.470808373844[/C][C]3.4291916261565[/C][/ROW]
[ROW][C]36[/C][C]106.4[/C][C]111.975210130155[/C][C]-5.57521013015525[/C][/ROW]
[ROW][C]37[/C][C]104.5[/C][C]112.479611886467[/C][C]-7.979611886467[/C][/ROW]
[ROW][C]38[/C][C]121.6[/C][C]112.984013642779[/C][C]8.61598635722126[/C][/ROW]
[ROW][C]39[/C][C]141.4[/C][C]113.488415399090[/C][C]27.9115846009095[/C][/ROW]
[ROW][C]40[/C][C]99[/C][C]113.992817155402[/C][C]-14.9928171554022[/C][/ROW]
[ROW][C]41[/C][C]126.7[/C][C]114.497218911714[/C][C]12.2027810882860[/C][/ROW]
[ROW][C]42[/C][C]134.1[/C][C]115.001620668026[/C][C]19.0983793319743[/C][/ROW]
[ROW][C]43[/C][C]81.3[/C][C]115.506022424337[/C][C]-34.2060224243375[/C][/ROW]
[ROW][C]44[/C][C]88.6[/C][C]116.010424180649[/C][C]-27.4104241806492[/C][/ROW]
[ROW][C]45[/C][C]132.7[/C][C]116.514825936961[/C][C]16.1851740630390[/C][/ROW]
[ROW][C]46[/C][C]132.9[/C][C]117.019227693273[/C][C]15.8807723067273[/C][/ROW]
[ROW][C]47[/C][C]134.4[/C][C]117.523629449584[/C][C]16.8763705504156[/C][/ROW]
[ROW][C]48[/C][C]103.7[/C][C]118.028031205896[/C][C]-14.3280312058962[/C][/ROW]
[ROW][C]49[/C][C]119.7[/C][C]118.532432962208[/C][C]1.16756703779207[/C][/ROW]
[ROW][C]50[/C][C]115[/C][C]119.036834718520[/C][C]-4.03683471851968[/C][/ROW]
[ROW][C]51[/C][C]132.9[/C][C]119.541236474831[/C][C]13.3587635251686[/C][/ROW]
[ROW][C]52[/C][C]108.5[/C][C]120.045638231143[/C][C]-11.5456382311432[/C][/ROW]
[ROW][C]53[/C][C]113.9[/C][C]120.550039987455[/C][C]-6.65003998745491[/C][/ROW]
[ROW][C]54[/C][C]142[/C][C]121.054441743767[/C][C]20.9455582562333[/C][/ROW]
[ROW][C]55[/C][C]97.7[/C][C]121.558843500078[/C][C]-23.8588435000784[/C][/ROW]
[ROW][C]56[/C][C]92.2[/C][C]122.063245256390[/C][C]-29.8632452563901[/C][/ROW]
[ROW][C]57[/C][C]128.8[/C][C]122.567647012702[/C][C]6.23235298729812[/C][/ROW]
[ROW][C]58[/C][C]134.9[/C][C]123.072048769014[/C][C]11.8279512309864[/C][/ROW]
[ROW][C]59[/C][C]128.2[/C][C]123.576450525325[/C][C]4.62354947467460[/C][/ROW]
[ROW][C]60[/C][C]114.8[/C][C]124.080852281637[/C][C]-9.28085228163713[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32827&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32827&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
191.296.9848977771678-5.78489777716781
299.297.48929953347971.71070046652032
3108.297.993701289791510.2062987102085
4101.598.49810304610323.00189695389681
5106.999.0025048024157.89749519758507
6104.499.50690655872674.89309344127332
777.9100.011308315038-22.1113083150384
860100.515710071350-40.5157100713502
999.5101.020111827662-1.52011182766192
1095101.524513583974-6.52451358397366
11105.6102.0289153402853.57108465971459
12102.5102.533317096597-0.0333170965971528
1393.3103.037718852909-9.7377188529089
1497.3103.542120609221-6.24212060922065
15127104.04652236553222.9534776344676
16111.7104.5509241218447.14907587815587
1796.4105.055325878156-8.65532587815587
18133105.55972763446827.4402723655324
1972.2106.064129390779-33.8641293907794
2095.8106.568531147091-10.7685311470911
21124.1107.07293290340317.0270670965971
22127.6107.57733465971520.0226653402854
23110.7108.0817364160262.61826358397366
24104.6108.586138172338-3.9861381723381
25112.7109.0905399286503.60946007135017
26115.3109.5949416849625.70505831503842
27139.4110.09934344127329.3006565587267
28119110.6037451975858.39625480241493
2997.4111.108146953897-13.7081469538968
30154111.61254871020942.3874512897914
3181.5112.116950466520-30.6169504665203
3288.8112.621352222832-23.8213522228321
33127.7110.4620048612217.23799513878
34105.1110.966406617532-5.86640661753177
35114.9111.4708083738443.4291916261565
36106.4111.975210130155-5.57521013015525
37104.5112.479611886467-7.979611886467
38121.6112.9840136427798.61598635722126
39141.4113.48841539909027.9115846009095
4099113.992817155402-14.9928171554022
41126.7114.49721891171412.2027810882860
42134.1115.00162066802619.0983793319743
4381.3115.506022424337-34.2060224243375
4488.6116.010424180649-27.4104241806492
45132.7116.51482593696116.1851740630390
46132.9117.01922769327315.8807723067273
47134.4117.52362944958416.8763705504156
48103.7118.028031205896-14.3280312058962
49119.7118.5324329622081.16756703779207
50115119.036834718520-4.03683471851968
51132.9119.54123647483113.3587635251686
52108.5120.045638231143-11.5456382311432
53113.9120.550039987455-6.65003998745491
54142121.05444174376720.9455582562333
5597.7121.558843500078-23.8588435000784
5692.2122.063245256390-29.8632452563901
57128.8122.5676470127026.23235298729812
58134.9123.07204876901411.8279512309864
59128.2123.5764505253254.62354947467460
60114.8124.080852281637-9.28085228163713







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
60.03611686232787120.07223372465574240.963883137672129
70.2458095704801880.4916191409603750.754190429519812
80.4758670695426060.9517341390852110.524132930457394
90.4770636441830930.9541272883661850.522936355816907
100.3943785913415170.7887571826830330.605621408658483
110.3756056299252970.7512112598505950.624394370074703
120.3018643070300290.6037286140600580.698135692969971
130.2222142953527030.4444285907054060.777785704647297
140.1584960091182560.3169920182365110.841503990881744
150.273610277824240.547220555648480.72638972217576
160.2114064429537280.4228128859074560.788593557046272
170.1662886508246390.3325773016492780.83371134917536
180.2399399930822660.4798799861645320.760060006917734
190.4842263008236450.968452601647290.515773699176355
200.4328843996786040.8657687993572090.567115600321396
210.4242562995226730.8485125990453470.575743700477326
220.4189807008646360.8379614017292710.581019299135364
230.3412122110367910.6824244220735820.658787788963209
240.2816182326199880.5632364652399750.718381767380012
250.2177194594150380.4354389188300770.782280540584962
260.1641176769691850.3282353539383710.835882323030815
270.2220427174287810.4440854348575630.777957282571219
280.1772008139604590.3544016279209180.822799186039541
290.1744620171680650.3489240343361310.825537982831935
300.5740176671962000.8519646656076010.425982332803800
310.6755624985170750.648875002965850.324437501482925
320.6803631502357370.6392736995285270.319636849764263
330.6349754256347380.7300491487305240.365024574365262
340.5931798313467590.8136403373064820.406820168653241
350.5153190282212040.9693619435575930.484680971778796
360.4539831195415850.9079662390831690.546016880458415
370.4043112746225930.8086225492451860.595688725377407
380.3348000198002590.6696000396005180.665199980199741
390.4061633627102340.8123267254204680.593836637289766
400.3925566765268150.785113353053630.607443323473185
410.3405021964263320.6810043928526630.659497803573668
420.3558246388564620.7116492777129240.644175361143538
430.5653041456882440.8693917086235120.434695854311756
440.7454492182126540.5091015635746930.254550781787347
450.6945575730713460.6108848538573090.305442426928654
460.6523691582750950.695261683449810.347630841724905
470.6532987961957490.6934024076085020.346701203804251
480.6045568141181020.7908863717637960.395443185881898
490.4967777024225940.9935554048451890.503222297577406
500.3871051819071720.7742103638143450.612894818092828
510.3653073406854640.7306146813709280.634692659314536
520.2636452812050420.5272905624100840.736354718794958
530.1655547969980750.3311095939961500.834445203001925
540.3726863762141010.7453727524282020.627313623785899

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
6 & 0.0361168623278712 & 0.0722337246557424 & 0.963883137672129 \tabularnewline
7 & 0.245809570480188 & 0.491619140960375 & 0.754190429519812 \tabularnewline
8 & 0.475867069542606 & 0.951734139085211 & 0.524132930457394 \tabularnewline
9 & 0.477063644183093 & 0.954127288366185 & 0.522936355816907 \tabularnewline
10 & 0.394378591341517 & 0.788757182683033 & 0.605621408658483 \tabularnewline
11 & 0.375605629925297 & 0.751211259850595 & 0.624394370074703 \tabularnewline
12 & 0.301864307030029 & 0.603728614060058 & 0.698135692969971 \tabularnewline
13 & 0.222214295352703 & 0.444428590705406 & 0.777785704647297 \tabularnewline
14 & 0.158496009118256 & 0.316992018236511 & 0.841503990881744 \tabularnewline
15 & 0.27361027782424 & 0.54722055564848 & 0.72638972217576 \tabularnewline
16 & 0.211406442953728 & 0.422812885907456 & 0.788593557046272 \tabularnewline
17 & 0.166288650824639 & 0.332577301649278 & 0.83371134917536 \tabularnewline
18 & 0.239939993082266 & 0.479879986164532 & 0.760060006917734 \tabularnewline
19 & 0.484226300823645 & 0.96845260164729 & 0.515773699176355 \tabularnewline
20 & 0.432884399678604 & 0.865768799357209 & 0.567115600321396 \tabularnewline
21 & 0.424256299522673 & 0.848512599045347 & 0.575743700477326 \tabularnewline
22 & 0.418980700864636 & 0.837961401729271 & 0.581019299135364 \tabularnewline
23 & 0.341212211036791 & 0.682424422073582 & 0.658787788963209 \tabularnewline
24 & 0.281618232619988 & 0.563236465239975 & 0.718381767380012 \tabularnewline
25 & 0.217719459415038 & 0.435438918830077 & 0.782280540584962 \tabularnewline
26 & 0.164117676969185 & 0.328235353938371 & 0.835882323030815 \tabularnewline
27 & 0.222042717428781 & 0.444085434857563 & 0.777957282571219 \tabularnewline
28 & 0.177200813960459 & 0.354401627920918 & 0.822799186039541 \tabularnewline
29 & 0.174462017168065 & 0.348924034336131 & 0.825537982831935 \tabularnewline
30 & 0.574017667196200 & 0.851964665607601 & 0.425982332803800 \tabularnewline
31 & 0.675562498517075 & 0.64887500296585 & 0.324437501482925 \tabularnewline
32 & 0.680363150235737 & 0.639273699528527 & 0.319636849764263 \tabularnewline
33 & 0.634975425634738 & 0.730049148730524 & 0.365024574365262 \tabularnewline
34 & 0.593179831346759 & 0.813640337306482 & 0.406820168653241 \tabularnewline
35 & 0.515319028221204 & 0.969361943557593 & 0.484680971778796 \tabularnewline
36 & 0.453983119541585 & 0.907966239083169 & 0.546016880458415 \tabularnewline
37 & 0.404311274622593 & 0.808622549245186 & 0.595688725377407 \tabularnewline
38 & 0.334800019800259 & 0.669600039600518 & 0.665199980199741 \tabularnewline
39 & 0.406163362710234 & 0.812326725420468 & 0.593836637289766 \tabularnewline
40 & 0.392556676526815 & 0.78511335305363 & 0.607443323473185 \tabularnewline
41 & 0.340502196426332 & 0.681004392852663 & 0.659497803573668 \tabularnewline
42 & 0.355824638856462 & 0.711649277712924 & 0.644175361143538 \tabularnewline
43 & 0.565304145688244 & 0.869391708623512 & 0.434695854311756 \tabularnewline
44 & 0.745449218212654 & 0.509101563574693 & 0.254550781787347 \tabularnewline
45 & 0.694557573071346 & 0.610884853857309 & 0.305442426928654 \tabularnewline
46 & 0.652369158275095 & 0.69526168344981 & 0.347630841724905 \tabularnewline
47 & 0.653298796195749 & 0.693402407608502 & 0.346701203804251 \tabularnewline
48 & 0.604556814118102 & 0.790886371763796 & 0.395443185881898 \tabularnewline
49 & 0.496777702422594 & 0.993555404845189 & 0.503222297577406 \tabularnewline
50 & 0.387105181907172 & 0.774210363814345 & 0.612894818092828 \tabularnewline
51 & 0.365307340685464 & 0.730614681370928 & 0.634692659314536 \tabularnewline
52 & 0.263645281205042 & 0.527290562410084 & 0.736354718794958 \tabularnewline
53 & 0.165554796998075 & 0.331109593996150 & 0.834445203001925 \tabularnewline
54 & 0.372686376214101 & 0.745372752428202 & 0.627313623785899 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32827&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]6[/C][C]0.0361168623278712[/C][C]0.0722337246557424[/C][C]0.963883137672129[/C][/ROW]
[ROW][C]7[/C][C]0.245809570480188[/C][C]0.491619140960375[/C][C]0.754190429519812[/C][/ROW]
[ROW][C]8[/C][C]0.475867069542606[/C][C]0.951734139085211[/C][C]0.524132930457394[/C][/ROW]
[ROW][C]9[/C][C]0.477063644183093[/C][C]0.954127288366185[/C][C]0.522936355816907[/C][/ROW]
[ROW][C]10[/C][C]0.394378591341517[/C][C]0.788757182683033[/C][C]0.605621408658483[/C][/ROW]
[ROW][C]11[/C][C]0.375605629925297[/C][C]0.751211259850595[/C][C]0.624394370074703[/C][/ROW]
[ROW][C]12[/C][C]0.301864307030029[/C][C]0.603728614060058[/C][C]0.698135692969971[/C][/ROW]
[ROW][C]13[/C][C]0.222214295352703[/C][C]0.444428590705406[/C][C]0.777785704647297[/C][/ROW]
[ROW][C]14[/C][C]0.158496009118256[/C][C]0.316992018236511[/C][C]0.841503990881744[/C][/ROW]
[ROW][C]15[/C][C]0.27361027782424[/C][C]0.54722055564848[/C][C]0.72638972217576[/C][/ROW]
[ROW][C]16[/C][C]0.211406442953728[/C][C]0.422812885907456[/C][C]0.788593557046272[/C][/ROW]
[ROW][C]17[/C][C]0.166288650824639[/C][C]0.332577301649278[/C][C]0.83371134917536[/C][/ROW]
[ROW][C]18[/C][C]0.239939993082266[/C][C]0.479879986164532[/C][C]0.760060006917734[/C][/ROW]
[ROW][C]19[/C][C]0.484226300823645[/C][C]0.96845260164729[/C][C]0.515773699176355[/C][/ROW]
[ROW][C]20[/C][C]0.432884399678604[/C][C]0.865768799357209[/C][C]0.567115600321396[/C][/ROW]
[ROW][C]21[/C][C]0.424256299522673[/C][C]0.848512599045347[/C][C]0.575743700477326[/C][/ROW]
[ROW][C]22[/C][C]0.418980700864636[/C][C]0.837961401729271[/C][C]0.581019299135364[/C][/ROW]
[ROW][C]23[/C][C]0.341212211036791[/C][C]0.682424422073582[/C][C]0.658787788963209[/C][/ROW]
[ROW][C]24[/C][C]0.281618232619988[/C][C]0.563236465239975[/C][C]0.718381767380012[/C][/ROW]
[ROW][C]25[/C][C]0.217719459415038[/C][C]0.435438918830077[/C][C]0.782280540584962[/C][/ROW]
[ROW][C]26[/C][C]0.164117676969185[/C][C]0.328235353938371[/C][C]0.835882323030815[/C][/ROW]
[ROW][C]27[/C][C]0.222042717428781[/C][C]0.444085434857563[/C][C]0.777957282571219[/C][/ROW]
[ROW][C]28[/C][C]0.177200813960459[/C][C]0.354401627920918[/C][C]0.822799186039541[/C][/ROW]
[ROW][C]29[/C][C]0.174462017168065[/C][C]0.348924034336131[/C][C]0.825537982831935[/C][/ROW]
[ROW][C]30[/C][C]0.574017667196200[/C][C]0.851964665607601[/C][C]0.425982332803800[/C][/ROW]
[ROW][C]31[/C][C]0.675562498517075[/C][C]0.64887500296585[/C][C]0.324437501482925[/C][/ROW]
[ROW][C]32[/C][C]0.680363150235737[/C][C]0.639273699528527[/C][C]0.319636849764263[/C][/ROW]
[ROW][C]33[/C][C]0.634975425634738[/C][C]0.730049148730524[/C][C]0.365024574365262[/C][/ROW]
[ROW][C]34[/C][C]0.593179831346759[/C][C]0.813640337306482[/C][C]0.406820168653241[/C][/ROW]
[ROW][C]35[/C][C]0.515319028221204[/C][C]0.969361943557593[/C][C]0.484680971778796[/C][/ROW]
[ROW][C]36[/C][C]0.453983119541585[/C][C]0.907966239083169[/C][C]0.546016880458415[/C][/ROW]
[ROW][C]37[/C][C]0.404311274622593[/C][C]0.808622549245186[/C][C]0.595688725377407[/C][/ROW]
[ROW][C]38[/C][C]0.334800019800259[/C][C]0.669600039600518[/C][C]0.665199980199741[/C][/ROW]
[ROW][C]39[/C][C]0.406163362710234[/C][C]0.812326725420468[/C][C]0.593836637289766[/C][/ROW]
[ROW][C]40[/C][C]0.392556676526815[/C][C]0.78511335305363[/C][C]0.607443323473185[/C][/ROW]
[ROW][C]41[/C][C]0.340502196426332[/C][C]0.681004392852663[/C][C]0.659497803573668[/C][/ROW]
[ROW][C]42[/C][C]0.355824638856462[/C][C]0.711649277712924[/C][C]0.644175361143538[/C][/ROW]
[ROW][C]43[/C][C]0.565304145688244[/C][C]0.869391708623512[/C][C]0.434695854311756[/C][/ROW]
[ROW][C]44[/C][C]0.745449218212654[/C][C]0.509101563574693[/C][C]0.254550781787347[/C][/ROW]
[ROW][C]45[/C][C]0.694557573071346[/C][C]0.610884853857309[/C][C]0.305442426928654[/C][/ROW]
[ROW][C]46[/C][C]0.652369158275095[/C][C]0.69526168344981[/C][C]0.347630841724905[/C][/ROW]
[ROW][C]47[/C][C]0.653298796195749[/C][C]0.693402407608502[/C][C]0.346701203804251[/C][/ROW]
[ROW][C]48[/C][C]0.604556814118102[/C][C]0.790886371763796[/C][C]0.395443185881898[/C][/ROW]
[ROW][C]49[/C][C]0.496777702422594[/C][C]0.993555404845189[/C][C]0.503222297577406[/C][/ROW]
[ROW][C]50[/C][C]0.387105181907172[/C][C]0.774210363814345[/C][C]0.612894818092828[/C][/ROW]
[ROW][C]51[/C][C]0.365307340685464[/C][C]0.730614681370928[/C][C]0.634692659314536[/C][/ROW]
[ROW][C]52[/C][C]0.263645281205042[/C][C]0.527290562410084[/C][C]0.736354718794958[/C][/ROW]
[ROW][C]53[/C][C]0.165554796998075[/C][C]0.331109593996150[/C][C]0.834445203001925[/C][/ROW]
[ROW][C]54[/C][C]0.372686376214101[/C][C]0.745372752428202[/C][C]0.627313623785899[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32827&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32827&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
60.03611686232787120.07223372465574240.963883137672129
70.2458095704801880.4916191409603750.754190429519812
80.4758670695426060.9517341390852110.524132930457394
90.4770636441830930.9541272883661850.522936355816907
100.3943785913415170.7887571826830330.605621408658483
110.3756056299252970.7512112598505950.624394370074703
120.3018643070300290.6037286140600580.698135692969971
130.2222142953527030.4444285907054060.777785704647297
140.1584960091182560.3169920182365110.841503990881744
150.273610277824240.547220555648480.72638972217576
160.2114064429537280.4228128859074560.788593557046272
170.1662886508246390.3325773016492780.83371134917536
180.2399399930822660.4798799861645320.760060006917734
190.4842263008236450.968452601647290.515773699176355
200.4328843996786040.8657687993572090.567115600321396
210.4242562995226730.8485125990453470.575743700477326
220.4189807008646360.8379614017292710.581019299135364
230.3412122110367910.6824244220735820.658787788963209
240.2816182326199880.5632364652399750.718381767380012
250.2177194594150380.4354389188300770.782280540584962
260.1641176769691850.3282353539383710.835882323030815
270.2220427174287810.4440854348575630.777957282571219
280.1772008139604590.3544016279209180.822799186039541
290.1744620171680650.3489240343361310.825537982831935
300.5740176671962000.8519646656076010.425982332803800
310.6755624985170750.648875002965850.324437501482925
320.6803631502357370.6392736995285270.319636849764263
330.6349754256347380.7300491487305240.365024574365262
340.5931798313467590.8136403373064820.406820168653241
350.5153190282212040.9693619435575930.484680971778796
360.4539831195415850.9079662390831690.546016880458415
370.4043112746225930.8086225492451860.595688725377407
380.3348000198002590.6696000396005180.665199980199741
390.4061633627102340.8123267254204680.593836637289766
400.3925566765268150.785113353053630.607443323473185
410.3405021964263320.6810043928526630.659497803573668
420.3558246388564620.7116492777129240.644175361143538
430.5653041456882440.8693917086235120.434695854311756
440.7454492182126540.5091015635746930.254550781787347
450.6945575730713460.6108848538573090.305442426928654
460.6523691582750950.695261683449810.347630841724905
470.6532987961957490.6934024076085020.346701203804251
480.6045568141181020.7908863717637960.395443185881898
490.4967777024225940.9935554048451890.503222297577406
500.3871051819071720.7742103638143450.612894818092828
510.3653073406854640.7306146813709280.634692659314536
520.2636452812050420.5272905624100840.736354718794958
530.1655547969980750.3311095939961500.834445203001925
540.3726863762141010.7453727524282020.627313623785899







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

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

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

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

As an alternative you can also use a QR Code:  

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

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



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