Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationMon, 01 Dec 2008 12:24:25 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Dec/01/t1228159534ik5d8jqfhx7yuoi.htm/, Retrieved Sun, 05 May 2024 09:01:14 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=27225, Retrieved Sun, 05 May 2024 09:01:14 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact242
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F     [Multiple Regression] [Multiple lineair ...] [2008-11-22 10:58:57] [3b5d63cebdc58ed6c519cdb5b6a36d46]
-   PD    [Multiple Regression] [verbetering] [2008-12-01 19:24:25] [c4248bbb85fa4e400deddbf50234dcae] [Current]
Feedback Forum

Post a new message
Dataseries X:
6.06	0
5.983	0
6.11	0
6.143	0
6.093	0
6.148	0
6.464	0
6.532	0
6.321	0
6.23	0
6.176	0
6.338	0
6.462	0
6.401	0
6.46	0
6.519	0
6.542	0
6.637	0
7.114	0
7.579	0
7.408	0
8.243	0
8.243	0
8.434	0
8.576	0
8.58	0
8.645	0
8.66	0
8.72	0
8.787	0
9.162	0
9.144	0
8.806	0
8.778	0
8.66	0
8.826	0
8.609	1
8.628	1
8.619	1
8.775	1
8.84	1
8.745	1
9.092	1
8.934	1
8.749	1
8.298	1
8.067	1
7.969	1
7.999	0
7.865	0
7.746	0
7.633	0
7.458	0
7.391	0
7.856	0
7.72	0
7.297	0
7.123	0
7.004	0
7.151	0




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

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

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

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

As an alternative you can also use a QR Code:  

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

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
Textiel[t] = + 7.50579583333333 + 1.18902083333333dummy[t] -0.2024M1[t] -0.252199999999998M2[t] -0.227599999999999M3[t] -0.197600000000000M4[t] -0.212999999999998M5[t] -0.201999999999999M6[t] + 0.194000000000001M7[t] + 0.238200000000001M8[t] -0.0273999999999989M9[t] -0.00919999999999873M10[t] -0.113599999999999M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Textiel[t] =  +  7.50579583333333 +  1.18902083333333dummy[t] -0.2024M1[t] -0.252199999999998M2[t] -0.227599999999999M3[t] -0.197600000000000M4[t] -0.212999999999998M5[t] -0.201999999999999M6[t] +  0.194000000000001M7[t] +  0.238200000000001M8[t] -0.0273999999999989M9[t] -0.00919999999999873M10[t] -0.113599999999999M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27225&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Textiel[t] =  +  7.50579583333333 +  1.18902083333333dummy[t] -0.2024M1[t] -0.252199999999998M2[t] -0.227599999999999M3[t] -0.197600000000000M4[t] -0.212999999999998M5[t] -0.201999999999999M6[t] +  0.194000000000001M7[t] +  0.238200000000001M8[t] -0.0273999999999989M9[t] -0.00919999999999873M10[t] -0.113599999999999M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27225&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27225&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
Textiel[t] = + 7.50579583333333 + 1.18902083333333dummy[t] -0.2024M1[t] -0.252199999999998M2[t] -0.227599999999999M3[t] -0.197600000000000M4[t] -0.212999999999998M5[t] -0.201999999999999M6[t] + 0.194000000000001M7[t] + 0.238200000000001M8[t] -0.0273999999999989M9[t] -0.00919999999999873M10[t] -0.113599999999999M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)7.505795833333330.46079116.288900
dummy1.189020833333330.3291363.61250.0007350.000368
M1-0.20240.644973-0.31380.7550530.377526
M2-0.2521999999999980.644973-0.3910.6975460.348773
M3-0.2275999999999990.644973-0.35290.7257540.362877
M4-0.1976000000000000.644973-0.30640.7606760.380338
M5-0.2129999999999980.644973-0.33020.7426810.371341
M6-0.2019999999999990.644973-0.31320.7555210.37776
M70.1940000000000010.6449730.30080.7649030.382451
M80.2382000000000010.6449730.36930.713550.356775
M9-0.02739999999999890.644973-0.04250.9662940.483147
M10-0.009199999999998730.644973-0.01430.988680.49434
M11-0.1135999999999990.644973-0.17610.8609470.430474

\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) & 7.50579583333333 & 0.460791 & 16.2889 & 0 & 0 \tabularnewline
dummy & 1.18902083333333 & 0.329136 & 3.6125 & 0.000735 & 0.000368 \tabularnewline
M1 & -0.2024 & 0.644973 & -0.3138 & 0.755053 & 0.377526 \tabularnewline
M2 & -0.252199999999998 & 0.644973 & -0.391 & 0.697546 & 0.348773 \tabularnewline
M3 & -0.227599999999999 & 0.644973 & -0.3529 & 0.725754 & 0.362877 \tabularnewline
M4 & -0.197600000000000 & 0.644973 & -0.3064 & 0.760676 & 0.380338 \tabularnewline
M5 & -0.212999999999998 & 0.644973 & -0.3302 & 0.742681 & 0.371341 \tabularnewline
M6 & -0.201999999999999 & 0.644973 & -0.3132 & 0.755521 & 0.37776 \tabularnewline
M7 & 0.194000000000001 & 0.644973 & 0.3008 & 0.764903 & 0.382451 \tabularnewline
M8 & 0.238200000000001 & 0.644973 & 0.3693 & 0.71355 & 0.356775 \tabularnewline
M9 & -0.0273999999999989 & 0.644973 & -0.0425 & 0.966294 & 0.483147 \tabularnewline
M10 & -0.00919999999999873 & 0.644973 & -0.0143 & 0.98868 & 0.49434 \tabularnewline
M11 & -0.113599999999999 & 0.644973 & -0.1761 & 0.860947 & 0.430474 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27225&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]7.50579583333333[/C][C]0.460791[/C][C]16.2889[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]dummy[/C][C]1.18902083333333[/C][C]0.329136[/C][C]3.6125[/C][C]0.000735[/C][C]0.000368[/C][/ROW]
[ROW][C]M1[/C][C]-0.2024[/C][C]0.644973[/C][C]-0.3138[/C][C]0.755053[/C][C]0.377526[/C][/ROW]
[ROW][C]M2[/C][C]-0.252199999999998[/C][C]0.644973[/C][C]-0.391[/C][C]0.697546[/C][C]0.348773[/C][/ROW]
[ROW][C]M3[/C][C]-0.227599999999999[/C][C]0.644973[/C][C]-0.3529[/C][C]0.725754[/C][C]0.362877[/C][/ROW]
[ROW][C]M4[/C][C]-0.197600000000000[/C][C]0.644973[/C][C]-0.3064[/C][C]0.760676[/C][C]0.380338[/C][/ROW]
[ROW][C]M5[/C][C]-0.212999999999998[/C][C]0.644973[/C][C]-0.3302[/C][C]0.742681[/C][C]0.371341[/C][/ROW]
[ROW][C]M6[/C][C]-0.201999999999999[/C][C]0.644973[/C][C]-0.3132[/C][C]0.755521[/C][C]0.37776[/C][/ROW]
[ROW][C]M7[/C][C]0.194000000000001[/C][C]0.644973[/C][C]0.3008[/C][C]0.764903[/C][C]0.382451[/C][/ROW]
[ROW][C]M8[/C][C]0.238200000000001[/C][C]0.644973[/C][C]0.3693[/C][C]0.71355[/C][C]0.356775[/C][/ROW]
[ROW][C]M9[/C][C]-0.0273999999999989[/C][C]0.644973[/C][C]-0.0425[/C][C]0.966294[/C][C]0.483147[/C][/ROW]
[ROW][C]M10[/C][C]-0.00919999999999873[/C][C]0.644973[/C][C]-0.0143[/C][C]0.98868[/C][C]0.49434[/C][/ROW]
[ROW][C]M11[/C][C]-0.113599999999999[/C][C]0.644973[/C][C]-0.1761[/C][C]0.860947[/C][C]0.430474[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27225&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27225&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)7.505795833333330.46079116.288900
dummy1.189020833333330.3291363.61250.0007350.000368
M1-0.20240.644973-0.31380.7550530.377526
M2-0.2521999999999980.644973-0.3910.6975460.348773
M3-0.2275999999999990.644973-0.35290.7257540.362877
M4-0.1976000000000000.644973-0.30640.7606760.380338
M5-0.2129999999999980.644973-0.33020.7426810.371341
M6-0.2019999999999990.644973-0.31320.7555210.37776
M70.1940000000000010.6449730.30080.7649030.382451
M80.2382000000000010.6449730.36930.713550.356775
M9-0.02739999999999890.644973-0.04250.9662940.483147
M10-0.009199999999998730.644973-0.01430.988680.49434
M11-0.1135999999999990.644973-0.17610.8609470.430474







Multiple Linear Regression - Regression Statistics
Multiple R0.485732366547749
R-squared0.235935931912077
Adjusted R-squared0.0408557443151606
F-TEST (value)1.20943051582244
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.305008961144369
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.01979161822021
Sum Squared Residuals48.8788223958333

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.485732366547749 \tabularnewline
R-squared & 0.235935931912077 \tabularnewline
Adjusted R-squared & 0.0408557443151606 \tabularnewline
F-TEST (value) & 1.20943051582244 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0.305008961144369 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1.01979161822021 \tabularnewline
Sum Squared Residuals & 48.8788223958333 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27225&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.485732366547749[/C][/ROW]
[ROW][C]R-squared[/C][C]0.235935931912077[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.0408557443151606[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]1.20943051582244[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0.305008961144369[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]1.01979161822021[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]48.8788223958333[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27225&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27225&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.485732366547749
R-squared0.235935931912077
Adjusted R-squared0.0408557443151606
F-TEST (value)1.20943051582244
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.305008961144369
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.01979161822021
Sum Squared Residuals48.8788223958333







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
16.067.30339583333334-1.24339583333334
25.9837.25359583333333-1.27059583333333
36.117.27819583333333-1.16819583333333
46.1437.30819583333333-1.16519583333333
56.0937.29279583333333-1.19979583333333
66.1487.30379583333333-1.15579583333333
76.4647.69979583333333-1.23579583333333
86.5327.74399583333333-1.21199583333333
96.3217.47839583333333-1.15739583333333
106.237.49659583333333-1.26659583333333
116.1767.39219583333333-1.21619583333333
126.3387.50579583333333-1.16779583333333
136.4627.30339583333333-0.841395833333333
146.4017.25359583333333-0.852595833333335
156.467.27819583333333-0.818195833333333
166.5197.30819583333333-0.789195833333333
176.5427.29279583333333-0.750795833333334
186.6377.30379583333333-0.666795833333334
197.1147.69979583333333-0.585795833333334
207.5797.74399583333333-0.164995833333333
217.4087.47839583333333-0.070395833333333
228.2437.496595833333330.746404166666667
238.2437.392195833333330.850804166666667
248.4347.505795833333330.928204166666668
258.5767.303395833333331.27260416666667
268.587.253595833333331.32640416666667
278.6457.278195833333331.36680416666667
288.667.308195833333331.35180416666667
298.727.292795833333331.42720416666667
308.7877.303795833333331.48320416666667
319.1627.699795833333331.46220416666667
329.1447.743995833333331.40000416666667
338.8067.478395833333331.32760416666667
348.7787.496595833333331.28140416666667
358.667.392195833333331.26780416666667
368.8267.505795833333331.32020416666667
378.6098.492416666666670.116583333333334
388.6288.442616666666670.185383333333332
398.6198.467216666666670.151783333333333
408.7758.497216666666670.277783333333334
418.848.481816666666670.358183333333332
428.7458.492816666666670.252183333333332
439.0928.888816666666670.203183333333333
448.9348.933016666666670.000983333333332614
458.7498.667416666666670.0815833333333335
468.2988.68561666666667-0.387616666666667
478.0678.58121666666667-0.514216666666667
487.9698.69481666666667-0.725816666666665
497.9997.303395833333330.695604166666667
507.8657.253595833333330.611404166666666
517.7467.278195833333330.467804166666667
527.6337.308195833333330.324804166666667
537.4587.292795833333330.165204166666666
547.3917.303795833333330.0872041666666665
557.8567.699795833333330.156204166666666
567.727.74399583333333-0.0239958333333335
577.2977.47839583333333-0.181395833333334
587.1237.49659583333333-0.373595833333333
597.0047.39219583333333-0.388195833333334
607.1517.50579583333333-0.354795833333332

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 6.06 & 7.30339583333334 & -1.24339583333334 \tabularnewline
2 & 5.983 & 7.25359583333333 & -1.27059583333333 \tabularnewline
3 & 6.11 & 7.27819583333333 & -1.16819583333333 \tabularnewline
4 & 6.143 & 7.30819583333333 & -1.16519583333333 \tabularnewline
5 & 6.093 & 7.29279583333333 & -1.19979583333333 \tabularnewline
6 & 6.148 & 7.30379583333333 & -1.15579583333333 \tabularnewline
7 & 6.464 & 7.69979583333333 & -1.23579583333333 \tabularnewline
8 & 6.532 & 7.74399583333333 & -1.21199583333333 \tabularnewline
9 & 6.321 & 7.47839583333333 & -1.15739583333333 \tabularnewline
10 & 6.23 & 7.49659583333333 & -1.26659583333333 \tabularnewline
11 & 6.176 & 7.39219583333333 & -1.21619583333333 \tabularnewline
12 & 6.338 & 7.50579583333333 & -1.16779583333333 \tabularnewline
13 & 6.462 & 7.30339583333333 & -0.841395833333333 \tabularnewline
14 & 6.401 & 7.25359583333333 & -0.852595833333335 \tabularnewline
15 & 6.46 & 7.27819583333333 & -0.818195833333333 \tabularnewline
16 & 6.519 & 7.30819583333333 & -0.789195833333333 \tabularnewline
17 & 6.542 & 7.29279583333333 & -0.750795833333334 \tabularnewline
18 & 6.637 & 7.30379583333333 & -0.666795833333334 \tabularnewline
19 & 7.114 & 7.69979583333333 & -0.585795833333334 \tabularnewline
20 & 7.579 & 7.74399583333333 & -0.164995833333333 \tabularnewline
21 & 7.408 & 7.47839583333333 & -0.070395833333333 \tabularnewline
22 & 8.243 & 7.49659583333333 & 0.746404166666667 \tabularnewline
23 & 8.243 & 7.39219583333333 & 0.850804166666667 \tabularnewline
24 & 8.434 & 7.50579583333333 & 0.928204166666668 \tabularnewline
25 & 8.576 & 7.30339583333333 & 1.27260416666667 \tabularnewline
26 & 8.58 & 7.25359583333333 & 1.32640416666667 \tabularnewline
27 & 8.645 & 7.27819583333333 & 1.36680416666667 \tabularnewline
28 & 8.66 & 7.30819583333333 & 1.35180416666667 \tabularnewline
29 & 8.72 & 7.29279583333333 & 1.42720416666667 \tabularnewline
30 & 8.787 & 7.30379583333333 & 1.48320416666667 \tabularnewline
31 & 9.162 & 7.69979583333333 & 1.46220416666667 \tabularnewline
32 & 9.144 & 7.74399583333333 & 1.40000416666667 \tabularnewline
33 & 8.806 & 7.47839583333333 & 1.32760416666667 \tabularnewline
34 & 8.778 & 7.49659583333333 & 1.28140416666667 \tabularnewline
35 & 8.66 & 7.39219583333333 & 1.26780416666667 \tabularnewline
36 & 8.826 & 7.50579583333333 & 1.32020416666667 \tabularnewline
37 & 8.609 & 8.49241666666667 & 0.116583333333334 \tabularnewline
38 & 8.628 & 8.44261666666667 & 0.185383333333332 \tabularnewline
39 & 8.619 & 8.46721666666667 & 0.151783333333333 \tabularnewline
40 & 8.775 & 8.49721666666667 & 0.277783333333334 \tabularnewline
41 & 8.84 & 8.48181666666667 & 0.358183333333332 \tabularnewline
42 & 8.745 & 8.49281666666667 & 0.252183333333332 \tabularnewline
43 & 9.092 & 8.88881666666667 & 0.203183333333333 \tabularnewline
44 & 8.934 & 8.93301666666667 & 0.000983333333332614 \tabularnewline
45 & 8.749 & 8.66741666666667 & 0.0815833333333335 \tabularnewline
46 & 8.298 & 8.68561666666667 & -0.387616666666667 \tabularnewline
47 & 8.067 & 8.58121666666667 & -0.514216666666667 \tabularnewline
48 & 7.969 & 8.69481666666667 & -0.725816666666665 \tabularnewline
49 & 7.999 & 7.30339583333333 & 0.695604166666667 \tabularnewline
50 & 7.865 & 7.25359583333333 & 0.611404166666666 \tabularnewline
51 & 7.746 & 7.27819583333333 & 0.467804166666667 \tabularnewline
52 & 7.633 & 7.30819583333333 & 0.324804166666667 \tabularnewline
53 & 7.458 & 7.29279583333333 & 0.165204166666666 \tabularnewline
54 & 7.391 & 7.30379583333333 & 0.0872041666666665 \tabularnewline
55 & 7.856 & 7.69979583333333 & 0.156204166666666 \tabularnewline
56 & 7.72 & 7.74399583333333 & -0.0239958333333335 \tabularnewline
57 & 7.297 & 7.47839583333333 & -0.181395833333334 \tabularnewline
58 & 7.123 & 7.49659583333333 & -0.373595833333333 \tabularnewline
59 & 7.004 & 7.39219583333333 & -0.388195833333334 \tabularnewline
60 & 7.151 & 7.50579583333333 & -0.354795833333332 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27225&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]6.06[/C][C]7.30339583333334[/C][C]-1.24339583333334[/C][/ROW]
[ROW][C]2[/C][C]5.983[/C][C]7.25359583333333[/C][C]-1.27059583333333[/C][/ROW]
[ROW][C]3[/C][C]6.11[/C][C]7.27819583333333[/C][C]-1.16819583333333[/C][/ROW]
[ROW][C]4[/C][C]6.143[/C][C]7.30819583333333[/C][C]-1.16519583333333[/C][/ROW]
[ROW][C]5[/C][C]6.093[/C][C]7.29279583333333[/C][C]-1.19979583333333[/C][/ROW]
[ROW][C]6[/C][C]6.148[/C][C]7.30379583333333[/C][C]-1.15579583333333[/C][/ROW]
[ROW][C]7[/C][C]6.464[/C][C]7.69979583333333[/C][C]-1.23579583333333[/C][/ROW]
[ROW][C]8[/C][C]6.532[/C][C]7.74399583333333[/C][C]-1.21199583333333[/C][/ROW]
[ROW][C]9[/C][C]6.321[/C][C]7.47839583333333[/C][C]-1.15739583333333[/C][/ROW]
[ROW][C]10[/C][C]6.23[/C][C]7.49659583333333[/C][C]-1.26659583333333[/C][/ROW]
[ROW][C]11[/C][C]6.176[/C][C]7.39219583333333[/C][C]-1.21619583333333[/C][/ROW]
[ROW][C]12[/C][C]6.338[/C][C]7.50579583333333[/C][C]-1.16779583333333[/C][/ROW]
[ROW][C]13[/C][C]6.462[/C][C]7.30339583333333[/C][C]-0.841395833333333[/C][/ROW]
[ROW][C]14[/C][C]6.401[/C][C]7.25359583333333[/C][C]-0.852595833333335[/C][/ROW]
[ROW][C]15[/C][C]6.46[/C][C]7.27819583333333[/C][C]-0.818195833333333[/C][/ROW]
[ROW][C]16[/C][C]6.519[/C][C]7.30819583333333[/C][C]-0.789195833333333[/C][/ROW]
[ROW][C]17[/C][C]6.542[/C][C]7.29279583333333[/C][C]-0.750795833333334[/C][/ROW]
[ROW][C]18[/C][C]6.637[/C][C]7.30379583333333[/C][C]-0.666795833333334[/C][/ROW]
[ROW][C]19[/C][C]7.114[/C][C]7.69979583333333[/C][C]-0.585795833333334[/C][/ROW]
[ROW][C]20[/C][C]7.579[/C][C]7.74399583333333[/C][C]-0.164995833333333[/C][/ROW]
[ROW][C]21[/C][C]7.408[/C][C]7.47839583333333[/C][C]-0.070395833333333[/C][/ROW]
[ROW][C]22[/C][C]8.243[/C][C]7.49659583333333[/C][C]0.746404166666667[/C][/ROW]
[ROW][C]23[/C][C]8.243[/C][C]7.39219583333333[/C][C]0.850804166666667[/C][/ROW]
[ROW][C]24[/C][C]8.434[/C][C]7.50579583333333[/C][C]0.928204166666668[/C][/ROW]
[ROW][C]25[/C][C]8.576[/C][C]7.30339583333333[/C][C]1.27260416666667[/C][/ROW]
[ROW][C]26[/C][C]8.58[/C][C]7.25359583333333[/C][C]1.32640416666667[/C][/ROW]
[ROW][C]27[/C][C]8.645[/C][C]7.27819583333333[/C][C]1.36680416666667[/C][/ROW]
[ROW][C]28[/C][C]8.66[/C][C]7.30819583333333[/C][C]1.35180416666667[/C][/ROW]
[ROW][C]29[/C][C]8.72[/C][C]7.29279583333333[/C][C]1.42720416666667[/C][/ROW]
[ROW][C]30[/C][C]8.787[/C][C]7.30379583333333[/C][C]1.48320416666667[/C][/ROW]
[ROW][C]31[/C][C]9.162[/C][C]7.69979583333333[/C][C]1.46220416666667[/C][/ROW]
[ROW][C]32[/C][C]9.144[/C][C]7.74399583333333[/C][C]1.40000416666667[/C][/ROW]
[ROW][C]33[/C][C]8.806[/C][C]7.47839583333333[/C][C]1.32760416666667[/C][/ROW]
[ROW][C]34[/C][C]8.778[/C][C]7.49659583333333[/C][C]1.28140416666667[/C][/ROW]
[ROW][C]35[/C][C]8.66[/C][C]7.39219583333333[/C][C]1.26780416666667[/C][/ROW]
[ROW][C]36[/C][C]8.826[/C][C]7.50579583333333[/C][C]1.32020416666667[/C][/ROW]
[ROW][C]37[/C][C]8.609[/C][C]8.49241666666667[/C][C]0.116583333333334[/C][/ROW]
[ROW][C]38[/C][C]8.628[/C][C]8.44261666666667[/C][C]0.185383333333332[/C][/ROW]
[ROW][C]39[/C][C]8.619[/C][C]8.46721666666667[/C][C]0.151783333333333[/C][/ROW]
[ROW][C]40[/C][C]8.775[/C][C]8.49721666666667[/C][C]0.277783333333334[/C][/ROW]
[ROW][C]41[/C][C]8.84[/C][C]8.48181666666667[/C][C]0.358183333333332[/C][/ROW]
[ROW][C]42[/C][C]8.745[/C][C]8.49281666666667[/C][C]0.252183333333332[/C][/ROW]
[ROW][C]43[/C][C]9.092[/C][C]8.88881666666667[/C][C]0.203183333333333[/C][/ROW]
[ROW][C]44[/C][C]8.934[/C][C]8.93301666666667[/C][C]0.000983333333332614[/C][/ROW]
[ROW][C]45[/C][C]8.749[/C][C]8.66741666666667[/C][C]0.0815833333333335[/C][/ROW]
[ROW][C]46[/C][C]8.298[/C][C]8.68561666666667[/C][C]-0.387616666666667[/C][/ROW]
[ROW][C]47[/C][C]8.067[/C][C]8.58121666666667[/C][C]-0.514216666666667[/C][/ROW]
[ROW][C]48[/C][C]7.969[/C][C]8.69481666666667[/C][C]-0.725816666666665[/C][/ROW]
[ROW][C]49[/C][C]7.999[/C][C]7.30339583333333[/C][C]0.695604166666667[/C][/ROW]
[ROW][C]50[/C][C]7.865[/C][C]7.25359583333333[/C][C]0.611404166666666[/C][/ROW]
[ROW][C]51[/C][C]7.746[/C][C]7.27819583333333[/C][C]0.467804166666667[/C][/ROW]
[ROW][C]52[/C][C]7.633[/C][C]7.30819583333333[/C][C]0.324804166666667[/C][/ROW]
[ROW][C]53[/C][C]7.458[/C][C]7.29279583333333[/C][C]0.165204166666666[/C][/ROW]
[ROW][C]54[/C][C]7.391[/C][C]7.30379583333333[/C][C]0.0872041666666665[/C][/ROW]
[ROW][C]55[/C][C]7.856[/C][C]7.69979583333333[/C][C]0.156204166666666[/C][/ROW]
[ROW][C]56[/C][C]7.72[/C][C]7.74399583333333[/C][C]-0.0239958333333335[/C][/ROW]
[ROW][C]57[/C][C]7.297[/C][C]7.47839583333333[/C][C]-0.181395833333334[/C][/ROW]
[ROW][C]58[/C][C]7.123[/C][C]7.49659583333333[/C][C]-0.373595833333333[/C][/ROW]
[ROW][C]59[/C][C]7.004[/C][C]7.39219583333333[/C][C]-0.388195833333334[/C][/ROW]
[ROW][C]60[/C][C]7.151[/C][C]7.50579583333333[/C][C]-0.354795833333332[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27225&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27225&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
16.067.30339583333334-1.24339583333334
25.9837.25359583333333-1.27059583333333
36.117.27819583333333-1.16819583333333
46.1437.30819583333333-1.16519583333333
56.0937.29279583333333-1.19979583333333
66.1487.30379583333333-1.15579583333333
76.4647.69979583333333-1.23579583333333
86.5327.74399583333333-1.21199583333333
96.3217.47839583333333-1.15739583333333
106.237.49659583333333-1.26659583333333
116.1767.39219583333333-1.21619583333333
126.3387.50579583333333-1.16779583333333
136.4627.30339583333333-0.841395833333333
146.4017.25359583333333-0.852595833333335
156.467.27819583333333-0.818195833333333
166.5197.30819583333333-0.789195833333333
176.5427.29279583333333-0.750795833333334
186.6377.30379583333333-0.666795833333334
197.1147.69979583333333-0.585795833333334
207.5797.74399583333333-0.164995833333333
217.4087.47839583333333-0.070395833333333
228.2437.496595833333330.746404166666667
238.2437.392195833333330.850804166666667
248.4347.505795833333330.928204166666668
258.5767.303395833333331.27260416666667
268.587.253595833333331.32640416666667
278.6457.278195833333331.36680416666667
288.667.308195833333331.35180416666667
298.727.292795833333331.42720416666667
308.7877.303795833333331.48320416666667
319.1627.699795833333331.46220416666667
329.1447.743995833333331.40000416666667
338.8067.478395833333331.32760416666667
348.7787.496595833333331.28140416666667
358.667.392195833333331.26780416666667
368.8267.505795833333331.32020416666667
378.6098.492416666666670.116583333333334
388.6288.442616666666670.185383333333332
398.6198.467216666666670.151783333333333
408.7758.497216666666670.277783333333334
418.848.481816666666670.358183333333332
428.7458.492816666666670.252183333333332
439.0928.888816666666670.203183333333333
448.9348.933016666666670.000983333333332614
458.7498.667416666666670.0815833333333335
468.2988.68561666666667-0.387616666666667
478.0678.58121666666667-0.514216666666667
487.9698.69481666666667-0.725816666666665
497.9997.303395833333330.695604166666667
507.8657.253595833333330.611404166666666
517.7467.278195833333330.467804166666667
527.6337.308195833333330.324804166666667
537.4587.292795833333330.165204166666666
547.3917.303795833333330.0872041666666665
557.8567.699795833333330.156204166666666
567.727.74399583333333-0.0239958333333335
577.2977.47839583333333-0.181395833333334
587.1237.49659583333333-0.373595833333333
597.0047.39219583333333-0.388195833333334
607.1517.50579583333333-0.354795833333332







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.09063828408165140.1812765681633030.909361715918349
170.06156707595419350.1231341519083870.938432924045806
180.04950368312884670.09900736625769350.950496316871153
190.05920563075689990.1184112615138000.9407943692431
200.1234027916142110.2468055832284220.87659720838579
210.1882873552149240.3765747104298470.811712644785076
220.5182403188373010.9635193623253980.481759681162699
230.7281359662386490.5437280675227030.271864033761351
240.8408007316465750.3183985367068500.159199268353425
250.93273423356910.1345315328618020.0672657664309009
260.9679889673356430.06402206532871440.0320110326643572
270.982097132173550.03580573565290090.0179028678264505
280.988100533360810.02379893327838190.0118994666391910
290.9920783795329380.01584324093412460.00792162046706231
300.9948232556505750.01035348869884970.00517674434942486
310.996282582688530.007434834622941110.00371741731147055
320.9973190712824260.005361857435147510.00268092871757376
330.997972215573780.004055568852440610.00202778442622031
340.9991323508172230.001735298365553520.00086764918277676
350.999852744742430.0002945105151419880.000147255257570994
360.9999999705052155.8989568999894e-082.9494784499947e-08
370.9999999656438976.87122051117157e-083.43561025558579e-08
380.999999931312211.37375580659605e-076.86877903298024e-08
390.9999997964668674.07066265096903e-072.03533132548451e-07
400.9999980510335683.89793286463067e-061.94896643231533e-06
410.9999873209721862.53580556276438e-051.26790278138219e-05
420.9999176006556590.0001647986886824768.2399344341238e-05
430.9993176960195180.001364607960964110.000682303980482054
440.9947957942551120.01040841148977650.00520420574488825

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.0906382840816514 & 0.181276568163303 & 0.909361715918349 \tabularnewline
17 & 0.0615670759541935 & 0.123134151908387 & 0.938432924045806 \tabularnewline
18 & 0.0495036831288467 & 0.0990073662576935 & 0.950496316871153 \tabularnewline
19 & 0.0592056307568999 & 0.118411261513800 & 0.9407943692431 \tabularnewline
20 & 0.123402791614211 & 0.246805583228422 & 0.87659720838579 \tabularnewline
21 & 0.188287355214924 & 0.376574710429847 & 0.811712644785076 \tabularnewline
22 & 0.518240318837301 & 0.963519362325398 & 0.481759681162699 \tabularnewline
23 & 0.728135966238649 & 0.543728067522703 & 0.271864033761351 \tabularnewline
24 & 0.840800731646575 & 0.318398536706850 & 0.159199268353425 \tabularnewline
25 & 0.9327342335691 & 0.134531532861802 & 0.0672657664309009 \tabularnewline
26 & 0.967988967335643 & 0.0640220653287144 & 0.0320110326643572 \tabularnewline
27 & 0.98209713217355 & 0.0358057356529009 & 0.0179028678264505 \tabularnewline
28 & 0.98810053336081 & 0.0237989332783819 & 0.0118994666391910 \tabularnewline
29 & 0.992078379532938 & 0.0158432409341246 & 0.00792162046706231 \tabularnewline
30 & 0.994823255650575 & 0.0103534886988497 & 0.00517674434942486 \tabularnewline
31 & 0.99628258268853 & 0.00743483462294111 & 0.00371741731147055 \tabularnewline
32 & 0.997319071282426 & 0.00536185743514751 & 0.00268092871757376 \tabularnewline
33 & 0.99797221557378 & 0.00405556885244061 & 0.00202778442622031 \tabularnewline
34 & 0.999132350817223 & 0.00173529836555352 & 0.00086764918277676 \tabularnewline
35 & 0.99985274474243 & 0.000294510515141988 & 0.000147255257570994 \tabularnewline
36 & 0.999999970505215 & 5.8989568999894e-08 & 2.9494784499947e-08 \tabularnewline
37 & 0.999999965643897 & 6.87122051117157e-08 & 3.43561025558579e-08 \tabularnewline
38 & 0.99999993131221 & 1.37375580659605e-07 & 6.86877903298024e-08 \tabularnewline
39 & 0.999999796466867 & 4.07066265096903e-07 & 2.03533132548451e-07 \tabularnewline
40 & 0.999998051033568 & 3.89793286463067e-06 & 1.94896643231533e-06 \tabularnewline
41 & 0.999987320972186 & 2.53580556276438e-05 & 1.26790278138219e-05 \tabularnewline
42 & 0.999917600655659 & 0.000164798688682476 & 8.2399344341238e-05 \tabularnewline
43 & 0.999317696019518 & 0.00136460796096411 & 0.000682303980482054 \tabularnewline
44 & 0.994795794255112 & 0.0104084114897765 & 0.00520420574488825 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=27225&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]16[/C][C]0.0906382840816514[/C][C]0.181276568163303[/C][C]0.909361715918349[/C][/ROW]
[ROW][C]17[/C][C]0.0615670759541935[/C][C]0.123134151908387[/C][C]0.938432924045806[/C][/ROW]
[ROW][C]18[/C][C]0.0495036831288467[/C][C]0.0990073662576935[/C][C]0.950496316871153[/C][/ROW]
[ROW][C]19[/C][C]0.0592056307568999[/C][C]0.118411261513800[/C][C]0.9407943692431[/C][/ROW]
[ROW][C]20[/C][C]0.123402791614211[/C][C]0.246805583228422[/C][C]0.87659720838579[/C][/ROW]
[ROW][C]21[/C][C]0.188287355214924[/C][C]0.376574710429847[/C][C]0.811712644785076[/C][/ROW]
[ROW][C]22[/C][C]0.518240318837301[/C][C]0.963519362325398[/C][C]0.481759681162699[/C][/ROW]
[ROW][C]23[/C][C]0.728135966238649[/C][C]0.543728067522703[/C][C]0.271864033761351[/C][/ROW]
[ROW][C]24[/C][C]0.840800731646575[/C][C]0.318398536706850[/C][C]0.159199268353425[/C][/ROW]
[ROW][C]25[/C][C]0.9327342335691[/C][C]0.134531532861802[/C][C]0.0672657664309009[/C][/ROW]
[ROW][C]26[/C][C]0.967988967335643[/C][C]0.0640220653287144[/C][C]0.0320110326643572[/C][/ROW]
[ROW][C]27[/C][C]0.98209713217355[/C][C]0.0358057356529009[/C][C]0.0179028678264505[/C][/ROW]
[ROW][C]28[/C][C]0.98810053336081[/C][C]0.0237989332783819[/C][C]0.0118994666391910[/C][/ROW]
[ROW][C]29[/C][C]0.992078379532938[/C][C]0.0158432409341246[/C][C]0.00792162046706231[/C][/ROW]
[ROW][C]30[/C][C]0.994823255650575[/C][C]0.0103534886988497[/C][C]0.00517674434942486[/C][/ROW]
[ROW][C]31[/C][C]0.99628258268853[/C][C]0.00743483462294111[/C][C]0.00371741731147055[/C][/ROW]
[ROW][C]32[/C][C]0.997319071282426[/C][C]0.00536185743514751[/C][C]0.00268092871757376[/C][/ROW]
[ROW][C]33[/C][C]0.99797221557378[/C][C]0.00405556885244061[/C][C]0.00202778442622031[/C][/ROW]
[ROW][C]34[/C][C]0.999132350817223[/C][C]0.00173529836555352[/C][C]0.00086764918277676[/C][/ROW]
[ROW][C]35[/C][C]0.99985274474243[/C][C]0.000294510515141988[/C][C]0.000147255257570994[/C][/ROW]
[ROW][C]36[/C][C]0.999999970505215[/C][C]5.8989568999894e-08[/C][C]2.9494784499947e-08[/C][/ROW]
[ROW][C]37[/C][C]0.999999965643897[/C][C]6.87122051117157e-08[/C][C]3.43561025558579e-08[/C][/ROW]
[ROW][C]38[/C][C]0.99999993131221[/C][C]1.37375580659605e-07[/C][C]6.86877903298024e-08[/C][/ROW]
[ROW][C]39[/C][C]0.999999796466867[/C][C]4.07066265096903e-07[/C][C]2.03533132548451e-07[/C][/ROW]
[ROW][C]40[/C][C]0.999998051033568[/C][C]3.89793286463067e-06[/C][C]1.94896643231533e-06[/C][/ROW]
[ROW][C]41[/C][C]0.999987320972186[/C][C]2.53580556276438e-05[/C][C]1.26790278138219e-05[/C][/ROW]
[ROW][C]42[/C][C]0.999917600655659[/C][C]0.000164798688682476[/C][C]8.2399344341238e-05[/C][/ROW]
[ROW][C]43[/C][C]0.999317696019518[/C][C]0.00136460796096411[/C][C]0.000682303980482054[/C][/ROW]
[ROW][C]44[/C][C]0.994795794255112[/C][C]0.0104084114897765[/C][C]0.00520420574488825[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=27225&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27225&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
160.09063828408165140.1812765681633030.909361715918349
170.06156707595419350.1231341519083870.938432924045806
180.04950368312884670.09900736625769350.950496316871153
190.05920563075689990.1184112615138000.9407943692431
200.1234027916142110.2468055832284220.87659720838579
210.1882873552149240.3765747104298470.811712644785076
220.5182403188373010.9635193623253980.481759681162699
230.7281359662386490.5437280675227030.271864033761351
240.8408007316465750.3183985367068500.159199268353425
250.93273423356910.1345315328618020.0672657664309009
260.9679889673356430.06402206532871440.0320110326643572
270.982097132173550.03580573565290090.0179028678264505
280.988100533360810.02379893327838190.0118994666391910
290.9920783795329380.01584324093412460.00792162046706231
300.9948232556505750.01035348869884970.00517674434942486
310.996282582688530.007434834622941110.00371741731147055
320.9973190712824260.005361857435147510.00268092871757376
330.997972215573780.004055568852440610.00202778442622031
340.9991323508172230.001735298365553520.00086764918277676
350.999852744742430.0002945105151419880.000147255257570994
360.9999999705052155.8989568999894e-082.9494784499947e-08
370.9999999656438976.87122051117157e-083.43561025558579e-08
380.999999931312211.37375580659605e-076.86877903298024e-08
390.9999997964668674.07066265096903e-072.03533132548451e-07
400.9999980510335683.89793286463067e-061.94896643231533e-06
410.9999873209721862.53580556276438e-051.26790278138219e-05
420.9999176006556590.0001647986886824768.2399344341238e-05
430.9993176960195180.001364607960964110.000682303980482054
440.9947957942551120.01040841148977650.00520420574488825







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level130.448275862068966NOK
5% type I error level180.620689655172414NOK
10% type I error level200.689655172413793NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=27225&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 level130.448275862068966NOK
5% type I error level180.620689655172414NOK
10% type I error level200.689655172413793NOK



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly 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')
}