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 computationFri, 18 Dec 2009 07:12:05 -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/18/t1261145594fega8lxqh0jwlmc.htm/, Retrieved Sat, 27 Apr 2024 09:09:10 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=69355, Retrieved Sat, 27 Apr 2024 09:09:10 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact95
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 14:03:14] [b98453cac15ba1066b407e146608df68]
-    D      [Multiple Regression] [] [2009-12-18 14:12:05] [3213ed9efdb724e3c847d204cd8135dd] [Current]
Feedback Forum

Post a new message
Dataseries X:
100.0	114.1	141.7
93.5	110.3	153.4
88.2	103.9	145
89.2	101.6	137.7
91.4	94.6	148.3
92.5	95.9	152.2
91.4	104.7	169.4
88.2	102.8	168.6
87.1	98.1	161.1
84.9	113.9	174.1
92.5	80.9	179
93.5	95.7	190.6
93.5	113.2	190
91.4	105.9	181.6
90.3	108.8	174.8
91.4	102.3	180.5
93.5	99	196.8
93.5	100.7	193.8
92.5	115.5	197
91.4	100.7	216.3
89.2	109.9	221.4
86.0	114.6	217.9
88.2	85.4	229.7
87.1	100.5	227.4
87.1	114.8	204.2
86.0	116.5	196.6
84.9	112.9	198.8
84.9	102	207.5
86.0	106	190.7
86.0	105.3	201.6
84.9	118.8	210.5
86.0	106.1	223.5
82.8	109.3	223.8
77.4	117.2	231.2
80.6	92.5	244
78.5	104.2	234.7
75.3	112.5	250.2
75.3	122.4	265.7
75.3	113.3	287.6
77.4	100	283.3
78.5	110.7	295.4
76.3	112.8	312.3
73.1	109.8	333.8
68.8	117.3	347.7
65.6	109.1	383.2
69.9	115.9	407.1
82.8	96	413.6
84.9	99.8	362.7
80.6	116.8	321.9
74.2	115.7	239.4
71.0	99.4	191
74.2	94.3	159.7
82.8	91	163.4
86.0	93.2	157.6
86.0	103.1	166.2
82.8	94.1	176.7
78.5	91.8	198.3
79.6	102.7	226.2
87.1	82.6	216.2
89.2	89.1	235.9




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time9 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 & 9 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69355&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]9 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=69355&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69355&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 time9 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
WRKL(index)[t] = + 92.199660809865 + 0.167067318566415IND[t] -0.0875444282137551GRON[t] -4.59226868346676M1[t] -9.04060415156694M2[t] -10.7862675637739M3[t] -8.53221783711622M4[t] -5.09549250905359M5[t] -4.49506788834226M6[t] -6.2052324845473M7[t] -6.33400974837707M8[t] -8.07746333962857M9[t] -9.49496357315392M10[t] + 1.88043599877322M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
WRKL(index)[t] =  +  92.199660809865 +  0.167067318566415IND[t] -0.0875444282137551GRON[t] -4.59226868346676M1[t] -9.04060415156694M2[t] -10.7862675637739M3[t] -8.53221783711622M4[t] -5.09549250905359M5[t] -4.49506788834226M6[t] -6.2052324845473M7[t] -6.33400974837707M8[t] -8.07746333962857M9[t] -9.49496357315392M10[t] +  1.88043599877322M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69355&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]WRKL(index)[t] =  +  92.199660809865 +  0.167067318566415IND[t] -0.0875444282137551GRON[t] -4.59226868346676M1[t] -9.04060415156694M2[t] -10.7862675637739M3[t] -8.53221783711622M4[t] -5.09549250905359M5[t] -4.49506788834226M6[t] -6.2052324845473M7[t] -6.33400974837707M8[t] -8.07746333962857M9[t] -9.49496357315392M10[t] +  1.88043599877322M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69355&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69355&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
WRKL(index)[t] = + 92.199660809865 + 0.167067318566415IND[t] -0.0875444282137551GRON[t] -4.59226868346676M1[t] -9.04060415156694M2[t] -10.7862675637739M3[t] -8.53221783711622M4[t] -5.09549250905359M5[t] -4.49506788834226M6[t] -6.2052324845473M7[t] -6.33400974837707M8[t] -8.07746333962857M9[t] -9.49496357315392M10[t] + 1.88043599877322M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)92.19966080986512.904047.14500
IND0.1670673185664150.1463671.14140.25960.1298
GRON-0.08754442821375510.01374-6.371500
M1-4.592268683466764.335642-1.05920.2950430.147522
M2-9.040604151566944.408333-2.05080.0460080.023004
M3-10.78626756377393.933809-2.74190.0086720.004336
M4-8.532217837116223.573799-2.38740.0211320.010566
M5-5.095492509053593.562043-1.43050.1593330.079666
M6-4.495067888342263.590704-1.25190.2169480.108474
M7-6.20523248454734.046778-1.53340.1320330.066016
M8-6.334009748377073.618916-1.75030.0867430.043371
M9-8.077463339628573.563522-2.26670.0281550.014077
M10-9.494963573153924.070397-2.33270.0240940.012047
M111.880435998773223.7746840.49820.6207380.310369

\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) & 92.199660809865 & 12.90404 & 7.145 & 0 & 0 \tabularnewline
IND & 0.167067318566415 & 0.146367 & 1.1414 & 0.2596 & 0.1298 \tabularnewline
GRON & -0.0875444282137551 & 0.01374 & -6.3715 & 0 & 0 \tabularnewline
M1 & -4.59226868346676 & 4.335642 & -1.0592 & 0.295043 & 0.147522 \tabularnewline
M2 & -9.04060415156694 & 4.408333 & -2.0508 & 0.046008 & 0.023004 \tabularnewline
M3 & -10.7862675637739 & 3.933809 & -2.7419 & 0.008672 & 0.004336 \tabularnewline
M4 & -8.53221783711622 & 3.573799 & -2.3874 & 0.021132 & 0.010566 \tabularnewline
M5 & -5.09549250905359 & 3.562043 & -1.4305 & 0.159333 & 0.079666 \tabularnewline
M6 & -4.49506788834226 & 3.590704 & -1.2519 & 0.216948 & 0.108474 \tabularnewline
M7 & -6.2052324845473 & 4.046778 & -1.5334 & 0.132033 & 0.066016 \tabularnewline
M8 & -6.33400974837707 & 3.618916 & -1.7503 & 0.086743 & 0.043371 \tabularnewline
M9 & -8.07746333962857 & 3.563522 & -2.2667 & 0.028155 & 0.014077 \tabularnewline
M10 & -9.49496357315392 & 4.070397 & -2.3327 & 0.024094 & 0.012047 \tabularnewline
M11 & 1.88043599877322 & 3.774684 & 0.4982 & 0.620738 & 0.310369 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69355&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]92.199660809865[/C][C]12.90404[/C][C]7.145[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]IND[/C][C]0.167067318566415[/C][C]0.146367[/C][C]1.1414[/C][C]0.2596[/C][C]0.1298[/C][/ROW]
[ROW][C]GRON[/C][C]-0.0875444282137551[/C][C]0.01374[/C][C]-6.3715[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]-4.59226868346676[/C][C]4.335642[/C][C]-1.0592[/C][C]0.295043[/C][C]0.147522[/C][/ROW]
[ROW][C]M2[/C][C]-9.04060415156694[/C][C]4.408333[/C][C]-2.0508[/C][C]0.046008[/C][C]0.023004[/C][/ROW]
[ROW][C]M3[/C][C]-10.7862675637739[/C][C]3.933809[/C][C]-2.7419[/C][C]0.008672[/C][C]0.004336[/C][/ROW]
[ROW][C]M4[/C][C]-8.53221783711622[/C][C]3.573799[/C][C]-2.3874[/C][C]0.021132[/C][C]0.010566[/C][/ROW]
[ROW][C]M5[/C][C]-5.09549250905359[/C][C]3.562043[/C][C]-1.4305[/C][C]0.159333[/C][C]0.079666[/C][/ROW]
[ROW][C]M6[/C][C]-4.49506788834226[/C][C]3.590704[/C][C]-1.2519[/C][C]0.216948[/C][C]0.108474[/C][/ROW]
[ROW][C]M7[/C][C]-6.2052324845473[/C][C]4.046778[/C][C]-1.5334[/C][C]0.132033[/C][C]0.066016[/C][/ROW]
[ROW][C]M8[/C][C]-6.33400974837707[/C][C]3.618916[/C][C]-1.7503[/C][C]0.086743[/C][C]0.043371[/C][/ROW]
[ROW][C]M9[/C][C]-8.07746333962857[/C][C]3.563522[/C][C]-2.2667[/C][C]0.028155[/C][C]0.014077[/C][/ROW]
[ROW][C]M10[/C][C]-9.49496357315392[/C][C]4.070397[/C][C]-2.3327[/C][C]0.024094[/C][C]0.012047[/C][/ROW]
[ROW][C]M11[/C][C]1.88043599877322[/C][C]3.774684[/C][C]0.4982[/C][C]0.620738[/C][C]0.310369[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69355&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69355&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)92.19966080986512.904047.14500
IND0.1670673185664150.1463671.14140.25960.1298
GRON-0.08754442821375510.01374-6.371500
M1-4.592268683466764.335642-1.05920.2950430.147522
M2-9.040604151566944.408333-2.05080.0460080.023004
M3-10.78626756377393.933809-2.74190.0086720.004336
M4-8.532217837116223.573799-2.38740.0211320.010566
M5-5.095492509053593.562043-1.43050.1593330.079666
M6-4.495067888342263.590704-1.25190.2169480.108474
M7-6.20523248454734.046778-1.53340.1320330.066016
M8-6.334009748377073.618916-1.75030.0867430.043371
M9-8.077463339628573.563522-2.26670.0281550.014077
M10-9.494963573153924.070397-2.33270.0240940.012047
M111.880435998773223.7746840.49820.6207380.310369







Multiple Linear Regression - Regression Statistics
Multiple R0.758914349095157
R-squared0.575950989262526
Adjusted R-squared0.456111051445414
F-TEST (value)4.80600207037395
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value3.39822078809782e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5.42760974112452
Sum Squared Residuals1355.11158508969

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.758914349095157 \tabularnewline
R-squared & 0.575950989262526 \tabularnewline
Adjusted R-squared & 0.456111051445414 \tabularnewline
F-TEST (value) & 4.80600207037395 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 3.39822078809782e-05 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 5.42760974112452 \tabularnewline
Sum Squared Residuals & 1355.11158508969 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69355&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.758914349095157[/C][/ROW]
[ROW][C]R-squared[/C][C]0.575950989262526[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.456111051445414[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]4.80600207037395[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]46[/C][/ROW]
[ROW][C]p-value[/C][C]3.39822078809782e-05[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]5.42760974112452[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1355.11158508969[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69355&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69355&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.758914349095157
R-squared0.575950989262526
Adjusted R-squared0.456111051445414
F-TEST (value)4.80600207037395
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value3.39822078809782e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5.42760974112452
Sum Squared Residuals1355.11158508969







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
110094.2647276969375.73527230306293
293.588.15726660818365.34273339181641
388.286.07774555414712.12225444585289
489.288.58661477406250.613385225937554
591.489.92589793309441.47410206690563
692.590.40208679790842.09791320209159
791.488.65635043981122.74364956018878
888.288.2801808132763-0.080180813276266
987.186.40809403636580.691905963634222
1084.986.492179869411-1.59217986941096
1192.591.9253902303990.574609769600989
1293.591.50203517912921.99796482087082
1393.589.88597122750293.61402877249707
1491.484.95341753086356.44658246913653
1590.384.28755145435266.01244854564736
1691.484.95666036951026.44333963048978
1793.586.41508936641957.08491063358052
1893.587.5621617133355.93783828666502
1992.588.04445126162894.45554873837114
2091.483.75347021849077.64652978150933
2189.283.100559374166.09944062583996
228682.7746810366453.22531896335501
2388.288.2386906535105-0.0386906535104934
2487.189.0823233499818-1.98232334998178
2587.188.9101480565739-1.81014805657388
268685.41116468446110.588835315538858
2784.982.87146118334482.02853881665519
2884.982.54284061216892.3571593878311
298688.1185816084883-2.11858160848829
308687.6478248386732-1.64782483867319
3184.987.4139236320123-2.51392363201233
328684.02531385561031.97468614438972
3382.882.79021235530720.00978764469281779
3477.482.0447151696747-4.64471516967472
3580.688.1729832918753-7.57298329187535
3678.589.0613981027171-10.5613981027171
3775.384.4988495260384-9.19884952603839
3875.380.3475418744325-5.04754187443252
3975.375.164342885390.135657114610073
4077.475.57283831643341.82716168356657
4178.579.7378963717703-1.23789637177028
4276.379.2096615246586-2.90966152465861
4373.175.1160897661586-2.0160897661586
4468.875.0234498394057-6.22344983940574
4565.668.8022170343213-3.20221703432133
4669.966.42846273273893.47153726726116
4782.873.9101838818058.88981611819508
4884.977.12061508966427.77938491033579
4980.678.94030349294771.65969650705227
5074.281.5306093020593-7.33060930205928
517181.2988989227655-10.2988989227655
5274.285.441045927825-11.241045927825
5382.888.0025347202276-5.20253472022758
548689.4782651254248-3.4782651254248
558688.669184900389-2.66918490038898
5682.886.117585273217-3.31758527321704
5778.582.0989171998457-3.59891719984567
5879.680.0599611915305-0.459961191530488
5987.188.9527519424102-1.85275194241023
6089.286.43362827850772.76637172149227

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 100 & 94.264727696937 & 5.73527230306293 \tabularnewline
2 & 93.5 & 88.1572666081836 & 5.34273339181641 \tabularnewline
3 & 88.2 & 86.0777455541471 & 2.12225444585289 \tabularnewline
4 & 89.2 & 88.5866147740625 & 0.613385225937554 \tabularnewline
5 & 91.4 & 89.9258979330944 & 1.47410206690563 \tabularnewline
6 & 92.5 & 90.4020867979084 & 2.09791320209159 \tabularnewline
7 & 91.4 & 88.6563504398112 & 2.74364956018878 \tabularnewline
8 & 88.2 & 88.2801808132763 & -0.080180813276266 \tabularnewline
9 & 87.1 & 86.4080940363658 & 0.691905963634222 \tabularnewline
10 & 84.9 & 86.492179869411 & -1.59217986941096 \tabularnewline
11 & 92.5 & 91.925390230399 & 0.574609769600989 \tabularnewline
12 & 93.5 & 91.5020351791292 & 1.99796482087082 \tabularnewline
13 & 93.5 & 89.8859712275029 & 3.61402877249707 \tabularnewline
14 & 91.4 & 84.9534175308635 & 6.44658246913653 \tabularnewline
15 & 90.3 & 84.2875514543526 & 6.01244854564736 \tabularnewline
16 & 91.4 & 84.9566603695102 & 6.44333963048978 \tabularnewline
17 & 93.5 & 86.4150893664195 & 7.08491063358052 \tabularnewline
18 & 93.5 & 87.562161713335 & 5.93783828666502 \tabularnewline
19 & 92.5 & 88.0444512616289 & 4.45554873837114 \tabularnewline
20 & 91.4 & 83.7534702184907 & 7.64652978150933 \tabularnewline
21 & 89.2 & 83.10055937416 & 6.09944062583996 \tabularnewline
22 & 86 & 82.774681036645 & 3.22531896335501 \tabularnewline
23 & 88.2 & 88.2386906535105 & -0.0386906535104934 \tabularnewline
24 & 87.1 & 89.0823233499818 & -1.98232334998178 \tabularnewline
25 & 87.1 & 88.9101480565739 & -1.81014805657388 \tabularnewline
26 & 86 & 85.4111646844611 & 0.588835315538858 \tabularnewline
27 & 84.9 & 82.8714611833448 & 2.02853881665519 \tabularnewline
28 & 84.9 & 82.5428406121689 & 2.3571593878311 \tabularnewline
29 & 86 & 88.1185816084883 & -2.11858160848829 \tabularnewline
30 & 86 & 87.6478248386732 & -1.64782483867319 \tabularnewline
31 & 84.9 & 87.4139236320123 & -2.51392363201233 \tabularnewline
32 & 86 & 84.0253138556103 & 1.97468614438972 \tabularnewline
33 & 82.8 & 82.7902123553072 & 0.00978764469281779 \tabularnewline
34 & 77.4 & 82.0447151696747 & -4.64471516967472 \tabularnewline
35 & 80.6 & 88.1729832918753 & -7.57298329187535 \tabularnewline
36 & 78.5 & 89.0613981027171 & -10.5613981027171 \tabularnewline
37 & 75.3 & 84.4988495260384 & -9.19884952603839 \tabularnewline
38 & 75.3 & 80.3475418744325 & -5.04754187443252 \tabularnewline
39 & 75.3 & 75.16434288539 & 0.135657114610073 \tabularnewline
40 & 77.4 & 75.5728383164334 & 1.82716168356657 \tabularnewline
41 & 78.5 & 79.7378963717703 & -1.23789637177028 \tabularnewline
42 & 76.3 & 79.2096615246586 & -2.90966152465861 \tabularnewline
43 & 73.1 & 75.1160897661586 & -2.0160897661586 \tabularnewline
44 & 68.8 & 75.0234498394057 & -6.22344983940574 \tabularnewline
45 & 65.6 & 68.8022170343213 & -3.20221703432133 \tabularnewline
46 & 69.9 & 66.4284627327389 & 3.47153726726116 \tabularnewline
47 & 82.8 & 73.910183881805 & 8.88981611819508 \tabularnewline
48 & 84.9 & 77.1206150896642 & 7.77938491033579 \tabularnewline
49 & 80.6 & 78.9403034929477 & 1.65969650705227 \tabularnewline
50 & 74.2 & 81.5306093020593 & -7.33060930205928 \tabularnewline
51 & 71 & 81.2988989227655 & -10.2988989227655 \tabularnewline
52 & 74.2 & 85.441045927825 & -11.241045927825 \tabularnewline
53 & 82.8 & 88.0025347202276 & -5.20253472022758 \tabularnewline
54 & 86 & 89.4782651254248 & -3.4782651254248 \tabularnewline
55 & 86 & 88.669184900389 & -2.66918490038898 \tabularnewline
56 & 82.8 & 86.117585273217 & -3.31758527321704 \tabularnewline
57 & 78.5 & 82.0989171998457 & -3.59891719984567 \tabularnewline
58 & 79.6 & 80.0599611915305 & -0.459961191530488 \tabularnewline
59 & 87.1 & 88.9527519424102 & -1.85275194241023 \tabularnewline
60 & 89.2 & 86.4336282785077 & 2.76637172149227 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69355&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]100[/C][C]94.264727696937[/C][C]5.73527230306293[/C][/ROW]
[ROW][C]2[/C][C]93.5[/C][C]88.1572666081836[/C][C]5.34273339181641[/C][/ROW]
[ROW][C]3[/C][C]88.2[/C][C]86.0777455541471[/C][C]2.12225444585289[/C][/ROW]
[ROW][C]4[/C][C]89.2[/C][C]88.5866147740625[/C][C]0.613385225937554[/C][/ROW]
[ROW][C]5[/C][C]91.4[/C][C]89.9258979330944[/C][C]1.47410206690563[/C][/ROW]
[ROW][C]6[/C][C]92.5[/C][C]90.4020867979084[/C][C]2.09791320209159[/C][/ROW]
[ROW][C]7[/C][C]91.4[/C][C]88.6563504398112[/C][C]2.74364956018878[/C][/ROW]
[ROW][C]8[/C][C]88.2[/C][C]88.2801808132763[/C][C]-0.080180813276266[/C][/ROW]
[ROW][C]9[/C][C]87.1[/C][C]86.4080940363658[/C][C]0.691905963634222[/C][/ROW]
[ROW][C]10[/C][C]84.9[/C][C]86.492179869411[/C][C]-1.59217986941096[/C][/ROW]
[ROW][C]11[/C][C]92.5[/C][C]91.925390230399[/C][C]0.574609769600989[/C][/ROW]
[ROW][C]12[/C][C]93.5[/C][C]91.5020351791292[/C][C]1.99796482087082[/C][/ROW]
[ROW][C]13[/C][C]93.5[/C][C]89.8859712275029[/C][C]3.61402877249707[/C][/ROW]
[ROW][C]14[/C][C]91.4[/C][C]84.9534175308635[/C][C]6.44658246913653[/C][/ROW]
[ROW][C]15[/C][C]90.3[/C][C]84.2875514543526[/C][C]6.01244854564736[/C][/ROW]
[ROW][C]16[/C][C]91.4[/C][C]84.9566603695102[/C][C]6.44333963048978[/C][/ROW]
[ROW][C]17[/C][C]93.5[/C][C]86.4150893664195[/C][C]7.08491063358052[/C][/ROW]
[ROW][C]18[/C][C]93.5[/C][C]87.562161713335[/C][C]5.93783828666502[/C][/ROW]
[ROW][C]19[/C][C]92.5[/C][C]88.0444512616289[/C][C]4.45554873837114[/C][/ROW]
[ROW][C]20[/C][C]91.4[/C][C]83.7534702184907[/C][C]7.64652978150933[/C][/ROW]
[ROW][C]21[/C][C]89.2[/C][C]83.10055937416[/C][C]6.09944062583996[/C][/ROW]
[ROW][C]22[/C][C]86[/C][C]82.774681036645[/C][C]3.22531896335501[/C][/ROW]
[ROW][C]23[/C][C]88.2[/C][C]88.2386906535105[/C][C]-0.0386906535104934[/C][/ROW]
[ROW][C]24[/C][C]87.1[/C][C]89.0823233499818[/C][C]-1.98232334998178[/C][/ROW]
[ROW][C]25[/C][C]87.1[/C][C]88.9101480565739[/C][C]-1.81014805657388[/C][/ROW]
[ROW][C]26[/C][C]86[/C][C]85.4111646844611[/C][C]0.588835315538858[/C][/ROW]
[ROW][C]27[/C][C]84.9[/C][C]82.8714611833448[/C][C]2.02853881665519[/C][/ROW]
[ROW][C]28[/C][C]84.9[/C][C]82.5428406121689[/C][C]2.3571593878311[/C][/ROW]
[ROW][C]29[/C][C]86[/C][C]88.1185816084883[/C][C]-2.11858160848829[/C][/ROW]
[ROW][C]30[/C][C]86[/C][C]87.6478248386732[/C][C]-1.64782483867319[/C][/ROW]
[ROW][C]31[/C][C]84.9[/C][C]87.4139236320123[/C][C]-2.51392363201233[/C][/ROW]
[ROW][C]32[/C][C]86[/C][C]84.0253138556103[/C][C]1.97468614438972[/C][/ROW]
[ROW][C]33[/C][C]82.8[/C][C]82.7902123553072[/C][C]0.00978764469281779[/C][/ROW]
[ROW][C]34[/C][C]77.4[/C][C]82.0447151696747[/C][C]-4.64471516967472[/C][/ROW]
[ROW][C]35[/C][C]80.6[/C][C]88.1729832918753[/C][C]-7.57298329187535[/C][/ROW]
[ROW][C]36[/C][C]78.5[/C][C]89.0613981027171[/C][C]-10.5613981027171[/C][/ROW]
[ROW][C]37[/C][C]75.3[/C][C]84.4988495260384[/C][C]-9.19884952603839[/C][/ROW]
[ROW][C]38[/C][C]75.3[/C][C]80.3475418744325[/C][C]-5.04754187443252[/C][/ROW]
[ROW][C]39[/C][C]75.3[/C][C]75.16434288539[/C][C]0.135657114610073[/C][/ROW]
[ROW][C]40[/C][C]77.4[/C][C]75.5728383164334[/C][C]1.82716168356657[/C][/ROW]
[ROW][C]41[/C][C]78.5[/C][C]79.7378963717703[/C][C]-1.23789637177028[/C][/ROW]
[ROW][C]42[/C][C]76.3[/C][C]79.2096615246586[/C][C]-2.90966152465861[/C][/ROW]
[ROW][C]43[/C][C]73.1[/C][C]75.1160897661586[/C][C]-2.0160897661586[/C][/ROW]
[ROW][C]44[/C][C]68.8[/C][C]75.0234498394057[/C][C]-6.22344983940574[/C][/ROW]
[ROW][C]45[/C][C]65.6[/C][C]68.8022170343213[/C][C]-3.20221703432133[/C][/ROW]
[ROW][C]46[/C][C]69.9[/C][C]66.4284627327389[/C][C]3.47153726726116[/C][/ROW]
[ROW][C]47[/C][C]82.8[/C][C]73.910183881805[/C][C]8.88981611819508[/C][/ROW]
[ROW][C]48[/C][C]84.9[/C][C]77.1206150896642[/C][C]7.77938491033579[/C][/ROW]
[ROW][C]49[/C][C]80.6[/C][C]78.9403034929477[/C][C]1.65969650705227[/C][/ROW]
[ROW][C]50[/C][C]74.2[/C][C]81.5306093020593[/C][C]-7.33060930205928[/C][/ROW]
[ROW][C]51[/C][C]71[/C][C]81.2988989227655[/C][C]-10.2988989227655[/C][/ROW]
[ROW][C]52[/C][C]74.2[/C][C]85.441045927825[/C][C]-11.241045927825[/C][/ROW]
[ROW][C]53[/C][C]82.8[/C][C]88.0025347202276[/C][C]-5.20253472022758[/C][/ROW]
[ROW][C]54[/C][C]86[/C][C]89.4782651254248[/C][C]-3.4782651254248[/C][/ROW]
[ROW][C]55[/C][C]86[/C][C]88.669184900389[/C][C]-2.66918490038898[/C][/ROW]
[ROW][C]56[/C][C]82.8[/C][C]86.117585273217[/C][C]-3.31758527321704[/C][/ROW]
[ROW][C]57[/C][C]78.5[/C][C]82.0989171998457[/C][C]-3.59891719984567[/C][/ROW]
[ROW][C]58[/C][C]79.6[/C][C]80.0599611915305[/C][C]-0.459961191530488[/C][/ROW]
[ROW][C]59[/C][C]87.1[/C][C]88.9527519424102[/C][C]-1.85275194241023[/C][/ROW]
[ROW][C]60[/C][C]89.2[/C][C]86.4336282785077[/C][C]2.76637172149227[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69355&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69355&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
110094.2647276969375.73527230306293
293.588.15726660818365.34273339181641
388.286.07774555414712.12225444585289
489.288.58661477406250.613385225937554
591.489.92589793309441.47410206690563
692.590.40208679790842.09791320209159
791.488.65635043981122.74364956018878
888.288.2801808132763-0.080180813276266
987.186.40809403636580.691905963634222
1084.986.492179869411-1.59217986941096
1192.591.9253902303990.574609769600989
1293.591.50203517912921.99796482087082
1393.589.88597122750293.61402877249707
1491.484.95341753086356.44658246913653
1590.384.28755145435266.01244854564736
1691.484.95666036951026.44333963048978
1793.586.41508936641957.08491063358052
1893.587.5621617133355.93783828666502
1992.588.04445126162894.45554873837114
2091.483.75347021849077.64652978150933
2189.283.100559374166.09944062583996
228682.7746810366453.22531896335501
2388.288.2386906535105-0.0386906535104934
2487.189.0823233499818-1.98232334998178
2587.188.9101480565739-1.81014805657388
268685.41116468446110.588835315538858
2784.982.87146118334482.02853881665519
2884.982.54284061216892.3571593878311
298688.1185816084883-2.11858160848829
308687.6478248386732-1.64782483867319
3184.987.4139236320123-2.51392363201233
328684.02531385561031.97468614438972
3382.882.79021235530720.00978764469281779
3477.482.0447151696747-4.64471516967472
3580.688.1729832918753-7.57298329187535
3678.589.0613981027171-10.5613981027171
3775.384.4988495260384-9.19884952603839
3875.380.3475418744325-5.04754187443252
3975.375.164342885390.135657114610073
4077.475.57283831643341.82716168356657
4178.579.7378963717703-1.23789637177028
4276.379.2096615246586-2.90966152465861
4373.175.1160897661586-2.0160897661586
4468.875.0234498394057-6.22344983940574
4565.668.8022170343213-3.20221703432133
4669.966.42846273273893.47153726726116
4782.873.9101838818058.88981611819508
4884.977.12061508966427.77938491033579
4980.678.94030349294771.65969650705227
5074.281.5306093020593-7.33060930205928
517181.2988989227655-10.2988989227655
5274.285.441045927825-11.241045927825
5382.888.0025347202276-5.20253472022758
548689.4782651254248-3.4782651254248
558688.669184900389-2.66918490038898
5682.886.117585273217-3.31758527321704
5778.582.0989171998457-3.59891719984567
5879.680.0599611915305-0.459961191530488
5987.188.9527519424102-1.85275194241023
6089.286.43362827850772.76637172149227







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.08831765986649870.1766353197329970.911682340133501
180.03406638474421080.06813276948842160.96593361525579
190.02093411866303080.04186823732606160.97906588133697
200.02540841238772030.05081682477544060.97459158761228
210.01316176135101570.02632352270203140.986838238648984
220.005935216538861830.01187043307772370.994064783461138
230.006997613517813130.01399522703562630.993002386482187
240.01315296872299670.02630593744599330.986847031277003
250.05297472520269750.1059494504053950.947025274797302
260.08005563101618450.1601112620323690.919944368983816
270.08171105521065240.1634221104213050.918288944789348
280.08336899590689380.1667379918137880.916631004093106
290.08337822035383250.1667564407076650.916621779646168
300.07535074832043080.1507014966408620.924649251679569
310.06769326562450660.1353865312490130.932306734375493
320.07643641846254580.1528728369250920.923563581537454
330.1597691750975300.3195383501950600.84023082490247
340.1850469134137650.3700938268275300.814953086586235
350.1682966100859010.3365932201718020.831703389914099
360.278650352697390.557300705394780.72134964730261
370.5578668851288630.8842662297422740.442133114871137
380.4728992212548670.9457984425097330.527100778745133
390.6311244633971780.7377510732056450.368875536602822
400.7875817870244530.4248364259510940.212418212975547
410.758088042844230.4838239143115410.241911957155771
420.6185303383648540.7629393232702920.381469661635146
430.8341064602936490.3317870794127020.165893539706351

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.0883176598664987 & 0.176635319732997 & 0.911682340133501 \tabularnewline
18 & 0.0340663847442108 & 0.0681327694884216 & 0.96593361525579 \tabularnewline
19 & 0.0209341186630308 & 0.0418682373260616 & 0.97906588133697 \tabularnewline
20 & 0.0254084123877203 & 0.0508168247754406 & 0.97459158761228 \tabularnewline
21 & 0.0131617613510157 & 0.0263235227020314 & 0.986838238648984 \tabularnewline
22 & 0.00593521653886183 & 0.0118704330777237 & 0.994064783461138 \tabularnewline
23 & 0.00699761351781313 & 0.0139952270356263 & 0.993002386482187 \tabularnewline
24 & 0.0131529687229967 & 0.0263059374459933 & 0.986847031277003 \tabularnewline
25 & 0.0529747252026975 & 0.105949450405395 & 0.947025274797302 \tabularnewline
26 & 0.0800556310161845 & 0.160111262032369 & 0.919944368983816 \tabularnewline
27 & 0.0817110552106524 & 0.163422110421305 & 0.918288944789348 \tabularnewline
28 & 0.0833689959068938 & 0.166737991813788 & 0.916631004093106 \tabularnewline
29 & 0.0833782203538325 & 0.166756440707665 & 0.916621779646168 \tabularnewline
30 & 0.0753507483204308 & 0.150701496640862 & 0.924649251679569 \tabularnewline
31 & 0.0676932656245066 & 0.135386531249013 & 0.932306734375493 \tabularnewline
32 & 0.0764364184625458 & 0.152872836925092 & 0.923563581537454 \tabularnewline
33 & 0.159769175097530 & 0.319538350195060 & 0.84023082490247 \tabularnewline
34 & 0.185046913413765 & 0.370093826827530 & 0.814953086586235 \tabularnewline
35 & 0.168296610085901 & 0.336593220171802 & 0.831703389914099 \tabularnewline
36 & 0.27865035269739 & 0.55730070539478 & 0.72134964730261 \tabularnewline
37 & 0.557866885128863 & 0.884266229742274 & 0.442133114871137 \tabularnewline
38 & 0.472899221254867 & 0.945798442509733 & 0.527100778745133 \tabularnewline
39 & 0.631124463397178 & 0.737751073205645 & 0.368875536602822 \tabularnewline
40 & 0.787581787024453 & 0.424836425951094 & 0.212418212975547 \tabularnewline
41 & 0.75808804284423 & 0.483823914311541 & 0.241911957155771 \tabularnewline
42 & 0.618530338364854 & 0.762939323270292 & 0.381469661635146 \tabularnewline
43 & 0.834106460293649 & 0.331787079412702 & 0.165893539706351 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69355&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.0883176598664987[/C][C]0.176635319732997[/C][C]0.911682340133501[/C][/ROW]
[ROW][C]18[/C][C]0.0340663847442108[/C][C]0.0681327694884216[/C][C]0.96593361525579[/C][/ROW]
[ROW][C]19[/C][C]0.0209341186630308[/C][C]0.0418682373260616[/C][C]0.97906588133697[/C][/ROW]
[ROW][C]20[/C][C]0.0254084123877203[/C][C]0.0508168247754406[/C][C]0.97459158761228[/C][/ROW]
[ROW][C]21[/C][C]0.0131617613510157[/C][C]0.0263235227020314[/C][C]0.986838238648984[/C][/ROW]
[ROW][C]22[/C][C]0.00593521653886183[/C][C]0.0118704330777237[/C][C]0.994064783461138[/C][/ROW]
[ROW][C]23[/C][C]0.00699761351781313[/C][C]0.0139952270356263[/C][C]0.993002386482187[/C][/ROW]
[ROW][C]24[/C][C]0.0131529687229967[/C][C]0.0263059374459933[/C][C]0.986847031277003[/C][/ROW]
[ROW][C]25[/C][C]0.0529747252026975[/C][C]0.105949450405395[/C][C]0.947025274797302[/C][/ROW]
[ROW][C]26[/C][C]0.0800556310161845[/C][C]0.160111262032369[/C][C]0.919944368983816[/C][/ROW]
[ROW][C]27[/C][C]0.0817110552106524[/C][C]0.163422110421305[/C][C]0.918288944789348[/C][/ROW]
[ROW][C]28[/C][C]0.0833689959068938[/C][C]0.166737991813788[/C][C]0.916631004093106[/C][/ROW]
[ROW][C]29[/C][C]0.0833782203538325[/C][C]0.166756440707665[/C][C]0.916621779646168[/C][/ROW]
[ROW][C]30[/C][C]0.0753507483204308[/C][C]0.150701496640862[/C][C]0.924649251679569[/C][/ROW]
[ROW][C]31[/C][C]0.0676932656245066[/C][C]0.135386531249013[/C][C]0.932306734375493[/C][/ROW]
[ROW][C]32[/C][C]0.0764364184625458[/C][C]0.152872836925092[/C][C]0.923563581537454[/C][/ROW]
[ROW][C]33[/C][C]0.159769175097530[/C][C]0.319538350195060[/C][C]0.84023082490247[/C][/ROW]
[ROW][C]34[/C][C]0.185046913413765[/C][C]0.370093826827530[/C][C]0.814953086586235[/C][/ROW]
[ROW][C]35[/C][C]0.168296610085901[/C][C]0.336593220171802[/C][C]0.831703389914099[/C][/ROW]
[ROW][C]36[/C][C]0.27865035269739[/C][C]0.55730070539478[/C][C]0.72134964730261[/C][/ROW]
[ROW][C]37[/C][C]0.557866885128863[/C][C]0.884266229742274[/C][C]0.442133114871137[/C][/ROW]
[ROW][C]38[/C][C]0.472899221254867[/C][C]0.945798442509733[/C][C]0.527100778745133[/C][/ROW]
[ROW][C]39[/C][C]0.631124463397178[/C][C]0.737751073205645[/C][C]0.368875536602822[/C][/ROW]
[ROW][C]40[/C][C]0.787581787024453[/C][C]0.424836425951094[/C][C]0.212418212975547[/C][/ROW]
[ROW][C]41[/C][C]0.75808804284423[/C][C]0.483823914311541[/C][C]0.241911957155771[/C][/ROW]
[ROW][C]42[/C][C]0.618530338364854[/C][C]0.762939323270292[/C][C]0.381469661635146[/C][/ROW]
[ROW][C]43[/C][C]0.834106460293649[/C][C]0.331787079412702[/C][C]0.165893539706351[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69355&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69355&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.08831765986649870.1766353197329970.911682340133501
180.03406638474421080.06813276948842160.96593361525579
190.02093411866303080.04186823732606160.97906588133697
200.02540841238772030.05081682477544060.97459158761228
210.01316176135101570.02632352270203140.986838238648984
220.005935216538861830.01187043307772370.994064783461138
230.006997613517813130.01399522703562630.993002386482187
240.01315296872299670.02630593744599330.986847031277003
250.05297472520269750.1059494504053950.947025274797302
260.08005563101618450.1601112620323690.919944368983816
270.08171105521065240.1634221104213050.918288944789348
280.08336899590689380.1667379918137880.916631004093106
290.08337822035383250.1667564407076650.916621779646168
300.07535074832043080.1507014966408620.924649251679569
310.06769326562450660.1353865312490130.932306734375493
320.07643641846254580.1528728369250920.923563581537454
330.1597691750975300.3195383501950600.84023082490247
340.1850469134137650.3700938268275300.814953086586235
350.1682966100859010.3365932201718020.831703389914099
360.278650352697390.557300705394780.72134964730261
370.5578668851288630.8842662297422740.442133114871137
380.4728992212548670.9457984425097330.527100778745133
390.6311244633971780.7377510732056450.368875536602822
400.7875817870244530.4248364259510940.212418212975547
410.758088042844230.4838239143115410.241911957155771
420.6185303383648540.7629393232702920.381469661635146
430.8341064602936490.3317870794127020.165893539706351







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level50.185185185185185NOK
10% type I error level70.259259259259259NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69355&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 level50.185185185185185NOK
10% type I error level70.259259259259259NOK



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