Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationSat, 04 Dec 2010 08:52:11 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/04/t12914526486pe2pbmkivhxuxj.htm/, Retrieved Sun, 05 May 2024 08:11:20 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=105047, Retrieved Sun, 05 May 2024 08:11:20 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact177
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Meervoudig regres...] [2010-11-26 11:15:52] [2960375a246cc0628590c95c4038a43c]
-       [Multiple Regression] [Regressiemodel 2] [2010-11-27 09:42:25] [62f7c80c4d96454bbd2b2b026ea9aad9]
-    D      [Multiple Regression] [review ws8] [2010-12-04 08:52:11] [cfd788255f1b1b5389e58d7f218c70bf] [Current]
Feedback Forum

Post a new message
Dataseries X:
19554.2	19691.6	0	16554.2	16198.9
15903.8	15930.7	0	19554.2	16554.2
18003.8	17444.6	0	15903.8	19554.2
18329.6	17699.4	0	18003.8	15903.8
16260.7	15189.8	0	18329.6	18003.8
14851.9	15672.7	0	16260.7	18329.6
18174.1	17180.8	0	14851.9	16260.7
18406.6	17664.9	0	18174.1	14851.9
18466.5	17862.9	0	18406.6	18174.1
16016.5	16162.3	0	18466.5	18406.6
17428.5	17463.6	0	16016.5	18466.5
17167.2	16772.1	0	17428.5	16016.5
19630	19106.9	0	17167.2	17428.5
17183.6	16721.3	0	19630	17167.2
18344.7	18161.3	0	17183.6	19630
19301.4	18509.9	0	18344.7	17183.6
18147.5	17802.7	0	19301.4	18344.7
16192.9	16409.9	0	18147.5	19301.4
18374.4	17967.7	0	16192.9	18147.5
20515.2	20286.6	0	18374.4	16192.9
18957.2	19537.3	0	20515.2	18374.4
16471.5	18021.9	0	18957.2	20515.2
18746.8	20194.3	0	16471.5	18957.2
19009.5	19049.6	0	18746.8	16471.5
19211.2	20244.7	0	19009.5	18746.8
20547.7	21473.3	0	19211.2	19009.5
19325.8	19673.6	0	20547.7	19211.2
20605.5	21053.2	0	19325.8	20547.7
20056.9	20159.5	0	20605.5	19325.8
16141.4	18203.6	0	20056.9	20605.5
20359.8	21289.5	0	16141.4	20056.9
19711.6	20432.3	1	20359.8	16141.4
15638.6	17180.4	1	19711.6	20359.8
14384.5	15816.8	1	15638.6	19711.6
13855.6	15071.8	1	14384.5	15638.6
14308.3	14521.1	1	13855.6	14384.5
15290.6	15668.8	1	14308.3	13855.6
14423.8	14346.9	1	15290.6	14308.3
13779.7	13881	1	14423.8	15290.6
15686.3	15465.9	1	13779.7	14423.8
14733.8	14238.2	1	15686.3	13779.7
12522.5	13557.7	1	14733.8	15686.3
16189.4	16127.6	1	12522.5	14733.8
16059.1	16793.9	1	16189.4	12522.5
16007.1	16014	1	16059.1	16189.4
15806.8	16867.9	1	16007.1	16059.1
15160	16014.6	0	15806.8	16007.1
15692.1	15878.6	0	15160	15806.8
18908.9	18664.9	0	15692.1	15160
16969.9	17962.5	0	18908.9	15692.1
16997.5	17332.7	0	16969.9	18908.9
19858.9	19542.1	0	16997.5	16969.9
17681.2	17203.6	0	19858.9	16997.5




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

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

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

As an alternative you can also use a QR Code:  

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

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time7 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
uitvoer[t] = + 5955.77107260798 + 0.900208484398036invoer[t] -867.895942836455crisis[t] -0.0883075849666572`y-1t`[t] -0.138612433670325`y-2t`[t] + 47.9932567530819M1[t] + 12.2726899811716M2[t] + 442.313077321896M3[t] + 699.792225468448M4[t] + 886.719663826503M5[t] -701.240818544068M6[t] + 326.178227477193M7[t] + 336.934312118696M8[t] + 477.992501240360M9[t] -333.713518950042M10[t] -664.563611004632M11[t] -16.2181101813024t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
uitvoer[t] =  +  5955.77107260798 +  0.900208484398036invoer[t] -867.895942836455crisis[t] -0.0883075849666572`y-1t`[t] -0.138612433670325`y-2t`[t] +  47.9932567530819M1[t] +  12.2726899811716M2[t] +  442.313077321896M3[t] +  699.792225468448M4[t] +  886.719663826503M5[t] -701.240818544068M6[t] +  326.178227477193M7[t] +  336.934312118696M8[t] +  477.992501240360M9[t] -333.713518950042M10[t] -664.563611004632M11[t] -16.2181101813024t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105047&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]uitvoer[t] =  +  5955.77107260798 +  0.900208484398036invoer[t] -867.895942836455crisis[t] -0.0883075849666572`y-1t`[t] -0.138612433670325`y-2t`[t] +  47.9932567530819M1[t] +  12.2726899811716M2[t] +  442.313077321896M3[t] +  699.792225468448M4[t] +  886.719663826503M5[t] -701.240818544068M6[t] +  326.178227477193M7[t] +  336.934312118696M8[t] +  477.992501240360M9[t] -333.713518950042M10[t] -664.563611004632M11[t] -16.2181101813024t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105047&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105047&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
uitvoer[t] = + 5955.77107260798 + 0.900208484398036invoer[t] -867.895942836455crisis[t] -0.0883075849666572`y-1t`[t] -0.138612433670325`y-2t`[t] + 47.9932567530819M1[t] + 12.2726899811716M2[t] + 442.313077321896M3[t] + 699.792225468448M4[t] + 886.719663826503M5[t] -701.240818544068M6[t] + 326.178227477193M7[t] + 336.934312118696M8[t] + 477.992501240360M9[t] -333.713518950042M10[t] -664.563611004632M11[t] -16.2181101813024t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)5955.77107260798846.1513167.038700
invoer0.9002084843980360.06033114.921100
crisis-867.895942836455195.974054-4.42868.5e-054.2e-05
`y-1t`-0.08830758496665720.059826-1.47610.1486150.074308
`y-2t`-0.1386124336703250.061502-2.25380.0303940.015197
M147.9932567530819278.2916260.17250.8640440.432022
M212.2726899811716275.3673360.04460.9646980.482349
M3442.313077321896290.4489531.52290.1365310.068265
M4699.792225468448264.8415372.64230.0121110.006055
M5886.719663826503288.6136523.07230.0040320.002016
M6-701.240818544068326.830462-2.14560.0387240.019362
M7326.178227477193314.4513231.03730.3065170.153258
M8336.934312118696342.1570350.98470.3313260.165663
M9477.992501240360316.0195541.51250.1391260.069563
M10-333.713518950042324.548101-1.02820.3106960.155348
M11-664.563611004632289.250609-2.29750.0275080.013754
t-16.21811018130244.361496-3.71850.000680.00034

\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) & 5955.77107260798 & 846.151316 & 7.0387 & 0 & 0 \tabularnewline
invoer & 0.900208484398036 & 0.060331 & 14.9211 & 0 & 0 \tabularnewline
crisis & -867.895942836455 & 195.974054 & -4.4286 & 8.5e-05 & 4.2e-05 \tabularnewline
`y-1t` & -0.0883075849666572 & 0.059826 & -1.4761 & 0.148615 & 0.074308 \tabularnewline
`y-2t` & -0.138612433670325 & 0.061502 & -2.2538 & 0.030394 & 0.015197 \tabularnewline
M1 & 47.9932567530819 & 278.291626 & 0.1725 & 0.864044 & 0.432022 \tabularnewline
M2 & 12.2726899811716 & 275.367336 & 0.0446 & 0.964698 & 0.482349 \tabularnewline
M3 & 442.313077321896 & 290.448953 & 1.5229 & 0.136531 & 0.068265 \tabularnewline
M4 & 699.792225468448 & 264.841537 & 2.6423 & 0.012111 & 0.006055 \tabularnewline
M5 & 886.719663826503 & 288.613652 & 3.0723 & 0.004032 & 0.002016 \tabularnewline
M6 & -701.240818544068 & 326.830462 & -2.1456 & 0.038724 & 0.019362 \tabularnewline
M7 & 326.178227477193 & 314.451323 & 1.0373 & 0.306517 & 0.153258 \tabularnewline
M8 & 336.934312118696 & 342.157035 & 0.9847 & 0.331326 & 0.165663 \tabularnewline
M9 & 477.992501240360 & 316.019554 & 1.5125 & 0.139126 & 0.069563 \tabularnewline
M10 & -333.713518950042 & 324.548101 & -1.0282 & 0.310696 & 0.155348 \tabularnewline
M11 & -664.563611004632 & 289.250609 & -2.2975 & 0.027508 & 0.013754 \tabularnewline
t & -16.2181101813024 & 4.361496 & -3.7185 & 0.00068 & 0.00034 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105047&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]5955.77107260798[/C][C]846.151316[/C][C]7.0387[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]invoer[/C][C]0.900208484398036[/C][C]0.060331[/C][C]14.9211[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]crisis[/C][C]-867.895942836455[/C][C]195.974054[/C][C]-4.4286[/C][C]8.5e-05[/C][C]4.2e-05[/C][/ROW]
[ROW][C]`y-1t`[/C][C]-0.0883075849666572[/C][C]0.059826[/C][C]-1.4761[/C][C]0.148615[/C][C]0.074308[/C][/ROW]
[ROW][C]`y-2t`[/C][C]-0.138612433670325[/C][C]0.061502[/C][C]-2.2538[/C][C]0.030394[/C][C]0.015197[/C][/ROW]
[ROW][C]M1[/C][C]47.9932567530819[/C][C]278.291626[/C][C]0.1725[/C][C]0.864044[/C][C]0.432022[/C][/ROW]
[ROW][C]M2[/C][C]12.2726899811716[/C][C]275.367336[/C][C]0.0446[/C][C]0.964698[/C][C]0.482349[/C][/ROW]
[ROW][C]M3[/C][C]442.313077321896[/C][C]290.448953[/C][C]1.5229[/C][C]0.136531[/C][C]0.068265[/C][/ROW]
[ROW][C]M4[/C][C]699.792225468448[/C][C]264.841537[/C][C]2.6423[/C][C]0.012111[/C][C]0.006055[/C][/ROW]
[ROW][C]M5[/C][C]886.719663826503[/C][C]288.613652[/C][C]3.0723[/C][C]0.004032[/C][C]0.002016[/C][/ROW]
[ROW][C]M6[/C][C]-701.240818544068[/C][C]326.830462[/C][C]-2.1456[/C][C]0.038724[/C][C]0.019362[/C][/ROW]
[ROW][C]M7[/C][C]326.178227477193[/C][C]314.451323[/C][C]1.0373[/C][C]0.306517[/C][C]0.153258[/C][/ROW]
[ROW][C]M8[/C][C]336.934312118696[/C][C]342.157035[/C][C]0.9847[/C][C]0.331326[/C][C]0.165663[/C][/ROW]
[ROW][C]M9[/C][C]477.992501240360[/C][C]316.019554[/C][C]1.5125[/C][C]0.139126[/C][C]0.069563[/C][/ROW]
[ROW][C]M10[/C][C]-333.713518950042[/C][C]324.548101[/C][C]-1.0282[/C][C]0.310696[/C][C]0.155348[/C][/ROW]
[ROW][C]M11[/C][C]-664.563611004632[/C][C]289.250609[/C][C]-2.2975[/C][C]0.027508[/C][C]0.013754[/C][/ROW]
[ROW][C]t[/C][C]-16.2181101813024[/C][C]4.361496[/C][C]-3.7185[/C][C]0.00068[/C][C]0.00034[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105047&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105047&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)5955.77107260798846.1513167.038700
invoer0.9002084843980360.06033114.921100
crisis-867.895942836455195.974054-4.42868.5e-054.2e-05
`y-1t`-0.08830758496665720.059826-1.47610.1486150.074308
`y-2t`-0.1386124336703250.061502-2.25380.0303940.015197
M147.9932567530819278.2916260.17250.8640440.432022
M212.2726899811716275.3673360.04460.9646980.482349
M3442.313077321896290.4489531.52290.1365310.068265
M4699.792225468448264.8415372.64230.0121110.006055
M5886.719663826503288.6136523.07230.0040320.002016
M6-701.240818544068326.830462-2.14560.0387240.019362
M7326.178227477193314.4513231.03730.3065170.153258
M8336.934312118696342.1570350.98470.3313260.165663
M9477.992501240360316.0195541.51250.1391260.069563
M10-333.713518950042324.548101-1.02820.3106960.155348
M11-664.563611004632289.250609-2.29750.0275080.013754
t-16.21811018130244.361496-3.71850.000680.00034







Multiple Linear Regression - Regression Statistics
Multiple R0.98801967954049
R-squared0.976182887159291
Adjusted R-squared0.965597503674532
F-TEST (value)92.2198887328718
F-TEST (DF numerator)16
F-TEST (DF denominator)36
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation380.234952554574
Sum Squared Residuals5204830.28919044

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.98801967954049 \tabularnewline
R-squared & 0.976182887159291 \tabularnewline
Adjusted R-squared & 0.965597503674532 \tabularnewline
F-TEST (value) & 92.2198887328718 \tabularnewline
F-TEST (DF numerator) & 16 \tabularnewline
F-TEST (DF denominator) & 36 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 380.234952554574 \tabularnewline
Sum Squared Residuals & 5204830.28919044 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105047&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.98801967954049[/C][/ROW]
[ROW][C]R-squared[/C][C]0.976182887159291[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.965597503674532[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]92.2198887328718[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]16[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]36[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]380.234952554574[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]5204830.28919044[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105047&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105047&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.98801967954049
R-squared0.976182887159291
Adjusted R-squared0.965597503674532
F-TEST (value)92.2198887328718
F-TEST (DF numerator)16
F-TEST (DF denominator)36
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation380.234952554574
Sum Squared Residuals5204830.28919044







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
119554.220006.8612357149-452.661235714887
215903.816255.1567172060-351.356717206033
318003.817938.325326047065.4746739530497
418329.618729.504385277-399.904385276993
516260.716321.1937791186-60.4937791186145
614851.915289.2654953303-437.365495330281
718174.118069.2538362125104.846163787522
818406.618401.48447574835.1155242517048
918466.518223.5360939552242.963906044835
1016016.515827.2003998483189.299600151695
1117428.516859.6241967510568.875803248966
1217167.217100.385683132566.8143168675023
131963019061.3216146861568.678385313898
1417183.616680.5810860151503.018913984892
1518344.718265.364554926979.3354450731468
1619301.419057.0057913796244.394208620444
1718147.518345.6609161178-198.160916117803
1816192.915456.9595534970735.940446503026
1918374.418203.0561591202171.343840879794
2020515.220363.3764542983151.823545701736
2118957.219322.2584139307-365.058413930744
2216471.516971.0000656789-499.50006567888
2318746.819015.0091105593-268.209110559266
2419009.518776.5086375919232.991362408146
2519211.219545.5396709669-334.339670966895
2620547.720545.37201173212.32798826786109
2719325.819193.1078643412132.692135658825
2820605.520598.94404785236.55595214767582
2920056.920021.500369742535.3996302575103
3016141.416527.6672123013-386.267212301292
3120359.820738.6326401936-378.832640193638
3219711.619263.8362266042447.763773395803
3315638.615933.8066215111-295.206621511076
3414384.514327.883574888556.6164251114918
3513855.613985.475036422-129.875036421998
3614308.314358.6154596421-50.3154596421506
3715290.615456.8951562114-166.295156211382
3814423.814065.4764942971358.323505702895
3913779.714000.2776596302-220.577659630219
4015686.315845.3072975004-159.007297500377
4114733.814831.7436964113-97.9436964112903
4212522.512434.807738871587.6922611285465
4316189.416086.7573644737102.642635526322
4416059.116663.8028433492-604.702843349243
4516007.115589.7988706030417.301129396984
4615806.815553.2159595843253.584040415694
471516015330.7916562677-170.791656267702
4815692.115941.5902196335-249.490219633498
4918908.918524.2823224207384.617677579268
5016969.917482.2136907496-512.313690749615
5116997.517054.4245950548-56.924595054803
5219858.919550.9384779908307.961522009251
5317681.217360.0012386098321.198761390197

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 19554.2 & 20006.8612357149 & -452.661235714887 \tabularnewline
2 & 15903.8 & 16255.1567172060 & -351.356717206033 \tabularnewline
3 & 18003.8 & 17938.3253260470 & 65.4746739530497 \tabularnewline
4 & 18329.6 & 18729.504385277 & -399.904385276993 \tabularnewline
5 & 16260.7 & 16321.1937791186 & -60.4937791186145 \tabularnewline
6 & 14851.9 & 15289.2654953303 & -437.365495330281 \tabularnewline
7 & 18174.1 & 18069.2538362125 & 104.846163787522 \tabularnewline
8 & 18406.6 & 18401.4844757483 & 5.1155242517048 \tabularnewline
9 & 18466.5 & 18223.5360939552 & 242.963906044835 \tabularnewline
10 & 16016.5 & 15827.2003998483 & 189.299600151695 \tabularnewline
11 & 17428.5 & 16859.6241967510 & 568.875803248966 \tabularnewline
12 & 17167.2 & 17100.3856831325 & 66.8143168675023 \tabularnewline
13 & 19630 & 19061.3216146861 & 568.678385313898 \tabularnewline
14 & 17183.6 & 16680.5810860151 & 503.018913984892 \tabularnewline
15 & 18344.7 & 18265.3645549269 & 79.3354450731468 \tabularnewline
16 & 19301.4 & 19057.0057913796 & 244.394208620444 \tabularnewline
17 & 18147.5 & 18345.6609161178 & -198.160916117803 \tabularnewline
18 & 16192.9 & 15456.9595534970 & 735.940446503026 \tabularnewline
19 & 18374.4 & 18203.0561591202 & 171.343840879794 \tabularnewline
20 & 20515.2 & 20363.3764542983 & 151.823545701736 \tabularnewline
21 & 18957.2 & 19322.2584139307 & -365.058413930744 \tabularnewline
22 & 16471.5 & 16971.0000656789 & -499.50006567888 \tabularnewline
23 & 18746.8 & 19015.0091105593 & -268.209110559266 \tabularnewline
24 & 19009.5 & 18776.5086375919 & 232.991362408146 \tabularnewline
25 & 19211.2 & 19545.5396709669 & -334.339670966895 \tabularnewline
26 & 20547.7 & 20545.3720117321 & 2.32798826786109 \tabularnewline
27 & 19325.8 & 19193.1078643412 & 132.692135658825 \tabularnewline
28 & 20605.5 & 20598.9440478523 & 6.55595214767582 \tabularnewline
29 & 20056.9 & 20021.5003697425 & 35.3996302575103 \tabularnewline
30 & 16141.4 & 16527.6672123013 & -386.267212301292 \tabularnewline
31 & 20359.8 & 20738.6326401936 & -378.832640193638 \tabularnewline
32 & 19711.6 & 19263.8362266042 & 447.763773395803 \tabularnewline
33 & 15638.6 & 15933.8066215111 & -295.206621511076 \tabularnewline
34 & 14384.5 & 14327.8835748885 & 56.6164251114918 \tabularnewline
35 & 13855.6 & 13985.475036422 & -129.875036421998 \tabularnewline
36 & 14308.3 & 14358.6154596421 & -50.3154596421506 \tabularnewline
37 & 15290.6 & 15456.8951562114 & -166.295156211382 \tabularnewline
38 & 14423.8 & 14065.4764942971 & 358.323505702895 \tabularnewline
39 & 13779.7 & 14000.2776596302 & -220.577659630219 \tabularnewline
40 & 15686.3 & 15845.3072975004 & -159.007297500377 \tabularnewline
41 & 14733.8 & 14831.7436964113 & -97.9436964112903 \tabularnewline
42 & 12522.5 & 12434.8077388715 & 87.6922611285465 \tabularnewline
43 & 16189.4 & 16086.7573644737 & 102.642635526322 \tabularnewline
44 & 16059.1 & 16663.8028433492 & -604.702843349243 \tabularnewline
45 & 16007.1 & 15589.7988706030 & 417.301129396984 \tabularnewline
46 & 15806.8 & 15553.2159595843 & 253.584040415694 \tabularnewline
47 & 15160 & 15330.7916562677 & -170.791656267702 \tabularnewline
48 & 15692.1 & 15941.5902196335 & -249.490219633498 \tabularnewline
49 & 18908.9 & 18524.2823224207 & 384.617677579268 \tabularnewline
50 & 16969.9 & 17482.2136907496 & -512.313690749615 \tabularnewline
51 & 16997.5 & 17054.4245950548 & -56.924595054803 \tabularnewline
52 & 19858.9 & 19550.9384779908 & 307.961522009251 \tabularnewline
53 & 17681.2 & 17360.0012386098 & 321.198761390197 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105047&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]19554.2[/C][C]20006.8612357149[/C][C]-452.661235714887[/C][/ROW]
[ROW][C]2[/C][C]15903.8[/C][C]16255.1567172060[/C][C]-351.356717206033[/C][/ROW]
[ROW][C]3[/C][C]18003.8[/C][C]17938.3253260470[/C][C]65.4746739530497[/C][/ROW]
[ROW][C]4[/C][C]18329.6[/C][C]18729.504385277[/C][C]-399.904385276993[/C][/ROW]
[ROW][C]5[/C][C]16260.7[/C][C]16321.1937791186[/C][C]-60.4937791186145[/C][/ROW]
[ROW][C]6[/C][C]14851.9[/C][C]15289.2654953303[/C][C]-437.365495330281[/C][/ROW]
[ROW][C]7[/C][C]18174.1[/C][C]18069.2538362125[/C][C]104.846163787522[/C][/ROW]
[ROW][C]8[/C][C]18406.6[/C][C]18401.4844757483[/C][C]5.1155242517048[/C][/ROW]
[ROW][C]9[/C][C]18466.5[/C][C]18223.5360939552[/C][C]242.963906044835[/C][/ROW]
[ROW][C]10[/C][C]16016.5[/C][C]15827.2003998483[/C][C]189.299600151695[/C][/ROW]
[ROW][C]11[/C][C]17428.5[/C][C]16859.6241967510[/C][C]568.875803248966[/C][/ROW]
[ROW][C]12[/C][C]17167.2[/C][C]17100.3856831325[/C][C]66.8143168675023[/C][/ROW]
[ROW][C]13[/C][C]19630[/C][C]19061.3216146861[/C][C]568.678385313898[/C][/ROW]
[ROW][C]14[/C][C]17183.6[/C][C]16680.5810860151[/C][C]503.018913984892[/C][/ROW]
[ROW][C]15[/C][C]18344.7[/C][C]18265.3645549269[/C][C]79.3354450731468[/C][/ROW]
[ROW][C]16[/C][C]19301.4[/C][C]19057.0057913796[/C][C]244.394208620444[/C][/ROW]
[ROW][C]17[/C][C]18147.5[/C][C]18345.6609161178[/C][C]-198.160916117803[/C][/ROW]
[ROW][C]18[/C][C]16192.9[/C][C]15456.9595534970[/C][C]735.940446503026[/C][/ROW]
[ROW][C]19[/C][C]18374.4[/C][C]18203.0561591202[/C][C]171.343840879794[/C][/ROW]
[ROW][C]20[/C][C]20515.2[/C][C]20363.3764542983[/C][C]151.823545701736[/C][/ROW]
[ROW][C]21[/C][C]18957.2[/C][C]19322.2584139307[/C][C]-365.058413930744[/C][/ROW]
[ROW][C]22[/C][C]16471.5[/C][C]16971.0000656789[/C][C]-499.50006567888[/C][/ROW]
[ROW][C]23[/C][C]18746.8[/C][C]19015.0091105593[/C][C]-268.209110559266[/C][/ROW]
[ROW][C]24[/C][C]19009.5[/C][C]18776.5086375919[/C][C]232.991362408146[/C][/ROW]
[ROW][C]25[/C][C]19211.2[/C][C]19545.5396709669[/C][C]-334.339670966895[/C][/ROW]
[ROW][C]26[/C][C]20547.7[/C][C]20545.3720117321[/C][C]2.32798826786109[/C][/ROW]
[ROW][C]27[/C][C]19325.8[/C][C]19193.1078643412[/C][C]132.692135658825[/C][/ROW]
[ROW][C]28[/C][C]20605.5[/C][C]20598.9440478523[/C][C]6.55595214767582[/C][/ROW]
[ROW][C]29[/C][C]20056.9[/C][C]20021.5003697425[/C][C]35.3996302575103[/C][/ROW]
[ROW][C]30[/C][C]16141.4[/C][C]16527.6672123013[/C][C]-386.267212301292[/C][/ROW]
[ROW][C]31[/C][C]20359.8[/C][C]20738.6326401936[/C][C]-378.832640193638[/C][/ROW]
[ROW][C]32[/C][C]19711.6[/C][C]19263.8362266042[/C][C]447.763773395803[/C][/ROW]
[ROW][C]33[/C][C]15638.6[/C][C]15933.8066215111[/C][C]-295.206621511076[/C][/ROW]
[ROW][C]34[/C][C]14384.5[/C][C]14327.8835748885[/C][C]56.6164251114918[/C][/ROW]
[ROW][C]35[/C][C]13855.6[/C][C]13985.475036422[/C][C]-129.875036421998[/C][/ROW]
[ROW][C]36[/C][C]14308.3[/C][C]14358.6154596421[/C][C]-50.3154596421506[/C][/ROW]
[ROW][C]37[/C][C]15290.6[/C][C]15456.8951562114[/C][C]-166.295156211382[/C][/ROW]
[ROW][C]38[/C][C]14423.8[/C][C]14065.4764942971[/C][C]358.323505702895[/C][/ROW]
[ROW][C]39[/C][C]13779.7[/C][C]14000.2776596302[/C][C]-220.577659630219[/C][/ROW]
[ROW][C]40[/C][C]15686.3[/C][C]15845.3072975004[/C][C]-159.007297500377[/C][/ROW]
[ROW][C]41[/C][C]14733.8[/C][C]14831.7436964113[/C][C]-97.9436964112903[/C][/ROW]
[ROW][C]42[/C][C]12522.5[/C][C]12434.8077388715[/C][C]87.6922611285465[/C][/ROW]
[ROW][C]43[/C][C]16189.4[/C][C]16086.7573644737[/C][C]102.642635526322[/C][/ROW]
[ROW][C]44[/C][C]16059.1[/C][C]16663.8028433492[/C][C]-604.702843349243[/C][/ROW]
[ROW][C]45[/C][C]16007.1[/C][C]15589.7988706030[/C][C]417.301129396984[/C][/ROW]
[ROW][C]46[/C][C]15806.8[/C][C]15553.2159595843[/C][C]253.584040415694[/C][/ROW]
[ROW][C]47[/C][C]15160[/C][C]15330.7916562677[/C][C]-170.791656267702[/C][/ROW]
[ROW][C]48[/C][C]15692.1[/C][C]15941.5902196335[/C][C]-249.490219633498[/C][/ROW]
[ROW][C]49[/C][C]18908.9[/C][C]18524.2823224207[/C][C]384.617677579268[/C][/ROW]
[ROW][C]50[/C][C]16969.9[/C][C]17482.2136907496[/C][C]-512.313690749615[/C][/ROW]
[ROW][C]51[/C][C]16997.5[/C][C]17054.4245950548[/C][C]-56.924595054803[/C][/ROW]
[ROW][C]52[/C][C]19858.9[/C][C]19550.9384779908[/C][C]307.961522009251[/C][/ROW]
[ROW][C]53[/C][C]17681.2[/C][C]17360.0012386098[/C][C]321.198761390197[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105047&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105047&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
119554.220006.8612357149-452.661235714887
215903.816255.1567172060-351.356717206033
318003.817938.325326047065.4746739530497
418329.618729.504385277-399.904385276993
516260.716321.1937791186-60.4937791186145
614851.915289.2654953303-437.365495330281
718174.118069.2538362125104.846163787522
818406.618401.48447574835.1155242517048
918466.518223.5360939552242.963906044835
1016016.515827.2003998483189.299600151695
1117428.516859.6241967510568.875803248966
1217167.217100.385683132566.8143168675023
131963019061.3216146861568.678385313898
1417183.616680.5810860151503.018913984892
1518344.718265.364554926979.3354450731468
1619301.419057.0057913796244.394208620444
1718147.518345.6609161178-198.160916117803
1816192.915456.9595534970735.940446503026
1918374.418203.0561591202171.343840879794
2020515.220363.3764542983151.823545701736
2118957.219322.2584139307-365.058413930744
2216471.516971.0000656789-499.50006567888
2318746.819015.0091105593-268.209110559266
2419009.518776.5086375919232.991362408146
2519211.219545.5396709669-334.339670966895
2620547.720545.37201173212.32798826786109
2719325.819193.1078643412132.692135658825
2820605.520598.94404785236.55595214767582
2920056.920021.500369742535.3996302575103
3016141.416527.6672123013-386.267212301292
3120359.820738.6326401936-378.832640193638
3219711.619263.8362266042447.763773395803
3315638.615933.8066215111-295.206621511076
3414384.514327.883574888556.6164251114918
3513855.613985.475036422-129.875036421998
3614308.314358.6154596421-50.3154596421506
3715290.615456.8951562114-166.295156211382
3814423.814065.4764942971358.323505702895
3913779.714000.2776596302-220.577659630219
4015686.315845.3072975004-159.007297500377
4114733.814831.7436964113-97.9436964112903
4212522.512434.807738871587.6922611285465
4316189.416086.7573644737102.642635526322
4416059.116663.8028433492-604.702843349243
4516007.115589.7988706030417.301129396984
4615806.815553.2159595843253.584040415694
471516015330.7916562677-170.791656267702
4815692.115941.5902196335-249.490219633498
4918908.918524.2823224207384.617677579268
5016969.917482.2136907496-512.313690749615
5116997.517054.4245950548-56.924595054803
5219858.919550.9384779908307.961522009251
5317681.217360.0012386098321.198761390197







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
200.7941768755299770.4116462489400460.205823124470023
210.7553995733856540.4892008532286920.244600426614346
220.8041047638250890.3917904723498220.195895236174911
230.750665267457610.4986694650847780.249334732542389
240.7196013588315050.560797282336990.280398641168495
250.7559406670166470.4881186659667070.244059332983353
260.6753242360719080.6493515278561840.324675763928092
270.6606834217278730.6786331565442530.339316578272127
280.5865012847793780.8269974304412440.413498715220622
290.4798442949733930.9596885899467860.520155705026607
300.3733345142819350.746669028563870.626665485718065
310.3229472538267370.6458945076534730.677052746173263
320.5056789352174070.9886421295651870.494321064782593
330.4320186983944260.8640373967888520.567981301605574

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
20 & 0.794176875529977 & 0.411646248940046 & 0.205823124470023 \tabularnewline
21 & 0.755399573385654 & 0.489200853228692 & 0.244600426614346 \tabularnewline
22 & 0.804104763825089 & 0.391790472349822 & 0.195895236174911 \tabularnewline
23 & 0.75066526745761 & 0.498669465084778 & 0.249334732542389 \tabularnewline
24 & 0.719601358831505 & 0.56079728233699 & 0.280398641168495 \tabularnewline
25 & 0.755940667016647 & 0.488118665966707 & 0.244059332983353 \tabularnewline
26 & 0.675324236071908 & 0.649351527856184 & 0.324675763928092 \tabularnewline
27 & 0.660683421727873 & 0.678633156544253 & 0.339316578272127 \tabularnewline
28 & 0.586501284779378 & 0.826997430441244 & 0.413498715220622 \tabularnewline
29 & 0.479844294973393 & 0.959688589946786 & 0.520155705026607 \tabularnewline
30 & 0.373334514281935 & 0.74666902856387 & 0.626665485718065 \tabularnewline
31 & 0.322947253826737 & 0.645894507653473 & 0.677052746173263 \tabularnewline
32 & 0.505678935217407 & 0.988642129565187 & 0.494321064782593 \tabularnewline
33 & 0.432018698394426 & 0.864037396788852 & 0.567981301605574 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=105047&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]20[/C][C]0.794176875529977[/C][C]0.411646248940046[/C][C]0.205823124470023[/C][/ROW]
[ROW][C]21[/C][C]0.755399573385654[/C][C]0.489200853228692[/C][C]0.244600426614346[/C][/ROW]
[ROW][C]22[/C][C]0.804104763825089[/C][C]0.391790472349822[/C][C]0.195895236174911[/C][/ROW]
[ROW][C]23[/C][C]0.75066526745761[/C][C]0.498669465084778[/C][C]0.249334732542389[/C][/ROW]
[ROW][C]24[/C][C]0.719601358831505[/C][C]0.56079728233699[/C][C]0.280398641168495[/C][/ROW]
[ROW][C]25[/C][C]0.755940667016647[/C][C]0.488118665966707[/C][C]0.244059332983353[/C][/ROW]
[ROW][C]26[/C][C]0.675324236071908[/C][C]0.649351527856184[/C][C]0.324675763928092[/C][/ROW]
[ROW][C]27[/C][C]0.660683421727873[/C][C]0.678633156544253[/C][C]0.339316578272127[/C][/ROW]
[ROW][C]28[/C][C]0.586501284779378[/C][C]0.826997430441244[/C][C]0.413498715220622[/C][/ROW]
[ROW][C]29[/C][C]0.479844294973393[/C][C]0.959688589946786[/C][C]0.520155705026607[/C][/ROW]
[ROW][C]30[/C][C]0.373334514281935[/C][C]0.74666902856387[/C][C]0.626665485718065[/C][/ROW]
[ROW][C]31[/C][C]0.322947253826737[/C][C]0.645894507653473[/C][C]0.677052746173263[/C][/ROW]
[ROW][C]32[/C][C]0.505678935217407[/C][C]0.988642129565187[/C][C]0.494321064782593[/C][/ROW]
[ROW][C]33[/C][C]0.432018698394426[/C][C]0.864037396788852[/C][C]0.567981301605574[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=105047&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=105047&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
200.7941768755299770.4116462489400460.205823124470023
210.7553995733856540.4892008532286920.244600426614346
220.8041047638250890.3917904723498220.195895236174911
230.750665267457610.4986694650847780.249334732542389
240.7196013588315050.560797282336990.280398641168495
250.7559406670166470.4881186659667070.244059332983353
260.6753242360719080.6493515278561840.324675763928092
270.6606834217278730.6786331565442530.339316578272127
280.5865012847793780.8269974304412440.413498715220622
290.4798442949733930.9596885899467860.520155705026607
300.3733345142819350.746669028563870.626665485718065
310.3229472538267370.6458945076534730.677052746173263
320.5056789352174070.9886421295651870.494321064782593
330.4320186983944260.8640373967888520.567981301605574







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 level00OK

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

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



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