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 computationSat, 27 Nov 2010 17:26:58 +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/Nov/27/t1290878715h7h5dc44509d8xy.htm/, Retrieved Sat, 04 May 2024 12:41:35 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=102417, Retrieved Sat, 04 May 2024 12:41:35 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact130
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 13:54:52] [b98453cac15ba1066b407e146608df68]
-    D      [Multiple Regression] [] [2010-11-27 17:26:58] [558c060a42ec367ec2c020fab85c25c7] [Current]
Feedback Forum

Post a new message
Dataseries X:
47.54
45.31
46.9
47.16
48.24
52.7
51.72
51.5
52.45
53
48.36
46.63
45.92
45.53
42.17
43.66
45.32
47.43
47.76
49.49
50.69
49.8
52.13
53.94
60.75
59.19
57.58
59.16
64.74
67.04
75.53
78.91
78.4
70.07
66.8
61.02
52.38
42.37
39.83
38.79
37.33
39.4
39.45
43.24
42.33
45.5
43.44
43.88
45.61
45.12
47.56
47.04
51.07
54.72
55.37
55.39
53.13
53.71
54.59
54.61




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 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 & 6 seconds \tabularnewline
R Server & 'RServer@AstonUniversity' @ vre.aston.ac.uk \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=102417&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]6 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'RServer@AstonUniversity' @ vre.aston.ac.uk[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=102417&T=0

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 52.016 -1.57600000000002M1[t] -4.512M2[t] -5.208M3[t] -4.854M4[t] -2.676M5[t] + 0.241999999999999M6[t] + 1.95M7[t] + 3.69M8[t] + 3.384M9[t] + 2.4M10[t] + 1.048M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  52.016 -1.57600000000002M1[t] -4.512M2[t] -5.208M3[t] -4.854M4[t] -2.676M5[t] +  0.241999999999999M6[t] +  1.95M7[t] +  3.69M8[t] +  3.384M9[t] +  2.4M10[t] +  1.048M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=102417&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  52.016 -1.57600000000002M1[t] -4.512M2[t] -5.208M3[t] -4.854M4[t] -2.676M5[t] +  0.241999999999999M6[t] +  1.95M7[t] +  3.69M8[t] +  3.384M9[t] +  2.4M10[t] +  1.048M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=102417&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=102417&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
Y[t] = + 52.016 -1.57600000000002M1[t] -4.512M2[t] -5.208M3[t] -4.854M4[t] -2.676M5[t] + 0.241999999999999M6[t] + 1.95M7[t] + 3.69M8[t] + 3.384M9[t] + 2.4M10[t] + 1.048M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)52.0164.38601111.859500
M1-1.576000000000026.202756-0.25410.8005190.400259
M2-4.5126.202756-0.72740.4705030.235251
M3-5.2086.202756-0.83960.405280.20264
M4-4.8546.202756-0.78260.4377320.218866
M5-2.6766.202756-0.43140.6680940.334047
M60.2419999999999996.2027560.0390.969040.48452
M71.956.2027560.31440.7545980.377299
M83.696.2027560.59490.5547070.277353
M93.3846.2027560.54560.5878920.293946
M102.46.2027560.38690.7005220.350261
M111.0486.2027560.1690.866540.43327

\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) & 52.016 & 4.386011 & 11.8595 & 0 & 0 \tabularnewline
M1 & -1.57600000000002 & 6.202756 & -0.2541 & 0.800519 & 0.400259 \tabularnewline
M2 & -4.512 & 6.202756 & -0.7274 & 0.470503 & 0.235251 \tabularnewline
M3 & -5.208 & 6.202756 & -0.8396 & 0.40528 & 0.20264 \tabularnewline
M4 & -4.854 & 6.202756 & -0.7826 & 0.437732 & 0.218866 \tabularnewline
M5 & -2.676 & 6.202756 & -0.4314 & 0.668094 & 0.334047 \tabularnewline
M6 & 0.241999999999999 & 6.202756 & 0.039 & 0.96904 & 0.48452 \tabularnewline
M7 & 1.95 & 6.202756 & 0.3144 & 0.754598 & 0.377299 \tabularnewline
M8 & 3.69 & 6.202756 & 0.5949 & 0.554707 & 0.277353 \tabularnewline
M9 & 3.384 & 6.202756 & 0.5456 & 0.587892 & 0.293946 \tabularnewline
M10 & 2.4 & 6.202756 & 0.3869 & 0.700522 & 0.350261 \tabularnewline
M11 & 1.048 & 6.202756 & 0.169 & 0.86654 & 0.43327 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=102417&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]52.016[/C][C]4.386011[/C][C]11.8595[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]-1.57600000000002[/C][C]6.202756[/C][C]-0.2541[/C][C]0.800519[/C][C]0.400259[/C][/ROW]
[ROW][C]M2[/C][C]-4.512[/C][C]6.202756[/C][C]-0.7274[/C][C]0.470503[/C][C]0.235251[/C][/ROW]
[ROW][C]M3[/C][C]-5.208[/C][C]6.202756[/C][C]-0.8396[/C][C]0.40528[/C][C]0.20264[/C][/ROW]
[ROW][C]M4[/C][C]-4.854[/C][C]6.202756[/C][C]-0.7826[/C][C]0.437732[/C][C]0.218866[/C][/ROW]
[ROW][C]M5[/C][C]-2.676[/C][C]6.202756[/C][C]-0.4314[/C][C]0.668094[/C][C]0.334047[/C][/ROW]
[ROW][C]M6[/C][C]0.241999999999999[/C][C]6.202756[/C][C]0.039[/C][C]0.96904[/C][C]0.48452[/C][/ROW]
[ROW][C]M7[/C][C]1.95[/C][C]6.202756[/C][C]0.3144[/C][C]0.754598[/C][C]0.377299[/C][/ROW]
[ROW][C]M8[/C][C]3.69[/C][C]6.202756[/C][C]0.5949[/C][C]0.554707[/C][C]0.277353[/C][/ROW]
[ROW][C]M9[/C][C]3.384[/C][C]6.202756[/C][C]0.5456[/C][C]0.587892[/C][C]0.293946[/C][/ROW]
[ROW][C]M10[/C][C]2.4[/C][C]6.202756[/C][C]0.3869[/C][C]0.700522[/C][C]0.350261[/C][/ROW]
[ROW][C]M11[/C][C]1.048[/C][C]6.202756[/C][C]0.169[/C][C]0.86654[/C][C]0.43327[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=102417&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=102417&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)52.0164.38601111.859500
M1-1.576000000000026.202756-0.25410.8005190.400259
M2-4.5126.202756-0.72740.4705030.235251
M3-5.2086.202756-0.83960.405280.20264
M4-4.8546.202756-0.78260.4377320.218866
M5-2.6766.202756-0.43140.6680940.334047
M60.2419999999999996.2027560.0390.969040.48452
M71.956.2027560.31440.7545980.377299
M83.696.2027560.59490.5547070.277353
M93.3846.2027560.54560.5878920.293946
M102.46.2027560.38690.7005220.350261
M111.0486.2027560.1690.866540.43327







Multiple Linear Regression - Regression Statistics
Multiple R0.330671852624358
R-squared0.109343874118025
Adjusted R-squared-0.094764821396594
F-TEST (value)0.535713943212153
F-TEST (DF numerator)11
F-TEST (DF denominator)48
p-value0.869091752881583
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation9.80741828073695
Sum Squared Residuals4616.90176

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.330671852624358 \tabularnewline
R-squared & 0.109343874118025 \tabularnewline
Adjusted R-squared & -0.094764821396594 \tabularnewline
F-TEST (value) & 0.535713943212153 \tabularnewline
F-TEST (DF numerator) & 11 \tabularnewline
F-TEST (DF denominator) & 48 \tabularnewline
p-value & 0.869091752881583 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 9.80741828073695 \tabularnewline
Sum Squared Residuals & 4616.90176 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=102417&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.330671852624358[/C][/ROW]
[ROW][C]R-squared[/C][C]0.109343874118025[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]-0.094764821396594[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]0.535713943212153[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]11[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]48[/C][/ROW]
[ROW][C]p-value[/C][C]0.869091752881583[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]9.80741828073695[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]4616.90176[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=102417&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=102417&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.330671852624358
R-squared0.109343874118025
Adjusted R-squared-0.094764821396594
F-TEST (value)0.535713943212153
F-TEST (DF numerator)11
F-TEST (DF denominator)48
p-value0.869091752881583
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation9.80741828073695
Sum Squared Residuals4616.90176







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
147.5450.4400000000001-2.90000000000007
245.3147.504-2.194
346.946.8080.0919999999999967
447.1647.162-0.00200000000000268
548.2449.34-1.1
652.752.2580.442000000000003
751.7253.966-2.246
851.555.706-4.206
952.4555.4-2.95
105354.416-1.416
1148.3653.064-4.704
1246.6352.016-5.386
1345.9250.44-4.51999999999998
1445.5347.504-1.974
1542.1746.808-4.638
1643.6647.162-3.502
1745.3249.34-4.02
1847.4352.258-4.828
1947.7653.966-6.206
2049.4955.706-6.216
2150.6955.4-4.71
2249.854.416-4.616
2352.1353.064-0.933999999999997
2453.9452.0161.924
2560.7550.4410.31
2659.1947.50411.686
2757.5846.80810.772
2859.1647.16211.998
2964.7449.3415.4
3067.0452.25814.782
3175.5353.96621.564
3278.9155.70623.204
3378.455.423
3470.0754.41615.654
3566.853.06413.736
3661.0252.0169.004
3752.3850.441.94000000000002
3842.3747.504-5.134
3939.8346.808-6.978
4038.7947.162-8.372
4137.3349.34-12.01
4239.452.258-12.858
4339.4553.966-14.516
4443.2455.706-12.466
4542.3355.4-13.07
4645.554.416-8.916
4743.4453.064-9.624
4843.8852.016-8.136
4945.6150.44-4.82999999999998
5045.1247.504-2.384
5147.5646.8080.752000000000003
5247.0447.162-0.121999999999997
5351.0749.341.73
5454.7252.2582.462
5555.3753.9661.404
5655.3955.706-0.316
5753.1355.4-2.27
5853.7154.416-0.705999999999998
5954.5953.0641.526
6054.6152.0162.594

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 47.54 & 50.4400000000001 & -2.90000000000007 \tabularnewline
2 & 45.31 & 47.504 & -2.194 \tabularnewline
3 & 46.9 & 46.808 & 0.0919999999999967 \tabularnewline
4 & 47.16 & 47.162 & -0.00200000000000268 \tabularnewline
5 & 48.24 & 49.34 & -1.1 \tabularnewline
6 & 52.7 & 52.258 & 0.442000000000003 \tabularnewline
7 & 51.72 & 53.966 & -2.246 \tabularnewline
8 & 51.5 & 55.706 & -4.206 \tabularnewline
9 & 52.45 & 55.4 & -2.95 \tabularnewline
10 & 53 & 54.416 & -1.416 \tabularnewline
11 & 48.36 & 53.064 & -4.704 \tabularnewline
12 & 46.63 & 52.016 & -5.386 \tabularnewline
13 & 45.92 & 50.44 & -4.51999999999998 \tabularnewline
14 & 45.53 & 47.504 & -1.974 \tabularnewline
15 & 42.17 & 46.808 & -4.638 \tabularnewline
16 & 43.66 & 47.162 & -3.502 \tabularnewline
17 & 45.32 & 49.34 & -4.02 \tabularnewline
18 & 47.43 & 52.258 & -4.828 \tabularnewline
19 & 47.76 & 53.966 & -6.206 \tabularnewline
20 & 49.49 & 55.706 & -6.216 \tabularnewline
21 & 50.69 & 55.4 & -4.71 \tabularnewline
22 & 49.8 & 54.416 & -4.616 \tabularnewline
23 & 52.13 & 53.064 & -0.933999999999997 \tabularnewline
24 & 53.94 & 52.016 & 1.924 \tabularnewline
25 & 60.75 & 50.44 & 10.31 \tabularnewline
26 & 59.19 & 47.504 & 11.686 \tabularnewline
27 & 57.58 & 46.808 & 10.772 \tabularnewline
28 & 59.16 & 47.162 & 11.998 \tabularnewline
29 & 64.74 & 49.34 & 15.4 \tabularnewline
30 & 67.04 & 52.258 & 14.782 \tabularnewline
31 & 75.53 & 53.966 & 21.564 \tabularnewline
32 & 78.91 & 55.706 & 23.204 \tabularnewline
33 & 78.4 & 55.4 & 23 \tabularnewline
34 & 70.07 & 54.416 & 15.654 \tabularnewline
35 & 66.8 & 53.064 & 13.736 \tabularnewline
36 & 61.02 & 52.016 & 9.004 \tabularnewline
37 & 52.38 & 50.44 & 1.94000000000002 \tabularnewline
38 & 42.37 & 47.504 & -5.134 \tabularnewline
39 & 39.83 & 46.808 & -6.978 \tabularnewline
40 & 38.79 & 47.162 & -8.372 \tabularnewline
41 & 37.33 & 49.34 & -12.01 \tabularnewline
42 & 39.4 & 52.258 & -12.858 \tabularnewline
43 & 39.45 & 53.966 & -14.516 \tabularnewline
44 & 43.24 & 55.706 & -12.466 \tabularnewline
45 & 42.33 & 55.4 & -13.07 \tabularnewline
46 & 45.5 & 54.416 & -8.916 \tabularnewline
47 & 43.44 & 53.064 & -9.624 \tabularnewline
48 & 43.88 & 52.016 & -8.136 \tabularnewline
49 & 45.61 & 50.44 & -4.82999999999998 \tabularnewline
50 & 45.12 & 47.504 & -2.384 \tabularnewline
51 & 47.56 & 46.808 & 0.752000000000003 \tabularnewline
52 & 47.04 & 47.162 & -0.121999999999997 \tabularnewline
53 & 51.07 & 49.34 & 1.73 \tabularnewline
54 & 54.72 & 52.258 & 2.462 \tabularnewline
55 & 55.37 & 53.966 & 1.404 \tabularnewline
56 & 55.39 & 55.706 & -0.316 \tabularnewline
57 & 53.13 & 55.4 & -2.27 \tabularnewline
58 & 53.71 & 54.416 & -0.705999999999998 \tabularnewline
59 & 54.59 & 53.064 & 1.526 \tabularnewline
60 & 54.61 & 52.016 & 2.594 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=102417&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]47.54[/C][C]50.4400000000001[/C][C]-2.90000000000007[/C][/ROW]
[ROW][C]2[/C][C]45.31[/C][C]47.504[/C][C]-2.194[/C][/ROW]
[ROW][C]3[/C][C]46.9[/C][C]46.808[/C][C]0.0919999999999967[/C][/ROW]
[ROW][C]4[/C][C]47.16[/C][C]47.162[/C][C]-0.00200000000000268[/C][/ROW]
[ROW][C]5[/C][C]48.24[/C][C]49.34[/C][C]-1.1[/C][/ROW]
[ROW][C]6[/C][C]52.7[/C][C]52.258[/C][C]0.442000000000003[/C][/ROW]
[ROW][C]7[/C][C]51.72[/C][C]53.966[/C][C]-2.246[/C][/ROW]
[ROW][C]8[/C][C]51.5[/C][C]55.706[/C][C]-4.206[/C][/ROW]
[ROW][C]9[/C][C]52.45[/C][C]55.4[/C][C]-2.95[/C][/ROW]
[ROW][C]10[/C][C]53[/C][C]54.416[/C][C]-1.416[/C][/ROW]
[ROW][C]11[/C][C]48.36[/C][C]53.064[/C][C]-4.704[/C][/ROW]
[ROW][C]12[/C][C]46.63[/C][C]52.016[/C][C]-5.386[/C][/ROW]
[ROW][C]13[/C][C]45.92[/C][C]50.44[/C][C]-4.51999999999998[/C][/ROW]
[ROW][C]14[/C][C]45.53[/C][C]47.504[/C][C]-1.974[/C][/ROW]
[ROW][C]15[/C][C]42.17[/C][C]46.808[/C][C]-4.638[/C][/ROW]
[ROW][C]16[/C][C]43.66[/C][C]47.162[/C][C]-3.502[/C][/ROW]
[ROW][C]17[/C][C]45.32[/C][C]49.34[/C][C]-4.02[/C][/ROW]
[ROW][C]18[/C][C]47.43[/C][C]52.258[/C][C]-4.828[/C][/ROW]
[ROW][C]19[/C][C]47.76[/C][C]53.966[/C][C]-6.206[/C][/ROW]
[ROW][C]20[/C][C]49.49[/C][C]55.706[/C][C]-6.216[/C][/ROW]
[ROW][C]21[/C][C]50.69[/C][C]55.4[/C][C]-4.71[/C][/ROW]
[ROW][C]22[/C][C]49.8[/C][C]54.416[/C][C]-4.616[/C][/ROW]
[ROW][C]23[/C][C]52.13[/C][C]53.064[/C][C]-0.933999999999997[/C][/ROW]
[ROW][C]24[/C][C]53.94[/C][C]52.016[/C][C]1.924[/C][/ROW]
[ROW][C]25[/C][C]60.75[/C][C]50.44[/C][C]10.31[/C][/ROW]
[ROW][C]26[/C][C]59.19[/C][C]47.504[/C][C]11.686[/C][/ROW]
[ROW][C]27[/C][C]57.58[/C][C]46.808[/C][C]10.772[/C][/ROW]
[ROW][C]28[/C][C]59.16[/C][C]47.162[/C][C]11.998[/C][/ROW]
[ROW][C]29[/C][C]64.74[/C][C]49.34[/C][C]15.4[/C][/ROW]
[ROW][C]30[/C][C]67.04[/C][C]52.258[/C][C]14.782[/C][/ROW]
[ROW][C]31[/C][C]75.53[/C][C]53.966[/C][C]21.564[/C][/ROW]
[ROW][C]32[/C][C]78.91[/C][C]55.706[/C][C]23.204[/C][/ROW]
[ROW][C]33[/C][C]78.4[/C][C]55.4[/C][C]23[/C][/ROW]
[ROW][C]34[/C][C]70.07[/C][C]54.416[/C][C]15.654[/C][/ROW]
[ROW][C]35[/C][C]66.8[/C][C]53.064[/C][C]13.736[/C][/ROW]
[ROW][C]36[/C][C]61.02[/C][C]52.016[/C][C]9.004[/C][/ROW]
[ROW][C]37[/C][C]52.38[/C][C]50.44[/C][C]1.94000000000002[/C][/ROW]
[ROW][C]38[/C][C]42.37[/C][C]47.504[/C][C]-5.134[/C][/ROW]
[ROW][C]39[/C][C]39.83[/C][C]46.808[/C][C]-6.978[/C][/ROW]
[ROW][C]40[/C][C]38.79[/C][C]47.162[/C][C]-8.372[/C][/ROW]
[ROW][C]41[/C][C]37.33[/C][C]49.34[/C][C]-12.01[/C][/ROW]
[ROW][C]42[/C][C]39.4[/C][C]52.258[/C][C]-12.858[/C][/ROW]
[ROW][C]43[/C][C]39.45[/C][C]53.966[/C][C]-14.516[/C][/ROW]
[ROW][C]44[/C][C]43.24[/C][C]55.706[/C][C]-12.466[/C][/ROW]
[ROW][C]45[/C][C]42.33[/C][C]55.4[/C][C]-13.07[/C][/ROW]
[ROW][C]46[/C][C]45.5[/C][C]54.416[/C][C]-8.916[/C][/ROW]
[ROW][C]47[/C][C]43.44[/C][C]53.064[/C][C]-9.624[/C][/ROW]
[ROW][C]48[/C][C]43.88[/C][C]52.016[/C][C]-8.136[/C][/ROW]
[ROW][C]49[/C][C]45.61[/C][C]50.44[/C][C]-4.82999999999998[/C][/ROW]
[ROW][C]50[/C][C]45.12[/C][C]47.504[/C][C]-2.384[/C][/ROW]
[ROW][C]51[/C][C]47.56[/C][C]46.808[/C][C]0.752000000000003[/C][/ROW]
[ROW][C]52[/C][C]47.04[/C][C]47.162[/C][C]-0.121999999999997[/C][/ROW]
[ROW][C]53[/C][C]51.07[/C][C]49.34[/C][C]1.73[/C][/ROW]
[ROW][C]54[/C][C]54.72[/C][C]52.258[/C][C]2.462[/C][/ROW]
[ROW][C]55[/C][C]55.37[/C][C]53.966[/C][C]1.404[/C][/ROW]
[ROW][C]56[/C][C]55.39[/C][C]55.706[/C][C]-0.316[/C][/ROW]
[ROW][C]57[/C][C]53.13[/C][C]55.4[/C][C]-2.27[/C][/ROW]
[ROW][C]58[/C][C]53.71[/C][C]54.416[/C][C]-0.705999999999998[/C][/ROW]
[ROW][C]59[/C][C]54.59[/C][C]53.064[/C][C]1.526[/C][/ROW]
[ROW][C]60[/C][C]54.61[/C][C]52.016[/C][C]2.594[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=102417&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=102417&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
147.5450.4400000000001-2.90000000000007
245.3147.504-2.194
346.946.8080.0919999999999967
447.1647.162-0.00200000000000268
548.2449.34-1.1
652.752.2580.442000000000003
751.7253.966-2.246
851.555.706-4.206
952.4555.4-2.95
105354.416-1.416
1148.3653.064-4.704
1246.6352.016-5.386
1345.9250.44-4.51999999999998
1445.5347.504-1.974
1542.1746.808-4.638
1643.6647.162-3.502
1745.3249.34-4.02
1847.4352.258-4.828
1947.7653.966-6.206
2049.4955.706-6.216
2150.6955.4-4.71
2249.854.416-4.616
2352.1353.064-0.933999999999997
2453.9452.0161.924
2560.7550.4410.31
2659.1947.50411.686
2757.5846.80810.772
2859.1647.16211.998
2964.7449.3415.4
3067.0452.25814.782
3175.5353.96621.564
3278.9155.70623.204
3378.455.423
3470.0754.41615.654
3566.853.06413.736
3661.0252.0169.004
3752.3850.441.94000000000002
3842.3747.504-5.134
3939.8346.808-6.978
4038.7947.162-8.372
4137.3349.34-12.01
4239.452.258-12.858
4339.4553.966-14.516
4443.2455.706-12.466
4542.3355.4-13.07
4645.554.416-8.916
4743.4453.064-9.624
4843.8852.016-8.136
4945.6150.44-4.82999999999998
5045.1247.504-2.384
5147.5646.8080.752000000000003
5247.0447.162-0.121999999999997
5351.0749.341.73
5454.7252.2582.462
5555.3753.9661.404
5655.3955.706-0.316
5753.1355.4-2.27
5853.7154.416-0.705999999999998
5954.5953.0641.526
6054.6152.0162.594







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
150.007543066501434440.01508613300286890.992456933498566
160.002319204350044740.004638408700089470.997680795649955
170.0005921294975639810.001184258995127960.999407870502436
180.0003678171617777380.0007356343235554770.999632182838222
190.0001319412183583150.000263882436716630.999868058781642
203.04473499258097e-056.08946998516194e-050.999969552650074
216.39228931629099e-061.2784578632582e-050.999993607710684
221.8017560271664e-063.6035120543328e-060.999998198243973
235.8095712321055e-071.1619142464211e-060.999999419042877
247.8330682534243e-071.56661365068486e-060.999999216693175
254.03476967523567e-058.06953935047134e-050.999959652303248
260.0002214601909737140.0004429203819474280.999778539809026
270.0005084716299757470.001016943259951490.999491528370024
280.001104642356554150.00220928471310830.998895357643446
290.004581366009257770.009162732018515540.995418633990742
300.01115730018190860.02231460036381720.98884269981809
310.08018148035869190.1603629607173840.919818519641308
320.3332862798671450.666572559734290.666713720132855
330.7214056518575330.5571886962849330.278594348142467
340.8402112133464610.3195775733070780.159788786653539
350.9032656407525920.1934687184948160.0967343592474082
360.903659804585390.1926803908292190.0963401954146094
370.8617110027445470.2765779945109060.138288997255453
380.8006340616857780.3987318766284440.199365938314222
390.7473307748730580.5053384502538840.252669225126942
400.6932116702085650.613576659582870.306788329791435
410.7032644436244750.593471112751050.296735556375525
420.739385853516220.5212282929675610.260614146483781
430.7977555436916540.4044889126166920.202244456308346
440.7905456861858780.4189086276282440.209454313814122
450.7558495895700020.4883008208599950.244150410429998

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
15 & 0.00754306650143444 & 0.0150861330028689 & 0.992456933498566 \tabularnewline
16 & 0.00231920435004474 & 0.00463840870008947 & 0.997680795649955 \tabularnewline
17 & 0.000592129497563981 & 0.00118425899512796 & 0.999407870502436 \tabularnewline
18 & 0.000367817161777738 & 0.000735634323555477 & 0.999632182838222 \tabularnewline
19 & 0.000131941218358315 & 0.00026388243671663 & 0.999868058781642 \tabularnewline
20 & 3.04473499258097e-05 & 6.08946998516194e-05 & 0.999969552650074 \tabularnewline
21 & 6.39228931629099e-06 & 1.2784578632582e-05 & 0.999993607710684 \tabularnewline
22 & 1.8017560271664e-06 & 3.6035120543328e-06 & 0.999998198243973 \tabularnewline
23 & 5.8095712321055e-07 & 1.1619142464211e-06 & 0.999999419042877 \tabularnewline
24 & 7.8330682534243e-07 & 1.56661365068486e-06 & 0.999999216693175 \tabularnewline
25 & 4.03476967523567e-05 & 8.06953935047134e-05 & 0.999959652303248 \tabularnewline
26 & 0.000221460190973714 & 0.000442920381947428 & 0.999778539809026 \tabularnewline
27 & 0.000508471629975747 & 0.00101694325995149 & 0.999491528370024 \tabularnewline
28 & 0.00110464235655415 & 0.0022092847131083 & 0.998895357643446 \tabularnewline
29 & 0.00458136600925777 & 0.00916273201851554 & 0.995418633990742 \tabularnewline
30 & 0.0111573001819086 & 0.0223146003638172 & 0.98884269981809 \tabularnewline
31 & 0.0801814803586919 & 0.160362960717384 & 0.919818519641308 \tabularnewline
32 & 0.333286279867145 & 0.66657255973429 & 0.666713720132855 \tabularnewline
33 & 0.721405651857533 & 0.557188696284933 & 0.278594348142467 \tabularnewline
34 & 0.840211213346461 & 0.319577573307078 & 0.159788786653539 \tabularnewline
35 & 0.903265640752592 & 0.193468718494816 & 0.0967343592474082 \tabularnewline
36 & 0.90365980458539 & 0.192680390829219 & 0.0963401954146094 \tabularnewline
37 & 0.861711002744547 & 0.276577994510906 & 0.138288997255453 \tabularnewline
38 & 0.800634061685778 & 0.398731876628444 & 0.199365938314222 \tabularnewline
39 & 0.747330774873058 & 0.505338450253884 & 0.252669225126942 \tabularnewline
40 & 0.693211670208565 & 0.61357665958287 & 0.306788329791435 \tabularnewline
41 & 0.703264443624475 & 0.59347111275105 & 0.296735556375525 \tabularnewline
42 & 0.73938585351622 & 0.521228292967561 & 0.260614146483781 \tabularnewline
43 & 0.797755543691654 & 0.404488912616692 & 0.202244456308346 \tabularnewline
44 & 0.790545686185878 & 0.418908627628244 & 0.209454313814122 \tabularnewline
45 & 0.755849589570002 & 0.488300820859995 & 0.244150410429998 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=102417&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]15[/C][C]0.00754306650143444[/C][C]0.0150861330028689[/C][C]0.992456933498566[/C][/ROW]
[ROW][C]16[/C][C]0.00231920435004474[/C][C]0.00463840870008947[/C][C]0.997680795649955[/C][/ROW]
[ROW][C]17[/C][C]0.000592129497563981[/C][C]0.00118425899512796[/C][C]0.999407870502436[/C][/ROW]
[ROW][C]18[/C][C]0.000367817161777738[/C][C]0.000735634323555477[/C][C]0.999632182838222[/C][/ROW]
[ROW][C]19[/C][C]0.000131941218358315[/C][C]0.00026388243671663[/C][C]0.999868058781642[/C][/ROW]
[ROW][C]20[/C][C]3.04473499258097e-05[/C][C]6.08946998516194e-05[/C][C]0.999969552650074[/C][/ROW]
[ROW][C]21[/C][C]6.39228931629099e-06[/C][C]1.2784578632582e-05[/C][C]0.999993607710684[/C][/ROW]
[ROW][C]22[/C][C]1.8017560271664e-06[/C][C]3.6035120543328e-06[/C][C]0.999998198243973[/C][/ROW]
[ROW][C]23[/C][C]5.8095712321055e-07[/C][C]1.1619142464211e-06[/C][C]0.999999419042877[/C][/ROW]
[ROW][C]24[/C][C]7.8330682534243e-07[/C][C]1.56661365068486e-06[/C][C]0.999999216693175[/C][/ROW]
[ROW][C]25[/C][C]4.03476967523567e-05[/C][C]8.06953935047134e-05[/C][C]0.999959652303248[/C][/ROW]
[ROW][C]26[/C][C]0.000221460190973714[/C][C]0.000442920381947428[/C][C]0.999778539809026[/C][/ROW]
[ROW][C]27[/C][C]0.000508471629975747[/C][C]0.00101694325995149[/C][C]0.999491528370024[/C][/ROW]
[ROW][C]28[/C][C]0.00110464235655415[/C][C]0.0022092847131083[/C][C]0.998895357643446[/C][/ROW]
[ROW][C]29[/C][C]0.00458136600925777[/C][C]0.00916273201851554[/C][C]0.995418633990742[/C][/ROW]
[ROW][C]30[/C][C]0.0111573001819086[/C][C]0.0223146003638172[/C][C]0.98884269981809[/C][/ROW]
[ROW][C]31[/C][C]0.0801814803586919[/C][C]0.160362960717384[/C][C]0.919818519641308[/C][/ROW]
[ROW][C]32[/C][C]0.333286279867145[/C][C]0.66657255973429[/C][C]0.666713720132855[/C][/ROW]
[ROW][C]33[/C][C]0.721405651857533[/C][C]0.557188696284933[/C][C]0.278594348142467[/C][/ROW]
[ROW][C]34[/C][C]0.840211213346461[/C][C]0.319577573307078[/C][C]0.159788786653539[/C][/ROW]
[ROW][C]35[/C][C]0.903265640752592[/C][C]0.193468718494816[/C][C]0.0967343592474082[/C][/ROW]
[ROW][C]36[/C][C]0.90365980458539[/C][C]0.192680390829219[/C][C]0.0963401954146094[/C][/ROW]
[ROW][C]37[/C][C]0.861711002744547[/C][C]0.276577994510906[/C][C]0.138288997255453[/C][/ROW]
[ROW][C]38[/C][C]0.800634061685778[/C][C]0.398731876628444[/C][C]0.199365938314222[/C][/ROW]
[ROW][C]39[/C][C]0.747330774873058[/C][C]0.505338450253884[/C][C]0.252669225126942[/C][/ROW]
[ROW][C]40[/C][C]0.693211670208565[/C][C]0.61357665958287[/C][C]0.306788329791435[/C][/ROW]
[ROW][C]41[/C][C]0.703264443624475[/C][C]0.59347111275105[/C][C]0.296735556375525[/C][/ROW]
[ROW][C]42[/C][C]0.73938585351622[/C][C]0.521228292967561[/C][C]0.260614146483781[/C][/ROW]
[ROW][C]43[/C][C]0.797755543691654[/C][C]0.404488912616692[/C][C]0.202244456308346[/C][/ROW]
[ROW][C]44[/C][C]0.790545686185878[/C][C]0.418908627628244[/C][C]0.209454313814122[/C][/ROW]
[ROW][C]45[/C][C]0.755849589570002[/C][C]0.488300820859995[/C][C]0.244150410429998[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=102417&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=102417&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
150.007543066501434440.01508613300286890.992456933498566
160.002319204350044740.004638408700089470.997680795649955
170.0005921294975639810.001184258995127960.999407870502436
180.0003678171617777380.0007356343235554770.999632182838222
190.0001319412183583150.000263882436716630.999868058781642
203.04473499258097e-056.08946998516194e-050.999969552650074
216.39228931629099e-061.2784578632582e-050.999993607710684
221.8017560271664e-063.6035120543328e-060.999998198243973
235.8095712321055e-071.1619142464211e-060.999999419042877
247.8330682534243e-071.56661365068486e-060.999999216693175
254.03476967523567e-058.06953935047134e-050.999959652303248
260.0002214601909737140.0004429203819474280.999778539809026
270.0005084716299757470.001016943259951490.999491528370024
280.001104642356554150.00220928471310830.998895357643446
290.004581366009257770.009162732018515540.995418633990742
300.01115730018190860.02231460036381720.98884269981809
310.08018148035869190.1603629607173840.919818519641308
320.3332862798671450.666572559734290.666713720132855
330.7214056518575330.5571886962849330.278594348142467
340.8402112133464610.3195775733070780.159788786653539
350.9032656407525920.1934687184948160.0967343592474082
360.903659804585390.1926803908292190.0963401954146094
370.8617110027445470.2765779945109060.138288997255453
380.8006340616857780.3987318766284440.199365938314222
390.7473307748730580.5053384502538840.252669225126942
400.6932116702085650.613576659582870.306788329791435
410.7032644436244750.593471112751050.296735556375525
420.739385853516220.5212282929675610.260614146483781
430.7977555436916540.4044889126166920.202244456308346
440.7905456861858780.4189086276282440.209454313814122
450.7558495895700020.4883008208599950.244150410429998







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level140.451612903225806NOK
5% type I error level160.516129032258065NOK
10% type I error level160.516129032258065NOK

\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 & 14 & 0.451612903225806 & NOK \tabularnewline
5% type I error level & 16 & 0.516129032258065 & NOK \tabularnewline
10% type I error level & 16 & 0.516129032258065 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=102417&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]14[/C][C]0.451612903225806[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]16[/C][C]0.516129032258065[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]16[/C][C]0.516129032258065[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=102417&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=102417&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 level140.451612903225806NOK
5% type I error level160.516129032258065NOK
10% type I error level160.516129032258065NOK



Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal 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')
}