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 computationWed, 29 Dec 2010 21:14:47 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/29/t129365722595q3jiceauguixf.htm/, Retrieved Fri, 03 May 2024 12:54:16 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=117124, Retrieved Fri, 03 May 2024 12:54:16 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact142
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [HPC Retail Sales] [2008-03-08 13:40:54] [1c0f2c85e8a48e42648374b3bcceca26]
-  MPD  [Multiple Regression] [Workshop 5 Monthl...] [2010-12-09 21:10:24] [9856f62fe16b3bb5126cae5dd74e4807]
-    D    [Multiple Regression] [monthly dummies] [2010-12-29 18:54:57] [f1aa04283d83c25edc8ae3bb0d0fb93e]
-   P         [Multiple Regression] [] [2010-12-29 21:14:47] [b90a48a1f8ff99465eedb4ebbc8930ab] [Current]
- R PD          [Multiple Regression] [monthly dummies] [2011-12-22 08:13:29] [74be16979710d4c4e7c6647856088456]
-  MP             [Multiple Regression] [monthly dummies] [2011-12-22 10:27:43] [f1aa04283d83c25edc8ae3bb0d0fb93e]
Feedback Forum

Post a new message
Dataseries X:
16
17
23
24
27
31
40
47
43
60
64
65
65
55
57
57
57
65
69
70
71
71
73
68
65
57
41
21
21
17
9
11
6
-2
0
5
3
7
4
8
9
14
12
12
7
15
14
19
39
12
11
17
16
25
24
28
25
31
24
24




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk

\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 & 'RServer@AstonUniversity' @ vre.aston.ac.uk \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117124&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]'RServer@AstonUniversity' @ vre.aston.ac.uk[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117124&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=117124&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'RServer@AstonUniversity' @ vre.aston.ac.uk







Multiple Linear Regression - Estimated Regression Equation
Werkloosheid[t] = + 61.6 -6.36111111111112M1[t] -13.6555555555556M2[t] -15.35M3[t] -16.4444444444444M4[t] -15.1388888888889M5[t] -10.0333333333333M6[t] -8.92777777777779M7[t] -5.42222222222223M8[t] -7.91666666666668M9[t] -2.61111111111112M10[t] -1.90555555555557M11[t] -0.705555555555555t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Werkloosheid[t] =  +  61.6 -6.36111111111112M1[t] -13.6555555555556M2[t] -15.35M3[t] -16.4444444444444M4[t] -15.1388888888889M5[t] -10.0333333333333M6[t] -8.92777777777779M7[t] -5.42222222222223M8[t] -7.91666666666668M9[t] -2.61111111111112M10[t] -1.90555555555557M11[t] -0.705555555555555t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117124&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Werkloosheid[t] =  +  61.6 -6.36111111111112M1[t] -13.6555555555556M2[t] -15.35M3[t] -16.4444444444444M4[t] -15.1388888888889M5[t] -10.0333333333333M6[t] -8.92777777777779M7[t] -5.42222222222223M8[t] -7.91666666666668M9[t] -2.61111111111112M10[t] -1.90555555555557M11[t] -0.705555555555555t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117124&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=117124&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
Werkloosheid[t] = + 61.6 -6.36111111111112M1[t] -13.6555555555556M2[t] -15.35M3[t] -16.4444444444444M4[t] -15.1388888888889M5[t] -10.0333333333333M6[t] -8.92777777777779M7[t] -5.42222222222223M8[t] -7.91666666666668M9[t] -2.61111111111112M10[t] -1.90555555555557M11[t] -0.705555555555555t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)61.611.4046495.40132e-061e-06
M1-6.3611111111111213.874394-0.45850.6487220.324361
M2-13.655555555555613.853665-0.98570.3293280.164664
M3-15.3513.834883-1.10950.2728530.136427
M4-16.444444444444413.818056-1.19010.2399960.119998
M5-15.138888888888913.803192-1.09680.2783310.139165
M6-10.033333333333313.790297-0.72760.4704890.235245
M7-8.9277777777777913.779377-0.64790.5201970.260098
M8-5.4222222222222313.770435-0.39380.695540.34777
M9-7.9166666666666813.763477-0.57520.5679040.283952
M10-2.6111111111111213.758504-0.18980.8502980.425149
M11-1.9055555555555713.75552-0.13850.8904130.445207
t-0.7055555555555550.165441-4.26479.6e-054.8e-05

\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) & 61.6 & 11.404649 & 5.4013 & 2e-06 & 1e-06 \tabularnewline
M1 & -6.36111111111112 & 13.874394 & -0.4585 & 0.648722 & 0.324361 \tabularnewline
M2 & -13.6555555555556 & 13.853665 & -0.9857 & 0.329328 & 0.164664 \tabularnewline
M3 & -15.35 & 13.834883 & -1.1095 & 0.272853 & 0.136427 \tabularnewline
M4 & -16.4444444444444 & 13.818056 & -1.1901 & 0.239996 & 0.119998 \tabularnewline
M5 & -15.1388888888889 & 13.803192 & -1.0968 & 0.278331 & 0.139165 \tabularnewline
M6 & -10.0333333333333 & 13.790297 & -0.7276 & 0.470489 & 0.235245 \tabularnewline
M7 & -8.92777777777779 & 13.779377 & -0.6479 & 0.520197 & 0.260098 \tabularnewline
M8 & -5.42222222222223 & 13.770435 & -0.3938 & 0.69554 & 0.34777 \tabularnewline
M9 & -7.91666666666668 & 13.763477 & -0.5752 & 0.567904 & 0.283952 \tabularnewline
M10 & -2.61111111111112 & 13.758504 & -0.1898 & 0.850298 & 0.425149 \tabularnewline
M11 & -1.90555555555557 & 13.75552 & -0.1385 & 0.890413 & 0.445207 \tabularnewline
t & -0.705555555555555 & 0.165441 & -4.2647 & 9.6e-05 & 4.8e-05 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117124&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]61.6[/C][C]11.404649[/C][C]5.4013[/C][C]2e-06[/C][C]1e-06[/C][/ROW]
[ROW][C]M1[/C][C]-6.36111111111112[/C][C]13.874394[/C][C]-0.4585[/C][C]0.648722[/C][C]0.324361[/C][/ROW]
[ROW][C]M2[/C][C]-13.6555555555556[/C][C]13.853665[/C][C]-0.9857[/C][C]0.329328[/C][C]0.164664[/C][/ROW]
[ROW][C]M3[/C][C]-15.35[/C][C]13.834883[/C][C]-1.1095[/C][C]0.272853[/C][C]0.136427[/C][/ROW]
[ROW][C]M4[/C][C]-16.4444444444444[/C][C]13.818056[/C][C]-1.1901[/C][C]0.239996[/C][C]0.119998[/C][/ROW]
[ROW][C]M5[/C][C]-15.1388888888889[/C][C]13.803192[/C][C]-1.0968[/C][C]0.278331[/C][C]0.139165[/C][/ROW]
[ROW][C]M6[/C][C]-10.0333333333333[/C][C]13.790297[/C][C]-0.7276[/C][C]0.470489[/C][C]0.235245[/C][/ROW]
[ROW][C]M7[/C][C]-8.92777777777779[/C][C]13.779377[/C][C]-0.6479[/C][C]0.520197[/C][C]0.260098[/C][/ROW]
[ROW][C]M8[/C][C]-5.42222222222223[/C][C]13.770435[/C][C]-0.3938[/C][C]0.69554[/C][C]0.34777[/C][/ROW]
[ROW][C]M9[/C][C]-7.91666666666668[/C][C]13.763477[/C][C]-0.5752[/C][C]0.567904[/C][C]0.283952[/C][/ROW]
[ROW][C]M10[/C][C]-2.61111111111112[/C][C]13.758504[/C][C]-0.1898[/C][C]0.850298[/C][C]0.425149[/C][/ROW]
[ROW][C]M11[/C][C]-1.90555555555557[/C][C]13.75552[/C][C]-0.1385[/C][C]0.890413[/C][C]0.445207[/C][/ROW]
[ROW][C]t[/C][C]-0.705555555555555[/C][C]0.165441[/C][C]-4.2647[/C][C]9.6e-05[/C][C]4.8e-05[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117124&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=117124&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)61.611.4046495.40132e-061e-06
M1-6.3611111111111213.874394-0.45850.6487220.324361
M2-13.655555555555613.853665-0.98570.3293280.164664
M3-15.3513.834883-1.10950.2728530.136427
M4-16.444444444444413.818056-1.19010.2399960.119998
M5-15.138888888888913.803192-1.09680.2783310.139165
M6-10.033333333333313.790297-0.72760.4704890.235245
M7-8.9277777777777913.779377-0.64790.5201970.260098
M8-5.4222222222222313.770435-0.39380.695540.34777
M9-7.9166666666666813.763477-0.57520.5679040.283952
M10-2.6111111111111213.758504-0.18980.8502980.425149
M11-1.9055555555555713.75552-0.13850.8904130.445207
t-0.7055555555555550.165441-4.26479.6e-054.8e-05







Multiple Linear Regression - Regression Statistics
Multiple R0.547286488100858
R-squared0.29952250005777
Adjusted R-squared0.120677180923584
F-TEST (value)1.674757279127
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.103551320808152
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation21.7478131288303
Sum Squared Residuals22229.4666666667

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.547286488100858 \tabularnewline
R-squared & 0.29952250005777 \tabularnewline
Adjusted R-squared & 0.120677180923584 \tabularnewline
F-TEST (value) & 1.674757279127 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0.103551320808152 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 21.7478131288303 \tabularnewline
Sum Squared Residuals & 22229.4666666667 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117124&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.547286488100858[/C][/ROW]
[ROW][C]R-squared[/C][C]0.29952250005777[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.120677180923584[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]1.674757279127[/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.103551320808152[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]21.7478131288303[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]22229.4666666667[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117124&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=117124&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.547286488100858
R-squared0.29952250005777
Adjusted R-squared0.120677180923584
F-TEST (value)1.674757279127
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.103551320808152
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation21.7478131288303
Sum Squared Residuals22229.4666666667







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11654.5333333333334-38.5333333333334
21746.5333333333333-29.5333333333333
32344.1333333333333-21.1333333333333
42442.3333333333333-18.3333333333333
52742.9333333333333-15.9333333333333
63147.3333333333333-16.3333333333333
74047.7333333333333-7.73333333333332
84750.5333333333333-3.53333333333333
94347.3333333333333-4.33333333333333
106051.93333333333338.06666666666666
116451.933333333333312.0666666666667
126553.133333333333311.8666666666667
136546.066666666666718.9333333333333
145538.066666666666716.9333333333333
155735.666666666666721.3333333333333
165733.866666666666723.1333333333333
175734.466666666666722.5333333333333
186538.866666666666726.1333333333333
196939.266666666666729.7333333333333
207042.066666666666727.9333333333333
217138.866666666666732.1333333333333
227143.466666666666727.5333333333333
237343.466666666666729.5333333333333
246844.666666666666723.3333333333333
256537.627.4
265729.627.4
274127.213.8
282125.4-4.4
292126-5
301730.4-13.4
31930.8-21.8
321133.6-22.6
33630.4-24.4
34-235-37
35035-35
36536.2-31.2
37329.1333333333333-26.1333333333333
38721.1333333333333-14.1333333333333
39418.7333333333333-14.7333333333333
40816.9333333333333-8.93333333333334
41917.5333333333333-8.53333333333334
421421.9333333333333-7.93333333333334
431222.3333333333333-10.3333333333333
441225.1333333333333-13.1333333333333
45721.9333333333333-14.9333333333333
461526.5333333333333-11.5333333333333
471426.5333333333333-12.5333333333333
481927.7333333333333-8.73333333333334
493920.666666666666718.3333333333333
501212.6666666666667-0.666666666666672
511110.26666666666670.733333333333327
52178.466666666666678.53333333333333
53169.066666666666666.93333333333334
542513.466666666666711.5333333333333
552413.866666666666710.1333333333333
562816.666666666666711.3333333333333
572513.466666666666711.5333333333333
583118.066666666666712.9333333333333
592418.06666666666675.93333333333334
602419.26666666666674.73333333333333

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 16 & 54.5333333333334 & -38.5333333333334 \tabularnewline
2 & 17 & 46.5333333333333 & -29.5333333333333 \tabularnewline
3 & 23 & 44.1333333333333 & -21.1333333333333 \tabularnewline
4 & 24 & 42.3333333333333 & -18.3333333333333 \tabularnewline
5 & 27 & 42.9333333333333 & -15.9333333333333 \tabularnewline
6 & 31 & 47.3333333333333 & -16.3333333333333 \tabularnewline
7 & 40 & 47.7333333333333 & -7.73333333333332 \tabularnewline
8 & 47 & 50.5333333333333 & -3.53333333333333 \tabularnewline
9 & 43 & 47.3333333333333 & -4.33333333333333 \tabularnewline
10 & 60 & 51.9333333333333 & 8.06666666666666 \tabularnewline
11 & 64 & 51.9333333333333 & 12.0666666666667 \tabularnewline
12 & 65 & 53.1333333333333 & 11.8666666666667 \tabularnewline
13 & 65 & 46.0666666666667 & 18.9333333333333 \tabularnewline
14 & 55 & 38.0666666666667 & 16.9333333333333 \tabularnewline
15 & 57 & 35.6666666666667 & 21.3333333333333 \tabularnewline
16 & 57 & 33.8666666666667 & 23.1333333333333 \tabularnewline
17 & 57 & 34.4666666666667 & 22.5333333333333 \tabularnewline
18 & 65 & 38.8666666666667 & 26.1333333333333 \tabularnewline
19 & 69 & 39.2666666666667 & 29.7333333333333 \tabularnewline
20 & 70 & 42.0666666666667 & 27.9333333333333 \tabularnewline
21 & 71 & 38.8666666666667 & 32.1333333333333 \tabularnewline
22 & 71 & 43.4666666666667 & 27.5333333333333 \tabularnewline
23 & 73 & 43.4666666666667 & 29.5333333333333 \tabularnewline
24 & 68 & 44.6666666666667 & 23.3333333333333 \tabularnewline
25 & 65 & 37.6 & 27.4 \tabularnewline
26 & 57 & 29.6 & 27.4 \tabularnewline
27 & 41 & 27.2 & 13.8 \tabularnewline
28 & 21 & 25.4 & -4.4 \tabularnewline
29 & 21 & 26 & -5 \tabularnewline
30 & 17 & 30.4 & -13.4 \tabularnewline
31 & 9 & 30.8 & -21.8 \tabularnewline
32 & 11 & 33.6 & -22.6 \tabularnewline
33 & 6 & 30.4 & -24.4 \tabularnewline
34 & -2 & 35 & -37 \tabularnewline
35 & 0 & 35 & -35 \tabularnewline
36 & 5 & 36.2 & -31.2 \tabularnewline
37 & 3 & 29.1333333333333 & -26.1333333333333 \tabularnewline
38 & 7 & 21.1333333333333 & -14.1333333333333 \tabularnewline
39 & 4 & 18.7333333333333 & -14.7333333333333 \tabularnewline
40 & 8 & 16.9333333333333 & -8.93333333333334 \tabularnewline
41 & 9 & 17.5333333333333 & -8.53333333333334 \tabularnewline
42 & 14 & 21.9333333333333 & -7.93333333333334 \tabularnewline
43 & 12 & 22.3333333333333 & -10.3333333333333 \tabularnewline
44 & 12 & 25.1333333333333 & -13.1333333333333 \tabularnewline
45 & 7 & 21.9333333333333 & -14.9333333333333 \tabularnewline
46 & 15 & 26.5333333333333 & -11.5333333333333 \tabularnewline
47 & 14 & 26.5333333333333 & -12.5333333333333 \tabularnewline
48 & 19 & 27.7333333333333 & -8.73333333333334 \tabularnewline
49 & 39 & 20.6666666666667 & 18.3333333333333 \tabularnewline
50 & 12 & 12.6666666666667 & -0.666666666666672 \tabularnewline
51 & 11 & 10.2666666666667 & 0.733333333333327 \tabularnewline
52 & 17 & 8.46666666666667 & 8.53333333333333 \tabularnewline
53 & 16 & 9.06666666666666 & 6.93333333333334 \tabularnewline
54 & 25 & 13.4666666666667 & 11.5333333333333 \tabularnewline
55 & 24 & 13.8666666666667 & 10.1333333333333 \tabularnewline
56 & 28 & 16.6666666666667 & 11.3333333333333 \tabularnewline
57 & 25 & 13.4666666666667 & 11.5333333333333 \tabularnewline
58 & 31 & 18.0666666666667 & 12.9333333333333 \tabularnewline
59 & 24 & 18.0666666666667 & 5.93333333333334 \tabularnewline
60 & 24 & 19.2666666666667 & 4.73333333333333 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117124&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]16[/C][C]54.5333333333334[/C][C]-38.5333333333334[/C][/ROW]
[ROW][C]2[/C][C]17[/C][C]46.5333333333333[/C][C]-29.5333333333333[/C][/ROW]
[ROW][C]3[/C][C]23[/C][C]44.1333333333333[/C][C]-21.1333333333333[/C][/ROW]
[ROW][C]4[/C][C]24[/C][C]42.3333333333333[/C][C]-18.3333333333333[/C][/ROW]
[ROW][C]5[/C][C]27[/C][C]42.9333333333333[/C][C]-15.9333333333333[/C][/ROW]
[ROW][C]6[/C][C]31[/C][C]47.3333333333333[/C][C]-16.3333333333333[/C][/ROW]
[ROW][C]7[/C][C]40[/C][C]47.7333333333333[/C][C]-7.73333333333332[/C][/ROW]
[ROW][C]8[/C][C]47[/C][C]50.5333333333333[/C][C]-3.53333333333333[/C][/ROW]
[ROW][C]9[/C][C]43[/C][C]47.3333333333333[/C][C]-4.33333333333333[/C][/ROW]
[ROW][C]10[/C][C]60[/C][C]51.9333333333333[/C][C]8.06666666666666[/C][/ROW]
[ROW][C]11[/C][C]64[/C][C]51.9333333333333[/C][C]12.0666666666667[/C][/ROW]
[ROW][C]12[/C][C]65[/C][C]53.1333333333333[/C][C]11.8666666666667[/C][/ROW]
[ROW][C]13[/C][C]65[/C][C]46.0666666666667[/C][C]18.9333333333333[/C][/ROW]
[ROW][C]14[/C][C]55[/C][C]38.0666666666667[/C][C]16.9333333333333[/C][/ROW]
[ROW][C]15[/C][C]57[/C][C]35.6666666666667[/C][C]21.3333333333333[/C][/ROW]
[ROW][C]16[/C][C]57[/C][C]33.8666666666667[/C][C]23.1333333333333[/C][/ROW]
[ROW][C]17[/C][C]57[/C][C]34.4666666666667[/C][C]22.5333333333333[/C][/ROW]
[ROW][C]18[/C][C]65[/C][C]38.8666666666667[/C][C]26.1333333333333[/C][/ROW]
[ROW][C]19[/C][C]69[/C][C]39.2666666666667[/C][C]29.7333333333333[/C][/ROW]
[ROW][C]20[/C][C]70[/C][C]42.0666666666667[/C][C]27.9333333333333[/C][/ROW]
[ROW][C]21[/C][C]71[/C][C]38.8666666666667[/C][C]32.1333333333333[/C][/ROW]
[ROW][C]22[/C][C]71[/C][C]43.4666666666667[/C][C]27.5333333333333[/C][/ROW]
[ROW][C]23[/C][C]73[/C][C]43.4666666666667[/C][C]29.5333333333333[/C][/ROW]
[ROW][C]24[/C][C]68[/C][C]44.6666666666667[/C][C]23.3333333333333[/C][/ROW]
[ROW][C]25[/C][C]65[/C][C]37.6[/C][C]27.4[/C][/ROW]
[ROW][C]26[/C][C]57[/C][C]29.6[/C][C]27.4[/C][/ROW]
[ROW][C]27[/C][C]41[/C][C]27.2[/C][C]13.8[/C][/ROW]
[ROW][C]28[/C][C]21[/C][C]25.4[/C][C]-4.4[/C][/ROW]
[ROW][C]29[/C][C]21[/C][C]26[/C][C]-5[/C][/ROW]
[ROW][C]30[/C][C]17[/C][C]30.4[/C][C]-13.4[/C][/ROW]
[ROW][C]31[/C][C]9[/C][C]30.8[/C][C]-21.8[/C][/ROW]
[ROW][C]32[/C][C]11[/C][C]33.6[/C][C]-22.6[/C][/ROW]
[ROW][C]33[/C][C]6[/C][C]30.4[/C][C]-24.4[/C][/ROW]
[ROW][C]34[/C][C]-2[/C][C]35[/C][C]-37[/C][/ROW]
[ROW][C]35[/C][C]0[/C][C]35[/C][C]-35[/C][/ROW]
[ROW][C]36[/C][C]5[/C][C]36.2[/C][C]-31.2[/C][/ROW]
[ROW][C]37[/C][C]3[/C][C]29.1333333333333[/C][C]-26.1333333333333[/C][/ROW]
[ROW][C]38[/C][C]7[/C][C]21.1333333333333[/C][C]-14.1333333333333[/C][/ROW]
[ROW][C]39[/C][C]4[/C][C]18.7333333333333[/C][C]-14.7333333333333[/C][/ROW]
[ROW][C]40[/C][C]8[/C][C]16.9333333333333[/C][C]-8.93333333333334[/C][/ROW]
[ROW][C]41[/C][C]9[/C][C]17.5333333333333[/C][C]-8.53333333333334[/C][/ROW]
[ROW][C]42[/C][C]14[/C][C]21.9333333333333[/C][C]-7.93333333333334[/C][/ROW]
[ROW][C]43[/C][C]12[/C][C]22.3333333333333[/C][C]-10.3333333333333[/C][/ROW]
[ROW][C]44[/C][C]12[/C][C]25.1333333333333[/C][C]-13.1333333333333[/C][/ROW]
[ROW][C]45[/C][C]7[/C][C]21.9333333333333[/C][C]-14.9333333333333[/C][/ROW]
[ROW][C]46[/C][C]15[/C][C]26.5333333333333[/C][C]-11.5333333333333[/C][/ROW]
[ROW][C]47[/C][C]14[/C][C]26.5333333333333[/C][C]-12.5333333333333[/C][/ROW]
[ROW][C]48[/C][C]19[/C][C]27.7333333333333[/C][C]-8.73333333333334[/C][/ROW]
[ROW][C]49[/C][C]39[/C][C]20.6666666666667[/C][C]18.3333333333333[/C][/ROW]
[ROW][C]50[/C][C]12[/C][C]12.6666666666667[/C][C]-0.666666666666672[/C][/ROW]
[ROW][C]51[/C][C]11[/C][C]10.2666666666667[/C][C]0.733333333333327[/C][/ROW]
[ROW][C]52[/C][C]17[/C][C]8.46666666666667[/C][C]8.53333333333333[/C][/ROW]
[ROW][C]53[/C][C]16[/C][C]9.06666666666666[/C][C]6.93333333333334[/C][/ROW]
[ROW][C]54[/C][C]25[/C][C]13.4666666666667[/C][C]11.5333333333333[/C][/ROW]
[ROW][C]55[/C][C]24[/C][C]13.8666666666667[/C][C]10.1333333333333[/C][/ROW]
[ROW][C]56[/C][C]28[/C][C]16.6666666666667[/C][C]11.3333333333333[/C][/ROW]
[ROW][C]57[/C][C]25[/C][C]13.4666666666667[/C][C]11.5333333333333[/C][/ROW]
[ROW][C]58[/C][C]31[/C][C]18.0666666666667[/C][C]12.9333333333333[/C][/ROW]
[ROW][C]59[/C][C]24[/C][C]18.0666666666667[/C][C]5.93333333333334[/C][/ROW]
[ROW][C]60[/C][C]24[/C][C]19.2666666666667[/C][C]4.73333333333333[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117124&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=117124&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
11654.5333333333334-38.5333333333334
21746.5333333333333-29.5333333333333
32344.1333333333333-21.1333333333333
42442.3333333333333-18.3333333333333
52742.9333333333333-15.9333333333333
63147.3333333333333-16.3333333333333
74047.7333333333333-7.73333333333332
84750.5333333333333-3.53333333333333
94347.3333333333333-4.33333333333333
106051.93333333333338.06666666666666
116451.933333333333312.0666666666667
126553.133333333333311.8666666666667
136546.066666666666718.9333333333333
145538.066666666666716.9333333333333
155735.666666666666721.3333333333333
165733.866666666666723.1333333333333
175734.466666666666722.5333333333333
186538.866666666666726.1333333333333
196939.266666666666729.7333333333333
207042.066666666666727.9333333333333
217138.866666666666732.1333333333333
227143.466666666666727.5333333333333
237343.466666666666729.5333333333333
246844.666666666666723.3333333333333
256537.627.4
265729.627.4
274127.213.8
282125.4-4.4
292126-5
301730.4-13.4
31930.8-21.8
321133.6-22.6
33630.4-24.4
34-235-37
35035-35
36536.2-31.2
37329.1333333333333-26.1333333333333
38721.1333333333333-14.1333333333333
39418.7333333333333-14.7333333333333
40816.9333333333333-8.93333333333334
41917.5333333333333-8.53333333333334
421421.9333333333333-7.93333333333334
431222.3333333333333-10.3333333333333
441225.1333333333333-13.1333333333333
45721.9333333333333-14.9333333333333
461526.5333333333333-11.5333333333333
471426.5333333333333-12.5333333333333
481927.7333333333333-8.73333333333334
493920.666666666666718.3333333333333
501212.6666666666667-0.666666666666672
511110.26666666666670.733333333333327
52178.466666666666678.53333333333333
53169.066666666666666.93333333333334
542513.466666666666711.5333333333333
552413.866666666666710.1333333333333
562816.666666666666711.3333333333333
572513.466666666666711.5333333333333
583118.066666666666712.9333333333333
592418.06666666666675.93333333333334
602419.26666666666674.73333333333333







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.01714618571535840.03429237143071690.982853814284642
170.005879492186433060.01175898437286610.994120507813567
180.001297505065898270.002595010131796550.998702494934102
190.0004687396767187240.0009374793534374490.999531260323281
200.0004053695851914090.0008107391703828190.999594630414809
210.0001726824358771160.0003453648717542310.999827317564123
220.001184280534867820.002368561069735650.998815719465132
230.005467604604340340.01093520920868070.99453239539566
240.03183657586825710.06367315173651410.968163424131743
250.07324178054605520.146483561092110.926758219453945
260.3219506784379220.6439013568758430.678049321562078
270.9262217843234640.1475564313530730.0737782156765365
280.9973761987069940.005247602586011690.00262380129300584
290.9999330937664220.0001338124671560336.69062335780167e-05
300.999992613853541.4772292919469e-057.3861464597345e-06
310.9999981943808273.61123834586088e-061.80561917293044e-06
320.9999991598089561.68038208832591e-068.40191044162957e-07
330.9999994343719161.13125616742392e-065.65628083711958e-07
340.9999994912958491.01740830228961e-065.08704151144807e-07
350.9999989777144842.04457103123573e-061.02228551561786e-06
360.9999970148716385.97025672368988e-062.98512836184494e-06
370.9999999817746623.64506762099721e-081.82253381049861e-08
380.9999999274355941.45128812524278e-077.25644062621389e-08
390.999999580329018.39341979577091e-074.19670989788546e-07
400.9999967376173636.52476527379791e-063.26238263689896e-06
410.9999845054924633.09890150738419e-051.5494507536921e-05
420.9998714230905170.0002571538189657830.000128576909482892
430.9989780469378620.002043906124275460.00102195306213773
440.993669851450240.01266029709951830.00633014854975913

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.0171461857153584 & 0.0342923714307169 & 0.982853814284642 \tabularnewline
17 & 0.00587949218643306 & 0.0117589843728661 & 0.994120507813567 \tabularnewline
18 & 0.00129750506589827 & 0.00259501013179655 & 0.998702494934102 \tabularnewline
19 & 0.000468739676718724 & 0.000937479353437449 & 0.999531260323281 \tabularnewline
20 & 0.000405369585191409 & 0.000810739170382819 & 0.999594630414809 \tabularnewline
21 & 0.000172682435877116 & 0.000345364871754231 & 0.999827317564123 \tabularnewline
22 & 0.00118428053486782 & 0.00236856106973565 & 0.998815719465132 \tabularnewline
23 & 0.00546760460434034 & 0.0109352092086807 & 0.99453239539566 \tabularnewline
24 & 0.0318365758682571 & 0.0636731517365141 & 0.968163424131743 \tabularnewline
25 & 0.0732417805460552 & 0.14648356109211 & 0.926758219453945 \tabularnewline
26 & 0.321950678437922 & 0.643901356875843 & 0.678049321562078 \tabularnewline
27 & 0.926221784323464 & 0.147556431353073 & 0.0737782156765365 \tabularnewline
28 & 0.997376198706994 & 0.00524760258601169 & 0.00262380129300584 \tabularnewline
29 & 0.999933093766422 & 0.000133812467156033 & 6.69062335780167e-05 \tabularnewline
30 & 0.99999261385354 & 1.4772292919469e-05 & 7.3861464597345e-06 \tabularnewline
31 & 0.999998194380827 & 3.61123834586088e-06 & 1.80561917293044e-06 \tabularnewline
32 & 0.999999159808956 & 1.68038208832591e-06 & 8.40191044162957e-07 \tabularnewline
33 & 0.999999434371916 & 1.13125616742392e-06 & 5.65628083711958e-07 \tabularnewline
34 & 0.999999491295849 & 1.01740830228961e-06 & 5.08704151144807e-07 \tabularnewline
35 & 0.999998977714484 & 2.04457103123573e-06 & 1.02228551561786e-06 \tabularnewline
36 & 0.999997014871638 & 5.97025672368988e-06 & 2.98512836184494e-06 \tabularnewline
37 & 0.999999981774662 & 3.64506762099721e-08 & 1.82253381049861e-08 \tabularnewline
38 & 0.999999927435594 & 1.45128812524278e-07 & 7.25644062621389e-08 \tabularnewline
39 & 0.99999958032901 & 8.39341979577091e-07 & 4.19670989788546e-07 \tabularnewline
40 & 0.999996737617363 & 6.52476527379791e-06 & 3.26238263689896e-06 \tabularnewline
41 & 0.999984505492463 & 3.09890150738419e-05 & 1.5494507536921e-05 \tabularnewline
42 & 0.999871423090517 & 0.000257153818965783 & 0.000128576909482892 \tabularnewline
43 & 0.998978046937862 & 0.00204390612427546 & 0.00102195306213773 \tabularnewline
44 & 0.99366985145024 & 0.0126602970995183 & 0.00633014854975913 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117124&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.0171461857153584[/C][C]0.0342923714307169[/C][C]0.982853814284642[/C][/ROW]
[ROW][C]17[/C][C]0.00587949218643306[/C][C]0.0117589843728661[/C][C]0.994120507813567[/C][/ROW]
[ROW][C]18[/C][C]0.00129750506589827[/C][C]0.00259501013179655[/C][C]0.998702494934102[/C][/ROW]
[ROW][C]19[/C][C]0.000468739676718724[/C][C]0.000937479353437449[/C][C]0.999531260323281[/C][/ROW]
[ROW][C]20[/C][C]0.000405369585191409[/C][C]0.000810739170382819[/C][C]0.999594630414809[/C][/ROW]
[ROW][C]21[/C][C]0.000172682435877116[/C][C]0.000345364871754231[/C][C]0.999827317564123[/C][/ROW]
[ROW][C]22[/C][C]0.00118428053486782[/C][C]0.00236856106973565[/C][C]0.998815719465132[/C][/ROW]
[ROW][C]23[/C][C]0.00546760460434034[/C][C]0.0109352092086807[/C][C]0.99453239539566[/C][/ROW]
[ROW][C]24[/C][C]0.0318365758682571[/C][C]0.0636731517365141[/C][C]0.968163424131743[/C][/ROW]
[ROW][C]25[/C][C]0.0732417805460552[/C][C]0.14648356109211[/C][C]0.926758219453945[/C][/ROW]
[ROW][C]26[/C][C]0.321950678437922[/C][C]0.643901356875843[/C][C]0.678049321562078[/C][/ROW]
[ROW][C]27[/C][C]0.926221784323464[/C][C]0.147556431353073[/C][C]0.0737782156765365[/C][/ROW]
[ROW][C]28[/C][C]0.997376198706994[/C][C]0.00524760258601169[/C][C]0.00262380129300584[/C][/ROW]
[ROW][C]29[/C][C]0.999933093766422[/C][C]0.000133812467156033[/C][C]6.69062335780167e-05[/C][/ROW]
[ROW][C]30[/C][C]0.99999261385354[/C][C]1.4772292919469e-05[/C][C]7.3861464597345e-06[/C][/ROW]
[ROW][C]31[/C][C]0.999998194380827[/C][C]3.61123834586088e-06[/C][C]1.80561917293044e-06[/C][/ROW]
[ROW][C]32[/C][C]0.999999159808956[/C][C]1.68038208832591e-06[/C][C]8.40191044162957e-07[/C][/ROW]
[ROW][C]33[/C][C]0.999999434371916[/C][C]1.13125616742392e-06[/C][C]5.65628083711958e-07[/C][/ROW]
[ROW][C]34[/C][C]0.999999491295849[/C][C]1.01740830228961e-06[/C][C]5.08704151144807e-07[/C][/ROW]
[ROW][C]35[/C][C]0.999998977714484[/C][C]2.04457103123573e-06[/C][C]1.02228551561786e-06[/C][/ROW]
[ROW][C]36[/C][C]0.999997014871638[/C][C]5.97025672368988e-06[/C][C]2.98512836184494e-06[/C][/ROW]
[ROW][C]37[/C][C]0.999999981774662[/C][C]3.64506762099721e-08[/C][C]1.82253381049861e-08[/C][/ROW]
[ROW][C]38[/C][C]0.999999927435594[/C][C]1.45128812524278e-07[/C][C]7.25644062621389e-08[/C][/ROW]
[ROW][C]39[/C][C]0.99999958032901[/C][C]8.39341979577091e-07[/C][C]4.19670989788546e-07[/C][/ROW]
[ROW][C]40[/C][C]0.999996737617363[/C][C]6.52476527379791e-06[/C][C]3.26238263689896e-06[/C][/ROW]
[ROW][C]41[/C][C]0.999984505492463[/C][C]3.09890150738419e-05[/C][C]1.5494507536921e-05[/C][/ROW]
[ROW][C]42[/C][C]0.999871423090517[/C][C]0.000257153818965783[/C][C]0.000128576909482892[/C][/ROW]
[ROW][C]43[/C][C]0.998978046937862[/C][C]0.00204390612427546[/C][C]0.00102195306213773[/C][/ROW]
[ROW][C]44[/C][C]0.99366985145024[/C][C]0.0126602970995183[/C][C]0.00633014854975913[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117124&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=117124&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.01714618571535840.03429237143071690.982853814284642
170.005879492186433060.01175898437286610.994120507813567
180.001297505065898270.002595010131796550.998702494934102
190.0004687396767187240.0009374793534374490.999531260323281
200.0004053695851914090.0008107391703828190.999594630414809
210.0001726824358771160.0003453648717542310.999827317564123
220.001184280534867820.002368561069735650.998815719465132
230.005467604604340340.01093520920868070.99453239539566
240.03183657586825710.06367315173651410.968163424131743
250.07324178054605520.146483561092110.926758219453945
260.3219506784379220.6439013568758430.678049321562078
270.9262217843234640.1475564313530730.0737782156765365
280.9973761987069940.005247602586011690.00262380129300584
290.9999330937664220.0001338124671560336.69062335780167e-05
300.999992613853541.4772292919469e-057.3861464597345e-06
310.9999981943808273.61123834586088e-061.80561917293044e-06
320.9999991598089561.68038208832591e-068.40191044162957e-07
330.9999994343719161.13125616742392e-065.65628083711958e-07
340.9999994912958491.01740830228961e-065.08704151144807e-07
350.9999989777144842.04457103123573e-061.02228551561786e-06
360.9999970148716385.97025672368988e-062.98512836184494e-06
370.9999999817746623.64506762099721e-081.82253381049861e-08
380.9999999274355941.45128812524278e-077.25644062621389e-08
390.999999580329018.39341979577091e-074.19670989788546e-07
400.9999967376173636.52476527379791e-063.26238263689896e-06
410.9999845054924633.09890150738419e-051.5494507536921e-05
420.9998714230905170.0002571538189657830.000128576909482892
430.9989780469378620.002043906124275460.00102195306213773
440.993669851450240.01266029709951830.00633014854975913







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level210.724137931034483NOK
5% type I error level250.862068965517241NOK
10% type I error level260.896551724137931NOK

\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 & 21 & 0.724137931034483 & NOK \tabularnewline
5% type I error level & 25 & 0.862068965517241 & NOK \tabularnewline
10% type I error level & 26 & 0.896551724137931 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117124&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]21[/C][C]0.724137931034483[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]25[/C][C]0.862068965517241[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]26[/C][C]0.896551724137931[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117124&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=117124&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 level210.724137931034483NOK
5% type I error level250.862068965517241NOK
10% type I error level260.896551724137931NOK



Parameters (Session):
par1 = 1 ; par2 = 0 ; par3 = 0 ; par4 = 12 ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ; par4 = ; par5 = ; par6 = ; par7 = ; par8 = ; par9 = ; par10 = ; par11 = ; par12 = ; par13 = ; par14 = ; par15 = ; par16 = ; par17 = ; par18 = ; par19 = ; par20 = ;
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')
}