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:28:16 +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/t12908787882060s1qfwyi5bok.htm/, Retrieved Mon, 29 Apr 2024 13:43:51 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=102418, Retrieved Mon, 29 Apr 2024 13:43:51 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact103
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:28:16] [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 time7 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 & 7 seconds \tabularnewline
R Server & 'RServer@AstonUniversity' @ vre.aston.ac.uk \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=102418&T=0

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

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 52.343 -1.67591666666668M1[t] -4.60283333333333M2[t] -5.28975M3[t] -4.92666666666667M4[t] -2.73958333333334M5[t] + 0.1875M6[t] + 1.90458333333333M7[t] + 3.65366666666667M8[t] + 3.35675M9[t] + 2.38183333333333M10[t] + 1.03891666666667M11[t] -0.0090833333333332t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  52.343 -1.67591666666668M1[t] -4.60283333333333M2[t] -5.28975M3[t] -4.92666666666667M4[t] -2.73958333333334M5[t] +  0.1875M6[t] +  1.90458333333333M7[t] +  3.65366666666667M8[t] +  3.35675M9[t] +  2.38183333333333M10[t] +  1.03891666666667M11[t] -0.0090833333333332t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=102418&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  52.343 -1.67591666666668M1[t] -4.60283333333333M2[t] -5.28975M3[t] -4.92666666666667M4[t] -2.73958333333334M5[t] +  0.1875M6[t] +  1.90458333333333M7[t] +  3.65366666666667M8[t] +  3.35675M9[t] +  2.38183333333333M10[t] +  1.03891666666667M11[t] -0.0090833333333332t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=102418&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=102418&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.343 -1.67591666666668M1[t] -4.60283333333333M2[t] -5.28975M3[t] -4.92666666666667M4[t] -2.73958333333334M5[t] + 0.1875M6[t] + 1.90458333333333M7[t] + 3.65366666666667M8[t] + 3.35675M9[t] + 2.38183333333333M10[t] + 1.03891666666667M11[t] -0.0090833333333332t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)52.3435.19667610.072400
M1-1.675916666666686.322048-0.26510.7920990.396049
M2-4.602833333333336.312602-0.72910.4695280.234764
M3-5.289756.304044-0.83910.4056590.202829
M4-4.926666666666676.296376-0.78250.4378690.218934
M5-2.739583333333346.289604-0.43560.665140.33257
M60.18756.2837280.02980.9763220.488161
M71.904583333333336.2787520.30330.7629710.381486
M83.653666666666676.2746770.58230.5631560.281578
M93.356756.2715070.53520.5950090.297504
M102.381833333333336.2692410.37990.7057130.352857
M111.038916666666676.2678810.16580.8690630.434531
t-0.00908333333333320.075385-0.12050.9046070.452304

\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.343 & 5.196676 & 10.0724 & 0 & 0 \tabularnewline
M1 & -1.67591666666668 & 6.322048 & -0.2651 & 0.792099 & 0.396049 \tabularnewline
M2 & -4.60283333333333 & 6.312602 & -0.7291 & 0.469528 & 0.234764 \tabularnewline
M3 & -5.28975 & 6.304044 & -0.8391 & 0.405659 & 0.202829 \tabularnewline
M4 & -4.92666666666667 & 6.296376 & -0.7825 & 0.437869 & 0.218934 \tabularnewline
M5 & -2.73958333333334 & 6.289604 & -0.4356 & 0.66514 & 0.33257 \tabularnewline
M6 & 0.1875 & 6.283728 & 0.0298 & 0.976322 & 0.488161 \tabularnewline
M7 & 1.90458333333333 & 6.278752 & 0.3033 & 0.762971 & 0.381486 \tabularnewline
M8 & 3.65366666666667 & 6.274677 & 0.5823 & 0.563156 & 0.281578 \tabularnewline
M9 & 3.35675 & 6.271507 & 0.5352 & 0.595009 & 0.297504 \tabularnewline
M10 & 2.38183333333333 & 6.269241 & 0.3799 & 0.705713 & 0.352857 \tabularnewline
M11 & 1.03891666666667 & 6.267881 & 0.1658 & 0.869063 & 0.434531 \tabularnewline
t & -0.0090833333333332 & 0.075385 & -0.1205 & 0.904607 & 0.452304 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=102418&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.343[/C][C]5.196676[/C][C]10.0724[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]-1.67591666666668[/C][C]6.322048[/C][C]-0.2651[/C][C]0.792099[/C][C]0.396049[/C][/ROW]
[ROW][C]M2[/C][C]-4.60283333333333[/C][C]6.312602[/C][C]-0.7291[/C][C]0.469528[/C][C]0.234764[/C][/ROW]
[ROW][C]M3[/C][C]-5.28975[/C][C]6.304044[/C][C]-0.8391[/C][C]0.405659[/C][C]0.202829[/C][/ROW]
[ROW][C]M4[/C][C]-4.92666666666667[/C][C]6.296376[/C][C]-0.7825[/C][C]0.437869[/C][C]0.218934[/C][/ROW]
[ROW][C]M5[/C][C]-2.73958333333334[/C][C]6.289604[/C][C]-0.4356[/C][C]0.66514[/C][C]0.33257[/C][/ROW]
[ROW][C]M6[/C][C]0.1875[/C][C]6.283728[/C][C]0.0298[/C][C]0.976322[/C][C]0.488161[/C][/ROW]
[ROW][C]M7[/C][C]1.90458333333333[/C][C]6.278752[/C][C]0.3033[/C][C]0.762971[/C][C]0.381486[/C][/ROW]
[ROW][C]M8[/C][C]3.65366666666667[/C][C]6.274677[/C][C]0.5823[/C][C]0.563156[/C][C]0.281578[/C][/ROW]
[ROW][C]M9[/C][C]3.35675[/C][C]6.271507[/C][C]0.5352[/C][C]0.595009[/C][C]0.297504[/C][/ROW]
[ROW][C]M10[/C][C]2.38183333333333[/C][C]6.269241[/C][C]0.3799[/C][C]0.705713[/C][C]0.352857[/C][/ROW]
[ROW][C]M11[/C][C]1.03891666666667[/C][C]6.267881[/C][C]0.1658[/C][C]0.869063[/C][C]0.434531[/C][/ROW]
[ROW][C]t[/C][C]-0.0090833333333332[/C][C]0.075385[/C][C]-0.1205[/C][C]0.904607[/C][C]0.452304[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=102418&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=102418&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.3435.19667610.072400
M1-1.675916666666686.322048-0.26510.7920990.396049
M2-4.602833333333336.312602-0.72910.4695280.234764
M3-5.289756.304044-0.83910.4056590.202829
M4-4.926666666666676.296376-0.78250.4378690.218934
M5-2.739583333333346.289604-0.43560.665140.33257
M60.18756.2837280.02980.9763220.488161
M71.904583333333336.2787520.30330.7629710.381486
M83.653666666666676.2746770.58230.5631560.281578
M93.356756.2715070.53520.5950090.297504
M102.381833333333336.2692410.37990.7057130.352857
M111.038916666666676.2678810.16580.8690630.434531
t-0.00908333333333320.075385-0.12050.9046070.452304







Multiple Linear Regression - Regression Statistics
Multiple R0.33108746990791
R-squared0.109618912730021
Adjusted R-squared-0.117712428700611
F-TEST (value)0.482198855820635
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.915130339062477
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation9.90967294477171
Sum Squared Residuals4615.47604

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.33108746990791 \tabularnewline
R-squared & 0.109618912730021 \tabularnewline
Adjusted R-squared & -0.117712428700611 \tabularnewline
F-TEST (value) & 0.482198855820635 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0.915130339062477 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 9.90967294477171 \tabularnewline
Sum Squared Residuals & 4615.47604 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=102418&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.33108746990791[/C][/ROW]
[ROW][C]R-squared[/C][C]0.109618912730021[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]-0.117712428700611[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]0.482198855820635[/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.915130339062477[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]9.90967294477171[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]4615.47604[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=102418&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=102418&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.33108746990791
R-squared0.109618912730021
Adjusted R-squared-0.117712428700611
F-TEST (value)0.482198855820635
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.915130339062477
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation9.90967294477171
Sum Squared Residuals4615.47604







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
147.5450.6580000000001-3.11800000000007
245.3147.722-2.41199999999999
346.947.026-0.126
447.1647.38-0.22
548.2449.558-1.31799999999999
652.752.4760.224000000000006
751.7254.184-2.464
851.555.924-4.424
952.4555.618-3.16799999999999
105354.634-1.63399999999999
1148.3653.282-4.922
1246.6352.234-5.604
1345.9250.549-4.62899999999998
1445.5347.613-2.08299999999999
1542.1746.917-4.747
1643.6647.271-3.611
1745.3249.449-4.129
1847.4352.367-4.937
1947.7654.075-6.315
2049.4955.815-6.325
2150.6955.509-4.819
2249.854.525-4.725
2352.1353.173-1.043
2453.9452.1251.815
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.3312.04900000000002
3842.3747.395-5.025
3939.8346.699-6.869
4038.7947.053-8.263
4137.3349.231-11.901
4239.452.149-12.749
4339.4553.857-14.407
4443.2455.597-12.357
4542.3355.291-12.961
4645.554.307-8.807
4743.4452.955-9.515
4843.8851.907-8.027
4945.6150.222-4.61199999999999
5045.1247.286-2.166
5147.5646.590.97
5247.0446.9440.096
5351.0749.1221.948
5454.7252.042.67999999999999
5555.3753.7481.62199999999999
5655.3955.488-0.0980000000000038
5753.1355.182-2.052
5853.7154.198-0.488000000000001
5954.5952.8461.744
6054.6151.7982.812

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 47.54 & 50.6580000000001 & -3.11800000000007 \tabularnewline
2 & 45.31 & 47.722 & -2.41199999999999 \tabularnewline
3 & 46.9 & 47.026 & -0.126 \tabularnewline
4 & 47.16 & 47.38 & -0.22 \tabularnewline
5 & 48.24 & 49.558 & -1.31799999999999 \tabularnewline
6 & 52.7 & 52.476 & 0.224000000000006 \tabularnewline
7 & 51.72 & 54.184 & -2.464 \tabularnewline
8 & 51.5 & 55.924 & -4.424 \tabularnewline
9 & 52.45 & 55.618 & -3.16799999999999 \tabularnewline
10 & 53 & 54.634 & -1.63399999999999 \tabularnewline
11 & 48.36 & 53.282 & -4.922 \tabularnewline
12 & 46.63 & 52.234 & -5.604 \tabularnewline
13 & 45.92 & 50.549 & -4.62899999999998 \tabularnewline
14 & 45.53 & 47.613 & -2.08299999999999 \tabularnewline
15 & 42.17 & 46.917 & -4.747 \tabularnewline
16 & 43.66 & 47.271 & -3.611 \tabularnewline
17 & 45.32 & 49.449 & -4.129 \tabularnewline
18 & 47.43 & 52.367 & -4.937 \tabularnewline
19 & 47.76 & 54.075 & -6.315 \tabularnewline
20 & 49.49 & 55.815 & -6.325 \tabularnewline
21 & 50.69 & 55.509 & -4.819 \tabularnewline
22 & 49.8 & 54.525 & -4.725 \tabularnewline
23 & 52.13 & 53.173 & -1.043 \tabularnewline
24 & 53.94 & 52.125 & 1.815 \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.331 & 2.04900000000002 \tabularnewline
38 & 42.37 & 47.395 & -5.025 \tabularnewline
39 & 39.83 & 46.699 & -6.869 \tabularnewline
40 & 38.79 & 47.053 & -8.263 \tabularnewline
41 & 37.33 & 49.231 & -11.901 \tabularnewline
42 & 39.4 & 52.149 & -12.749 \tabularnewline
43 & 39.45 & 53.857 & -14.407 \tabularnewline
44 & 43.24 & 55.597 & -12.357 \tabularnewline
45 & 42.33 & 55.291 & -12.961 \tabularnewline
46 & 45.5 & 54.307 & -8.807 \tabularnewline
47 & 43.44 & 52.955 & -9.515 \tabularnewline
48 & 43.88 & 51.907 & -8.027 \tabularnewline
49 & 45.61 & 50.222 & -4.61199999999999 \tabularnewline
50 & 45.12 & 47.286 & -2.166 \tabularnewline
51 & 47.56 & 46.59 & 0.97 \tabularnewline
52 & 47.04 & 46.944 & 0.096 \tabularnewline
53 & 51.07 & 49.122 & 1.948 \tabularnewline
54 & 54.72 & 52.04 & 2.67999999999999 \tabularnewline
55 & 55.37 & 53.748 & 1.62199999999999 \tabularnewline
56 & 55.39 & 55.488 & -0.0980000000000038 \tabularnewline
57 & 53.13 & 55.182 & -2.052 \tabularnewline
58 & 53.71 & 54.198 & -0.488000000000001 \tabularnewline
59 & 54.59 & 52.846 & 1.744 \tabularnewline
60 & 54.61 & 51.798 & 2.812 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=102418&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.6580000000001[/C][C]-3.11800000000007[/C][/ROW]
[ROW][C]2[/C][C]45.31[/C][C]47.722[/C][C]-2.41199999999999[/C][/ROW]
[ROW][C]3[/C][C]46.9[/C][C]47.026[/C][C]-0.126[/C][/ROW]
[ROW][C]4[/C][C]47.16[/C][C]47.38[/C][C]-0.22[/C][/ROW]
[ROW][C]5[/C][C]48.24[/C][C]49.558[/C][C]-1.31799999999999[/C][/ROW]
[ROW][C]6[/C][C]52.7[/C][C]52.476[/C][C]0.224000000000006[/C][/ROW]
[ROW][C]7[/C][C]51.72[/C][C]54.184[/C][C]-2.464[/C][/ROW]
[ROW][C]8[/C][C]51.5[/C][C]55.924[/C][C]-4.424[/C][/ROW]
[ROW][C]9[/C][C]52.45[/C][C]55.618[/C][C]-3.16799999999999[/C][/ROW]
[ROW][C]10[/C][C]53[/C][C]54.634[/C][C]-1.63399999999999[/C][/ROW]
[ROW][C]11[/C][C]48.36[/C][C]53.282[/C][C]-4.922[/C][/ROW]
[ROW][C]12[/C][C]46.63[/C][C]52.234[/C][C]-5.604[/C][/ROW]
[ROW][C]13[/C][C]45.92[/C][C]50.549[/C][C]-4.62899999999998[/C][/ROW]
[ROW][C]14[/C][C]45.53[/C][C]47.613[/C][C]-2.08299999999999[/C][/ROW]
[ROW][C]15[/C][C]42.17[/C][C]46.917[/C][C]-4.747[/C][/ROW]
[ROW][C]16[/C][C]43.66[/C][C]47.271[/C][C]-3.611[/C][/ROW]
[ROW][C]17[/C][C]45.32[/C][C]49.449[/C][C]-4.129[/C][/ROW]
[ROW][C]18[/C][C]47.43[/C][C]52.367[/C][C]-4.937[/C][/ROW]
[ROW][C]19[/C][C]47.76[/C][C]54.075[/C][C]-6.315[/C][/ROW]
[ROW][C]20[/C][C]49.49[/C][C]55.815[/C][C]-6.325[/C][/ROW]
[ROW][C]21[/C][C]50.69[/C][C]55.509[/C][C]-4.819[/C][/ROW]
[ROW][C]22[/C][C]49.8[/C][C]54.525[/C][C]-4.725[/C][/ROW]
[ROW][C]23[/C][C]52.13[/C][C]53.173[/C][C]-1.043[/C][/ROW]
[ROW][C]24[/C][C]53.94[/C][C]52.125[/C][C]1.815[/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.331[/C][C]2.04900000000002[/C][/ROW]
[ROW][C]38[/C][C]42.37[/C][C]47.395[/C][C]-5.025[/C][/ROW]
[ROW][C]39[/C][C]39.83[/C][C]46.699[/C][C]-6.869[/C][/ROW]
[ROW][C]40[/C][C]38.79[/C][C]47.053[/C][C]-8.263[/C][/ROW]
[ROW][C]41[/C][C]37.33[/C][C]49.231[/C][C]-11.901[/C][/ROW]
[ROW][C]42[/C][C]39.4[/C][C]52.149[/C][C]-12.749[/C][/ROW]
[ROW][C]43[/C][C]39.45[/C][C]53.857[/C][C]-14.407[/C][/ROW]
[ROW][C]44[/C][C]43.24[/C][C]55.597[/C][C]-12.357[/C][/ROW]
[ROW][C]45[/C][C]42.33[/C][C]55.291[/C][C]-12.961[/C][/ROW]
[ROW][C]46[/C][C]45.5[/C][C]54.307[/C][C]-8.807[/C][/ROW]
[ROW][C]47[/C][C]43.44[/C][C]52.955[/C][C]-9.515[/C][/ROW]
[ROW][C]48[/C][C]43.88[/C][C]51.907[/C][C]-8.027[/C][/ROW]
[ROW][C]49[/C][C]45.61[/C][C]50.222[/C][C]-4.61199999999999[/C][/ROW]
[ROW][C]50[/C][C]45.12[/C][C]47.286[/C][C]-2.166[/C][/ROW]
[ROW][C]51[/C][C]47.56[/C][C]46.59[/C][C]0.97[/C][/ROW]
[ROW][C]52[/C][C]47.04[/C][C]46.944[/C][C]0.096[/C][/ROW]
[ROW][C]53[/C][C]51.07[/C][C]49.122[/C][C]1.948[/C][/ROW]
[ROW][C]54[/C][C]54.72[/C][C]52.04[/C][C]2.67999999999999[/C][/ROW]
[ROW][C]55[/C][C]55.37[/C][C]53.748[/C][C]1.62199999999999[/C][/ROW]
[ROW][C]56[/C][C]55.39[/C][C]55.488[/C][C]-0.0980000000000038[/C][/ROW]
[ROW][C]57[/C][C]53.13[/C][C]55.182[/C][C]-2.052[/C][/ROW]
[ROW][C]58[/C][C]53.71[/C][C]54.198[/C][C]-0.488000000000001[/C][/ROW]
[ROW][C]59[/C][C]54.59[/C][C]52.846[/C][C]1.744[/C][/ROW]
[ROW][C]60[/C][C]54.61[/C][C]51.798[/C][C]2.812[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=102418&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=102418&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.6580000000001-3.11800000000007
245.3147.722-2.41199999999999
346.947.026-0.126
447.1647.38-0.22
548.2449.558-1.31799999999999
652.752.4760.224000000000006
751.7254.184-2.464
851.555.924-4.424
952.4555.618-3.16799999999999
105354.634-1.63399999999999
1148.3653.282-4.922
1246.6352.234-5.604
1345.9250.549-4.62899999999998
1445.5347.613-2.08299999999999
1542.1746.917-4.747
1643.6647.271-3.611
1745.3249.449-4.129
1847.4352.367-4.937
1947.7654.075-6.315
2049.4955.815-6.325
2150.6955.509-4.819
2249.854.525-4.725
2352.1353.173-1.043
2453.9452.1251.815
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.3312.04900000000002
3842.3747.395-5.025
3939.8346.699-6.869
4038.7947.053-8.263
4137.3349.231-11.901
4239.452.149-12.749
4339.4553.857-14.407
4443.2455.597-12.357
4542.3355.291-12.961
4645.554.307-8.807
4743.4452.955-9.515
4843.8851.907-8.027
4945.6150.222-4.61199999999999
5045.1247.286-2.166
5147.5646.590.97
5247.0446.9440.096
5351.0749.1221.948
5454.7252.042.67999999999999
5555.3753.7481.62199999999999
5655.3955.488-0.0980000000000038
5753.1355.182-2.052
5853.7154.198-0.488000000000001
5954.5952.8461.744
6054.6151.7982.812







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.003244523423212970.006489046846425940.996755476576787
170.0003660844231358610.0007321688462717210.999633915576864
189.24489227592348e-050.000184897845518470.99990755107724
191.25919998219168e-052.51839996438336e-050.999987408000178
201.86404837771764e-063.72809675543528e-060.999998135951622
212.90114981394929e-075.80229962789857e-070.999999709885019
223.94367717428555e-087.8873543485711e-080.999999960563228
236.11942359944378e-071.22388471988876e-060.99999938805764
249.41230539502044e-061.88246107900409e-050.999990587694605
250.0005892898853247690.001178579770649540.999410710114675
260.001292312858233920.002584625716467850.998707687141766
270.001235225422128940.002470450844257880.998764774577871
280.001037408068700180.002074816137400370.9989625919313
290.0015135208575970.003027041715194010.998486479142403
300.00146777738012840.002935554760256790.998532222619872
310.006819738536577710.01363947707315540.993180261463422
320.03304088406250030.06608176812500060.9669591159375
330.1452240123108140.2904480246216270.854775987689186
340.2638976832777660.5277953665555320.736102316722234
350.5656680090211370.8686639819577260.434331990978863
360.9492413847082720.1015172305834560.0507586152917282
370.9990093966867320.00198120662653490.000990603313267448
380.999915767547960.0001684649040804998.42324520402495e-05
390.999921836264360.0001563274712792617.81637356396307e-05
400.9999095929176560.0001808141646889049.0407082344452e-05
410.9997428081990050.0005143836019904920.000257191800995246
420.999540612602180.0009187747956398880.000459387397819944
430.9998364909756010.0003270180487972280.000163509024398614
440.9991289352021850.001742129595629520.00087106479781476

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.00324452342321297 & 0.00648904684642594 & 0.996755476576787 \tabularnewline
17 & 0.000366084423135861 & 0.000732168846271721 & 0.999633915576864 \tabularnewline
18 & 9.24489227592348e-05 & 0.00018489784551847 & 0.99990755107724 \tabularnewline
19 & 1.25919998219168e-05 & 2.51839996438336e-05 & 0.999987408000178 \tabularnewline
20 & 1.86404837771764e-06 & 3.72809675543528e-06 & 0.999998135951622 \tabularnewline
21 & 2.90114981394929e-07 & 5.80229962789857e-07 & 0.999999709885019 \tabularnewline
22 & 3.94367717428555e-08 & 7.8873543485711e-08 & 0.999999960563228 \tabularnewline
23 & 6.11942359944378e-07 & 1.22388471988876e-06 & 0.99999938805764 \tabularnewline
24 & 9.41230539502044e-06 & 1.88246107900409e-05 & 0.999990587694605 \tabularnewline
25 & 0.000589289885324769 & 0.00117857977064954 & 0.999410710114675 \tabularnewline
26 & 0.00129231285823392 & 0.00258462571646785 & 0.998707687141766 \tabularnewline
27 & 0.00123522542212894 & 0.00247045084425788 & 0.998764774577871 \tabularnewline
28 & 0.00103740806870018 & 0.00207481613740037 & 0.9989625919313 \tabularnewline
29 & 0.001513520857597 & 0.00302704171519401 & 0.998486479142403 \tabularnewline
30 & 0.0014677773801284 & 0.00293555476025679 & 0.998532222619872 \tabularnewline
31 & 0.00681973853657771 & 0.0136394770731554 & 0.993180261463422 \tabularnewline
32 & 0.0330408840625003 & 0.0660817681250006 & 0.9669591159375 \tabularnewline
33 & 0.145224012310814 & 0.290448024621627 & 0.854775987689186 \tabularnewline
34 & 0.263897683277766 & 0.527795366555532 & 0.736102316722234 \tabularnewline
35 & 0.565668009021137 & 0.868663981957726 & 0.434331990978863 \tabularnewline
36 & 0.949241384708272 & 0.101517230583456 & 0.0507586152917282 \tabularnewline
37 & 0.999009396686732 & 0.0019812066265349 & 0.000990603313267448 \tabularnewline
38 & 0.99991576754796 & 0.000168464904080499 & 8.42324520402495e-05 \tabularnewline
39 & 0.99992183626436 & 0.000156327471279261 & 7.81637356396307e-05 \tabularnewline
40 & 0.999909592917656 & 0.000180814164688904 & 9.0407082344452e-05 \tabularnewline
41 & 0.999742808199005 & 0.000514383601990492 & 0.000257191800995246 \tabularnewline
42 & 0.99954061260218 & 0.000918774795639888 & 0.000459387397819944 \tabularnewline
43 & 0.999836490975601 & 0.000327018048797228 & 0.000163509024398614 \tabularnewline
44 & 0.999128935202185 & 0.00174212959562952 & 0.00087106479781476 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=102418&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.00324452342321297[/C][C]0.00648904684642594[/C][C]0.996755476576787[/C][/ROW]
[ROW][C]17[/C][C]0.000366084423135861[/C][C]0.000732168846271721[/C][C]0.999633915576864[/C][/ROW]
[ROW][C]18[/C][C]9.24489227592348e-05[/C][C]0.00018489784551847[/C][C]0.99990755107724[/C][/ROW]
[ROW][C]19[/C][C]1.25919998219168e-05[/C][C]2.51839996438336e-05[/C][C]0.999987408000178[/C][/ROW]
[ROW][C]20[/C][C]1.86404837771764e-06[/C][C]3.72809675543528e-06[/C][C]0.999998135951622[/C][/ROW]
[ROW][C]21[/C][C]2.90114981394929e-07[/C][C]5.80229962789857e-07[/C][C]0.999999709885019[/C][/ROW]
[ROW][C]22[/C][C]3.94367717428555e-08[/C][C]7.8873543485711e-08[/C][C]0.999999960563228[/C][/ROW]
[ROW][C]23[/C][C]6.11942359944378e-07[/C][C]1.22388471988876e-06[/C][C]0.99999938805764[/C][/ROW]
[ROW][C]24[/C][C]9.41230539502044e-06[/C][C]1.88246107900409e-05[/C][C]0.999990587694605[/C][/ROW]
[ROW][C]25[/C][C]0.000589289885324769[/C][C]0.00117857977064954[/C][C]0.999410710114675[/C][/ROW]
[ROW][C]26[/C][C]0.00129231285823392[/C][C]0.00258462571646785[/C][C]0.998707687141766[/C][/ROW]
[ROW][C]27[/C][C]0.00123522542212894[/C][C]0.00247045084425788[/C][C]0.998764774577871[/C][/ROW]
[ROW][C]28[/C][C]0.00103740806870018[/C][C]0.00207481613740037[/C][C]0.9989625919313[/C][/ROW]
[ROW][C]29[/C][C]0.001513520857597[/C][C]0.00302704171519401[/C][C]0.998486479142403[/C][/ROW]
[ROW][C]30[/C][C]0.0014677773801284[/C][C]0.00293555476025679[/C][C]0.998532222619872[/C][/ROW]
[ROW][C]31[/C][C]0.00681973853657771[/C][C]0.0136394770731554[/C][C]0.993180261463422[/C][/ROW]
[ROW][C]32[/C][C]0.0330408840625003[/C][C]0.0660817681250006[/C][C]0.9669591159375[/C][/ROW]
[ROW][C]33[/C][C]0.145224012310814[/C][C]0.290448024621627[/C][C]0.854775987689186[/C][/ROW]
[ROW][C]34[/C][C]0.263897683277766[/C][C]0.527795366555532[/C][C]0.736102316722234[/C][/ROW]
[ROW][C]35[/C][C]0.565668009021137[/C][C]0.868663981957726[/C][C]0.434331990978863[/C][/ROW]
[ROW][C]36[/C][C]0.949241384708272[/C][C]0.101517230583456[/C][C]0.0507586152917282[/C][/ROW]
[ROW][C]37[/C][C]0.999009396686732[/C][C]0.0019812066265349[/C][C]0.000990603313267448[/C][/ROW]
[ROW][C]38[/C][C]0.99991576754796[/C][C]0.000168464904080499[/C][C]8.42324520402495e-05[/C][/ROW]
[ROW][C]39[/C][C]0.99992183626436[/C][C]0.000156327471279261[/C][C]7.81637356396307e-05[/C][/ROW]
[ROW][C]40[/C][C]0.999909592917656[/C][C]0.000180814164688904[/C][C]9.0407082344452e-05[/C][/ROW]
[ROW][C]41[/C][C]0.999742808199005[/C][C]0.000514383601990492[/C][C]0.000257191800995246[/C][/ROW]
[ROW][C]42[/C][C]0.99954061260218[/C][C]0.000918774795639888[/C][C]0.000459387397819944[/C][/ROW]
[ROW][C]43[/C][C]0.999836490975601[/C][C]0.000327018048797228[/C][C]0.000163509024398614[/C][/ROW]
[ROW][C]44[/C][C]0.999128935202185[/C][C]0.00174212959562952[/C][C]0.00087106479781476[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=102418&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=102418&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.003244523423212970.006489046846425940.996755476576787
170.0003660844231358610.0007321688462717210.999633915576864
189.24489227592348e-050.000184897845518470.99990755107724
191.25919998219168e-052.51839996438336e-050.999987408000178
201.86404837771764e-063.72809675543528e-060.999998135951622
212.90114981394929e-075.80229962789857e-070.999999709885019
223.94367717428555e-087.8873543485711e-080.999999960563228
236.11942359944378e-071.22388471988876e-060.99999938805764
249.41230539502044e-061.88246107900409e-050.999990587694605
250.0005892898853247690.001178579770649540.999410710114675
260.001292312858233920.002584625716467850.998707687141766
270.001235225422128940.002470450844257880.998764774577871
280.001037408068700180.002074816137400370.9989625919313
290.0015135208575970.003027041715194010.998486479142403
300.00146777738012840.002935554760256790.998532222619872
310.006819738536577710.01363947707315540.993180261463422
320.03304088406250030.06608176812500060.9669591159375
330.1452240123108140.2904480246216270.854775987689186
340.2638976832777660.5277953665555320.736102316722234
350.5656680090211370.8686639819577260.434331990978863
360.9492413847082720.1015172305834560.0507586152917282
370.9990093966867320.00198120662653490.000990603313267448
380.999915767547960.0001684649040804998.42324520402495e-05
390.999921836264360.0001563274712792617.81637356396307e-05
400.9999095929176560.0001808141646889049.0407082344452e-05
410.9997428081990050.0005143836019904920.000257191800995246
420.999540612602180.0009187747956398880.000459387397819944
430.9998364909756010.0003270180487972280.000163509024398614
440.9991289352021850.001742129595629520.00087106479781476







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level230.793103448275862NOK
5% type I error level240.827586206896552NOK
10% type I error level250.862068965517241NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=102418&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 level230.793103448275862NOK
5% type I error level240.827586206896552NOK
10% type I error level250.862068965517241NOK



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