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 computationTue, 16 Dec 2008 09:11:18 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Dec/16/t12294439832hha3yg0ew4bqsa.htm/, Retrieved Wed, 15 May 2024 12:31:54 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=33999, Retrieved Wed, 15 May 2024 12:31:54 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordspaper: regression: jobtonic samenwerking
Estimated Impact264
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Mean Plot] [paper: mean plot:...] [2008-12-16 15:14:50] [47f64d63202c1921bd27f3073f07a153]
- RMPD  [Multiple Regression] [paper: regression...] [2008-12-16 15:25:05] [47f64d63202c1921bd27f3073f07a153]
-    D    [Multiple Regression] [paper: regression...] [2008-12-16 15:39:35] [47f64d63202c1921bd27f3073f07a153]
-    D        [Multiple Regression] [paper: regression...] [2008-12-16 16:11:18] [74c7506a1ea162af3aa8be25bcd05d28] [Current]
Feedback Forum

Post a new message
Dataseries X:
25	0	0
23.6	0	0
22.3	0	0
21.8	0	0
20.8	0	0
19.7	0	0
18.3	0	0
17.4	0	0
17	0	0
18.1	0	0
23.9	0	0
25.6	0	0
25.3	0	0
23.6	0	0
21.9	0	0
21.4	0	0
20.6	0	0
20.5	0	0
20.2	0	0
20.6	0	0
19.7	0	0
19.3	0	0
22.8	0	0
23.5	0	0
23.8	0	0
22.6	0	0
22	0	0
21.7	0	0
20.7	0	0
20.2	0	0
19.1	0	0
19.5	0	0
18.7	0	0
18.6	0	0
22.2	0	0
23.2	0	0
23.5	0	1
21.3	0	1
20	0	1
18.7	0	1
18.9	0	1
18.3	0	1
18.4	0	1
19.9	0	1
19.2	0	1
18.5	0	1
20.9	1	1
20.5	1	1
19.4	1	1
18.1	1	1
17	1	1
17	1	1
17.3	1	1
16.7	1	1
15.5	1	1
15.3	1	1
13.7	1	1
14.1	1	1
17.3	1	1
18.1	1	1
18.1	1	1




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

\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
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=33999&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]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=33999&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=33999&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







Multiple Linear Regression - Estimated Regression Equation
Werklozen[t] = + 24.3934243085881 -3.15818777292577Jobtonic[t] -0.670214701601163Samenwerking[t] + 0.09841126880155M1[t] -1.16109958757885M2[t] -2.34215338427948M3[t] -2.84320718098011M4[t] -3.28426097768074M5[t] -3.84531477438137M6[t] -4.606368571082M7[t] -4.34742236778263M8[t] -5.20847616448326M9[t] -5.1295299611839M10[t] -0.77894620329937M11[t] -0.0189462032993693t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Werklozen[t] =  +  24.3934243085881 -3.15818777292577Jobtonic[t] -0.670214701601163Samenwerking[t] +  0.09841126880155M1[t] -1.16109958757885M2[t] -2.34215338427948M3[t] -2.84320718098011M4[t] -3.28426097768074M5[t] -3.84531477438137M6[t] -4.606368571082M7[t] -4.34742236778263M8[t] -5.20847616448326M9[t] -5.1295299611839M10[t] -0.77894620329937M11[t] -0.0189462032993693t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=33999&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Werklozen[t] =  +  24.3934243085881 -3.15818777292577Jobtonic[t] -0.670214701601163Samenwerking[t] +  0.09841126880155M1[t] -1.16109958757885M2[t] -2.34215338427948M3[t] -2.84320718098011M4[t] -3.28426097768074M5[t] -3.84531477438137M6[t] -4.606368571082M7[t] -4.34742236778263M8[t] -5.20847616448326M9[t] -5.1295299611839M10[t] -0.77894620329937M11[t] -0.0189462032993693t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=33999&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=33999&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
Werklozen[t] = + 24.3934243085881 -3.15818777292577Jobtonic[t] -0.670214701601163Samenwerking[t] + 0.09841126880155M1[t] -1.16109958757885M2[t] -2.34215338427948M3[t] -2.84320718098011M4[t] -3.28426097768074M5[t] -3.84531477438137M6[t] -4.606368571082M7[t] -4.34742236778263M8[t] -5.20847616448326M9[t] -5.1295299611839M10[t] -0.77894620329937M11[t] -0.0189462032993693t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)24.39342430858810.57900242.130100
Jobtonic-3.158187772925770.457326-6.905800
Samenwerking-0.6702147016011630.522118-1.28360.2056940.102847
M10.098411268801550.6122470.16070.8730040.436502
M2-1.161099587578850.644235-1.80230.0780540.039027
M3-2.342153384279480.641361-3.65190.0006640.000332
M4-2.843207180980110.638878-4.45035.4e-052.7e-05
M5-3.284260977680740.636792-5.15755e-063e-06
M6-3.845314774381370.635106-6.054600
M7-4.6063685710820.633823-7.267600
M8-4.347422367782630.632947-6.868500
M9-5.208476164483260.632478-8.23500
M10-5.12952996118390.632417-8.11100
M11-0.778946203299370.627089-1.24220.2204730.110236
t-0.01894620329936930.016077-1.17850.2446580.122329

\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) & 24.3934243085881 & 0.579002 & 42.1301 & 0 & 0 \tabularnewline
Jobtonic & -3.15818777292577 & 0.457326 & -6.9058 & 0 & 0 \tabularnewline
Samenwerking & -0.670214701601163 & 0.522118 & -1.2836 & 0.205694 & 0.102847 \tabularnewline
M1 & 0.09841126880155 & 0.612247 & 0.1607 & 0.873004 & 0.436502 \tabularnewline
M2 & -1.16109958757885 & 0.644235 & -1.8023 & 0.078054 & 0.039027 \tabularnewline
M3 & -2.34215338427948 & 0.641361 & -3.6519 & 0.000664 & 0.000332 \tabularnewline
M4 & -2.84320718098011 & 0.638878 & -4.4503 & 5.4e-05 & 2.7e-05 \tabularnewline
M5 & -3.28426097768074 & 0.636792 & -5.1575 & 5e-06 & 3e-06 \tabularnewline
M6 & -3.84531477438137 & 0.635106 & -6.0546 & 0 & 0 \tabularnewline
M7 & -4.606368571082 & 0.633823 & -7.2676 & 0 & 0 \tabularnewline
M8 & -4.34742236778263 & 0.632947 & -6.8685 & 0 & 0 \tabularnewline
M9 & -5.20847616448326 & 0.632478 & -8.235 & 0 & 0 \tabularnewline
M10 & -5.1295299611839 & 0.632417 & -8.111 & 0 & 0 \tabularnewline
M11 & -0.77894620329937 & 0.627089 & -1.2422 & 0.220473 & 0.110236 \tabularnewline
t & -0.0189462032993693 & 0.016077 & -1.1785 & 0.244658 & 0.122329 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=33999&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]24.3934243085881[/C][C]0.579002[/C][C]42.1301[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Jobtonic[/C][C]-3.15818777292577[/C][C]0.457326[/C][C]-6.9058[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Samenwerking[/C][C]-0.670214701601163[/C][C]0.522118[/C][C]-1.2836[/C][C]0.205694[/C][C]0.102847[/C][/ROW]
[ROW][C]M1[/C][C]0.09841126880155[/C][C]0.612247[/C][C]0.1607[/C][C]0.873004[/C][C]0.436502[/C][/ROW]
[ROW][C]M2[/C][C]-1.16109958757885[/C][C]0.644235[/C][C]-1.8023[/C][C]0.078054[/C][C]0.039027[/C][/ROW]
[ROW][C]M3[/C][C]-2.34215338427948[/C][C]0.641361[/C][C]-3.6519[/C][C]0.000664[/C][C]0.000332[/C][/ROW]
[ROW][C]M4[/C][C]-2.84320718098011[/C][C]0.638878[/C][C]-4.4503[/C][C]5.4e-05[/C][C]2.7e-05[/C][/ROW]
[ROW][C]M5[/C][C]-3.28426097768074[/C][C]0.636792[/C][C]-5.1575[/C][C]5e-06[/C][C]3e-06[/C][/ROW]
[ROW][C]M6[/C][C]-3.84531477438137[/C][C]0.635106[/C][C]-6.0546[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M7[/C][C]-4.606368571082[/C][C]0.633823[/C][C]-7.2676[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M8[/C][C]-4.34742236778263[/C][C]0.632947[/C][C]-6.8685[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M9[/C][C]-5.20847616448326[/C][C]0.632478[/C][C]-8.235[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M10[/C][C]-5.1295299611839[/C][C]0.632417[/C][C]-8.111[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M11[/C][C]-0.77894620329937[/C][C]0.627089[/C][C]-1.2422[/C][C]0.220473[/C][C]0.110236[/C][/ROW]
[ROW][C]t[/C][C]-0.0189462032993693[/C][C]0.016077[/C][C]-1.1785[/C][C]0.244658[/C][C]0.122329[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=33999&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=33999&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)24.39342430858810.57900242.130100
Jobtonic-3.158187772925770.457326-6.905800
Samenwerking-0.6702147016011630.522118-1.28360.2056940.102847
M10.098411268801550.6122470.16070.8730040.436502
M2-1.161099587578850.644235-1.80230.0780540.039027
M3-2.342153384279480.641361-3.65190.0006640.000332
M4-2.843207180980110.638878-4.45035.4e-052.7e-05
M5-3.284260977680740.636792-5.15755e-063e-06
M6-3.845314774381370.635106-6.054600
M7-4.6063685710820.633823-7.267600
M8-4.347422367782630.632947-6.868500
M9-5.208476164483260.632478-8.23500
M10-5.12952996118390.632417-8.11100
M11-0.778946203299370.627089-1.24220.2204730.110236
t-0.01894620329936930.016077-1.17850.2446580.122329







Multiple Linear Regression - Regression Statistics
Multiple R0.94605562201718
R-squared0.895021239950315
Adjusted R-squared0.863071182543889
F-TEST (value)28.0131340161631
F-TEST (DF numerator)14
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.99118957964587
Sum Squared Residuals45.1930120087336

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.94605562201718 \tabularnewline
R-squared & 0.895021239950315 \tabularnewline
Adjusted R-squared & 0.863071182543889 \tabularnewline
F-TEST (value) & 28.0131340161631 \tabularnewline
F-TEST (DF numerator) & 14 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.99118957964587 \tabularnewline
Sum Squared Residuals & 45.1930120087336 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=33999&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.94605562201718[/C][/ROW]
[ROW][C]R-squared[/C][C]0.895021239950315[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.863071182543889[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]28.0131340161631[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]14[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]46[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.99118957964587[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]45.1930120087336[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=33999&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=33999&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.94605562201718
R-squared0.895021239950315
Adjusted R-squared0.863071182543889
F-TEST (value)28.0131340161631
F-TEST (DF numerator)14
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.99118957964587
Sum Squared Residuals45.1930120087336







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
12524.47288937409020.527110625909758
223.623.19443231441050.405567685589519
322.321.99443231441050.305567685589517
421.821.47443231441050.325567685589522
520.821.0144323144105-0.214432314410479
619.720.4344323144105-0.734432314410484
718.319.6544323144105-1.35443231441048
817.419.8944323144105-2.49443231441048
91719.0144323144105-2.01443231441048
1018.119.0744323144105-0.974432314410486
1123.923.40606986899560.493930131004367
1225.624.16606986899561.43393013100437
1325.324.24553493449781.05446506550218
1423.622.96707787481810.63292212518195
1521.921.76707787481800.132922125181950
1621.421.24707787481800.152922125181949
1720.620.7870778748180-0.187077874818049
1820.520.20707787481800.292922125181951
1920.219.42707787481800.77292212518195
2020.619.66707787481800.932922125181952
2119.718.78707787481800.91292212518195
2219.318.84707787481800.452922125181953
2322.823.1787154294032-0.378715429403201
2423.523.9387154294032-0.438715429403204
2523.824.0181804949054-0.218180494905386
2622.622.7397234352256-0.139723435225618
272221.53972343522560.460276564774382
2821.721.01972343522560.680276564774381
2920.720.55972343522560.14027656477438
3020.219.97972343522560.220276564774382
3119.119.1997234352256-0.0997234352256171
3219.519.43972343522560.0602765647743815
3318.718.55972343522560.140276564774381
3418.618.6197234352256-0.0197234352256157
3522.222.9513609898108-0.751360989810772
3623.223.7113609898108-0.511360989810773
3723.523.12061135371180.379388646288209
3821.321.8421542940320-0.542154294032023
392020.6421542940320-0.642154294032023
4018.720.1221542940320-1.42215429403202
4118.919.6621542940320-0.762154294032025
4218.319.0821542940320-0.78215429403202
4318.418.30215429403200.0978457059679756
4419.918.54215429403201.35784570596797
4519.217.66215429403201.53784570596798
4618.517.72215429403200.777845705967977
4720.918.89560407569142.00439592430859
4820.519.65560407569140.844395924308587
4919.419.7350691411936-0.335069141193598
5018.118.4566120815138-0.356612081513828
511717.2566120815138-0.256612081513827
521716.73661208151380.263387918486172
5317.316.27661208151381.02338791848617
5416.715.69661208151381.00338791848617
5515.514.91661208151380.583387918486171
5615.315.15661208151380.143387918486172
5713.714.2766120815138-0.576612081513828
5814.114.3366120815138-0.236612081513828
5917.318.6682496360990-1.36824963609898
6018.119.4282496360990-1.32824963609898
6118.119.5077147016012-1.40771470160116

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 25 & 24.4728893740902 & 0.527110625909758 \tabularnewline
2 & 23.6 & 23.1944323144105 & 0.405567685589519 \tabularnewline
3 & 22.3 & 21.9944323144105 & 0.305567685589517 \tabularnewline
4 & 21.8 & 21.4744323144105 & 0.325567685589522 \tabularnewline
5 & 20.8 & 21.0144323144105 & -0.214432314410479 \tabularnewline
6 & 19.7 & 20.4344323144105 & -0.734432314410484 \tabularnewline
7 & 18.3 & 19.6544323144105 & -1.35443231441048 \tabularnewline
8 & 17.4 & 19.8944323144105 & -2.49443231441048 \tabularnewline
9 & 17 & 19.0144323144105 & -2.01443231441048 \tabularnewline
10 & 18.1 & 19.0744323144105 & -0.974432314410486 \tabularnewline
11 & 23.9 & 23.4060698689956 & 0.493930131004367 \tabularnewline
12 & 25.6 & 24.1660698689956 & 1.43393013100437 \tabularnewline
13 & 25.3 & 24.2455349344978 & 1.05446506550218 \tabularnewline
14 & 23.6 & 22.9670778748181 & 0.63292212518195 \tabularnewline
15 & 21.9 & 21.7670778748180 & 0.132922125181950 \tabularnewline
16 & 21.4 & 21.2470778748180 & 0.152922125181949 \tabularnewline
17 & 20.6 & 20.7870778748180 & -0.187077874818049 \tabularnewline
18 & 20.5 & 20.2070778748180 & 0.292922125181951 \tabularnewline
19 & 20.2 & 19.4270778748180 & 0.77292212518195 \tabularnewline
20 & 20.6 & 19.6670778748180 & 0.932922125181952 \tabularnewline
21 & 19.7 & 18.7870778748180 & 0.91292212518195 \tabularnewline
22 & 19.3 & 18.8470778748180 & 0.452922125181953 \tabularnewline
23 & 22.8 & 23.1787154294032 & -0.378715429403201 \tabularnewline
24 & 23.5 & 23.9387154294032 & -0.438715429403204 \tabularnewline
25 & 23.8 & 24.0181804949054 & -0.218180494905386 \tabularnewline
26 & 22.6 & 22.7397234352256 & -0.139723435225618 \tabularnewline
27 & 22 & 21.5397234352256 & 0.460276564774382 \tabularnewline
28 & 21.7 & 21.0197234352256 & 0.680276564774381 \tabularnewline
29 & 20.7 & 20.5597234352256 & 0.14027656477438 \tabularnewline
30 & 20.2 & 19.9797234352256 & 0.220276564774382 \tabularnewline
31 & 19.1 & 19.1997234352256 & -0.0997234352256171 \tabularnewline
32 & 19.5 & 19.4397234352256 & 0.0602765647743815 \tabularnewline
33 & 18.7 & 18.5597234352256 & 0.140276564774381 \tabularnewline
34 & 18.6 & 18.6197234352256 & -0.0197234352256157 \tabularnewline
35 & 22.2 & 22.9513609898108 & -0.751360989810772 \tabularnewline
36 & 23.2 & 23.7113609898108 & -0.511360989810773 \tabularnewline
37 & 23.5 & 23.1206113537118 & 0.379388646288209 \tabularnewline
38 & 21.3 & 21.8421542940320 & -0.542154294032023 \tabularnewline
39 & 20 & 20.6421542940320 & -0.642154294032023 \tabularnewline
40 & 18.7 & 20.1221542940320 & -1.42215429403202 \tabularnewline
41 & 18.9 & 19.6621542940320 & -0.762154294032025 \tabularnewline
42 & 18.3 & 19.0821542940320 & -0.78215429403202 \tabularnewline
43 & 18.4 & 18.3021542940320 & 0.0978457059679756 \tabularnewline
44 & 19.9 & 18.5421542940320 & 1.35784570596797 \tabularnewline
45 & 19.2 & 17.6621542940320 & 1.53784570596798 \tabularnewline
46 & 18.5 & 17.7221542940320 & 0.777845705967977 \tabularnewline
47 & 20.9 & 18.8956040756914 & 2.00439592430859 \tabularnewline
48 & 20.5 & 19.6556040756914 & 0.844395924308587 \tabularnewline
49 & 19.4 & 19.7350691411936 & -0.335069141193598 \tabularnewline
50 & 18.1 & 18.4566120815138 & -0.356612081513828 \tabularnewline
51 & 17 & 17.2566120815138 & -0.256612081513827 \tabularnewline
52 & 17 & 16.7366120815138 & 0.263387918486172 \tabularnewline
53 & 17.3 & 16.2766120815138 & 1.02338791848617 \tabularnewline
54 & 16.7 & 15.6966120815138 & 1.00338791848617 \tabularnewline
55 & 15.5 & 14.9166120815138 & 0.583387918486171 \tabularnewline
56 & 15.3 & 15.1566120815138 & 0.143387918486172 \tabularnewline
57 & 13.7 & 14.2766120815138 & -0.576612081513828 \tabularnewline
58 & 14.1 & 14.3366120815138 & -0.236612081513828 \tabularnewline
59 & 17.3 & 18.6682496360990 & -1.36824963609898 \tabularnewline
60 & 18.1 & 19.4282496360990 & -1.32824963609898 \tabularnewline
61 & 18.1 & 19.5077147016012 & -1.40771470160116 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=33999&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]25[/C][C]24.4728893740902[/C][C]0.527110625909758[/C][/ROW]
[ROW][C]2[/C][C]23.6[/C][C]23.1944323144105[/C][C]0.405567685589519[/C][/ROW]
[ROW][C]3[/C][C]22.3[/C][C]21.9944323144105[/C][C]0.305567685589517[/C][/ROW]
[ROW][C]4[/C][C]21.8[/C][C]21.4744323144105[/C][C]0.325567685589522[/C][/ROW]
[ROW][C]5[/C][C]20.8[/C][C]21.0144323144105[/C][C]-0.214432314410479[/C][/ROW]
[ROW][C]6[/C][C]19.7[/C][C]20.4344323144105[/C][C]-0.734432314410484[/C][/ROW]
[ROW][C]7[/C][C]18.3[/C][C]19.6544323144105[/C][C]-1.35443231441048[/C][/ROW]
[ROW][C]8[/C][C]17.4[/C][C]19.8944323144105[/C][C]-2.49443231441048[/C][/ROW]
[ROW][C]9[/C][C]17[/C][C]19.0144323144105[/C][C]-2.01443231441048[/C][/ROW]
[ROW][C]10[/C][C]18.1[/C][C]19.0744323144105[/C][C]-0.974432314410486[/C][/ROW]
[ROW][C]11[/C][C]23.9[/C][C]23.4060698689956[/C][C]0.493930131004367[/C][/ROW]
[ROW][C]12[/C][C]25.6[/C][C]24.1660698689956[/C][C]1.43393013100437[/C][/ROW]
[ROW][C]13[/C][C]25.3[/C][C]24.2455349344978[/C][C]1.05446506550218[/C][/ROW]
[ROW][C]14[/C][C]23.6[/C][C]22.9670778748181[/C][C]0.63292212518195[/C][/ROW]
[ROW][C]15[/C][C]21.9[/C][C]21.7670778748180[/C][C]0.132922125181950[/C][/ROW]
[ROW][C]16[/C][C]21.4[/C][C]21.2470778748180[/C][C]0.152922125181949[/C][/ROW]
[ROW][C]17[/C][C]20.6[/C][C]20.7870778748180[/C][C]-0.187077874818049[/C][/ROW]
[ROW][C]18[/C][C]20.5[/C][C]20.2070778748180[/C][C]0.292922125181951[/C][/ROW]
[ROW][C]19[/C][C]20.2[/C][C]19.4270778748180[/C][C]0.77292212518195[/C][/ROW]
[ROW][C]20[/C][C]20.6[/C][C]19.6670778748180[/C][C]0.932922125181952[/C][/ROW]
[ROW][C]21[/C][C]19.7[/C][C]18.7870778748180[/C][C]0.91292212518195[/C][/ROW]
[ROW][C]22[/C][C]19.3[/C][C]18.8470778748180[/C][C]0.452922125181953[/C][/ROW]
[ROW][C]23[/C][C]22.8[/C][C]23.1787154294032[/C][C]-0.378715429403201[/C][/ROW]
[ROW][C]24[/C][C]23.5[/C][C]23.9387154294032[/C][C]-0.438715429403204[/C][/ROW]
[ROW][C]25[/C][C]23.8[/C][C]24.0181804949054[/C][C]-0.218180494905386[/C][/ROW]
[ROW][C]26[/C][C]22.6[/C][C]22.7397234352256[/C][C]-0.139723435225618[/C][/ROW]
[ROW][C]27[/C][C]22[/C][C]21.5397234352256[/C][C]0.460276564774382[/C][/ROW]
[ROW][C]28[/C][C]21.7[/C][C]21.0197234352256[/C][C]0.680276564774381[/C][/ROW]
[ROW][C]29[/C][C]20.7[/C][C]20.5597234352256[/C][C]0.14027656477438[/C][/ROW]
[ROW][C]30[/C][C]20.2[/C][C]19.9797234352256[/C][C]0.220276564774382[/C][/ROW]
[ROW][C]31[/C][C]19.1[/C][C]19.1997234352256[/C][C]-0.0997234352256171[/C][/ROW]
[ROW][C]32[/C][C]19.5[/C][C]19.4397234352256[/C][C]0.0602765647743815[/C][/ROW]
[ROW][C]33[/C][C]18.7[/C][C]18.5597234352256[/C][C]0.140276564774381[/C][/ROW]
[ROW][C]34[/C][C]18.6[/C][C]18.6197234352256[/C][C]-0.0197234352256157[/C][/ROW]
[ROW][C]35[/C][C]22.2[/C][C]22.9513609898108[/C][C]-0.751360989810772[/C][/ROW]
[ROW][C]36[/C][C]23.2[/C][C]23.7113609898108[/C][C]-0.511360989810773[/C][/ROW]
[ROW][C]37[/C][C]23.5[/C][C]23.1206113537118[/C][C]0.379388646288209[/C][/ROW]
[ROW][C]38[/C][C]21.3[/C][C]21.8421542940320[/C][C]-0.542154294032023[/C][/ROW]
[ROW][C]39[/C][C]20[/C][C]20.6421542940320[/C][C]-0.642154294032023[/C][/ROW]
[ROW][C]40[/C][C]18.7[/C][C]20.1221542940320[/C][C]-1.42215429403202[/C][/ROW]
[ROW][C]41[/C][C]18.9[/C][C]19.6621542940320[/C][C]-0.762154294032025[/C][/ROW]
[ROW][C]42[/C][C]18.3[/C][C]19.0821542940320[/C][C]-0.78215429403202[/C][/ROW]
[ROW][C]43[/C][C]18.4[/C][C]18.3021542940320[/C][C]0.0978457059679756[/C][/ROW]
[ROW][C]44[/C][C]19.9[/C][C]18.5421542940320[/C][C]1.35784570596797[/C][/ROW]
[ROW][C]45[/C][C]19.2[/C][C]17.6621542940320[/C][C]1.53784570596798[/C][/ROW]
[ROW][C]46[/C][C]18.5[/C][C]17.7221542940320[/C][C]0.777845705967977[/C][/ROW]
[ROW][C]47[/C][C]20.9[/C][C]18.8956040756914[/C][C]2.00439592430859[/C][/ROW]
[ROW][C]48[/C][C]20.5[/C][C]19.6556040756914[/C][C]0.844395924308587[/C][/ROW]
[ROW][C]49[/C][C]19.4[/C][C]19.7350691411936[/C][C]-0.335069141193598[/C][/ROW]
[ROW][C]50[/C][C]18.1[/C][C]18.4566120815138[/C][C]-0.356612081513828[/C][/ROW]
[ROW][C]51[/C][C]17[/C][C]17.2566120815138[/C][C]-0.256612081513827[/C][/ROW]
[ROW][C]52[/C][C]17[/C][C]16.7366120815138[/C][C]0.263387918486172[/C][/ROW]
[ROW][C]53[/C][C]17.3[/C][C]16.2766120815138[/C][C]1.02338791848617[/C][/ROW]
[ROW][C]54[/C][C]16.7[/C][C]15.6966120815138[/C][C]1.00338791848617[/C][/ROW]
[ROW][C]55[/C][C]15.5[/C][C]14.9166120815138[/C][C]0.583387918486171[/C][/ROW]
[ROW][C]56[/C][C]15.3[/C][C]15.1566120815138[/C][C]0.143387918486172[/C][/ROW]
[ROW][C]57[/C][C]13.7[/C][C]14.2766120815138[/C][C]-0.576612081513828[/C][/ROW]
[ROW][C]58[/C][C]14.1[/C][C]14.3366120815138[/C][C]-0.236612081513828[/C][/ROW]
[ROW][C]59[/C][C]17.3[/C][C]18.6682496360990[/C][C]-1.36824963609898[/C][/ROW]
[ROW][C]60[/C][C]18.1[/C][C]19.4282496360990[/C][C]-1.32824963609898[/C][/ROW]
[ROW][C]61[/C][C]18.1[/C][C]19.5077147016012[/C][C]-1.40771470160116[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=33999&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=33999&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
12524.47288937409020.527110625909758
223.623.19443231441050.405567685589519
322.321.99443231441050.305567685589517
421.821.47443231441050.325567685589522
520.821.0144323144105-0.214432314410479
619.720.4344323144105-0.734432314410484
718.319.6544323144105-1.35443231441048
817.419.8944323144105-2.49443231441048
91719.0144323144105-2.01443231441048
1018.119.0744323144105-0.974432314410486
1123.923.40606986899560.493930131004367
1225.624.16606986899561.43393013100437
1325.324.24553493449781.05446506550218
1423.622.96707787481810.63292212518195
1521.921.76707787481800.132922125181950
1621.421.24707787481800.152922125181949
1720.620.7870778748180-0.187077874818049
1820.520.20707787481800.292922125181951
1920.219.42707787481800.77292212518195
2020.619.66707787481800.932922125181952
2119.718.78707787481800.91292212518195
2219.318.84707787481800.452922125181953
2322.823.1787154294032-0.378715429403201
2423.523.9387154294032-0.438715429403204
2523.824.0181804949054-0.218180494905386
2622.622.7397234352256-0.139723435225618
272221.53972343522560.460276564774382
2821.721.01972343522560.680276564774381
2920.720.55972343522560.14027656477438
3020.219.97972343522560.220276564774382
3119.119.1997234352256-0.0997234352256171
3219.519.43972343522560.0602765647743815
3318.718.55972343522560.140276564774381
3418.618.6197234352256-0.0197234352256157
3522.222.9513609898108-0.751360989810772
3623.223.7113609898108-0.511360989810773
3723.523.12061135371180.379388646288209
3821.321.8421542940320-0.542154294032023
392020.6421542940320-0.642154294032023
4018.720.1221542940320-1.42215429403202
4118.919.6621542940320-0.762154294032025
4218.319.0821542940320-0.78215429403202
4318.418.30215429403200.0978457059679756
4419.918.54215429403201.35784570596797
4519.217.66215429403201.53784570596798
4618.517.72215429403200.777845705967977
4720.918.89560407569142.00439592430859
4820.519.65560407569140.844395924308587
4919.419.7350691411936-0.335069141193598
5018.118.4566120815138-0.356612081513828
511717.2566120815138-0.256612081513827
521716.73661208151380.263387918486172
5317.316.27661208151381.02338791848617
5416.715.69661208151381.00338791848617
5515.514.91661208151380.583387918486171
5615.315.15661208151380.143387918486172
5713.714.2766120815138-0.576612081513828
5814.114.3366120815138-0.236612081513828
5917.318.6682496360990-1.36824963609898
6018.119.4282496360990-1.32824963609898
6118.119.5077147016012-1.40771470160116







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
180.1814945228528580.3629890457057150.818505477147142
190.4956402693610380.9912805387220760.504359730638962
200.8657469274069680.2685061451860640.134253072593032
210.8982874847927460.2034250304145080.101712515207254
220.8561430629890260.2877138740219490.143856937010974
230.9073025620789150.185394875842170.092697437921085
240.9681610185484350.06367796290313070.0318389814515653
250.9732888434359070.05342231312818540.0267111565640927
260.962710419433230.07457916113353750.0372895805667688
270.9442813780488640.1114372439022710.0557186219511356
280.9356161419502660.1287677160994690.0643838580497344
290.8960237626255650.2079524747488700.103976237374435
300.8426133558663920.3147732882672160.157386644133608
310.7757657842294380.4484684315411240.224234215770562
320.7135104380154920.5729791239690170.286489561984508
330.630018627512590.7399627449748210.369981372487411
340.5486808303090940.9026383393818110.451319169690906
350.4984431481919620.9968862963839240.501556851808038
360.4346548380984270.8693096761968550.565345161901573
370.3323165215572890.6646330431145770.667683478442711
380.2413041492832730.4826082985665450.758695850716727
390.1619173676384390.3238347352768780.838082632361561
400.1647737466936130.3295474933872270.835226253306387
410.1999740444971500.3999480889943010.80002595550285
420.4079924457876890.8159848915753780.592007554212311
430.534973180152910.9300536396941810.465026819847090

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
18 & 0.181494522852858 & 0.362989045705715 & 0.818505477147142 \tabularnewline
19 & 0.495640269361038 & 0.991280538722076 & 0.504359730638962 \tabularnewline
20 & 0.865746927406968 & 0.268506145186064 & 0.134253072593032 \tabularnewline
21 & 0.898287484792746 & 0.203425030414508 & 0.101712515207254 \tabularnewline
22 & 0.856143062989026 & 0.287713874021949 & 0.143856937010974 \tabularnewline
23 & 0.907302562078915 & 0.18539487584217 & 0.092697437921085 \tabularnewline
24 & 0.968161018548435 & 0.0636779629031307 & 0.0318389814515653 \tabularnewline
25 & 0.973288843435907 & 0.0534223131281854 & 0.0267111565640927 \tabularnewline
26 & 0.96271041943323 & 0.0745791611335375 & 0.0372895805667688 \tabularnewline
27 & 0.944281378048864 & 0.111437243902271 & 0.0557186219511356 \tabularnewline
28 & 0.935616141950266 & 0.128767716099469 & 0.0643838580497344 \tabularnewline
29 & 0.896023762625565 & 0.207952474748870 & 0.103976237374435 \tabularnewline
30 & 0.842613355866392 & 0.314773288267216 & 0.157386644133608 \tabularnewline
31 & 0.775765784229438 & 0.448468431541124 & 0.224234215770562 \tabularnewline
32 & 0.713510438015492 & 0.572979123969017 & 0.286489561984508 \tabularnewline
33 & 0.63001862751259 & 0.739962744974821 & 0.369981372487411 \tabularnewline
34 & 0.548680830309094 & 0.902638339381811 & 0.451319169690906 \tabularnewline
35 & 0.498443148191962 & 0.996886296383924 & 0.501556851808038 \tabularnewline
36 & 0.434654838098427 & 0.869309676196855 & 0.565345161901573 \tabularnewline
37 & 0.332316521557289 & 0.664633043114577 & 0.667683478442711 \tabularnewline
38 & 0.241304149283273 & 0.482608298566545 & 0.758695850716727 \tabularnewline
39 & 0.161917367638439 & 0.323834735276878 & 0.838082632361561 \tabularnewline
40 & 0.164773746693613 & 0.329547493387227 & 0.835226253306387 \tabularnewline
41 & 0.199974044497150 & 0.399948088994301 & 0.80002595550285 \tabularnewline
42 & 0.407992445787689 & 0.815984891575378 & 0.592007554212311 \tabularnewline
43 & 0.53497318015291 & 0.930053639694181 & 0.465026819847090 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=33999&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]18[/C][C]0.181494522852858[/C][C]0.362989045705715[/C][C]0.818505477147142[/C][/ROW]
[ROW][C]19[/C][C]0.495640269361038[/C][C]0.991280538722076[/C][C]0.504359730638962[/C][/ROW]
[ROW][C]20[/C][C]0.865746927406968[/C][C]0.268506145186064[/C][C]0.134253072593032[/C][/ROW]
[ROW][C]21[/C][C]0.898287484792746[/C][C]0.203425030414508[/C][C]0.101712515207254[/C][/ROW]
[ROW][C]22[/C][C]0.856143062989026[/C][C]0.287713874021949[/C][C]0.143856937010974[/C][/ROW]
[ROW][C]23[/C][C]0.907302562078915[/C][C]0.18539487584217[/C][C]0.092697437921085[/C][/ROW]
[ROW][C]24[/C][C]0.968161018548435[/C][C]0.0636779629031307[/C][C]0.0318389814515653[/C][/ROW]
[ROW][C]25[/C][C]0.973288843435907[/C][C]0.0534223131281854[/C][C]0.0267111565640927[/C][/ROW]
[ROW][C]26[/C][C]0.96271041943323[/C][C]0.0745791611335375[/C][C]0.0372895805667688[/C][/ROW]
[ROW][C]27[/C][C]0.944281378048864[/C][C]0.111437243902271[/C][C]0.0557186219511356[/C][/ROW]
[ROW][C]28[/C][C]0.935616141950266[/C][C]0.128767716099469[/C][C]0.0643838580497344[/C][/ROW]
[ROW][C]29[/C][C]0.896023762625565[/C][C]0.207952474748870[/C][C]0.103976237374435[/C][/ROW]
[ROW][C]30[/C][C]0.842613355866392[/C][C]0.314773288267216[/C][C]0.157386644133608[/C][/ROW]
[ROW][C]31[/C][C]0.775765784229438[/C][C]0.448468431541124[/C][C]0.224234215770562[/C][/ROW]
[ROW][C]32[/C][C]0.713510438015492[/C][C]0.572979123969017[/C][C]0.286489561984508[/C][/ROW]
[ROW][C]33[/C][C]0.63001862751259[/C][C]0.739962744974821[/C][C]0.369981372487411[/C][/ROW]
[ROW][C]34[/C][C]0.548680830309094[/C][C]0.902638339381811[/C][C]0.451319169690906[/C][/ROW]
[ROW][C]35[/C][C]0.498443148191962[/C][C]0.996886296383924[/C][C]0.501556851808038[/C][/ROW]
[ROW][C]36[/C][C]0.434654838098427[/C][C]0.869309676196855[/C][C]0.565345161901573[/C][/ROW]
[ROW][C]37[/C][C]0.332316521557289[/C][C]0.664633043114577[/C][C]0.667683478442711[/C][/ROW]
[ROW][C]38[/C][C]0.241304149283273[/C][C]0.482608298566545[/C][C]0.758695850716727[/C][/ROW]
[ROW][C]39[/C][C]0.161917367638439[/C][C]0.323834735276878[/C][C]0.838082632361561[/C][/ROW]
[ROW][C]40[/C][C]0.164773746693613[/C][C]0.329547493387227[/C][C]0.835226253306387[/C][/ROW]
[ROW][C]41[/C][C]0.199974044497150[/C][C]0.399948088994301[/C][C]0.80002595550285[/C][/ROW]
[ROW][C]42[/C][C]0.407992445787689[/C][C]0.815984891575378[/C][C]0.592007554212311[/C][/ROW]
[ROW][C]43[/C][C]0.53497318015291[/C][C]0.930053639694181[/C][C]0.465026819847090[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=33999&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=33999&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
180.1814945228528580.3629890457057150.818505477147142
190.4956402693610380.9912805387220760.504359730638962
200.8657469274069680.2685061451860640.134253072593032
210.8982874847927460.2034250304145080.101712515207254
220.8561430629890260.2877138740219490.143856937010974
230.9073025620789150.185394875842170.092697437921085
240.9681610185484350.06367796290313070.0318389814515653
250.9732888434359070.05342231312818540.0267111565640927
260.962710419433230.07457916113353750.0372895805667688
270.9442813780488640.1114372439022710.0557186219511356
280.9356161419502660.1287677160994690.0643838580497344
290.8960237626255650.2079524747488700.103976237374435
300.8426133558663920.3147732882672160.157386644133608
310.7757657842294380.4484684315411240.224234215770562
320.7135104380154920.5729791239690170.286489561984508
330.630018627512590.7399627449748210.369981372487411
340.5486808303090940.9026383393818110.451319169690906
350.4984431481919620.9968862963839240.501556851808038
360.4346548380984270.8693096761968550.565345161901573
370.3323165215572890.6646330431145770.667683478442711
380.2413041492832730.4826082985665450.758695850716727
390.1619173676384390.3238347352768780.838082632361561
400.1647737466936130.3295474933872270.835226253306387
410.1999740444971500.3999480889943010.80002595550285
420.4079924457876890.8159848915753780.592007554212311
430.534973180152910.9300536396941810.465026819847090







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 level30.115384615384615NOK

\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 & 3 & 0.115384615384615 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=33999&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]3[/C][C]0.115384615384615[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=33999&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=33999&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 level30.115384615384615NOK



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