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 computationWed, 18 Nov 2009 07:51:34 -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/Nov/18/t1258555936451d7bqx7qp18ca.htm/, Retrieved Sun, 05 May 2024 18:02:37 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57463, Retrieved Sun, 05 May 2024 18:02:37 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact183
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]
- RM D  [Multiple Regression] [Seatbelt] [2009-11-12 14:06:21] [b98453cac15ba1066b407e146608df68]
-    D      [Multiple Regression] [] [2009-11-18 14:51:34] [873be88d67c17ca20f1ec7e5d8eb10d1] [Current]
Feedback Forum

Post a new message
Dataseries X:
8.9	95.05
8.8	96.84
8.3	96.92
7.5	97.44
7.2	97.78
7.4	97.69
8.8	96.67
9.3	98.29
9.3	98.2
8.7	98.71
8.2	98.54
8.3	98.2
8.5	96.92
8.6	99.06
8.5	99.65
8.2	99.82
8.1	99.99
7.9	100.33
8.6	99.31
8.7	101.1
8.7	101.1
8.5	100.93
8.4	100.85
8.5	100.93
8.7	99.6
8.7	101.88
8.6	101.81
8.5	102.38
8.3	102.74
8	102.82
8.2	101.72
8.1	103.47
8.1	102.98
8	102.68
7.9	102.9
7.9	103.03
8	101.29
8	103.69
7.9	103.68
8	104.2
7.7	104.08
7.2	104.16
7.5	103.05
7.3	104.66
7	104.46
7	104.95
7	105.85
7.2	106.23
7.3	104.86
7.1	107.44
6.8	108.23
6.4	108.45
6.1	109.39
6.5	110.15
7.7	109.13
7.9	110.28
7.5	110.17
6.9	109.99
6.6	109.26
6.9	109.11




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

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







Multiple Linear Regression - Estimated Regression Equation
Werkloosheidsgraad[t] = + 12.6232166151388 -0.0390651995205026Consumptieprijs[t] + 0.114912150907034M1[t] + 0.185116969233002M2[t] -0.00132413390026129M3[t] -0.262921152292983M4[t] -0.466940213055976M5[t] -0.515022054569101M6[t] + 0.226580126935367M7[t] + 0.41123630477492M8[t] + 0.287059601059348M9[t] + 0.0125710668248607M10[t] -0.163558205789488M11[t] -0.0227769017990774t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Werkloosheidsgraad[t] =  +  12.6232166151388 -0.0390651995205026Consumptieprijs[t] +  0.114912150907034M1[t] +  0.185116969233002M2[t] -0.00132413390026129M3[t] -0.262921152292983M4[t] -0.466940213055976M5[t] -0.515022054569101M6[t] +  0.226580126935367M7[t] +  0.41123630477492M8[t] +  0.287059601059348M9[t] +  0.0125710668248607M10[t] -0.163558205789488M11[t] -0.0227769017990774t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57463&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Werkloosheidsgraad[t] =  +  12.6232166151388 -0.0390651995205026Consumptieprijs[t] +  0.114912150907034M1[t] +  0.185116969233002M2[t] -0.00132413390026129M3[t] -0.262921152292983M4[t] -0.466940213055976M5[t] -0.515022054569101M6[t] +  0.226580126935367M7[t] +  0.41123630477492M8[t] +  0.287059601059348M9[t] +  0.0125710668248607M10[t] -0.163558205789488M11[t] -0.0227769017990774t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57463&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57463&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
Werkloosheidsgraad[t] = + 12.6232166151388 -0.0390651995205026Consumptieprijs[t] + 0.114912150907034M1[t] + 0.185116969233002M2[t] -0.00132413390026129M3[t] -0.262921152292983M4[t] -0.466940213055976M5[t] -0.515022054569101M6[t] + 0.226580126935367M7[t] + 0.41123630477492M8[t] + 0.287059601059348M9[t] + 0.0125710668248607M10[t] -0.163558205789488M11[t] -0.0227769017990774t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)12.62321661513887.4945611.68430.0988950.049448
Consumptieprijs-0.03906519952050260.078488-0.49770.6210520.310526
M10.1149121509070340.3190370.36020.7203580.360179
M20.1851169692330020.2991460.61880.5390890.269544
M3-0.001324133900261290.299335-0.00440.996490.498245
M4-0.2629211522929830.301371-0.87240.3875120.193756
M5-0.4669402130559760.302935-1.54140.1300750.065037
M6-0.5150220545691010.302843-1.70060.0957660.047883
M70.2265801269353670.2964380.76430.4485660.224283
M80.411236304774920.3039541.3530.1826820.091341
M90.2870596010593480.2975910.96460.3397840.169892
M100.01257106682486070.2959610.04250.9663040.483152
M11-0.1635582057894880.294662-0.55510.5815360.290768
t-0.02277690179907740.017935-1.270.210470.105235

\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) & 12.6232166151388 & 7.494561 & 1.6843 & 0.098895 & 0.049448 \tabularnewline
Consumptieprijs & -0.0390651995205026 & 0.078488 & -0.4977 & 0.621052 & 0.310526 \tabularnewline
M1 & 0.114912150907034 & 0.319037 & 0.3602 & 0.720358 & 0.360179 \tabularnewline
M2 & 0.185116969233002 & 0.299146 & 0.6188 & 0.539089 & 0.269544 \tabularnewline
M3 & -0.00132413390026129 & 0.299335 & -0.0044 & 0.99649 & 0.498245 \tabularnewline
M4 & -0.262921152292983 & 0.301371 & -0.8724 & 0.387512 & 0.193756 \tabularnewline
M5 & -0.466940213055976 & 0.302935 & -1.5414 & 0.130075 & 0.065037 \tabularnewline
M6 & -0.515022054569101 & 0.302843 & -1.7006 & 0.095766 & 0.047883 \tabularnewline
M7 & 0.226580126935367 & 0.296438 & 0.7643 & 0.448566 & 0.224283 \tabularnewline
M8 & 0.41123630477492 & 0.303954 & 1.353 & 0.182682 & 0.091341 \tabularnewline
M9 & 0.287059601059348 & 0.297591 & 0.9646 & 0.339784 & 0.169892 \tabularnewline
M10 & 0.0125710668248607 & 0.295961 & 0.0425 & 0.966304 & 0.483152 \tabularnewline
M11 & -0.163558205789488 & 0.294662 & -0.5551 & 0.581536 & 0.290768 \tabularnewline
t & -0.0227769017990774 & 0.017935 & -1.27 & 0.21047 & 0.105235 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57463&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]12.6232166151388[/C][C]7.494561[/C][C]1.6843[/C][C]0.098895[/C][C]0.049448[/C][/ROW]
[ROW][C]Consumptieprijs[/C][C]-0.0390651995205026[/C][C]0.078488[/C][C]-0.4977[/C][C]0.621052[/C][C]0.310526[/C][/ROW]
[ROW][C]M1[/C][C]0.114912150907034[/C][C]0.319037[/C][C]0.3602[/C][C]0.720358[/C][C]0.360179[/C][/ROW]
[ROW][C]M2[/C][C]0.185116969233002[/C][C]0.299146[/C][C]0.6188[/C][C]0.539089[/C][C]0.269544[/C][/ROW]
[ROW][C]M3[/C][C]-0.00132413390026129[/C][C]0.299335[/C][C]-0.0044[/C][C]0.99649[/C][C]0.498245[/C][/ROW]
[ROW][C]M4[/C][C]-0.262921152292983[/C][C]0.301371[/C][C]-0.8724[/C][C]0.387512[/C][C]0.193756[/C][/ROW]
[ROW][C]M5[/C][C]-0.466940213055976[/C][C]0.302935[/C][C]-1.5414[/C][C]0.130075[/C][C]0.065037[/C][/ROW]
[ROW][C]M6[/C][C]-0.515022054569101[/C][C]0.302843[/C][C]-1.7006[/C][C]0.095766[/C][C]0.047883[/C][/ROW]
[ROW][C]M7[/C][C]0.226580126935367[/C][C]0.296438[/C][C]0.7643[/C][C]0.448566[/C][C]0.224283[/C][/ROW]
[ROW][C]M8[/C][C]0.41123630477492[/C][C]0.303954[/C][C]1.353[/C][C]0.182682[/C][C]0.091341[/C][/ROW]
[ROW][C]M9[/C][C]0.287059601059348[/C][C]0.297591[/C][C]0.9646[/C][C]0.339784[/C][C]0.169892[/C][/ROW]
[ROW][C]M10[/C][C]0.0125710668248607[/C][C]0.295961[/C][C]0.0425[/C][C]0.966304[/C][C]0.483152[/C][/ROW]
[ROW][C]M11[/C][C]-0.163558205789488[/C][C]0.294662[/C][C]-0.5551[/C][C]0.581536[/C][C]0.290768[/C][/ROW]
[ROW][C]t[/C][C]-0.0227769017990774[/C][C]0.017935[/C][C]-1.27[/C][C]0.21047[/C][C]0.105235[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57463&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57463&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)12.62321661513887.4945611.68430.0988950.049448
Consumptieprijs-0.03906519952050260.078488-0.49770.6210520.310526
M10.1149121509070340.3190370.36020.7203580.360179
M20.1851169692330020.2991460.61880.5390890.269544
M3-0.001324133900261290.299335-0.00440.996490.498245
M4-0.2629211522929830.301371-0.87240.3875120.193756
M5-0.4669402130559760.302935-1.54140.1300750.065037
M6-0.5150220545691010.302843-1.70060.0957660.047883
M70.2265801269353670.2964380.76430.4485660.224283
M80.411236304774920.3039541.3530.1826820.091341
M90.2870596010593480.2975910.96460.3397840.169892
M100.01257106682486070.2959610.04250.9663040.483152
M11-0.1635582057894880.294662-0.55510.5815360.290768
t-0.02277690179907740.017935-1.270.210470.105235







Multiple Linear Regression - Regression Statistics
Multiple R0.833448099496925
R-squared0.694635734555036
Adjusted R-squared0.60833713779885
F-TEST (value)8.04921239354042
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value4.6478183413079e-08
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.465180206988506
Sum Squared Residuals9.95406074879798

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.833448099496925 \tabularnewline
R-squared & 0.694635734555036 \tabularnewline
Adjusted R-squared & 0.60833713779885 \tabularnewline
F-TEST (value) & 8.04921239354042 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 4.6478183413079e-08 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.465180206988506 \tabularnewline
Sum Squared Residuals & 9.95406074879798 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57463&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.833448099496925[/C][/ROW]
[ROW][C]R-squared[/C][C]0.694635734555036[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.60833713779885[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]8.04921239354042[/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]4.6478183413079e-08[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.465180206988506[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]9.95406074879798[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57463&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57463&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.833448099496925
R-squared0.694635734555036
Adjusted R-squared0.60833713779885
F-TEST (value)8.04921239354042
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value4.6478183413079e-08
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.465180206988506
Sum Squared Residuals9.95406074879798







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
18.99.00220464982302-0.102204649823021
28.88.97970585920818-0.179705859208180
38.38.7673626383142-0.467362638314199
47.58.46267481437174-0.962674814371738
57.28.2225966839727-1.02259668397270
67.48.15525380861734-0.755253808617341
78.88.91392559183364-0.113925591833643
89.39.01251924465090.287480755349095
99.38.86908150709310.4309184929069
108.78.551892819304080.148107180695919
118.28.35962772880914-0.159627728809140
128.38.51369120063652-0.213691200636520
138.58.65582990513072-0.155829905130721
148.68.61965829468374-0.0196582946837365
158.58.38739182203430.112608177965701
168.28.096376817924010.103623182075985
178.17.862939771443460.237060228556541
187.97.778798860294290.121201139705715
198.68.537470643510590.0625293564894112
208.78.629423212409370.0705767875906342
218.78.482469606894720.217530393105284
228.58.191845254779640.308154745220364
238.47.996064296327850.40393570367215
248.58.133720384356620.366279615643380
258.78.277812348826850.422187651173153
268.78.236171610446990.463828389553009
278.68.029688169481090.570311830518915
288.57.72304708556260.7769529144374
298.37.482187651173150.817812348826852
3087.40820369189930.591796308100694
318.28.170000691077250.0299993089227506
328.18.26351586795685-0.163515867956846
338.18.13570421020724-0.0357042102072422
3487.850158334029830.149841665970172
357.97.642657815721890.257342184278109
367.97.778360643774640.121639356225364
3787.938469340048270.0615306599517327
3887.892140777725950.107859222274048
397.97.683313424788820.216686575211184
4087.378625600846360.621374399153644
417.77.156517462226750.543482537773254
427.27.08253350295290.117466497047096
437.57.84472115412605-0.344721154126052
447.37.94370545893852-0.643705458938519
4577.80456489332797-0.80456489332797
4677.48815750952936-0.488157509529358
4777.25409265554748-0.254092655547481
487.27.3800291837201-0.180029183720100
497.37.52568375617115-0.225683756171145
507.17.47232345793514-0.372323457935139
516.87.2322439453816-0.432243945381602
526.46.93927568129529-0.539275681295291
536.16.67575843118395-0.575758431183949
546.56.57521013623616-0.0752101362361645
557.77.333881919452470.366118080547532
567.97.450836216044370.449163783955635
577.57.308179782476970.191820217523029
586.97.0179460823571-0.117946082357097
596.66.84755750359364-0.247557503593638
606.96.99419858751212-0.0941985875121235

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 8.9 & 9.00220464982302 & -0.102204649823021 \tabularnewline
2 & 8.8 & 8.97970585920818 & -0.179705859208180 \tabularnewline
3 & 8.3 & 8.7673626383142 & -0.467362638314199 \tabularnewline
4 & 7.5 & 8.46267481437174 & -0.962674814371738 \tabularnewline
5 & 7.2 & 8.2225966839727 & -1.02259668397270 \tabularnewline
6 & 7.4 & 8.15525380861734 & -0.755253808617341 \tabularnewline
7 & 8.8 & 8.91392559183364 & -0.113925591833643 \tabularnewline
8 & 9.3 & 9.0125192446509 & 0.287480755349095 \tabularnewline
9 & 9.3 & 8.8690815070931 & 0.4309184929069 \tabularnewline
10 & 8.7 & 8.55189281930408 & 0.148107180695919 \tabularnewline
11 & 8.2 & 8.35962772880914 & -0.159627728809140 \tabularnewline
12 & 8.3 & 8.51369120063652 & -0.213691200636520 \tabularnewline
13 & 8.5 & 8.65582990513072 & -0.155829905130721 \tabularnewline
14 & 8.6 & 8.61965829468374 & -0.0196582946837365 \tabularnewline
15 & 8.5 & 8.3873918220343 & 0.112608177965701 \tabularnewline
16 & 8.2 & 8.09637681792401 & 0.103623182075985 \tabularnewline
17 & 8.1 & 7.86293977144346 & 0.237060228556541 \tabularnewline
18 & 7.9 & 7.77879886029429 & 0.121201139705715 \tabularnewline
19 & 8.6 & 8.53747064351059 & 0.0625293564894112 \tabularnewline
20 & 8.7 & 8.62942321240937 & 0.0705767875906342 \tabularnewline
21 & 8.7 & 8.48246960689472 & 0.217530393105284 \tabularnewline
22 & 8.5 & 8.19184525477964 & 0.308154745220364 \tabularnewline
23 & 8.4 & 7.99606429632785 & 0.40393570367215 \tabularnewline
24 & 8.5 & 8.13372038435662 & 0.366279615643380 \tabularnewline
25 & 8.7 & 8.27781234882685 & 0.422187651173153 \tabularnewline
26 & 8.7 & 8.23617161044699 & 0.463828389553009 \tabularnewline
27 & 8.6 & 8.02968816948109 & 0.570311830518915 \tabularnewline
28 & 8.5 & 7.7230470855626 & 0.7769529144374 \tabularnewline
29 & 8.3 & 7.48218765117315 & 0.817812348826852 \tabularnewline
30 & 8 & 7.4082036918993 & 0.591796308100694 \tabularnewline
31 & 8.2 & 8.17000069107725 & 0.0299993089227506 \tabularnewline
32 & 8.1 & 8.26351586795685 & -0.163515867956846 \tabularnewline
33 & 8.1 & 8.13570421020724 & -0.0357042102072422 \tabularnewline
34 & 8 & 7.85015833402983 & 0.149841665970172 \tabularnewline
35 & 7.9 & 7.64265781572189 & 0.257342184278109 \tabularnewline
36 & 7.9 & 7.77836064377464 & 0.121639356225364 \tabularnewline
37 & 8 & 7.93846934004827 & 0.0615306599517327 \tabularnewline
38 & 8 & 7.89214077772595 & 0.107859222274048 \tabularnewline
39 & 7.9 & 7.68331342478882 & 0.216686575211184 \tabularnewline
40 & 8 & 7.37862560084636 & 0.621374399153644 \tabularnewline
41 & 7.7 & 7.15651746222675 & 0.543482537773254 \tabularnewline
42 & 7.2 & 7.0825335029529 & 0.117466497047096 \tabularnewline
43 & 7.5 & 7.84472115412605 & -0.344721154126052 \tabularnewline
44 & 7.3 & 7.94370545893852 & -0.643705458938519 \tabularnewline
45 & 7 & 7.80456489332797 & -0.80456489332797 \tabularnewline
46 & 7 & 7.48815750952936 & -0.488157509529358 \tabularnewline
47 & 7 & 7.25409265554748 & -0.254092655547481 \tabularnewline
48 & 7.2 & 7.3800291837201 & -0.180029183720100 \tabularnewline
49 & 7.3 & 7.52568375617115 & -0.225683756171145 \tabularnewline
50 & 7.1 & 7.47232345793514 & -0.372323457935139 \tabularnewline
51 & 6.8 & 7.2322439453816 & -0.432243945381602 \tabularnewline
52 & 6.4 & 6.93927568129529 & -0.539275681295291 \tabularnewline
53 & 6.1 & 6.67575843118395 & -0.575758431183949 \tabularnewline
54 & 6.5 & 6.57521013623616 & -0.0752101362361645 \tabularnewline
55 & 7.7 & 7.33388191945247 & 0.366118080547532 \tabularnewline
56 & 7.9 & 7.45083621604437 & 0.449163783955635 \tabularnewline
57 & 7.5 & 7.30817978247697 & 0.191820217523029 \tabularnewline
58 & 6.9 & 7.0179460823571 & -0.117946082357097 \tabularnewline
59 & 6.6 & 6.84755750359364 & -0.247557503593638 \tabularnewline
60 & 6.9 & 6.99419858751212 & -0.0941985875121235 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57463&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]8.9[/C][C]9.00220464982302[/C][C]-0.102204649823021[/C][/ROW]
[ROW][C]2[/C][C]8.8[/C][C]8.97970585920818[/C][C]-0.179705859208180[/C][/ROW]
[ROW][C]3[/C][C]8.3[/C][C]8.7673626383142[/C][C]-0.467362638314199[/C][/ROW]
[ROW][C]4[/C][C]7.5[/C][C]8.46267481437174[/C][C]-0.962674814371738[/C][/ROW]
[ROW][C]5[/C][C]7.2[/C][C]8.2225966839727[/C][C]-1.02259668397270[/C][/ROW]
[ROW][C]6[/C][C]7.4[/C][C]8.15525380861734[/C][C]-0.755253808617341[/C][/ROW]
[ROW][C]7[/C][C]8.8[/C][C]8.91392559183364[/C][C]-0.113925591833643[/C][/ROW]
[ROW][C]8[/C][C]9.3[/C][C]9.0125192446509[/C][C]0.287480755349095[/C][/ROW]
[ROW][C]9[/C][C]9.3[/C][C]8.8690815070931[/C][C]0.4309184929069[/C][/ROW]
[ROW][C]10[/C][C]8.7[/C][C]8.55189281930408[/C][C]0.148107180695919[/C][/ROW]
[ROW][C]11[/C][C]8.2[/C][C]8.35962772880914[/C][C]-0.159627728809140[/C][/ROW]
[ROW][C]12[/C][C]8.3[/C][C]8.51369120063652[/C][C]-0.213691200636520[/C][/ROW]
[ROW][C]13[/C][C]8.5[/C][C]8.65582990513072[/C][C]-0.155829905130721[/C][/ROW]
[ROW][C]14[/C][C]8.6[/C][C]8.61965829468374[/C][C]-0.0196582946837365[/C][/ROW]
[ROW][C]15[/C][C]8.5[/C][C]8.3873918220343[/C][C]0.112608177965701[/C][/ROW]
[ROW][C]16[/C][C]8.2[/C][C]8.09637681792401[/C][C]0.103623182075985[/C][/ROW]
[ROW][C]17[/C][C]8.1[/C][C]7.86293977144346[/C][C]0.237060228556541[/C][/ROW]
[ROW][C]18[/C][C]7.9[/C][C]7.77879886029429[/C][C]0.121201139705715[/C][/ROW]
[ROW][C]19[/C][C]8.6[/C][C]8.53747064351059[/C][C]0.0625293564894112[/C][/ROW]
[ROW][C]20[/C][C]8.7[/C][C]8.62942321240937[/C][C]0.0705767875906342[/C][/ROW]
[ROW][C]21[/C][C]8.7[/C][C]8.48246960689472[/C][C]0.217530393105284[/C][/ROW]
[ROW][C]22[/C][C]8.5[/C][C]8.19184525477964[/C][C]0.308154745220364[/C][/ROW]
[ROW][C]23[/C][C]8.4[/C][C]7.99606429632785[/C][C]0.40393570367215[/C][/ROW]
[ROW][C]24[/C][C]8.5[/C][C]8.13372038435662[/C][C]0.366279615643380[/C][/ROW]
[ROW][C]25[/C][C]8.7[/C][C]8.27781234882685[/C][C]0.422187651173153[/C][/ROW]
[ROW][C]26[/C][C]8.7[/C][C]8.23617161044699[/C][C]0.463828389553009[/C][/ROW]
[ROW][C]27[/C][C]8.6[/C][C]8.02968816948109[/C][C]0.570311830518915[/C][/ROW]
[ROW][C]28[/C][C]8.5[/C][C]7.7230470855626[/C][C]0.7769529144374[/C][/ROW]
[ROW][C]29[/C][C]8.3[/C][C]7.48218765117315[/C][C]0.817812348826852[/C][/ROW]
[ROW][C]30[/C][C]8[/C][C]7.4082036918993[/C][C]0.591796308100694[/C][/ROW]
[ROW][C]31[/C][C]8.2[/C][C]8.17000069107725[/C][C]0.0299993089227506[/C][/ROW]
[ROW][C]32[/C][C]8.1[/C][C]8.26351586795685[/C][C]-0.163515867956846[/C][/ROW]
[ROW][C]33[/C][C]8.1[/C][C]8.13570421020724[/C][C]-0.0357042102072422[/C][/ROW]
[ROW][C]34[/C][C]8[/C][C]7.85015833402983[/C][C]0.149841665970172[/C][/ROW]
[ROW][C]35[/C][C]7.9[/C][C]7.64265781572189[/C][C]0.257342184278109[/C][/ROW]
[ROW][C]36[/C][C]7.9[/C][C]7.77836064377464[/C][C]0.121639356225364[/C][/ROW]
[ROW][C]37[/C][C]8[/C][C]7.93846934004827[/C][C]0.0615306599517327[/C][/ROW]
[ROW][C]38[/C][C]8[/C][C]7.89214077772595[/C][C]0.107859222274048[/C][/ROW]
[ROW][C]39[/C][C]7.9[/C][C]7.68331342478882[/C][C]0.216686575211184[/C][/ROW]
[ROW][C]40[/C][C]8[/C][C]7.37862560084636[/C][C]0.621374399153644[/C][/ROW]
[ROW][C]41[/C][C]7.7[/C][C]7.15651746222675[/C][C]0.543482537773254[/C][/ROW]
[ROW][C]42[/C][C]7.2[/C][C]7.0825335029529[/C][C]0.117466497047096[/C][/ROW]
[ROW][C]43[/C][C]7.5[/C][C]7.84472115412605[/C][C]-0.344721154126052[/C][/ROW]
[ROW][C]44[/C][C]7.3[/C][C]7.94370545893852[/C][C]-0.643705458938519[/C][/ROW]
[ROW][C]45[/C][C]7[/C][C]7.80456489332797[/C][C]-0.80456489332797[/C][/ROW]
[ROW][C]46[/C][C]7[/C][C]7.48815750952936[/C][C]-0.488157509529358[/C][/ROW]
[ROW][C]47[/C][C]7[/C][C]7.25409265554748[/C][C]-0.254092655547481[/C][/ROW]
[ROW][C]48[/C][C]7.2[/C][C]7.3800291837201[/C][C]-0.180029183720100[/C][/ROW]
[ROW][C]49[/C][C]7.3[/C][C]7.52568375617115[/C][C]-0.225683756171145[/C][/ROW]
[ROW][C]50[/C][C]7.1[/C][C]7.47232345793514[/C][C]-0.372323457935139[/C][/ROW]
[ROW][C]51[/C][C]6.8[/C][C]7.2322439453816[/C][C]-0.432243945381602[/C][/ROW]
[ROW][C]52[/C][C]6.4[/C][C]6.93927568129529[/C][C]-0.539275681295291[/C][/ROW]
[ROW][C]53[/C][C]6.1[/C][C]6.67575843118395[/C][C]-0.575758431183949[/C][/ROW]
[ROW][C]54[/C][C]6.5[/C][C]6.57521013623616[/C][C]-0.0752101362361645[/C][/ROW]
[ROW][C]55[/C][C]7.7[/C][C]7.33388191945247[/C][C]0.366118080547532[/C][/ROW]
[ROW][C]56[/C][C]7.9[/C][C]7.45083621604437[/C][C]0.449163783955635[/C][/ROW]
[ROW][C]57[/C][C]7.5[/C][C]7.30817978247697[/C][C]0.191820217523029[/C][/ROW]
[ROW][C]58[/C][C]6.9[/C][C]7.0179460823571[/C][C]-0.117946082357097[/C][/ROW]
[ROW][C]59[/C][C]6.6[/C][C]6.84755750359364[/C][C]-0.247557503593638[/C][/ROW]
[ROW][C]60[/C][C]6.9[/C][C]6.99419858751212[/C][C]-0.0941985875121235[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57463&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57463&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
18.99.00220464982302-0.102204649823021
28.88.97970585920818-0.179705859208180
38.38.7673626383142-0.467362638314199
47.58.46267481437174-0.962674814371738
57.28.2225966839727-1.02259668397270
67.48.15525380861734-0.755253808617341
78.88.91392559183364-0.113925591833643
89.39.01251924465090.287480755349095
99.38.86908150709310.4309184929069
108.78.551892819304080.148107180695919
118.28.35962772880914-0.159627728809140
128.38.51369120063652-0.213691200636520
138.58.65582990513072-0.155829905130721
148.68.61965829468374-0.0196582946837365
158.58.38739182203430.112608177965701
168.28.096376817924010.103623182075985
178.17.862939771443460.237060228556541
187.97.778798860294290.121201139705715
198.68.537470643510590.0625293564894112
208.78.629423212409370.0705767875906342
218.78.482469606894720.217530393105284
228.58.191845254779640.308154745220364
238.47.996064296327850.40393570367215
248.58.133720384356620.366279615643380
258.78.277812348826850.422187651173153
268.78.236171610446990.463828389553009
278.68.029688169481090.570311830518915
288.57.72304708556260.7769529144374
298.37.482187651173150.817812348826852
3087.40820369189930.591796308100694
318.28.170000691077250.0299993089227506
328.18.26351586795685-0.163515867956846
338.18.13570421020724-0.0357042102072422
3487.850158334029830.149841665970172
357.97.642657815721890.257342184278109
367.97.778360643774640.121639356225364
3787.938469340048270.0615306599517327
3887.892140777725950.107859222274048
397.97.683313424788820.216686575211184
4087.378625600846360.621374399153644
417.77.156517462226750.543482537773254
427.27.08253350295290.117466497047096
437.57.84472115412605-0.344721154126052
447.37.94370545893852-0.643705458938519
4577.80456489332797-0.80456489332797
4677.48815750952936-0.488157509529358
4777.25409265554748-0.254092655547481
487.27.3800291837201-0.180029183720100
497.37.52568375617115-0.225683756171145
507.17.47232345793514-0.372323457935139
516.87.2322439453816-0.432243945381602
526.46.93927568129529-0.539275681295291
536.16.67575843118395-0.575758431183949
546.56.57521013623616-0.0752101362361645
557.77.333881919452470.366118080547532
567.97.450836216044370.449163783955635
577.57.308179782476970.191820217523029
586.97.0179460823571-0.117946082357097
596.66.84755750359364-0.247557503593638
606.96.99419858751212-0.0941985875121235







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.7143129030411020.5713741939177970.285687096958898
180.5848276917306430.8303446165387140.415172308269357
190.614451990084190.771096019831620.38554800991581
200.7209924673347760.5580150653304480.279007532665224
210.6972468140803460.6055063718393080.302753185919654
220.617069311627980.765861376744040.38293068837202
230.5113187990384980.9773624019230030.488681200961502
240.4262935680361810.8525871360723620.573706431963819
250.3246223820495540.6492447640991070.675377617950446
260.2334179144907060.4668358289814130.766582085509294
270.1652121825132710.3304243650265410.83478781748673
280.1751978940566620.3503957881133240.824802105943338
290.1792483713136470.3584967426272930.820751628686353
300.1283115523195150.256623104639030.871688447680485
310.1525595940656850.3051191881313690.847440405934315
320.2785401250520310.5570802501040610.72145987494797
330.3327852505642780.6655705011285570.667214749435722
340.2590615987768880.5181231975537760.740938401223112
350.1843196627418430.3686393254836860.815680337258157
360.1417439488061260.2834878976122510.858256051193874
370.09263630019781550.1852726003956310.907363699802185
380.06093603289688980.1218720657937800.93906396710311
390.04523795608144980.09047591216289970.95476204391855
400.09368757645331780.1873751529066360.906312423546682
410.5338435644225280.9323128711549440.466156435577472
420.9120581163019630.1758837673960750.0879418836980374
430.8765100663951190.2469798672097630.123489933604881

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.714312903041102 & 0.571374193917797 & 0.285687096958898 \tabularnewline
18 & 0.584827691730643 & 0.830344616538714 & 0.415172308269357 \tabularnewline
19 & 0.61445199008419 & 0.77109601983162 & 0.38554800991581 \tabularnewline
20 & 0.720992467334776 & 0.558015065330448 & 0.279007532665224 \tabularnewline
21 & 0.697246814080346 & 0.605506371839308 & 0.302753185919654 \tabularnewline
22 & 0.61706931162798 & 0.76586137674404 & 0.38293068837202 \tabularnewline
23 & 0.511318799038498 & 0.977362401923003 & 0.488681200961502 \tabularnewline
24 & 0.426293568036181 & 0.852587136072362 & 0.573706431963819 \tabularnewline
25 & 0.324622382049554 & 0.649244764099107 & 0.675377617950446 \tabularnewline
26 & 0.233417914490706 & 0.466835828981413 & 0.766582085509294 \tabularnewline
27 & 0.165212182513271 & 0.330424365026541 & 0.83478781748673 \tabularnewline
28 & 0.175197894056662 & 0.350395788113324 & 0.824802105943338 \tabularnewline
29 & 0.179248371313647 & 0.358496742627293 & 0.820751628686353 \tabularnewline
30 & 0.128311552319515 & 0.25662310463903 & 0.871688447680485 \tabularnewline
31 & 0.152559594065685 & 0.305119188131369 & 0.847440405934315 \tabularnewline
32 & 0.278540125052031 & 0.557080250104061 & 0.72145987494797 \tabularnewline
33 & 0.332785250564278 & 0.665570501128557 & 0.667214749435722 \tabularnewline
34 & 0.259061598776888 & 0.518123197553776 & 0.740938401223112 \tabularnewline
35 & 0.184319662741843 & 0.368639325483686 & 0.815680337258157 \tabularnewline
36 & 0.141743948806126 & 0.283487897612251 & 0.858256051193874 \tabularnewline
37 & 0.0926363001978155 & 0.185272600395631 & 0.907363699802185 \tabularnewline
38 & 0.0609360328968898 & 0.121872065793780 & 0.93906396710311 \tabularnewline
39 & 0.0452379560814498 & 0.0904759121628997 & 0.95476204391855 \tabularnewline
40 & 0.0936875764533178 & 0.187375152906636 & 0.906312423546682 \tabularnewline
41 & 0.533843564422528 & 0.932312871154944 & 0.466156435577472 \tabularnewline
42 & 0.912058116301963 & 0.175883767396075 & 0.0879418836980374 \tabularnewline
43 & 0.876510066395119 & 0.246979867209763 & 0.123489933604881 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57463&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.714312903041102[/C][C]0.571374193917797[/C][C]0.285687096958898[/C][/ROW]
[ROW][C]18[/C][C]0.584827691730643[/C][C]0.830344616538714[/C][C]0.415172308269357[/C][/ROW]
[ROW][C]19[/C][C]0.61445199008419[/C][C]0.77109601983162[/C][C]0.38554800991581[/C][/ROW]
[ROW][C]20[/C][C]0.720992467334776[/C][C]0.558015065330448[/C][C]0.279007532665224[/C][/ROW]
[ROW][C]21[/C][C]0.697246814080346[/C][C]0.605506371839308[/C][C]0.302753185919654[/C][/ROW]
[ROW][C]22[/C][C]0.61706931162798[/C][C]0.76586137674404[/C][C]0.38293068837202[/C][/ROW]
[ROW][C]23[/C][C]0.511318799038498[/C][C]0.977362401923003[/C][C]0.488681200961502[/C][/ROW]
[ROW][C]24[/C][C]0.426293568036181[/C][C]0.852587136072362[/C][C]0.573706431963819[/C][/ROW]
[ROW][C]25[/C][C]0.324622382049554[/C][C]0.649244764099107[/C][C]0.675377617950446[/C][/ROW]
[ROW][C]26[/C][C]0.233417914490706[/C][C]0.466835828981413[/C][C]0.766582085509294[/C][/ROW]
[ROW][C]27[/C][C]0.165212182513271[/C][C]0.330424365026541[/C][C]0.83478781748673[/C][/ROW]
[ROW][C]28[/C][C]0.175197894056662[/C][C]0.350395788113324[/C][C]0.824802105943338[/C][/ROW]
[ROW][C]29[/C][C]0.179248371313647[/C][C]0.358496742627293[/C][C]0.820751628686353[/C][/ROW]
[ROW][C]30[/C][C]0.128311552319515[/C][C]0.25662310463903[/C][C]0.871688447680485[/C][/ROW]
[ROW][C]31[/C][C]0.152559594065685[/C][C]0.305119188131369[/C][C]0.847440405934315[/C][/ROW]
[ROW][C]32[/C][C]0.278540125052031[/C][C]0.557080250104061[/C][C]0.72145987494797[/C][/ROW]
[ROW][C]33[/C][C]0.332785250564278[/C][C]0.665570501128557[/C][C]0.667214749435722[/C][/ROW]
[ROW][C]34[/C][C]0.259061598776888[/C][C]0.518123197553776[/C][C]0.740938401223112[/C][/ROW]
[ROW][C]35[/C][C]0.184319662741843[/C][C]0.368639325483686[/C][C]0.815680337258157[/C][/ROW]
[ROW][C]36[/C][C]0.141743948806126[/C][C]0.283487897612251[/C][C]0.858256051193874[/C][/ROW]
[ROW][C]37[/C][C]0.0926363001978155[/C][C]0.185272600395631[/C][C]0.907363699802185[/C][/ROW]
[ROW][C]38[/C][C]0.0609360328968898[/C][C]0.121872065793780[/C][C]0.93906396710311[/C][/ROW]
[ROW][C]39[/C][C]0.0452379560814498[/C][C]0.0904759121628997[/C][C]0.95476204391855[/C][/ROW]
[ROW][C]40[/C][C]0.0936875764533178[/C][C]0.187375152906636[/C][C]0.906312423546682[/C][/ROW]
[ROW][C]41[/C][C]0.533843564422528[/C][C]0.932312871154944[/C][C]0.466156435577472[/C][/ROW]
[ROW][C]42[/C][C]0.912058116301963[/C][C]0.175883767396075[/C][C]0.0879418836980374[/C][/ROW]
[ROW][C]43[/C][C]0.876510066395119[/C][C]0.246979867209763[/C][C]0.123489933604881[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57463&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57463&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.7143129030411020.5713741939177970.285687096958898
180.5848276917306430.8303446165387140.415172308269357
190.614451990084190.771096019831620.38554800991581
200.7209924673347760.5580150653304480.279007532665224
210.6972468140803460.6055063718393080.302753185919654
220.617069311627980.765861376744040.38293068837202
230.5113187990384980.9773624019230030.488681200961502
240.4262935680361810.8525871360723620.573706431963819
250.3246223820495540.6492447640991070.675377617950446
260.2334179144907060.4668358289814130.766582085509294
270.1652121825132710.3304243650265410.83478781748673
280.1751978940566620.3503957881133240.824802105943338
290.1792483713136470.3584967426272930.820751628686353
300.1283115523195150.256623104639030.871688447680485
310.1525595940656850.3051191881313690.847440405934315
320.2785401250520310.5570802501040610.72145987494797
330.3327852505642780.6655705011285570.667214749435722
340.2590615987768880.5181231975537760.740938401223112
350.1843196627418430.3686393254836860.815680337258157
360.1417439488061260.2834878976122510.858256051193874
370.09263630019781550.1852726003956310.907363699802185
380.06093603289688980.1218720657937800.93906396710311
390.04523795608144980.09047591216289970.95476204391855
400.09368757645331780.1873751529066360.906312423546682
410.5338435644225280.9323128711549440.466156435577472
420.9120581163019630.1758837673960750.0879418836980374
430.8765100663951190.2469798672097630.123489933604881







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 level10.0370370370370370OK

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

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



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')
}