Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationTue, 30 Nov 2010 12:25:07 +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/Nov/30/t1291119807bjns6z4khxfrtg3.htm/, Retrieved Mon, 29 Apr 2024 15:41:39 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=103346, Retrieved Mon, 29 Apr 2024 15:41:39 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact161
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] [Meervoudig regres...] [2010-11-30 12:25:07] [85c2b01fe80f9fc86b9396d4d142e465] [Current]
Feedback Forum

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




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 5 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103346&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]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103346&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103346&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 time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Multiple Linear Regression - Estimated Regression Equation
uitvoer[t] = + 3664.99536024364 + 0.758111799349518invoer[t] -755.194173669825crisis[t] + 21.5710959597444M1[t] + 712.153992678052M2[t] + 1108.98645761485M3[t] + 658.062497580011M4[t] + 943.435882803938M5[t] + 1543.21131640386M6[t] + 1336.55397969346M7[t] -396.939668264646M8[t] + 1307.00770491500M9[t] + 1409.14358383855M10[t] + 881.69742401456M11[t] -9.70329327631562t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
uitvoer[t] =  +  3664.99536024364 +  0.758111799349518invoer[t] -755.194173669825crisis[t] +  21.5710959597444M1[t] +  712.153992678052M2[t] +  1108.98645761485M3[t] +  658.062497580011M4[t] +  943.435882803938M5[t] +  1543.21131640386M6[t] +  1336.55397969346M7[t] -396.939668264646M8[t] +  1307.00770491500M9[t] +  1409.14358383855M10[t] +  881.69742401456M11[t] -9.70329327631562t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103346&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]uitvoer[t] =  +  3664.99536024364 +  0.758111799349518invoer[t] -755.194173669825crisis[t] +  21.5710959597444M1[t] +  712.153992678052M2[t] +  1108.98645761485M3[t] +  658.062497580011M4[t] +  943.435882803938M5[t] +  1543.21131640386M6[t] +  1336.55397969346M7[t] -396.939668264646M8[t] +  1307.00770491500M9[t] +  1409.14358383855M10[t] +  881.69742401456M11[t] -9.70329327631562t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103346&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103346&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] = + 3664.99536024364 + 0.758111799349518invoer[t] -755.194173669825crisis[t] + 21.5710959597444M1[t] + 712.153992678052M2[t] + 1108.98645761485M3[t] + 658.062497580011M4[t] + 943.435882803938M5[t] + 1543.21131640386M6[t] + 1336.55397969346M7[t] -396.939668264646M8[t] + 1307.00770491500M9[t] + 1409.14358383855M10[t] + 881.69742401456M11[t] -9.70329327631562t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)3664.99536024364797.5430884.59544.3e-052.1e-05
invoer0.7581117993495180.04338817.472700
crisis-755.194173669825204.573962-3.69150.0006650.000332
M121.5710959597444284.606830.07580.9399620.469981
M2712.153992678052287.2426312.47930.0174780.008739
M31108.98645761485288.2527723.84730.000420.00021
M4658.062497580011284.8060082.31060.0260960.013048
M5943.435882803938285.089773.30930.0019870.000993
M61543.21131640386287.1998165.37334e-062e-06
M71336.55397969346287.3026754.65213.6e-051.8e-05
M8-396.939668264646304.79381-1.30230.2002550.100128
M91307.00770491500300.0515464.35599e-054.5e-05
M101409.14358383855310.6133214.53665.1e-052.6e-05
M11881.69742401456299.4135572.94470.0053630.002682
t-9.703293276315624.310699-2.2510.0299510.014976

\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) & 3664.99536024364 & 797.543088 & 4.5954 & 4.3e-05 & 2.1e-05 \tabularnewline
invoer & 0.758111799349518 & 0.043388 & 17.4727 & 0 & 0 \tabularnewline
crisis & -755.194173669825 & 204.573962 & -3.6915 & 0.000665 & 0.000332 \tabularnewline
M1 & 21.5710959597444 & 284.60683 & 0.0758 & 0.939962 & 0.469981 \tabularnewline
M2 & 712.153992678052 & 287.242631 & 2.4793 & 0.017478 & 0.008739 \tabularnewline
M3 & 1108.98645761485 & 288.252772 & 3.8473 & 0.00042 & 0.00021 \tabularnewline
M4 & 658.062497580011 & 284.806008 & 2.3106 & 0.026096 & 0.013048 \tabularnewline
M5 & 943.435882803938 & 285.08977 & 3.3093 & 0.001987 & 0.000993 \tabularnewline
M6 & 1543.21131640386 & 287.199816 & 5.3733 & 4e-06 & 2e-06 \tabularnewline
M7 & 1336.55397969346 & 287.302675 & 4.6521 & 3.6e-05 & 1.8e-05 \tabularnewline
M8 & -396.939668264646 & 304.79381 & -1.3023 & 0.200255 & 0.100128 \tabularnewline
M9 & 1307.00770491500 & 300.051546 & 4.3559 & 9e-05 & 4.5e-05 \tabularnewline
M10 & 1409.14358383855 & 310.613321 & 4.5366 & 5.1e-05 & 2.6e-05 \tabularnewline
M11 & 881.69742401456 & 299.413557 & 2.9447 & 0.005363 & 0.002682 \tabularnewline
t & -9.70329327631562 & 4.310699 & -2.251 & 0.029951 & 0.014976 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103346&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]3664.99536024364[/C][C]797.543088[/C][C]4.5954[/C][C]4.3e-05[/C][C]2.1e-05[/C][/ROW]
[ROW][C]invoer[/C][C]0.758111799349518[/C][C]0.043388[/C][C]17.4727[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]crisis[/C][C]-755.194173669825[/C][C]204.573962[/C][C]-3.6915[/C][C]0.000665[/C][C]0.000332[/C][/ROW]
[ROW][C]M1[/C][C]21.5710959597444[/C][C]284.60683[/C][C]0.0758[/C][C]0.939962[/C][C]0.469981[/C][/ROW]
[ROW][C]M2[/C][C]712.153992678052[/C][C]287.242631[/C][C]2.4793[/C][C]0.017478[/C][C]0.008739[/C][/ROW]
[ROW][C]M3[/C][C]1108.98645761485[/C][C]288.252772[/C][C]3.8473[/C][C]0.00042[/C][C]0.00021[/C][/ROW]
[ROW][C]M4[/C][C]658.062497580011[/C][C]284.806008[/C][C]2.3106[/C][C]0.026096[/C][C]0.013048[/C][/ROW]
[ROW][C]M5[/C][C]943.435882803938[/C][C]285.08977[/C][C]3.3093[/C][C]0.001987[/C][C]0.000993[/C][/ROW]
[ROW][C]M6[/C][C]1543.21131640386[/C][C]287.199816[/C][C]5.3733[/C][C]4e-06[/C][C]2e-06[/C][/ROW]
[ROW][C]M7[/C][C]1336.55397969346[/C][C]287.302675[/C][C]4.6521[/C][C]3.6e-05[/C][C]1.8e-05[/C][/ROW]
[ROW][C]M8[/C][C]-396.939668264646[/C][C]304.79381[/C][C]-1.3023[/C][C]0.200255[/C][C]0.100128[/C][/ROW]
[ROW][C]M9[/C][C]1307.00770491500[/C][C]300.051546[/C][C]4.3559[/C][C]9e-05[/C][C]4.5e-05[/C][/ROW]
[ROW][C]M10[/C][C]1409.14358383855[/C][C]310.613321[/C][C]4.5366[/C][C]5.1e-05[/C][C]2.6e-05[/C][/ROW]
[ROW][C]M11[/C][C]881.69742401456[/C][C]299.413557[/C][C]2.9447[/C][C]0.005363[/C][C]0.002682[/C][/ROW]
[ROW][C]t[/C][C]-9.70329327631562[/C][C]4.310699[/C][C]-2.251[/C][C]0.029951[/C][C]0.014976[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103346&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103346&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)3664.99536024364797.5430884.59544.3e-052.1e-05
invoer0.7581117993495180.04338817.472700
crisis-755.194173669825204.573962-3.69150.0006650.000332
M121.5710959597444284.606830.07580.9399620.469981
M2712.153992678052287.2426312.47930.0174780.008739
M31108.98645761485288.2527723.84730.000420.00021
M4658.062497580011284.8060082.31060.0260960.013048
M5943.435882803938285.089773.30930.0019870.000993
M61543.21131640386287.1998165.37334e-062e-06
M71336.55397969346287.3026754.65213.6e-051.8e-05
M8-396.939668264646304.79381-1.30230.2002550.100128
M91307.00770491500300.0515464.35599e-054.5e-05
M101409.14358383855310.6133214.53665.1e-052.6e-05
M11881.69742401456299.4135572.94470.0053630.002682
t-9.703293276315624.310699-2.2510.0299510.014976







Multiple Linear Regression - Regression Statistics
Multiple R0.983895994867436
R-squared0.96805132871618
Adjusted R-squared0.956869293766844
F-TEST (value)86.5720178037536
F-TEST (DF numerator)14
F-TEST (DF denominator)40
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation419.317970863194
Sum Squared Residuals7033102.42755304

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.983895994867436 \tabularnewline
R-squared & 0.96805132871618 \tabularnewline
Adjusted R-squared & 0.956869293766844 \tabularnewline
F-TEST (value) & 86.5720178037536 \tabularnewline
F-TEST (DF numerator) & 14 \tabularnewline
F-TEST (DF denominator) & 40 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 419.317970863194 \tabularnewline
Sum Squared Residuals & 7033102.42755304 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103346&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.983895994867436[/C][/ROW]
[ROW][C]R-squared[/C][C]0.96805132871618[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.956869293766844[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]86.5720178037536[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]14[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]40[/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]419.317970863194[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]7033102.42755304[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103346&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103346&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.983895994867436
R-squared0.96805132871618
Adjusted R-squared0.956869293766844
F-TEST (value)86.5720178037536
F-TEST (DF numerator)14
F-TEST (DF denominator)40
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation419.317970863194
Sum Squared Residuals7033102.42755304







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
116198.916486.0717470964-287.171747096376
216554.217016.6935919073-462.493591907306
319554.219673.3062461005-119.106246100505
415903.816361.4963266158-457.696326615751
518003.817784.8718715986218.928128401405
618329.618568.1108983965-238.510898396461
716260.716449.1928967622-188.492896762197
814851.915072.0881434337-220.188143433656
918174.117909.640627936264.459372064009
1018406.618369.075135648337.5248643516694
1118466.517982.0318188192484.468181180771
1216016.515801.3861755546215.113824445439
1317428.516799.7848627315628.715137268482
1417167.216956.4301569233210.769843076683
151963019113.5987577051516.401242294942
1617183.616844.4199958657339.180004134308
1718344.718211.7710788766132.928921123394
1819301.419066.1209924535235.279007546545
1918147.518313.6236979668-166.123697966766
2016192.915514.5286425983678.371357401667
2118374.418389.7592835283-15.3592835283375
2220515.220240.1773206872275.022679312829
2318957.219134.9746963343-177.774696334272
2416471.517094.7313583091-623.23135830914
2518746.818753.5212338995-6.72123389945978
2619009.518566.5902606261442.909739373942
2719211.219859.7388436892-648.538843689151
2820547.720330.5277470588217.172252941189
2919325.819241.824033717183.975966282904
3020605.520877.7872124233-272.287212423297
3120056.919983.902067357972.9979326420792
3216141.416757.9142577758-616.514257775773
3320359.820791.6155392918-431.815539291780
3419711.619479.0005168668232.599483133214
3515638.616476.5473034618-837.947303461783
3614384.514551.3853365779-166.885336577904
3713855.613998.4598487459-142.859848745941
3814308.314261.847284286246.4527157138439
3915290.615519.0613680601-228.461368060079
4014423.814056.2861271888367.513872811203
4113779.713978.7519318195-199.051931819466
4215686.315770.3554629321-84.0554629321237
4314733.814623.260976884110.539023115989
4412522.512364.1689561922158.331043807763
4516189.416006.6845492439182.715450756109
4616059.116604.2470267977-545.147026797712
4716007.115475.8461813847531.253818615283
4815806.815231.7971295584575.002870441603
491516015351.9623075267-191.962307526705
5015692.115929.7387062572-237.638706257163
5118908.918429.1947844452479.705215554793
5216969.917436.0698032710-466.169803270949
5316997.517234.2810839882-236.781083988236
5419858.919499.3254337947359.574566205337
5517681.217510.1203610291171.079638970895

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 16198.9 & 16486.0717470964 & -287.171747096376 \tabularnewline
2 & 16554.2 & 17016.6935919073 & -462.493591907306 \tabularnewline
3 & 19554.2 & 19673.3062461005 & -119.106246100505 \tabularnewline
4 & 15903.8 & 16361.4963266158 & -457.696326615751 \tabularnewline
5 & 18003.8 & 17784.8718715986 & 218.928128401405 \tabularnewline
6 & 18329.6 & 18568.1108983965 & -238.510898396461 \tabularnewline
7 & 16260.7 & 16449.1928967622 & -188.492896762197 \tabularnewline
8 & 14851.9 & 15072.0881434337 & -220.188143433656 \tabularnewline
9 & 18174.1 & 17909.640627936 & 264.459372064009 \tabularnewline
10 & 18406.6 & 18369.0751356483 & 37.5248643516694 \tabularnewline
11 & 18466.5 & 17982.0318188192 & 484.468181180771 \tabularnewline
12 & 16016.5 & 15801.3861755546 & 215.113824445439 \tabularnewline
13 & 17428.5 & 16799.7848627315 & 628.715137268482 \tabularnewline
14 & 17167.2 & 16956.4301569233 & 210.769843076683 \tabularnewline
15 & 19630 & 19113.5987577051 & 516.401242294942 \tabularnewline
16 & 17183.6 & 16844.4199958657 & 339.180004134308 \tabularnewline
17 & 18344.7 & 18211.7710788766 & 132.928921123394 \tabularnewline
18 & 19301.4 & 19066.1209924535 & 235.279007546545 \tabularnewline
19 & 18147.5 & 18313.6236979668 & -166.123697966766 \tabularnewline
20 & 16192.9 & 15514.5286425983 & 678.371357401667 \tabularnewline
21 & 18374.4 & 18389.7592835283 & -15.3592835283375 \tabularnewline
22 & 20515.2 & 20240.1773206872 & 275.022679312829 \tabularnewline
23 & 18957.2 & 19134.9746963343 & -177.774696334272 \tabularnewline
24 & 16471.5 & 17094.7313583091 & -623.23135830914 \tabularnewline
25 & 18746.8 & 18753.5212338995 & -6.72123389945978 \tabularnewline
26 & 19009.5 & 18566.5902606261 & 442.909739373942 \tabularnewline
27 & 19211.2 & 19859.7388436892 & -648.538843689151 \tabularnewline
28 & 20547.7 & 20330.5277470588 & 217.172252941189 \tabularnewline
29 & 19325.8 & 19241.8240337171 & 83.975966282904 \tabularnewline
30 & 20605.5 & 20877.7872124233 & -272.287212423297 \tabularnewline
31 & 20056.9 & 19983.9020673579 & 72.9979326420792 \tabularnewline
32 & 16141.4 & 16757.9142577758 & -616.514257775773 \tabularnewline
33 & 20359.8 & 20791.6155392918 & -431.815539291780 \tabularnewline
34 & 19711.6 & 19479.0005168668 & 232.599483133214 \tabularnewline
35 & 15638.6 & 16476.5473034618 & -837.947303461783 \tabularnewline
36 & 14384.5 & 14551.3853365779 & -166.885336577904 \tabularnewline
37 & 13855.6 & 13998.4598487459 & -142.859848745941 \tabularnewline
38 & 14308.3 & 14261.8472842862 & 46.4527157138439 \tabularnewline
39 & 15290.6 & 15519.0613680601 & -228.461368060079 \tabularnewline
40 & 14423.8 & 14056.2861271888 & 367.513872811203 \tabularnewline
41 & 13779.7 & 13978.7519318195 & -199.051931819466 \tabularnewline
42 & 15686.3 & 15770.3554629321 & -84.0554629321237 \tabularnewline
43 & 14733.8 & 14623.260976884 & 110.539023115989 \tabularnewline
44 & 12522.5 & 12364.1689561922 & 158.331043807763 \tabularnewline
45 & 16189.4 & 16006.6845492439 & 182.715450756109 \tabularnewline
46 & 16059.1 & 16604.2470267977 & -545.147026797712 \tabularnewline
47 & 16007.1 & 15475.8461813847 & 531.253818615283 \tabularnewline
48 & 15806.8 & 15231.7971295584 & 575.002870441603 \tabularnewline
49 & 15160 & 15351.9623075267 & -191.962307526705 \tabularnewline
50 & 15692.1 & 15929.7387062572 & -237.638706257163 \tabularnewline
51 & 18908.9 & 18429.1947844452 & 479.705215554793 \tabularnewline
52 & 16969.9 & 17436.0698032710 & -466.169803270949 \tabularnewline
53 & 16997.5 & 17234.2810839882 & -236.781083988236 \tabularnewline
54 & 19858.9 & 19499.3254337947 & 359.574566205337 \tabularnewline
55 & 17681.2 & 17510.1203610291 & 171.079638970895 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103346&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]16198.9[/C][C]16486.0717470964[/C][C]-287.171747096376[/C][/ROW]
[ROW][C]2[/C][C]16554.2[/C][C]17016.6935919073[/C][C]-462.493591907306[/C][/ROW]
[ROW][C]3[/C][C]19554.2[/C][C]19673.3062461005[/C][C]-119.106246100505[/C][/ROW]
[ROW][C]4[/C][C]15903.8[/C][C]16361.4963266158[/C][C]-457.696326615751[/C][/ROW]
[ROW][C]5[/C][C]18003.8[/C][C]17784.8718715986[/C][C]218.928128401405[/C][/ROW]
[ROW][C]6[/C][C]18329.6[/C][C]18568.1108983965[/C][C]-238.510898396461[/C][/ROW]
[ROW][C]7[/C][C]16260.7[/C][C]16449.1928967622[/C][C]-188.492896762197[/C][/ROW]
[ROW][C]8[/C][C]14851.9[/C][C]15072.0881434337[/C][C]-220.188143433656[/C][/ROW]
[ROW][C]9[/C][C]18174.1[/C][C]17909.640627936[/C][C]264.459372064009[/C][/ROW]
[ROW][C]10[/C][C]18406.6[/C][C]18369.0751356483[/C][C]37.5248643516694[/C][/ROW]
[ROW][C]11[/C][C]18466.5[/C][C]17982.0318188192[/C][C]484.468181180771[/C][/ROW]
[ROW][C]12[/C][C]16016.5[/C][C]15801.3861755546[/C][C]215.113824445439[/C][/ROW]
[ROW][C]13[/C][C]17428.5[/C][C]16799.7848627315[/C][C]628.715137268482[/C][/ROW]
[ROW][C]14[/C][C]17167.2[/C][C]16956.4301569233[/C][C]210.769843076683[/C][/ROW]
[ROW][C]15[/C][C]19630[/C][C]19113.5987577051[/C][C]516.401242294942[/C][/ROW]
[ROW][C]16[/C][C]17183.6[/C][C]16844.4199958657[/C][C]339.180004134308[/C][/ROW]
[ROW][C]17[/C][C]18344.7[/C][C]18211.7710788766[/C][C]132.928921123394[/C][/ROW]
[ROW][C]18[/C][C]19301.4[/C][C]19066.1209924535[/C][C]235.279007546545[/C][/ROW]
[ROW][C]19[/C][C]18147.5[/C][C]18313.6236979668[/C][C]-166.123697966766[/C][/ROW]
[ROW][C]20[/C][C]16192.9[/C][C]15514.5286425983[/C][C]678.371357401667[/C][/ROW]
[ROW][C]21[/C][C]18374.4[/C][C]18389.7592835283[/C][C]-15.3592835283375[/C][/ROW]
[ROW][C]22[/C][C]20515.2[/C][C]20240.1773206872[/C][C]275.022679312829[/C][/ROW]
[ROW][C]23[/C][C]18957.2[/C][C]19134.9746963343[/C][C]-177.774696334272[/C][/ROW]
[ROW][C]24[/C][C]16471.5[/C][C]17094.7313583091[/C][C]-623.23135830914[/C][/ROW]
[ROW][C]25[/C][C]18746.8[/C][C]18753.5212338995[/C][C]-6.72123389945978[/C][/ROW]
[ROW][C]26[/C][C]19009.5[/C][C]18566.5902606261[/C][C]442.909739373942[/C][/ROW]
[ROW][C]27[/C][C]19211.2[/C][C]19859.7388436892[/C][C]-648.538843689151[/C][/ROW]
[ROW][C]28[/C][C]20547.7[/C][C]20330.5277470588[/C][C]217.172252941189[/C][/ROW]
[ROW][C]29[/C][C]19325.8[/C][C]19241.8240337171[/C][C]83.975966282904[/C][/ROW]
[ROW][C]30[/C][C]20605.5[/C][C]20877.7872124233[/C][C]-272.287212423297[/C][/ROW]
[ROW][C]31[/C][C]20056.9[/C][C]19983.9020673579[/C][C]72.9979326420792[/C][/ROW]
[ROW][C]32[/C][C]16141.4[/C][C]16757.9142577758[/C][C]-616.514257775773[/C][/ROW]
[ROW][C]33[/C][C]20359.8[/C][C]20791.6155392918[/C][C]-431.815539291780[/C][/ROW]
[ROW][C]34[/C][C]19711.6[/C][C]19479.0005168668[/C][C]232.599483133214[/C][/ROW]
[ROW][C]35[/C][C]15638.6[/C][C]16476.5473034618[/C][C]-837.947303461783[/C][/ROW]
[ROW][C]36[/C][C]14384.5[/C][C]14551.3853365779[/C][C]-166.885336577904[/C][/ROW]
[ROW][C]37[/C][C]13855.6[/C][C]13998.4598487459[/C][C]-142.859848745941[/C][/ROW]
[ROW][C]38[/C][C]14308.3[/C][C]14261.8472842862[/C][C]46.4527157138439[/C][/ROW]
[ROW][C]39[/C][C]15290.6[/C][C]15519.0613680601[/C][C]-228.461368060079[/C][/ROW]
[ROW][C]40[/C][C]14423.8[/C][C]14056.2861271888[/C][C]367.513872811203[/C][/ROW]
[ROW][C]41[/C][C]13779.7[/C][C]13978.7519318195[/C][C]-199.051931819466[/C][/ROW]
[ROW][C]42[/C][C]15686.3[/C][C]15770.3554629321[/C][C]-84.0554629321237[/C][/ROW]
[ROW][C]43[/C][C]14733.8[/C][C]14623.260976884[/C][C]110.539023115989[/C][/ROW]
[ROW][C]44[/C][C]12522.5[/C][C]12364.1689561922[/C][C]158.331043807763[/C][/ROW]
[ROW][C]45[/C][C]16189.4[/C][C]16006.6845492439[/C][C]182.715450756109[/C][/ROW]
[ROW][C]46[/C][C]16059.1[/C][C]16604.2470267977[/C][C]-545.147026797712[/C][/ROW]
[ROW][C]47[/C][C]16007.1[/C][C]15475.8461813847[/C][C]531.253818615283[/C][/ROW]
[ROW][C]48[/C][C]15806.8[/C][C]15231.7971295584[/C][C]575.002870441603[/C][/ROW]
[ROW][C]49[/C][C]15160[/C][C]15351.9623075267[/C][C]-191.962307526705[/C][/ROW]
[ROW][C]50[/C][C]15692.1[/C][C]15929.7387062572[/C][C]-237.638706257163[/C][/ROW]
[ROW][C]51[/C][C]18908.9[/C][C]18429.1947844452[/C][C]479.705215554793[/C][/ROW]
[ROW][C]52[/C][C]16969.9[/C][C]17436.0698032710[/C][C]-466.169803270949[/C][/ROW]
[ROW][C]53[/C][C]16997.5[/C][C]17234.2810839882[/C][C]-236.781083988236[/C][/ROW]
[ROW][C]54[/C][C]19858.9[/C][C]19499.3254337947[/C][C]359.574566205337[/C][/ROW]
[ROW][C]55[/C][C]17681.2[/C][C]17510.1203610291[/C][C]171.079638970895[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103346&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=103346&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
116198.916486.0717470964-287.171747096376
216554.217016.6935919073-462.493591907306
319554.219673.3062461005-119.106246100505
415903.816361.4963266158-457.696326615751
518003.817784.8718715986218.928128401405
618329.618568.1108983965-238.510898396461
716260.716449.1928967622-188.492896762197
814851.915072.0881434337-220.188143433656
918174.117909.640627936264.459372064009
1018406.618369.075135648337.5248643516694
1118466.517982.0318188192484.468181180771
1216016.515801.3861755546215.113824445439
1317428.516799.7848627315628.715137268482
1417167.216956.4301569233210.769843076683
151963019113.5987577051516.401242294942
1617183.616844.4199958657339.180004134308
1718344.718211.7710788766132.928921123394
1819301.419066.1209924535235.279007546545
1918147.518313.6236979668-166.123697966766
2016192.915514.5286425983678.371357401667
2118374.418389.7592835283-15.3592835283375
2220515.220240.1773206872275.022679312829
2318957.219134.9746963343-177.774696334272
2416471.517094.7313583091-623.23135830914
2518746.818753.5212338995-6.72123389945978
2619009.518566.5902606261442.909739373942
2719211.219859.7388436892-648.538843689151
2820547.720330.5277470588217.172252941189
2919325.819241.824033717183.975966282904
3020605.520877.7872124233-272.287212423297
3120056.919983.902067357972.9979326420792
3216141.416757.9142577758-616.514257775773
3320359.820791.6155392918-431.815539291780
3419711.619479.0005168668232.599483133214
3515638.616476.5473034618-837.947303461783
3614384.514551.3853365779-166.885336577904
3713855.613998.4598487459-142.859848745941
3814308.314261.847284286246.4527157138439
3915290.615519.0613680601-228.461368060079
4014423.814056.2861271888367.513872811203
4113779.713978.7519318195-199.051931819466
4215686.315770.3554629321-84.0554629321237
4314733.814623.260976884110.539023115989
4412522.512364.1689561922158.331043807763
4516189.416006.6845492439182.715450756109
4616059.116604.2470267977-545.147026797712
4716007.115475.8461813847531.253818615283
4815806.815231.7971295584575.002870441603
491516015351.9623075267-191.962307526705
5015692.115929.7387062572-237.638706257163
5118908.918429.1947844452479.705215554793
5216969.917436.0698032710-466.169803270949
5316997.517234.2810839882-236.781083988236
5419858.919499.3254337947359.574566205337
5517681.217510.1203610291171.079638970895







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
180.2950825360296190.5901650720592380.704917463970381
190.1575579840697040.3151159681394070.842442015930296
200.1550811024436360.3101622048872720.844918897556364
210.2569607915742470.5139215831484940.743039208425753
220.2542235468982180.5084470937964370.745776453101782
230.4472282247327960.8944564494655920.552771775267204
240.5475664201020080.9048671597959830.452433579897992
250.4329202230103810.8658404460207620.567079776989619
260.506472541507040.987054916985920.49352745849296
270.7581450059517340.4837099880965330.241854994048266
280.7051647317323540.5896705365352920.294835268267646
290.7066965783135570.5866068433728860.293303421686443
300.618848147777220.762303704445560.38115185222278
310.5554106425956430.8891787148087130.444589357404357
320.5407634244068890.9184731511862230.459236575593112
330.4442001635658780.8884003271317560.555799836434122
340.6482890807170380.7034218385659230.351710919282962
350.640960432398170.718079135203660.35903956760183
360.4940152905381610.9880305810763210.505984709461839
370.3265740891169220.6531481782338450.673425910883078

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
18 & 0.295082536029619 & 0.590165072059238 & 0.704917463970381 \tabularnewline
19 & 0.157557984069704 & 0.315115968139407 & 0.842442015930296 \tabularnewline
20 & 0.155081102443636 & 0.310162204887272 & 0.844918897556364 \tabularnewline
21 & 0.256960791574247 & 0.513921583148494 & 0.743039208425753 \tabularnewline
22 & 0.254223546898218 & 0.508447093796437 & 0.745776453101782 \tabularnewline
23 & 0.447228224732796 & 0.894456449465592 & 0.552771775267204 \tabularnewline
24 & 0.547566420102008 & 0.904867159795983 & 0.452433579897992 \tabularnewline
25 & 0.432920223010381 & 0.865840446020762 & 0.567079776989619 \tabularnewline
26 & 0.50647254150704 & 0.98705491698592 & 0.49352745849296 \tabularnewline
27 & 0.758145005951734 & 0.483709988096533 & 0.241854994048266 \tabularnewline
28 & 0.705164731732354 & 0.589670536535292 & 0.294835268267646 \tabularnewline
29 & 0.706696578313557 & 0.586606843372886 & 0.293303421686443 \tabularnewline
30 & 0.61884814777722 & 0.76230370444556 & 0.38115185222278 \tabularnewline
31 & 0.555410642595643 & 0.889178714808713 & 0.444589357404357 \tabularnewline
32 & 0.540763424406889 & 0.918473151186223 & 0.459236575593112 \tabularnewline
33 & 0.444200163565878 & 0.888400327131756 & 0.555799836434122 \tabularnewline
34 & 0.648289080717038 & 0.703421838565923 & 0.351710919282962 \tabularnewline
35 & 0.64096043239817 & 0.71807913520366 & 0.35903956760183 \tabularnewline
36 & 0.494015290538161 & 0.988030581076321 & 0.505984709461839 \tabularnewline
37 & 0.326574089116922 & 0.653148178233845 & 0.673425910883078 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=103346&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]18[/C][C]0.295082536029619[/C][C]0.590165072059238[/C][C]0.704917463970381[/C][/ROW]
[ROW][C]19[/C][C]0.157557984069704[/C][C]0.315115968139407[/C][C]0.842442015930296[/C][/ROW]
[ROW][C]20[/C][C]0.155081102443636[/C][C]0.310162204887272[/C][C]0.844918897556364[/C][/ROW]
[ROW][C]21[/C][C]0.256960791574247[/C][C]0.513921583148494[/C][C]0.743039208425753[/C][/ROW]
[ROW][C]22[/C][C]0.254223546898218[/C][C]0.508447093796437[/C][C]0.745776453101782[/C][/ROW]
[ROW][C]23[/C][C]0.447228224732796[/C][C]0.894456449465592[/C][C]0.552771775267204[/C][/ROW]
[ROW][C]24[/C][C]0.547566420102008[/C][C]0.904867159795983[/C][C]0.452433579897992[/C][/ROW]
[ROW][C]25[/C][C]0.432920223010381[/C][C]0.865840446020762[/C][C]0.567079776989619[/C][/ROW]
[ROW][C]26[/C][C]0.50647254150704[/C][C]0.98705491698592[/C][C]0.49352745849296[/C][/ROW]
[ROW][C]27[/C][C]0.758145005951734[/C][C]0.483709988096533[/C][C]0.241854994048266[/C][/ROW]
[ROW][C]28[/C][C]0.705164731732354[/C][C]0.589670536535292[/C][C]0.294835268267646[/C][/ROW]
[ROW][C]29[/C][C]0.706696578313557[/C][C]0.586606843372886[/C][C]0.293303421686443[/C][/ROW]
[ROW][C]30[/C][C]0.61884814777722[/C][C]0.76230370444556[/C][C]0.38115185222278[/C][/ROW]
[ROW][C]31[/C][C]0.555410642595643[/C][C]0.889178714808713[/C][C]0.444589357404357[/C][/ROW]
[ROW][C]32[/C][C]0.540763424406889[/C][C]0.918473151186223[/C][C]0.459236575593112[/C][/ROW]
[ROW][C]33[/C][C]0.444200163565878[/C][C]0.888400327131756[/C][C]0.555799836434122[/C][/ROW]
[ROW][C]34[/C][C]0.648289080717038[/C][C]0.703421838565923[/C][C]0.351710919282962[/C][/ROW]
[ROW][C]35[/C][C]0.64096043239817[/C][C]0.71807913520366[/C][C]0.35903956760183[/C][/ROW]
[ROW][C]36[/C][C]0.494015290538161[/C][C]0.988030581076321[/C][C]0.505984709461839[/C][/ROW]
[ROW][C]37[/C][C]0.326574089116922[/C][C]0.653148178233845[/C][C]0.673425910883078[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=103346&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
180.2950825360296190.5901650720592380.704917463970381
190.1575579840697040.3151159681394070.842442015930296
200.1550811024436360.3101622048872720.844918897556364
210.2569607915742470.5139215831484940.743039208425753
220.2542235468982180.5084470937964370.745776453101782
230.4472282247327960.8944564494655920.552771775267204
240.5475664201020080.9048671597959830.452433579897992
250.4329202230103810.8658404460207620.567079776989619
260.506472541507040.987054916985920.49352745849296
270.7581450059517340.4837099880965330.241854994048266
280.7051647317323540.5896705365352920.294835268267646
290.7066965783135570.5866068433728860.293303421686443
300.618848147777220.762303704445560.38115185222278
310.5554106425956430.8891787148087130.444589357404357
320.5407634244068890.9184731511862230.459236575593112
330.4442001635658780.8884003271317560.555799836434122
340.6482890807170380.7034218385659230.351710919282962
350.640960432398170.718079135203660.35903956760183
360.4940152905381610.9880305810763210.505984709461839
370.3265740891169220.6531481782338450.673425910883078







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=103346&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=103346&T=6

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