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 computationSun, 13 Dec 2009 12:40:15 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Dec/13/t12607334051lf8whxqyhwj9i4.htm/, Retrieved Sat, 27 Apr 2024 14:34:44 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=67403, Retrieved Sat, 27 Apr 2024 14:34:44 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact141
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Data Series] [data set] [2008-12-01 19:54:57] [b98453cac15ba1066b407e146608df68]
- RMP   [Standard Deviation-Mean Plot] [] [2009-11-27 14:40:44] [b98453cac15ba1066b407e146608df68]
-    D    [Standard Deviation-Mean Plot] [] [2009-12-03 18:51:29] [5edbdb7a459c4059b6c3b063ba86821c]
- RMPD      [Multiple Regression] [] [2009-12-12 17:47:59] [5edbdb7a459c4059b6c3b063ba86821c]
-   P         [Multiple Regression] [] [2009-12-12 18:28:01] [5edbdb7a459c4059b6c3b063ba86821c]
-    D          [Multiple Regression] [] [2009-12-13 10:48:46] [5edbdb7a459c4059b6c3b063ba86821c]
-    D              [Multiple Regression] [] [2009-12-13 19:40:15] [24029b2c7217429de6ff94b5379eb52c] [Current]
Feedback Forum

Post a new message
Dataseries X:
19	75.8
18	72.6
19	71.9
19	74.8
22	72.9
23	72.9
20	79.9
14	74
14	76
14	69.6
15	77.3
11	75.2
17	75.8
16	77.6
20	76.7
24	77
23	77.9
20	76.7
21	71.9
19	73.4
23	72.5
23	73.7
23	69.5
23	74.7
27	72.5
26	72.1
17	70.7
24	71.4
26	69.5
24	73.5
27	72.4
27	74.5
26	72.2
24	73
23	73.3
23	71.3
24	73.6
17	71.3
21	71.2
19	81.4
22	76.1
22	71.1
18	75.7
16	70
14	68.5
12	56.7
14	57.9
16	58.8
8	59.3
3	61.3
0	62.9
5	61.4
1	64.5
1	63.8
3	61.6
6	64.7




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135
R Framework error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.

\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 & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
R Framework error message & 
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=67403&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]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[ROW][C]R Framework error message[/C][C]
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=67403&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67403&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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135
R Framework error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.







Multiple Linear Regression - Estimated Regression Equation
dzcg [t] = + 69.7953336755647 + 0.306108829568788indcvtr[t] + 0.273448408624239M1[t] + 0.95116889117043M2[t] + 1.01422818275155M3[t] + 2.85651745379877M4[t] + 1.83224614989734M5[t] + 1.6765272073922M6[t] + 2.6171429671458M7[t] + 2.24508932238194M8[t] + 1.45570918891171M9[t] -2.10878798767967M10[t] -0.83244840862423M11[t] -0.179393993839836t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
dzcg
[t] =  +  69.7953336755647 +  0.306108829568788indcvtr[t] +  0.273448408624239M1[t] +  0.95116889117043M2[t] +  1.01422818275155M3[t] +  2.85651745379877M4[t] +  1.83224614989734M5[t] +  1.6765272073922M6[t] +  2.6171429671458M7[t] +  2.24508932238194M8[t] +  1.45570918891171M9[t] -2.10878798767967M10[t] -0.83244840862423M11[t] -0.179393993839836t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67403&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]dzcg
[t] =  +  69.7953336755647 +  0.306108829568788indcvtr[t] +  0.273448408624239M1[t] +  0.95116889117043M2[t] +  1.01422818275155M3[t] +  2.85651745379877M4[t] +  1.83224614989734M5[t] +  1.6765272073922M6[t] +  2.6171429671458M7[t] +  2.24508932238194M8[t] +  1.45570918891171M9[t] -2.10878798767967M10[t] -0.83244840862423M11[t] -0.179393993839836t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67403&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67403&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
dzcg [t] = + 69.7953336755647 + 0.306108829568788indcvtr[t] + 0.273448408624239M1[t] + 0.95116889117043M2[t] + 1.01422818275155M3[t] + 2.85651745379877M4[t] + 1.83224614989734M5[t] + 1.6765272073922M6[t] + 2.6171429671458M7[t] + 2.24508932238194M8[t] + 1.45570918891171M9[t] -2.10878798767967M10[t] -0.83244840862423M11[t] -0.179393993839836t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)69.79533367556473.06500822.771700
indcvtr0.3061088295687880.086013.5590.000940.00047
M10.2734484086242392.6761070.10220.9190990.459549
M20.951168891170432.6872550.3540.7251430.362571
M31.014228182751552.6893560.37710.7079780.353989
M42.856517453798772.6719681.06910.2911450.145572
M51.832246149897342.671210.68590.496530.248265
M61.67652720739222.6709280.62770.5336020.266801
M72.61714296714582.6711290.97980.3328010.1664
M82.245089322381942.6745090.83940.4059750.202988
M91.455709188911712.8172580.51670.6080680.304034
M10-2.108787987679672.816324-0.74880.4581670.229084
M11-0.832448408624232.815622-0.29570.7689520.384476
t-0.1793939938398360.037708-4.75742.3e-051.2e-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) & 69.7953336755647 & 3.065008 & 22.7717 & 0 & 0 \tabularnewline
indcvtr & 0.306108829568788 & 0.08601 & 3.559 & 0.00094 & 0.00047 \tabularnewline
M1 & 0.273448408624239 & 2.676107 & 0.1022 & 0.919099 & 0.459549 \tabularnewline
M2 & 0.95116889117043 & 2.687255 & 0.354 & 0.725143 & 0.362571 \tabularnewline
M3 & 1.01422818275155 & 2.689356 & 0.3771 & 0.707978 & 0.353989 \tabularnewline
M4 & 2.85651745379877 & 2.671968 & 1.0691 & 0.291145 & 0.145572 \tabularnewline
M5 & 1.83224614989734 & 2.67121 & 0.6859 & 0.49653 & 0.248265 \tabularnewline
M6 & 1.6765272073922 & 2.670928 & 0.6277 & 0.533602 & 0.266801 \tabularnewline
M7 & 2.6171429671458 & 2.671129 & 0.9798 & 0.332801 & 0.1664 \tabularnewline
M8 & 2.24508932238194 & 2.674509 & 0.8394 & 0.405975 & 0.202988 \tabularnewline
M9 & 1.45570918891171 & 2.817258 & 0.5167 & 0.608068 & 0.304034 \tabularnewline
M10 & -2.10878798767967 & 2.816324 & -0.7488 & 0.458167 & 0.229084 \tabularnewline
M11 & -0.83244840862423 & 2.815622 & -0.2957 & 0.768952 & 0.384476 \tabularnewline
t & -0.179393993839836 & 0.037708 & -4.7574 & 2.3e-05 & 1.2e-05 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67403&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]69.7953336755647[/C][C]3.065008[/C][C]22.7717[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]indcvtr[/C][C]0.306108829568788[/C][C]0.08601[/C][C]3.559[/C][C]0.00094[/C][C]0.00047[/C][/ROW]
[ROW][C]M1[/C][C]0.273448408624239[/C][C]2.676107[/C][C]0.1022[/C][C]0.919099[/C][C]0.459549[/C][/ROW]
[ROW][C]M2[/C][C]0.95116889117043[/C][C]2.687255[/C][C]0.354[/C][C]0.725143[/C][C]0.362571[/C][/ROW]
[ROW][C]M3[/C][C]1.01422818275155[/C][C]2.689356[/C][C]0.3771[/C][C]0.707978[/C][C]0.353989[/C][/ROW]
[ROW][C]M4[/C][C]2.85651745379877[/C][C]2.671968[/C][C]1.0691[/C][C]0.291145[/C][C]0.145572[/C][/ROW]
[ROW][C]M5[/C][C]1.83224614989734[/C][C]2.67121[/C][C]0.6859[/C][C]0.49653[/C][C]0.248265[/C][/ROW]
[ROW][C]M6[/C][C]1.6765272073922[/C][C]2.670928[/C][C]0.6277[/C][C]0.533602[/C][C]0.266801[/C][/ROW]
[ROW][C]M7[/C][C]2.6171429671458[/C][C]2.671129[/C][C]0.9798[/C][C]0.332801[/C][C]0.1664[/C][/ROW]
[ROW][C]M8[/C][C]2.24508932238194[/C][C]2.674509[/C][C]0.8394[/C][C]0.405975[/C][C]0.202988[/C][/ROW]
[ROW][C]M9[/C][C]1.45570918891171[/C][C]2.817258[/C][C]0.5167[/C][C]0.608068[/C][C]0.304034[/C][/ROW]
[ROW][C]M10[/C][C]-2.10878798767967[/C][C]2.816324[/C][C]-0.7488[/C][C]0.458167[/C][C]0.229084[/C][/ROW]
[ROW][C]M11[/C][C]-0.83244840862423[/C][C]2.815622[/C][C]-0.2957[/C][C]0.768952[/C][C]0.384476[/C][/ROW]
[ROW][C]t[/C][C]-0.179393993839836[/C][C]0.037708[/C][C]-4.7574[/C][C]2.3e-05[/C][C]1.2e-05[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67403&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67403&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)69.79533367556473.06500822.771700
indcvtr0.3061088295687880.086013.5590.000940.00047
M10.2734484086242392.6761070.10220.9190990.459549
M20.951168891170432.6872550.3540.7251430.362571
M31.014228182751552.6893560.37710.7079780.353989
M42.856517453798772.6719681.06910.2911450.145572
M51.832246149897342.671210.68590.496530.248265
M61.67652720739222.6709280.62770.5336020.266801
M72.61714296714582.6711290.97980.3328010.1664
M82.245089322381942.6745090.83940.4059750.202988
M91.455709188911712.8172580.51670.6080680.304034
M10-2.108787987679672.816324-0.74880.4581670.229084
M11-0.832448408624232.815622-0.29570.7689520.384476
t-0.1793939938398360.037708-4.75742.3e-051.2e-05







Multiple Linear Regression - Regression Statistics
Multiple R0.794895346236096
R-squared0.631858611467803
Adjusted R-squared0.517910086445933
F-TEST (value)5.54512321547408
F-TEST (DF numerator)13
F-TEST (DF denominator)42
p-value1.01696678999064e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation3.98145592962503
Sum Squared Residuals665.783635420945

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.794895346236096 \tabularnewline
R-squared & 0.631858611467803 \tabularnewline
Adjusted R-squared & 0.517910086445933 \tabularnewline
F-TEST (value) & 5.54512321547408 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 42 \tabularnewline
p-value & 1.01696678999064e-05 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 3.98145592962503 \tabularnewline
Sum Squared Residuals & 665.783635420945 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67403&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.794895346236096[/C][/ROW]
[ROW][C]R-squared[/C][C]0.631858611467803[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.517910086445933[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]5.54512321547408[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]42[/C][/ROW]
[ROW][C]p-value[/C][C]1.01696678999064e-05[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]3.98145592962503[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]665.783635420945[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67403&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67403&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.794895346236096
R-squared0.631858611467803
Adjusted R-squared0.517910086445933
F-TEST (value)5.54512321547408
F-TEST (DF numerator)13
F-TEST (DF denominator)42
p-value1.01696678999064e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation3.98145592962503
Sum Squared Residuals665.783635420945







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
175.875.7054558521560.0945441478439736
272.675.8976735112936-3.29767351129364
371.976.0874476386037-4.18744763860369
474.877.7503429158111-2.9503429158111
572.977.4650041067762-4.56500410677618
672.977.436-4.5360
779.977.27889527720742.62110472279261
87474.890794661191-0.890794661190969
97673.92202053388092.07797946611909
1069.670.1781293634497-0.578129363449698
1177.371.58118377823415.71881622176591
1275.271.00980287474334.19019712525667
1375.872.94051026694052.85948973305954
1477.673.1327279260784.46727207392197
1576.774.24082854209452.45917145790554
167777.128159137577-0.128159137577004
1777.975.6183850102672.28161498973306
1876.774.36494558521562.33505441478440
1971.975.4322761806982-3.53227618069815
2073.474.2686108829569-0.868610882956876
2172.574.524272073922-2.02427207392197
2273.770.78038090349082.91961909650924
2369.571.8773264887064-2.37732648870636
2474.772.53038090349082.16961909650925
2572.573.8488706365503-1.34887063655031
2672.174.0410882956879-1.94108829568789
2770.771.16977412731-0.469774127310062
2871.474.975431211499-3.57543121149897
2969.574.3839835728953-4.88398357289528
3073.573.43665297741270.0633470225872678
3172.475.1162012320329-2.71620123203285
3274.574.5647535934292-0.0647535934291621
3372.273.2898706365503-1.08987063655031
347368.93376180698154.06623819301848
3573.369.72459856262833.57540143737166
3671.370.37765297741270.92234702258727
3773.670.77781622176592.82218377823407
3871.369.13338090349082.16661909650924
3971.270.24148151950720.958518480492813
4081.471.29215913757710.107840862423
4176.171.00682032854215.0931796714579
4271.170.67170739219710.428292607802869
4375.770.20849383983575.49150616016427
447069.04482854209450.955171457905543
4568.567.46383675564681.03616324435318
4656.763.107727926078-6.40772792607802
4757.964.8168911704312-6.91689117043121
4858.866.0821632443532-7.28216324435318
4959.363.7273470225873-4.42734702258728
5061.362.6951293634497-1.39512936344969
5162.961.66046817248461.2395318275154
5261.464.853907597536-3.45390759753593
5364.562.42580698151952.07419301848049
5463.862.09069404517451.70930595482546
5561.663.4641334702259-1.86413347022587
5664.763.83101232032850.868987679671462

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 75.8 & 75.705455852156 & 0.0945441478439736 \tabularnewline
2 & 72.6 & 75.8976735112936 & -3.29767351129364 \tabularnewline
3 & 71.9 & 76.0874476386037 & -4.18744763860369 \tabularnewline
4 & 74.8 & 77.7503429158111 & -2.9503429158111 \tabularnewline
5 & 72.9 & 77.4650041067762 & -4.56500410677618 \tabularnewline
6 & 72.9 & 77.436 & -4.5360 \tabularnewline
7 & 79.9 & 77.2788952772074 & 2.62110472279261 \tabularnewline
8 & 74 & 74.890794661191 & -0.890794661190969 \tabularnewline
9 & 76 & 73.9220205338809 & 2.07797946611909 \tabularnewline
10 & 69.6 & 70.1781293634497 & -0.578129363449698 \tabularnewline
11 & 77.3 & 71.5811837782341 & 5.71881622176591 \tabularnewline
12 & 75.2 & 71.0098028747433 & 4.19019712525667 \tabularnewline
13 & 75.8 & 72.9405102669405 & 2.85948973305954 \tabularnewline
14 & 77.6 & 73.132727926078 & 4.46727207392197 \tabularnewline
15 & 76.7 & 74.2408285420945 & 2.45917145790554 \tabularnewline
16 & 77 & 77.128159137577 & -0.128159137577004 \tabularnewline
17 & 77.9 & 75.618385010267 & 2.28161498973306 \tabularnewline
18 & 76.7 & 74.3649455852156 & 2.33505441478440 \tabularnewline
19 & 71.9 & 75.4322761806982 & -3.53227618069815 \tabularnewline
20 & 73.4 & 74.2686108829569 & -0.868610882956876 \tabularnewline
21 & 72.5 & 74.524272073922 & -2.02427207392197 \tabularnewline
22 & 73.7 & 70.7803809034908 & 2.91961909650924 \tabularnewline
23 & 69.5 & 71.8773264887064 & -2.37732648870636 \tabularnewline
24 & 74.7 & 72.5303809034908 & 2.16961909650925 \tabularnewline
25 & 72.5 & 73.8488706365503 & -1.34887063655031 \tabularnewline
26 & 72.1 & 74.0410882956879 & -1.94108829568789 \tabularnewline
27 & 70.7 & 71.16977412731 & -0.469774127310062 \tabularnewline
28 & 71.4 & 74.975431211499 & -3.57543121149897 \tabularnewline
29 & 69.5 & 74.3839835728953 & -4.88398357289528 \tabularnewline
30 & 73.5 & 73.4366529774127 & 0.0633470225872678 \tabularnewline
31 & 72.4 & 75.1162012320329 & -2.71620123203285 \tabularnewline
32 & 74.5 & 74.5647535934292 & -0.0647535934291621 \tabularnewline
33 & 72.2 & 73.2898706365503 & -1.08987063655031 \tabularnewline
34 & 73 & 68.9337618069815 & 4.06623819301848 \tabularnewline
35 & 73.3 & 69.7245985626283 & 3.57540143737166 \tabularnewline
36 & 71.3 & 70.3776529774127 & 0.92234702258727 \tabularnewline
37 & 73.6 & 70.7778162217659 & 2.82218377823407 \tabularnewline
38 & 71.3 & 69.1333809034908 & 2.16661909650924 \tabularnewline
39 & 71.2 & 70.2414815195072 & 0.958518480492813 \tabularnewline
40 & 81.4 & 71.292159137577 & 10.107840862423 \tabularnewline
41 & 76.1 & 71.0068203285421 & 5.0931796714579 \tabularnewline
42 & 71.1 & 70.6717073921971 & 0.428292607802869 \tabularnewline
43 & 75.7 & 70.2084938398357 & 5.49150616016427 \tabularnewline
44 & 70 & 69.0448285420945 & 0.955171457905543 \tabularnewline
45 & 68.5 & 67.4638367556468 & 1.03616324435318 \tabularnewline
46 & 56.7 & 63.107727926078 & -6.40772792607802 \tabularnewline
47 & 57.9 & 64.8168911704312 & -6.91689117043121 \tabularnewline
48 & 58.8 & 66.0821632443532 & -7.28216324435318 \tabularnewline
49 & 59.3 & 63.7273470225873 & -4.42734702258728 \tabularnewline
50 & 61.3 & 62.6951293634497 & -1.39512936344969 \tabularnewline
51 & 62.9 & 61.6604681724846 & 1.2395318275154 \tabularnewline
52 & 61.4 & 64.853907597536 & -3.45390759753593 \tabularnewline
53 & 64.5 & 62.4258069815195 & 2.07419301848049 \tabularnewline
54 & 63.8 & 62.0906940451745 & 1.70930595482546 \tabularnewline
55 & 61.6 & 63.4641334702259 & -1.86413347022587 \tabularnewline
56 & 64.7 & 63.8310123203285 & 0.868987679671462 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67403&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]75.8[/C][C]75.705455852156[/C][C]0.0945441478439736[/C][/ROW]
[ROW][C]2[/C][C]72.6[/C][C]75.8976735112936[/C][C]-3.29767351129364[/C][/ROW]
[ROW][C]3[/C][C]71.9[/C][C]76.0874476386037[/C][C]-4.18744763860369[/C][/ROW]
[ROW][C]4[/C][C]74.8[/C][C]77.7503429158111[/C][C]-2.9503429158111[/C][/ROW]
[ROW][C]5[/C][C]72.9[/C][C]77.4650041067762[/C][C]-4.56500410677618[/C][/ROW]
[ROW][C]6[/C][C]72.9[/C][C]77.436[/C][C]-4.5360[/C][/ROW]
[ROW][C]7[/C][C]79.9[/C][C]77.2788952772074[/C][C]2.62110472279261[/C][/ROW]
[ROW][C]8[/C][C]74[/C][C]74.890794661191[/C][C]-0.890794661190969[/C][/ROW]
[ROW][C]9[/C][C]76[/C][C]73.9220205338809[/C][C]2.07797946611909[/C][/ROW]
[ROW][C]10[/C][C]69.6[/C][C]70.1781293634497[/C][C]-0.578129363449698[/C][/ROW]
[ROW][C]11[/C][C]77.3[/C][C]71.5811837782341[/C][C]5.71881622176591[/C][/ROW]
[ROW][C]12[/C][C]75.2[/C][C]71.0098028747433[/C][C]4.19019712525667[/C][/ROW]
[ROW][C]13[/C][C]75.8[/C][C]72.9405102669405[/C][C]2.85948973305954[/C][/ROW]
[ROW][C]14[/C][C]77.6[/C][C]73.132727926078[/C][C]4.46727207392197[/C][/ROW]
[ROW][C]15[/C][C]76.7[/C][C]74.2408285420945[/C][C]2.45917145790554[/C][/ROW]
[ROW][C]16[/C][C]77[/C][C]77.128159137577[/C][C]-0.128159137577004[/C][/ROW]
[ROW][C]17[/C][C]77.9[/C][C]75.618385010267[/C][C]2.28161498973306[/C][/ROW]
[ROW][C]18[/C][C]76.7[/C][C]74.3649455852156[/C][C]2.33505441478440[/C][/ROW]
[ROW][C]19[/C][C]71.9[/C][C]75.4322761806982[/C][C]-3.53227618069815[/C][/ROW]
[ROW][C]20[/C][C]73.4[/C][C]74.2686108829569[/C][C]-0.868610882956876[/C][/ROW]
[ROW][C]21[/C][C]72.5[/C][C]74.524272073922[/C][C]-2.02427207392197[/C][/ROW]
[ROW][C]22[/C][C]73.7[/C][C]70.7803809034908[/C][C]2.91961909650924[/C][/ROW]
[ROW][C]23[/C][C]69.5[/C][C]71.8773264887064[/C][C]-2.37732648870636[/C][/ROW]
[ROW][C]24[/C][C]74.7[/C][C]72.5303809034908[/C][C]2.16961909650925[/C][/ROW]
[ROW][C]25[/C][C]72.5[/C][C]73.8488706365503[/C][C]-1.34887063655031[/C][/ROW]
[ROW][C]26[/C][C]72.1[/C][C]74.0410882956879[/C][C]-1.94108829568789[/C][/ROW]
[ROW][C]27[/C][C]70.7[/C][C]71.16977412731[/C][C]-0.469774127310062[/C][/ROW]
[ROW][C]28[/C][C]71.4[/C][C]74.975431211499[/C][C]-3.57543121149897[/C][/ROW]
[ROW][C]29[/C][C]69.5[/C][C]74.3839835728953[/C][C]-4.88398357289528[/C][/ROW]
[ROW][C]30[/C][C]73.5[/C][C]73.4366529774127[/C][C]0.0633470225872678[/C][/ROW]
[ROW][C]31[/C][C]72.4[/C][C]75.1162012320329[/C][C]-2.71620123203285[/C][/ROW]
[ROW][C]32[/C][C]74.5[/C][C]74.5647535934292[/C][C]-0.0647535934291621[/C][/ROW]
[ROW][C]33[/C][C]72.2[/C][C]73.2898706365503[/C][C]-1.08987063655031[/C][/ROW]
[ROW][C]34[/C][C]73[/C][C]68.9337618069815[/C][C]4.06623819301848[/C][/ROW]
[ROW][C]35[/C][C]73.3[/C][C]69.7245985626283[/C][C]3.57540143737166[/C][/ROW]
[ROW][C]36[/C][C]71.3[/C][C]70.3776529774127[/C][C]0.92234702258727[/C][/ROW]
[ROW][C]37[/C][C]73.6[/C][C]70.7778162217659[/C][C]2.82218377823407[/C][/ROW]
[ROW][C]38[/C][C]71.3[/C][C]69.1333809034908[/C][C]2.16661909650924[/C][/ROW]
[ROW][C]39[/C][C]71.2[/C][C]70.2414815195072[/C][C]0.958518480492813[/C][/ROW]
[ROW][C]40[/C][C]81.4[/C][C]71.292159137577[/C][C]10.107840862423[/C][/ROW]
[ROW][C]41[/C][C]76.1[/C][C]71.0068203285421[/C][C]5.0931796714579[/C][/ROW]
[ROW][C]42[/C][C]71.1[/C][C]70.6717073921971[/C][C]0.428292607802869[/C][/ROW]
[ROW][C]43[/C][C]75.7[/C][C]70.2084938398357[/C][C]5.49150616016427[/C][/ROW]
[ROW][C]44[/C][C]70[/C][C]69.0448285420945[/C][C]0.955171457905543[/C][/ROW]
[ROW][C]45[/C][C]68.5[/C][C]67.4638367556468[/C][C]1.03616324435318[/C][/ROW]
[ROW][C]46[/C][C]56.7[/C][C]63.107727926078[/C][C]-6.40772792607802[/C][/ROW]
[ROW][C]47[/C][C]57.9[/C][C]64.8168911704312[/C][C]-6.91689117043121[/C][/ROW]
[ROW][C]48[/C][C]58.8[/C][C]66.0821632443532[/C][C]-7.28216324435318[/C][/ROW]
[ROW][C]49[/C][C]59.3[/C][C]63.7273470225873[/C][C]-4.42734702258728[/C][/ROW]
[ROW][C]50[/C][C]61.3[/C][C]62.6951293634497[/C][C]-1.39512936344969[/C][/ROW]
[ROW][C]51[/C][C]62.9[/C][C]61.6604681724846[/C][C]1.2395318275154[/C][/ROW]
[ROW][C]52[/C][C]61.4[/C][C]64.853907597536[/C][C]-3.45390759753593[/C][/ROW]
[ROW][C]53[/C][C]64.5[/C][C]62.4258069815195[/C][C]2.07419301848049[/C][/ROW]
[ROW][C]54[/C][C]63.8[/C][C]62.0906940451745[/C][C]1.70930595482546[/C][/ROW]
[ROW][C]55[/C][C]61.6[/C][C]63.4641334702259[/C][C]-1.86413347022587[/C][/ROW]
[ROW][C]56[/C][C]64.7[/C][C]63.8310123203285[/C][C]0.868987679671462[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67403&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67403&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
175.875.7054558521560.0945441478439736
272.675.8976735112936-3.29767351129364
371.976.0874476386037-4.18744763860369
474.877.7503429158111-2.9503429158111
572.977.4650041067762-4.56500410677618
672.977.436-4.5360
779.977.27889527720742.62110472279261
87474.890794661191-0.890794661190969
97673.92202053388092.07797946611909
1069.670.1781293634497-0.578129363449698
1177.371.58118377823415.71881622176591
1275.271.00980287474334.19019712525667
1375.872.94051026694052.85948973305954
1477.673.1327279260784.46727207392197
1576.774.24082854209452.45917145790554
167777.128159137577-0.128159137577004
1777.975.6183850102672.28161498973306
1876.774.36494558521562.33505441478440
1971.975.4322761806982-3.53227618069815
2073.474.2686108829569-0.868610882956876
2172.574.524272073922-2.02427207392197
2273.770.78038090349082.91961909650924
2369.571.8773264887064-2.37732648870636
2474.772.53038090349082.16961909650925
2572.573.8488706365503-1.34887063655031
2672.174.0410882956879-1.94108829568789
2770.771.16977412731-0.469774127310062
2871.474.975431211499-3.57543121149897
2969.574.3839835728953-4.88398357289528
3073.573.43665297741270.0633470225872678
3172.475.1162012320329-2.71620123203285
3274.574.5647535934292-0.0647535934291621
3372.273.2898706365503-1.08987063655031
347368.93376180698154.06623819301848
3573.369.72459856262833.57540143737166
3671.370.37765297741270.92234702258727
3773.670.77781622176592.82218377823407
3871.369.13338090349082.16661909650924
3971.270.24148151950720.958518480492813
4081.471.29215913757710.107840862423
4176.171.00682032854215.0931796714579
4271.170.67170739219710.428292607802869
4375.770.20849383983575.49150616016427
447069.04482854209450.955171457905543
4568.567.46383675564681.03616324435318
4656.763.107727926078-6.40772792607802
4757.964.8168911704312-6.91689117043121
4858.866.0821632443532-7.28216324435318
4959.363.7273470225873-4.42734702258728
5061.362.6951293634497-1.39512936344969
5162.961.66046817248461.2395318275154
5261.464.853907597536-3.45390759753593
5364.562.42580698151952.07419301848049
5463.862.09069404517451.70930595482546
5561.663.4641334702259-1.86413347022587
5664.763.83101232032850.868987679671462







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.09876637681460360.1975327536292070.901233623185396
180.03452854132464120.06905708264928230.965471458675359
190.3750955514413940.7501911028827870.624904448558606
200.248339984723990.496679969447980.75166001527601
210.1590163681929790.3180327363859590.84098363180702
220.1525973150343200.3051946300686400.84740268496568
230.1731913907577330.3463827815154660.826808609242267
240.1449367431384300.2898734862768610.85506325686157
250.09727371554681260.1945474310936250.902726284453187
260.06171025252450520.1234205050490100.938289747475495
270.0575588826421690.1151177652843380.94244111735783
280.0555310124089590.1110620248179180.94446898759104
290.1011825283396760.2023650566793530.898817471660324
300.07425135017354380.1485027003470880.925748649826456
310.1266857215815260.2533714431630530.873314278418474
320.2627164841957100.5254329683914210.73728351580429
330.3889723786873720.7779447573747450.611027621312628
340.3520948426829240.7041896853658480.647905157317076
350.2745516363810350.549103272762070.725448363618965
360.1855891119313910.3711782238627820.81441088806861
370.1301916382265670.2603832764531340.869808361773433
380.07439077171115350.1487815434223070.925609228288847
390.03969392379529970.07938784759059940.9603060762047

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.0987663768146036 & 0.197532753629207 & 0.901233623185396 \tabularnewline
18 & 0.0345285413246412 & 0.0690570826492823 & 0.965471458675359 \tabularnewline
19 & 0.375095551441394 & 0.750191102882787 & 0.624904448558606 \tabularnewline
20 & 0.24833998472399 & 0.49667996944798 & 0.75166001527601 \tabularnewline
21 & 0.159016368192979 & 0.318032736385959 & 0.84098363180702 \tabularnewline
22 & 0.152597315034320 & 0.305194630068640 & 0.84740268496568 \tabularnewline
23 & 0.173191390757733 & 0.346382781515466 & 0.826808609242267 \tabularnewline
24 & 0.144936743138430 & 0.289873486276861 & 0.85506325686157 \tabularnewline
25 & 0.0972737155468126 & 0.194547431093625 & 0.902726284453187 \tabularnewline
26 & 0.0617102525245052 & 0.123420505049010 & 0.938289747475495 \tabularnewline
27 & 0.057558882642169 & 0.115117765284338 & 0.94244111735783 \tabularnewline
28 & 0.055531012408959 & 0.111062024817918 & 0.94446898759104 \tabularnewline
29 & 0.101182528339676 & 0.202365056679353 & 0.898817471660324 \tabularnewline
30 & 0.0742513501735438 & 0.148502700347088 & 0.925748649826456 \tabularnewline
31 & 0.126685721581526 & 0.253371443163053 & 0.873314278418474 \tabularnewline
32 & 0.262716484195710 & 0.525432968391421 & 0.73728351580429 \tabularnewline
33 & 0.388972378687372 & 0.777944757374745 & 0.611027621312628 \tabularnewline
34 & 0.352094842682924 & 0.704189685365848 & 0.647905157317076 \tabularnewline
35 & 0.274551636381035 & 0.54910327276207 & 0.725448363618965 \tabularnewline
36 & 0.185589111931391 & 0.371178223862782 & 0.81441088806861 \tabularnewline
37 & 0.130191638226567 & 0.260383276453134 & 0.869808361773433 \tabularnewline
38 & 0.0743907717111535 & 0.148781543422307 & 0.925609228288847 \tabularnewline
39 & 0.0396939237952997 & 0.0793878475905994 & 0.9603060762047 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67403&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]17[/C][C]0.0987663768146036[/C][C]0.197532753629207[/C][C]0.901233623185396[/C][/ROW]
[ROW][C]18[/C][C]0.0345285413246412[/C][C]0.0690570826492823[/C][C]0.965471458675359[/C][/ROW]
[ROW][C]19[/C][C]0.375095551441394[/C][C]0.750191102882787[/C][C]0.624904448558606[/C][/ROW]
[ROW][C]20[/C][C]0.24833998472399[/C][C]0.49667996944798[/C][C]0.75166001527601[/C][/ROW]
[ROW][C]21[/C][C]0.159016368192979[/C][C]0.318032736385959[/C][C]0.84098363180702[/C][/ROW]
[ROW][C]22[/C][C]0.152597315034320[/C][C]0.305194630068640[/C][C]0.84740268496568[/C][/ROW]
[ROW][C]23[/C][C]0.173191390757733[/C][C]0.346382781515466[/C][C]0.826808609242267[/C][/ROW]
[ROW][C]24[/C][C]0.144936743138430[/C][C]0.289873486276861[/C][C]0.85506325686157[/C][/ROW]
[ROW][C]25[/C][C]0.0972737155468126[/C][C]0.194547431093625[/C][C]0.902726284453187[/C][/ROW]
[ROW][C]26[/C][C]0.0617102525245052[/C][C]0.123420505049010[/C][C]0.938289747475495[/C][/ROW]
[ROW][C]27[/C][C]0.057558882642169[/C][C]0.115117765284338[/C][C]0.94244111735783[/C][/ROW]
[ROW][C]28[/C][C]0.055531012408959[/C][C]0.111062024817918[/C][C]0.94446898759104[/C][/ROW]
[ROW][C]29[/C][C]0.101182528339676[/C][C]0.202365056679353[/C][C]0.898817471660324[/C][/ROW]
[ROW][C]30[/C][C]0.0742513501735438[/C][C]0.148502700347088[/C][C]0.925748649826456[/C][/ROW]
[ROW][C]31[/C][C]0.126685721581526[/C][C]0.253371443163053[/C][C]0.873314278418474[/C][/ROW]
[ROW][C]32[/C][C]0.262716484195710[/C][C]0.525432968391421[/C][C]0.73728351580429[/C][/ROW]
[ROW][C]33[/C][C]0.388972378687372[/C][C]0.777944757374745[/C][C]0.611027621312628[/C][/ROW]
[ROW][C]34[/C][C]0.352094842682924[/C][C]0.704189685365848[/C][C]0.647905157317076[/C][/ROW]
[ROW][C]35[/C][C]0.274551636381035[/C][C]0.54910327276207[/C][C]0.725448363618965[/C][/ROW]
[ROW][C]36[/C][C]0.185589111931391[/C][C]0.371178223862782[/C][C]0.81441088806861[/C][/ROW]
[ROW][C]37[/C][C]0.130191638226567[/C][C]0.260383276453134[/C][C]0.869808361773433[/C][/ROW]
[ROW][C]38[/C][C]0.0743907717111535[/C][C]0.148781543422307[/C][C]0.925609228288847[/C][/ROW]
[ROW][C]39[/C][C]0.0396939237952997[/C][C]0.0793878475905994[/C][C]0.9603060762047[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67403&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67403&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
170.09876637681460360.1975327536292070.901233623185396
180.03452854132464120.06905708264928230.965471458675359
190.3750955514413940.7501911028827870.624904448558606
200.248339984723990.496679969447980.75166001527601
210.1590163681929790.3180327363859590.84098363180702
220.1525973150343200.3051946300686400.84740268496568
230.1731913907577330.3463827815154660.826808609242267
240.1449367431384300.2898734862768610.85506325686157
250.09727371554681260.1945474310936250.902726284453187
260.06171025252450520.1234205050490100.938289747475495
270.0575588826421690.1151177652843380.94244111735783
280.0555310124089590.1110620248179180.94446898759104
290.1011825283396760.2023650566793530.898817471660324
300.07425135017354380.1485027003470880.925748649826456
310.1266857215815260.2533714431630530.873314278418474
320.2627164841957100.5254329683914210.73728351580429
330.3889723786873720.7779447573747450.611027621312628
340.3520948426829240.7041896853658480.647905157317076
350.2745516363810350.549103272762070.725448363618965
360.1855891119313910.3711782238627820.81441088806861
370.1301916382265670.2603832764531340.869808361773433
380.07439077171115350.1487815434223070.925609228288847
390.03969392379529970.07938784759059940.9603060762047







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level00OK
10% type I error level20.0869565217391304OK

\begin{tabular}{lllllllll}
\hline
Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
Description & # significant tests & % significant tests & OK/NOK \tabularnewline
1% type I error level & 0 & 0 & OK \tabularnewline
5% type I error level & 0 & 0 & OK \tabularnewline
10% type I error level & 2 & 0.0869565217391304 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67403&T=6

[TABLE]
[ROW][C]Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]Description[/C][C]# significant tests[/C][C]% significant tests[/C][C]OK/NOK[/C][/ROW]
[ROW][C]1% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]2[/C][C]0.0869565217391304[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67403&T=6

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

As an alternative you can also use a QR Code:  

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

Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level00OK
10% type I error level20.0869565217391304OK



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