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 07:47:57 -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/t12290935513jyfq40kn4e9aku.htm/, Retrieved Sat, 18 May 2024 10:48:59 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=32811, Retrieved Sat, 18 May 2024 10:48:59 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact195
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [WS 6 Q3 G6 eigen ...] [2007-11-15 11:12:24] [22f18fc6a98517db16300404be421f9a]
- R  D    [Multiple Regression] [Multiple Lineair ...] [2008-12-12 14:47:57] [541f63fa3157af9df10fc4d202b2a90b] [Current]
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 time6 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 & 6 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32811&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]6 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32811&T=0

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
transportmiddelen[t] = + 104.803125 + 12.4683035714286conjunctuur[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
transportmiddelen[t] =  +  104.803125 +  12.4683035714286conjunctuur[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32811&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]transportmiddelen[t] =  +  104.803125 +  12.4683035714286conjunctuur[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32811&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32811&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] = + 104.803125 + 12.4683035714286conjunctuur[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)104.8031253.20610232.688600
conjunctuur12.46830357142864.6932522.65660.0101770.005088

\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) & 104.803125 & 3.206102 & 32.6886 & 0 & 0 \tabularnewline
conjunctuur & 12.4683035714286 & 4.693252 & 2.6566 & 0.010177 & 0.005088 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32811&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]104.803125[/C][C]3.206102[/C][C]32.6886[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]conjunctuur[/C][C]12.4683035714286[/C][C]4.693252[/C][C]2.6566[/C][C]0.010177[/C][C]0.005088[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32811&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32811&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)104.8031253.20610232.688600
conjunctuur12.46830357142864.6932522.65660.0101770.005088







Multiple Linear Regression - Regression Statistics
Multiple R0.32936990584511
R-squared0.108484534876417
Adjusted R-squared0.0931135785811824
F-TEST (value)7.05776093515095
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.0101768945923602
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation18.1364496917106
Sum Squared Residuals19077.9868303571

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.32936990584511 \tabularnewline
R-squared & 0.108484534876417 \tabularnewline
Adjusted R-squared & 0.0931135785811824 \tabularnewline
F-TEST (value) & 7.05776093515095 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 0.0101768945923602 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 18.1364496917106 \tabularnewline
Sum Squared Residuals & 19077.9868303571 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32811&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.32936990584511[/C][/ROW]
[ROW][C]R-squared[/C][C]0.108484534876417[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.0931135785811824[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]7.05776093515095[/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.0101768945923602[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]18.1364496917106[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]19077.9868303571[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32811&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32811&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.32936990584511
R-squared0.108484534876417
Adjusted R-squared0.0931135785811824
F-TEST (value)7.05776093515095
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.0101768945923602
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation18.1364496917106
Sum Squared Residuals19077.9868303571







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
191.2104.803125000000-13.6031249999999
299.2104.803125-5.60312499999998
3108.2104.8031253.396875
4101.5104.803125-3.30312500000001
5106.9104.8031252.096875
6104.4104.803125-0.403125
777.9104.803125-26.903125
860104.803125-44.803125
999.5104.803125-5.30312500000001
1095104.803125-9.803125
11105.6104.8031250.796874999999988
12102.5104.803125-2.30312500000001
1393.3104.803125-11.503125
1497.3104.803125-7.50312500000001
15127104.80312522.196875
16111.7104.8031256.896875
1796.4104.803125-8.403125
18133104.80312528.196875
1972.2104.803125-32.603125
2095.8104.803125-9.0031250
21124.1104.80312519.296875
22127.6104.80312522.796875
23110.7104.8031255.896875
24104.6104.803125-0.203125000000011
25112.7104.8031257.896875
26115.3104.80312510.496875
27139.4104.80312534.596875
28119104.80312514.196875
2997.4104.803125-7.403125
30154104.80312549.196875
3181.5104.803125-23.303125
3288.8104.803125-16.003125
33127.7117.27142857142910.4285714285714
34105.1117.271428571429-12.1714285714286
35114.9117.271428571429-2.37142857142857
36106.4117.271428571429-10.8714285714286
37104.5117.271428571429-12.7714285714286
38121.6117.2714285714294.32857142857142
39141.4117.27142857142924.1285714285714
4099117.271428571429-18.2714285714286
41126.7117.2714285714299.42857142857143
42134.1117.27142857142916.8285714285714
4381.3117.271428571429-35.9714285714286
4488.6117.271428571429-28.6714285714286
45132.7117.27142857142915.4285714285714
46132.9117.27142857142915.6285714285714
47134.4117.27142857142917.1285714285714
48103.7117.271428571429-13.5714285714286
49119.7117.2714285714292.42857142857143
50115117.271428571429-2.27142857142857
51132.9117.27142857142915.6285714285714
52108.5117.271428571429-8.77142857142857
53113.9117.271428571429-3.37142857142857
54142117.27142857142924.7285714285714
5597.7117.271428571429-19.5714285714286
5692.2117.271428571429-25.0714285714286
57128.8117.27142857142911.5285714285714
58134.9117.27142857142917.6285714285714
59128.2117.27142857142910.9285714285714
60114.8117.271428571429-2.47142857142858

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 91.2 & 104.803125000000 & -13.6031249999999 \tabularnewline
2 & 99.2 & 104.803125 & -5.60312499999998 \tabularnewline
3 & 108.2 & 104.803125 & 3.396875 \tabularnewline
4 & 101.5 & 104.803125 & -3.30312500000001 \tabularnewline
5 & 106.9 & 104.803125 & 2.096875 \tabularnewline
6 & 104.4 & 104.803125 & -0.403125 \tabularnewline
7 & 77.9 & 104.803125 & -26.903125 \tabularnewline
8 & 60 & 104.803125 & -44.803125 \tabularnewline
9 & 99.5 & 104.803125 & -5.30312500000001 \tabularnewline
10 & 95 & 104.803125 & -9.803125 \tabularnewline
11 & 105.6 & 104.803125 & 0.796874999999988 \tabularnewline
12 & 102.5 & 104.803125 & -2.30312500000001 \tabularnewline
13 & 93.3 & 104.803125 & -11.503125 \tabularnewline
14 & 97.3 & 104.803125 & -7.50312500000001 \tabularnewline
15 & 127 & 104.803125 & 22.196875 \tabularnewline
16 & 111.7 & 104.803125 & 6.896875 \tabularnewline
17 & 96.4 & 104.803125 & -8.403125 \tabularnewline
18 & 133 & 104.803125 & 28.196875 \tabularnewline
19 & 72.2 & 104.803125 & -32.603125 \tabularnewline
20 & 95.8 & 104.803125 & -9.0031250 \tabularnewline
21 & 124.1 & 104.803125 & 19.296875 \tabularnewline
22 & 127.6 & 104.803125 & 22.796875 \tabularnewline
23 & 110.7 & 104.803125 & 5.896875 \tabularnewline
24 & 104.6 & 104.803125 & -0.203125000000011 \tabularnewline
25 & 112.7 & 104.803125 & 7.896875 \tabularnewline
26 & 115.3 & 104.803125 & 10.496875 \tabularnewline
27 & 139.4 & 104.803125 & 34.596875 \tabularnewline
28 & 119 & 104.803125 & 14.196875 \tabularnewline
29 & 97.4 & 104.803125 & -7.403125 \tabularnewline
30 & 154 & 104.803125 & 49.196875 \tabularnewline
31 & 81.5 & 104.803125 & -23.303125 \tabularnewline
32 & 88.8 & 104.803125 & -16.003125 \tabularnewline
33 & 127.7 & 117.271428571429 & 10.4285714285714 \tabularnewline
34 & 105.1 & 117.271428571429 & -12.1714285714286 \tabularnewline
35 & 114.9 & 117.271428571429 & -2.37142857142857 \tabularnewline
36 & 106.4 & 117.271428571429 & -10.8714285714286 \tabularnewline
37 & 104.5 & 117.271428571429 & -12.7714285714286 \tabularnewline
38 & 121.6 & 117.271428571429 & 4.32857142857142 \tabularnewline
39 & 141.4 & 117.271428571429 & 24.1285714285714 \tabularnewline
40 & 99 & 117.271428571429 & -18.2714285714286 \tabularnewline
41 & 126.7 & 117.271428571429 & 9.42857142857143 \tabularnewline
42 & 134.1 & 117.271428571429 & 16.8285714285714 \tabularnewline
43 & 81.3 & 117.271428571429 & -35.9714285714286 \tabularnewline
44 & 88.6 & 117.271428571429 & -28.6714285714286 \tabularnewline
45 & 132.7 & 117.271428571429 & 15.4285714285714 \tabularnewline
46 & 132.9 & 117.271428571429 & 15.6285714285714 \tabularnewline
47 & 134.4 & 117.271428571429 & 17.1285714285714 \tabularnewline
48 & 103.7 & 117.271428571429 & -13.5714285714286 \tabularnewline
49 & 119.7 & 117.271428571429 & 2.42857142857143 \tabularnewline
50 & 115 & 117.271428571429 & -2.27142857142857 \tabularnewline
51 & 132.9 & 117.271428571429 & 15.6285714285714 \tabularnewline
52 & 108.5 & 117.271428571429 & -8.77142857142857 \tabularnewline
53 & 113.9 & 117.271428571429 & -3.37142857142857 \tabularnewline
54 & 142 & 117.271428571429 & 24.7285714285714 \tabularnewline
55 & 97.7 & 117.271428571429 & -19.5714285714286 \tabularnewline
56 & 92.2 & 117.271428571429 & -25.0714285714286 \tabularnewline
57 & 128.8 & 117.271428571429 & 11.5285714285714 \tabularnewline
58 & 134.9 & 117.271428571429 & 17.6285714285714 \tabularnewline
59 & 128.2 & 117.271428571429 & 10.9285714285714 \tabularnewline
60 & 114.8 & 117.271428571429 & -2.47142857142858 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32811&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]104.803125000000[/C][C]-13.6031249999999[/C][/ROW]
[ROW][C]2[/C][C]99.2[/C][C]104.803125[/C][C]-5.60312499999998[/C][/ROW]
[ROW][C]3[/C][C]108.2[/C][C]104.803125[/C][C]3.396875[/C][/ROW]
[ROW][C]4[/C][C]101.5[/C][C]104.803125[/C][C]-3.30312500000001[/C][/ROW]
[ROW][C]5[/C][C]106.9[/C][C]104.803125[/C][C]2.096875[/C][/ROW]
[ROW][C]6[/C][C]104.4[/C][C]104.803125[/C][C]-0.403125[/C][/ROW]
[ROW][C]7[/C][C]77.9[/C][C]104.803125[/C][C]-26.903125[/C][/ROW]
[ROW][C]8[/C][C]60[/C][C]104.803125[/C][C]-44.803125[/C][/ROW]
[ROW][C]9[/C][C]99.5[/C][C]104.803125[/C][C]-5.30312500000001[/C][/ROW]
[ROW][C]10[/C][C]95[/C][C]104.803125[/C][C]-9.803125[/C][/ROW]
[ROW][C]11[/C][C]105.6[/C][C]104.803125[/C][C]0.796874999999988[/C][/ROW]
[ROW][C]12[/C][C]102.5[/C][C]104.803125[/C][C]-2.30312500000001[/C][/ROW]
[ROW][C]13[/C][C]93.3[/C][C]104.803125[/C][C]-11.503125[/C][/ROW]
[ROW][C]14[/C][C]97.3[/C][C]104.803125[/C][C]-7.50312500000001[/C][/ROW]
[ROW][C]15[/C][C]127[/C][C]104.803125[/C][C]22.196875[/C][/ROW]
[ROW][C]16[/C][C]111.7[/C][C]104.803125[/C][C]6.896875[/C][/ROW]
[ROW][C]17[/C][C]96.4[/C][C]104.803125[/C][C]-8.403125[/C][/ROW]
[ROW][C]18[/C][C]133[/C][C]104.803125[/C][C]28.196875[/C][/ROW]
[ROW][C]19[/C][C]72.2[/C][C]104.803125[/C][C]-32.603125[/C][/ROW]
[ROW][C]20[/C][C]95.8[/C][C]104.803125[/C][C]-9.0031250[/C][/ROW]
[ROW][C]21[/C][C]124.1[/C][C]104.803125[/C][C]19.296875[/C][/ROW]
[ROW][C]22[/C][C]127.6[/C][C]104.803125[/C][C]22.796875[/C][/ROW]
[ROW][C]23[/C][C]110.7[/C][C]104.803125[/C][C]5.896875[/C][/ROW]
[ROW][C]24[/C][C]104.6[/C][C]104.803125[/C][C]-0.203125000000011[/C][/ROW]
[ROW][C]25[/C][C]112.7[/C][C]104.803125[/C][C]7.896875[/C][/ROW]
[ROW][C]26[/C][C]115.3[/C][C]104.803125[/C][C]10.496875[/C][/ROW]
[ROW][C]27[/C][C]139.4[/C][C]104.803125[/C][C]34.596875[/C][/ROW]
[ROW][C]28[/C][C]119[/C][C]104.803125[/C][C]14.196875[/C][/ROW]
[ROW][C]29[/C][C]97.4[/C][C]104.803125[/C][C]-7.403125[/C][/ROW]
[ROW][C]30[/C][C]154[/C][C]104.803125[/C][C]49.196875[/C][/ROW]
[ROW][C]31[/C][C]81.5[/C][C]104.803125[/C][C]-23.303125[/C][/ROW]
[ROW][C]32[/C][C]88.8[/C][C]104.803125[/C][C]-16.003125[/C][/ROW]
[ROW][C]33[/C][C]127.7[/C][C]117.271428571429[/C][C]10.4285714285714[/C][/ROW]
[ROW][C]34[/C][C]105.1[/C][C]117.271428571429[/C][C]-12.1714285714286[/C][/ROW]
[ROW][C]35[/C][C]114.9[/C][C]117.271428571429[/C][C]-2.37142857142857[/C][/ROW]
[ROW][C]36[/C][C]106.4[/C][C]117.271428571429[/C][C]-10.8714285714286[/C][/ROW]
[ROW][C]37[/C][C]104.5[/C][C]117.271428571429[/C][C]-12.7714285714286[/C][/ROW]
[ROW][C]38[/C][C]121.6[/C][C]117.271428571429[/C][C]4.32857142857142[/C][/ROW]
[ROW][C]39[/C][C]141.4[/C][C]117.271428571429[/C][C]24.1285714285714[/C][/ROW]
[ROW][C]40[/C][C]99[/C][C]117.271428571429[/C][C]-18.2714285714286[/C][/ROW]
[ROW][C]41[/C][C]126.7[/C][C]117.271428571429[/C][C]9.42857142857143[/C][/ROW]
[ROW][C]42[/C][C]134.1[/C][C]117.271428571429[/C][C]16.8285714285714[/C][/ROW]
[ROW][C]43[/C][C]81.3[/C][C]117.271428571429[/C][C]-35.9714285714286[/C][/ROW]
[ROW][C]44[/C][C]88.6[/C][C]117.271428571429[/C][C]-28.6714285714286[/C][/ROW]
[ROW][C]45[/C][C]132.7[/C][C]117.271428571429[/C][C]15.4285714285714[/C][/ROW]
[ROW][C]46[/C][C]132.9[/C][C]117.271428571429[/C][C]15.6285714285714[/C][/ROW]
[ROW][C]47[/C][C]134.4[/C][C]117.271428571429[/C][C]17.1285714285714[/C][/ROW]
[ROW][C]48[/C][C]103.7[/C][C]117.271428571429[/C][C]-13.5714285714286[/C][/ROW]
[ROW][C]49[/C][C]119.7[/C][C]117.271428571429[/C][C]2.42857142857143[/C][/ROW]
[ROW][C]50[/C][C]115[/C][C]117.271428571429[/C][C]-2.27142857142857[/C][/ROW]
[ROW][C]51[/C][C]132.9[/C][C]117.271428571429[/C][C]15.6285714285714[/C][/ROW]
[ROW][C]52[/C][C]108.5[/C][C]117.271428571429[/C][C]-8.77142857142857[/C][/ROW]
[ROW][C]53[/C][C]113.9[/C][C]117.271428571429[/C][C]-3.37142857142857[/C][/ROW]
[ROW][C]54[/C][C]142[/C][C]117.271428571429[/C][C]24.7285714285714[/C][/ROW]
[ROW][C]55[/C][C]97.7[/C][C]117.271428571429[/C][C]-19.5714285714286[/C][/ROW]
[ROW][C]56[/C][C]92.2[/C][C]117.271428571429[/C][C]-25.0714285714286[/C][/ROW]
[ROW][C]57[/C][C]128.8[/C][C]117.271428571429[/C][C]11.5285714285714[/C][/ROW]
[ROW][C]58[/C][C]134.9[/C][C]117.271428571429[/C][C]17.6285714285714[/C][/ROW]
[ROW][C]59[/C][C]128.2[/C][C]117.271428571429[/C][C]10.9285714285714[/C][/ROW]
[ROW][C]60[/C][C]114.8[/C][C]117.271428571429[/C][C]-2.47142857142858[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32811&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32811&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.2104.803125000000-13.6031249999999
299.2104.803125-5.60312499999998
3108.2104.8031253.396875
4101.5104.803125-3.30312500000001
5106.9104.8031252.096875
6104.4104.803125-0.403125
777.9104.803125-26.903125
860104.803125-44.803125
999.5104.803125-5.30312500000001
1095104.803125-9.803125
11105.6104.8031250.796874999999988
12102.5104.803125-2.30312500000001
1393.3104.803125-11.503125
1497.3104.803125-7.50312500000001
15127104.80312522.196875
16111.7104.8031256.896875
1796.4104.803125-8.403125
18133104.80312528.196875
1972.2104.803125-32.603125
2095.8104.803125-9.0031250
21124.1104.80312519.296875
22127.6104.80312522.796875
23110.7104.8031255.896875
24104.6104.803125-0.203125000000011
25112.7104.8031257.896875
26115.3104.80312510.496875
27139.4104.80312534.596875
28119104.80312514.196875
2997.4104.803125-7.403125
30154104.80312549.196875
3181.5104.803125-23.303125
3288.8104.803125-16.003125
33127.7117.27142857142910.4285714285714
34105.1117.271428571429-12.1714285714286
35114.9117.271428571429-2.37142857142857
36106.4117.271428571429-10.8714285714286
37104.5117.271428571429-12.7714285714286
38121.6117.2714285714294.32857142857142
39141.4117.27142857142924.1285714285714
4099117.271428571429-18.2714285714286
41126.7117.2714285714299.42857142857143
42134.1117.27142857142916.8285714285714
4381.3117.271428571429-35.9714285714286
4488.6117.271428571429-28.6714285714286
45132.7117.27142857142915.4285714285714
46132.9117.27142857142915.6285714285714
47134.4117.27142857142917.1285714285714
48103.7117.271428571429-13.5714285714286
49119.7117.2714285714292.42857142857143
50115117.271428571429-2.27142857142857
51132.9117.27142857142915.6285714285714
52108.5117.271428571429-8.77142857142857
53113.9117.271428571429-3.37142857142857
54142117.27142857142924.7285714285714
5597.7117.271428571429-19.5714285714286
5692.2117.271428571429-25.0714285714286
57128.8117.27142857142911.5285714285714
58134.9117.27142857142917.6285714285714
59128.2117.27142857142910.9285714285714
60114.8117.271428571429-2.47142857142858







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.08646818514995410.1729363702999080.913531814850046
60.03053156883521930.06106313767043860.96946843116478
70.1454959171160750.290991834232150.854504082883925
80.5932790098030580.8134419803938850.406720990196942
90.4841941693938490.9683883387876980.515805830606151
100.3775308792838420.7550617585676850.622469120716158
110.3102012110699270.6204024221398550.689798788930073
120.2353841595989030.4707683191978050.764615840401097
130.1731016994607010.3462033989214010.8268983005393
140.1209755454826120.2419510909652250.879024454517388
150.2431717389916830.4863434779833670.756828261008317
160.2079178167496650.415835633499330.792082183250335
170.1570259005669920.3140518011339850.842974099433008
180.3064471964658310.6128943929316620.693552803534169
190.4731642956661080.9463285913322150.526835704333892
200.4179465600223850.835893120044770.582053439977615
210.4512699936154240.9025399872308480.548730006384576
220.505174449699840.989651100600320.49482555030016
230.4387635403025040.8775270806050090.561236459697496
240.3690788837631330.7381577675262650.630921116236868
250.3126889881526410.6253779763052830.687311011847359
260.2668458442887370.5336916885774730.733154155711263
270.4263416867311230.8526833734622450.573658313268877
280.3911869926233660.7823739852467320.608813007376634
290.3330161886595580.6660323773191160.666983811340442
300.8286556864410140.3426886271179720.171344313558986
310.816796036500520.3664079269989610.183203963499481
320.779258172483070.4414836550338610.220741827516930
330.7308117283102680.5383765433794630.269188271689732
340.701086765789750.59782646842050.29891323421025
350.6310174026588050.7379651946823910.368982597341195
360.5783957082955050.843208583408990.421604291704495
370.5325452766514780.9349094466970430.467454723348522
380.4613348743678190.9226697487356380.538665125632181
390.5188982502438790.9622034995122410.481101749756121
400.5152696878024930.9694606243950140.484730312197507
410.4539594635546740.9079189271093490.546040536445326
420.4376401530932960.8752803061865930.562359846906704
430.6757201609681420.6485596780637150.324279839031858
440.8105844147627410.3788311704745180.189415585237259
450.7859751015359870.4280497969280260.214024898464013
460.761329740413940.477340519172120.23867025958606
470.7503501984300340.4992996031399320.249649801569966
480.7230510490954890.5538979018090220.276948950904511
490.6275029988315650.744994002336870.372497001168435
500.5239330307070780.9521339385858440.476066969292922
510.4782886534270170.9565773068540340.521711346572983
520.3892947070367980.7785894140735950.610705292963202
530.2792979493962220.5585958987924440.720702050603778
540.3354232144780390.6708464289560770.664576785521962
550.3364522005515780.6729044011031550.663547799448422

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.0864681851499541 & 0.172936370299908 & 0.913531814850046 \tabularnewline
6 & 0.0305315688352193 & 0.0610631376704386 & 0.96946843116478 \tabularnewline
7 & 0.145495917116075 & 0.29099183423215 & 0.854504082883925 \tabularnewline
8 & 0.593279009803058 & 0.813441980393885 & 0.406720990196942 \tabularnewline
9 & 0.484194169393849 & 0.968388338787698 & 0.515805830606151 \tabularnewline
10 & 0.377530879283842 & 0.755061758567685 & 0.622469120716158 \tabularnewline
11 & 0.310201211069927 & 0.620402422139855 & 0.689798788930073 \tabularnewline
12 & 0.235384159598903 & 0.470768319197805 & 0.764615840401097 \tabularnewline
13 & 0.173101699460701 & 0.346203398921401 & 0.8268983005393 \tabularnewline
14 & 0.120975545482612 & 0.241951090965225 & 0.879024454517388 \tabularnewline
15 & 0.243171738991683 & 0.486343477983367 & 0.756828261008317 \tabularnewline
16 & 0.207917816749665 & 0.41583563349933 & 0.792082183250335 \tabularnewline
17 & 0.157025900566992 & 0.314051801133985 & 0.842974099433008 \tabularnewline
18 & 0.306447196465831 & 0.612894392931662 & 0.693552803534169 \tabularnewline
19 & 0.473164295666108 & 0.946328591332215 & 0.526835704333892 \tabularnewline
20 & 0.417946560022385 & 0.83589312004477 & 0.582053439977615 \tabularnewline
21 & 0.451269993615424 & 0.902539987230848 & 0.548730006384576 \tabularnewline
22 & 0.50517444969984 & 0.98965110060032 & 0.49482555030016 \tabularnewline
23 & 0.438763540302504 & 0.877527080605009 & 0.561236459697496 \tabularnewline
24 & 0.369078883763133 & 0.738157767526265 & 0.630921116236868 \tabularnewline
25 & 0.312688988152641 & 0.625377976305283 & 0.687311011847359 \tabularnewline
26 & 0.266845844288737 & 0.533691688577473 & 0.733154155711263 \tabularnewline
27 & 0.426341686731123 & 0.852683373462245 & 0.573658313268877 \tabularnewline
28 & 0.391186992623366 & 0.782373985246732 & 0.608813007376634 \tabularnewline
29 & 0.333016188659558 & 0.666032377319116 & 0.666983811340442 \tabularnewline
30 & 0.828655686441014 & 0.342688627117972 & 0.171344313558986 \tabularnewline
31 & 0.81679603650052 & 0.366407926998961 & 0.183203963499481 \tabularnewline
32 & 0.77925817248307 & 0.441483655033861 & 0.220741827516930 \tabularnewline
33 & 0.730811728310268 & 0.538376543379463 & 0.269188271689732 \tabularnewline
34 & 0.70108676578975 & 0.5978264684205 & 0.29891323421025 \tabularnewline
35 & 0.631017402658805 & 0.737965194682391 & 0.368982597341195 \tabularnewline
36 & 0.578395708295505 & 0.84320858340899 & 0.421604291704495 \tabularnewline
37 & 0.532545276651478 & 0.934909446697043 & 0.467454723348522 \tabularnewline
38 & 0.461334874367819 & 0.922669748735638 & 0.538665125632181 \tabularnewline
39 & 0.518898250243879 & 0.962203499512241 & 0.481101749756121 \tabularnewline
40 & 0.515269687802493 & 0.969460624395014 & 0.484730312197507 \tabularnewline
41 & 0.453959463554674 & 0.907918927109349 & 0.546040536445326 \tabularnewline
42 & 0.437640153093296 & 0.875280306186593 & 0.562359846906704 \tabularnewline
43 & 0.675720160968142 & 0.648559678063715 & 0.324279839031858 \tabularnewline
44 & 0.810584414762741 & 0.378831170474518 & 0.189415585237259 \tabularnewline
45 & 0.785975101535987 & 0.428049796928026 & 0.214024898464013 \tabularnewline
46 & 0.76132974041394 & 0.47734051917212 & 0.23867025958606 \tabularnewline
47 & 0.750350198430034 & 0.499299603139932 & 0.249649801569966 \tabularnewline
48 & 0.723051049095489 & 0.553897901809022 & 0.276948950904511 \tabularnewline
49 & 0.627502998831565 & 0.74499400233687 & 0.372497001168435 \tabularnewline
50 & 0.523933030707078 & 0.952133938585844 & 0.476066969292922 \tabularnewline
51 & 0.478288653427017 & 0.956577306854034 & 0.521711346572983 \tabularnewline
52 & 0.389294707036798 & 0.778589414073595 & 0.610705292963202 \tabularnewline
53 & 0.279297949396222 & 0.558595898792444 & 0.720702050603778 \tabularnewline
54 & 0.335423214478039 & 0.670846428956077 & 0.664576785521962 \tabularnewline
55 & 0.336452200551578 & 0.672904401103155 & 0.663547799448422 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32811&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.0864681851499541[/C][C]0.172936370299908[/C][C]0.913531814850046[/C][/ROW]
[ROW][C]6[/C][C]0.0305315688352193[/C][C]0.0610631376704386[/C][C]0.96946843116478[/C][/ROW]
[ROW][C]7[/C][C]0.145495917116075[/C][C]0.29099183423215[/C][C]0.854504082883925[/C][/ROW]
[ROW][C]8[/C][C]0.593279009803058[/C][C]0.813441980393885[/C][C]0.406720990196942[/C][/ROW]
[ROW][C]9[/C][C]0.484194169393849[/C][C]0.968388338787698[/C][C]0.515805830606151[/C][/ROW]
[ROW][C]10[/C][C]0.377530879283842[/C][C]0.755061758567685[/C][C]0.622469120716158[/C][/ROW]
[ROW][C]11[/C][C]0.310201211069927[/C][C]0.620402422139855[/C][C]0.689798788930073[/C][/ROW]
[ROW][C]12[/C][C]0.235384159598903[/C][C]0.470768319197805[/C][C]0.764615840401097[/C][/ROW]
[ROW][C]13[/C][C]0.173101699460701[/C][C]0.346203398921401[/C][C]0.8268983005393[/C][/ROW]
[ROW][C]14[/C][C]0.120975545482612[/C][C]0.241951090965225[/C][C]0.879024454517388[/C][/ROW]
[ROW][C]15[/C][C]0.243171738991683[/C][C]0.486343477983367[/C][C]0.756828261008317[/C][/ROW]
[ROW][C]16[/C][C]0.207917816749665[/C][C]0.41583563349933[/C][C]0.792082183250335[/C][/ROW]
[ROW][C]17[/C][C]0.157025900566992[/C][C]0.314051801133985[/C][C]0.842974099433008[/C][/ROW]
[ROW][C]18[/C][C]0.306447196465831[/C][C]0.612894392931662[/C][C]0.693552803534169[/C][/ROW]
[ROW][C]19[/C][C]0.473164295666108[/C][C]0.946328591332215[/C][C]0.526835704333892[/C][/ROW]
[ROW][C]20[/C][C]0.417946560022385[/C][C]0.83589312004477[/C][C]0.582053439977615[/C][/ROW]
[ROW][C]21[/C][C]0.451269993615424[/C][C]0.902539987230848[/C][C]0.548730006384576[/C][/ROW]
[ROW][C]22[/C][C]0.50517444969984[/C][C]0.98965110060032[/C][C]0.49482555030016[/C][/ROW]
[ROW][C]23[/C][C]0.438763540302504[/C][C]0.877527080605009[/C][C]0.561236459697496[/C][/ROW]
[ROW][C]24[/C][C]0.369078883763133[/C][C]0.738157767526265[/C][C]0.630921116236868[/C][/ROW]
[ROW][C]25[/C][C]0.312688988152641[/C][C]0.625377976305283[/C][C]0.687311011847359[/C][/ROW]
[ROW][C]26[/C][C]0.266845844288737[/C][C]0.533691688577473[/C][C]0.733154155711263[/C][/ROW]
[ROW][C]27[/C][C]0.426341686731123[/C][C]0.852683373462245[/C][C]0.573658313268877[/C][/ROW]
[ROW][C]28[/C][C]0.391186992623366[/C][C]0.782373985246732[/C][C]0.608813007376634[/C][/ROW]
[ROW][C]29[/C][C]0.333016188659558[/C][C]0.666032377319116[/C][C]0.666983811340442[/C][/ROW]
[ROW][C]30[/C][C]0.828655686441014[/C][C]0.342688627117972[/C][C]0.171344313558986[/C][/ROW]
[ROW][C]31[/C][C]0.81679603650052[/C][C]0.366407926998961[/C][C]0.183203963499481[/C][/ROW]
[ROW][C]32[/C][C]0.77925817248307[/C][C]0.441483655033861[/C][C]0.220741827516930[/C][/ROW]
[ROW][C]33[/C][C]0.730811728310268[/C][C]0.538376543379463[/C][C]0.269188271689732[/C][/ROW]
[ROW][C]34[/C][C]0.70108676578975[/C][C]0.5978264684205[/C][C]0.29891323421025[/C][/ROW]
[ROW][C]35[/C][C]0.631017402658805[/C][C]0.737965194682391[/C][C]0.368982597341195[/C][/ROW]
[ROW][C]36[/C][C]0.578395708295505[/C][C]0.84320858340899[/C][C]0.421604291704495[/C][/ROW]
[ROW][C]37[/C][C]0.532545276651478[/C][C]0.934909446697043[/C][C]0.467454723348522[/C][/ROW]
[ROW][C]38[/C][C]0.461334874367819[/C][C]0.922669748735638[/C][C]0.538665125632181[/C][/ROW]
[ROW][C]39[/C][C]0.518898250243879[/C][C]0.962203499512241[/C][C]0.481101749756121[/C][/ROW]
[ROW][C]40[/C][C]0.515269687802493[/C][C]0.969460624395014[/C][C]0.484730312197507[/C][/ROW]
[ROW][C]41[/C][C]0.453959463554674[/C][C]0.907918927109349[/C][C]0.546040536445326[/C][/ROW]
[ROW][C]42[/C][C]0.437640153093296[/C][C]0.875280306186593[/C][C]0.562359846906704[/C][/ROW]
[ROW][C]43[/C][C]0.675720160968142[/C][C]0.648559678063715[/C][C]0.324279839031858[/C][/ROW]
[ROW][C]44[/C][C]0.810584414762741[/C][C]0.378831170474518[/C][C]0.189415585237259[/C][/ROW]
[ROW][C]45[/C][C]0.785975101535987[/C][C]0.428049796928026[/C][C]0.214024898464013[/C][/ROW]
[ROW][C]46[/C][C]0.76132974041394[/C][C]0.47734051917212[/C][C]0.23867025958606[/C][/ROW]
[ROW][C]47[/C][C]0.750350198430034[/C][C]0.499299603139932[/C][C]0.249649801569966[/C][/ROW]
[ROW][C]48[/C][C]0.723051049095489[/C][C]0.553897901809022[/C][C]0.276948950904511[/C][/ROW]
[ROW][C]49[/C][C]0.627502998831565[/C][C]0.74499400233687[/C][C]0.372497001168435[/C][/ROW]
[ROW][C]50[/C][C]0.523933030707078[/C][C]0.952133938585844[/C][C]0.476066969292922[/C][/ROW]
[ROW][C]51[/C][C]0.478288653427017[/C][C]0.956577306854034[/C][C]0.521711346572983[/C][/ROW]
[ROW][C]52[/C][C]0.389294707036798[/C][C]0.778589414073595[/C][C]0.610705292963202[/C][/ROW]
[ROW][C]53[/C][C]0.279297949396222[/C][C]0.558595898792444[/C][C]0.720702050603778[/C][/ROW]
[ROW][C]54[/C][C]0.335423214478039[/C][C]0.670846428956077[/C][C]0.664576785521962[/C][/ROW]
[ROW][C]55[/C][C]0.336452200551578[/C][C]0.672904401103155[/C][C]0.663547799448422[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32811&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32811&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.08646818514995410.1729363702999080.913531814850046
60.03053156883521930.06106313767043860.96946843116478
70.1454959171160750.290991834232150.854504082883925
80.5932790098030580.8134419803938850.406720990196942
90.4841941693938490.9683883387876980.515805830606151
100.3775308792838420.7550617585676850.622469120716158
110.3102012110699270.6204024221398550.689798788930073
120.2353841595989030.4707683191978050.764615840401097
130.1731016994607010.3462033989214010.8268983005393
140.1209755454826120.2419510909652250.879024454517388
150.2431717389916830.4863434779833670.756828261008317
160.2079178167496650.415835633499330.792082183250335
170.1570259005669920.3140518011339850.842974099433008
180.3064471964658310.6128943929316620.693552803534169
190.4731642956661080.9463285913322150.526835704333892
200.4179465600223850.835893120044770.582053439977615
210.4512699936154240.9025399872308480.548730006384576
220.505174449699840.989651100600320.49482555030016
230.4387635403025040.8775270806050090.561236459697496
240.3690788837631330.7381577675262650.630921116236868
250.3126889881526410.6253779763052830.687311011847359
260.2668458442887370.5336916885774730.733154155711263
270.4263416867311230.8526833734622450.573658313268877
280.3911869926233660.7823739852467320.608813007376634
290.3330161886595580.6660323773191160.666983811340442
300.8286556864410140.3426886271179720.171344313558986
310.816796036500520.3664079269989610.183203963499481
320.779258172483070.4414836550338610.220741827516930
330.7308117283102680.5383765433794630.269188271689732
340.701086765789750.59782646842050.29891323421025
350.6310174026588050.7379651946823910.368982597341195
360.5783957082955050.843208583408990.421604291704495
370.5325452766514780.9349094466970430.467454723348522
380.4613348743678190.9226697487356380.538665125632181
390.5188982502438790.9622034995122410.481101749756121
400.5152696878024930.9694606243950140.484730312197507
410.4539594635546740.9079189271093490.546040536445326
420.4376401530932960.8752803061865930.562359846906704
430.6757201609681420.6485596780637150.324279839031858
440.8105844147627410.3788311704745180.189415585237259
450.7859751015359870.4280497969280260.214024898464013
460.761329740413940.477340519172120.23867025958606
470.7503501984300340.4992996031399320.249649801569966
480.7230510490954890.5538979018090220.276948950904511
490.6275029988315650.744994002336870.372497001168435
500.5239330307070780.9521339385858440.476066969292922
510.4782886534270170.9565773068540340.521711346572983
520.3892947070367980.7785894140735950.610705292963202
530.2792979493962220.5585958987924440.720702050603778
540.3354232144780390.6708464289560770.664576785521962
550.3364522005515780.6729044011031550.663547799448422







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.0196078431372549OK

\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.0196078431372549 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32811&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.0196078431372549[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32811&T=6

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



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