Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationFri, 11 Dec 2009 03:09:13 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Dec/11/t1260526270q492sqykw0zjmcx.htm/, Retrieved Sun, 28 Apr 2024 22:49:24 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=65943, Retrieved Sun, 28 Apr 2024 22:49:24 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsETP(31)
Estimated Impact98
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Paper statistiek:...] [2009-12-11 10:09:13] [af31b947d6acaef3c71f428c4bb503e9] [Current]
Feedback Forum

Post a new message
Dataseries X:
1.43	0	0	0	0
1.43	0	0	0	0
1.43	0	0	0	0
1.43	0	0	0	0
1.43	0	0	0	0
1.43	0	0	0	0
1.44	0	0	0	0
1.48	1	0	0	0
1.48	1	0	0	0
1.48	1	0	0	0
1.48	1	0	0	0
1.48	1	0	0	0
1.48	1	0	0	0
1.48	1	0	0	0
1.48	1	0	0	0
1.48	1	0	0	0
1.48	1	0	0	0
1.48	1	0	0	0
1.48	1	0	0	0
1.48	1	0	0	0
1.48	1	0	0	0
1.48	1	0	0	0
1.48	1	0	0	0
1.48	1	0	0	0
1.48	1	0	0	0
1.48	1	0	0	0
1.48	1	0	0	0
1.48	1	0	0	0
1.48	1	0	0	0
1.48	1	0	0	0
1.48	1	0	0	0
1.48	1	0	0	0
1.48	1	0	0	0
1.48	1	0	0	0
1.48	1	0	0	0
1.48	1	0	0	0
1.48	1	0	0	0
1.57	1	1	0	0
1.58	1	1	0	0
1.58	1	1	0	0
1.58	1	1	0	0
1.58	1	1	0	0
1.59	1	1	1	1
1.6	1	1	1	2
1.6	1	1	1	3
1.61	1	1	1	4
1.61	1	1	1	5
1.61	1	1	1	6
1.62	1	1	1	7
1.63	1	1	1	8
1.63	1	1	1	9
1.64	1	1	1	10
1.64	1	1	1	11
1.64	1	1	1	12
1.64	1	1	1	13
1.64	1	1	1	14
1.65	1	1	1	15
1.65	1	1	1	16
1.65	1	1	1	17
1.65	1	1	1	18




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

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=65943&T=0

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

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
Broodprijzen[t] = + 1.42739788145102 + 0.0493205345320607Dummy2[t] + 0.0961175746131058Dummy3[t] + 0.0170539138171548Dummy1[t] + 0.0035911662386438Dummy4[t] + 0.00294529473975772M1[t] + 0.00298200793887241M2[t] + 0.00424223606060671M3[t] + 0.00550246418234103M4[t] + 0.00476269230407537M5[t] + 0.00402292042580968M6[t] + 0.00315413253638430M7[t] + 0.00183202050397774M8[t] + 0.00237401537798331M9[t] + 0.00291601025198887M10[t] + 0.00145800512599444M11[t] + 2.15386305369157e-05t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Broodprijzen[t] =  +  1.42739788145102 +  0.0493205345320607Dummy2[t] +  0.0961175746131058Dummy3[t] +  0.0170539138171548Dummy1[t] +  0.0035911662386438Dummy4[t] +  0.00294529473975772M1[t] +  0.00298200793887241M2[t] +  0.00424223606060671M3[t] +  0.00550246418234103M4[t] +  0.00476269230407537M5[t] +  0.00402292042580968M6[t] +  0.00315413253638430M7[t] +  0.00183202050397774M8[t] +  0.00237401537798331M9[t] +  0.00291601025198887M10[t] +  0.00145800512599444M11[t] +  2.15386305369157e-05t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=65943&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Broodprijzen[t] =  +  1.42739788145102 +  0.0493205345320607Dummy2[t] +  0.0961175746131058Dummy3[t] +  0.0170539138171548Dummy1[t] +  0.0035911662386438Dummy4[t] +  0.00294529473975772M1[t] +  0.00298200793887241M2[t] +  0.00424223606060671M3[t] +  0.00550246418234103M4[t] +  0.00476269230407537M5[t] +  0.00402292042580968M6[t] +  0.00315413253638430M7[t] +  0.00183202050397774M8[t] +  0.00237401537798331M9[t] +  0.00291601025198887M10[t] +  0.00145800512599444M11[t] +  2.15386305369157e-05t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=65943&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=65943&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
Broodprijzen[t] = + 1.42739788145102 + 0.0493205345320607Dummy2[t] + 0.0961175746131058Dummy3[t] + 0.0170539138171548Dummy1[t] + 0.0035911662386438Dummy4[t] + 0.00294529473975772M1[t] + 0.00298200793887241M2[t] + 0.00424223606060671M3[t] + 0.00550246418234103M4[t] + 0.00476269230407537M5[t] + 0.00402292042580968M6[t] + 0.00315413253638430M7[t] + 0.00183202050397774M8[t] + 0.00237401537798331M9[t] + 0.00291601025198887M10[t] + 0.00145800512599444M11[t] + 2.15386305369157e-05t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)1.427397881451020.002198649.375600
Dummy20.04932053453206070.00207523.773500
Dummy30.09611757461310580.00223443.030600
Dummy10.01705391381715480.0024586.937700
Dummy40.00359116623864380.00017720.344100
M10.002945294739757720.0022361.3170.1948140.097407
M20.002982007938872410.0022771.30980.1972050.098602
M30.004242236060606710.0022691.86930.0683980.034199
M40.005502464182341030.0022642.43020.0193360.009668
M50.004762692304075370.0022612.10650.0410330.020516
M60.004022920425809680.002261.78030.0820970.041048
M70.003154132536384300.0022441.40540.1670980.083549
M80.001832020503977740.002220.82510.4138740.206937
M90.002374015377983310.0022111.07390.2888630.144431
M100.002916010251988870.0022041.32320.1927540.096377
M110.001458005125994440.00220.66290.510950.255475
t2.15386305369157e-057.4e-050.29160.771960.38598

\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) & 1.42739788145102 & 0.002198 & 649.3756 & 0 & 0 \tabularnewline
Dummy2 & 0.0493205345320607 & 0.002075 & 23.7735 & 0 & 0 \tabularnewline
Dummy3 & 0.0961175746131058 & 0.002234 & 43.0306 & 0 & 0 \tabularnewline
Dummy1 & 0.0170539138171548 & 0.002458 & 6.9377 & 0 & 0 \tabularnewline
Dummy4 & 0.0035911662386438 & 0.000177 & 20.3441 & 0 & 0 \tabularnewline
M1 & 0.00294529473975772 & 0.002236 & 1.317 & 0.194814 & 0.097407 \tabularnewline
M2 & 0.00298200793887241 & 0.002277 & 1.3098 & 0.197205 & 0.098602 \tabularnewline
M3 & 0.00424223606060671 & 0.002269 & 1.8693 & 0.068398 & 0.034199 \tabularnewline
M4 & 0.00550246418234103 & 0.002264 & 2.4302 & 0.019336 & 0.009668 \tabularnewline
M5 & 0.00476269230407537 & 0.002261 & 2.1065 & 0.041033 & 0.020516 \tabularnewline
M6 & 0.00402292042580968 & 0.00226 & 1.7803 & 0.082097 & 0.041048 \tabularnewline
M7 & 0.00315413253638430 & 0.002244 & 1.4054 & 0.167098 & 0.083549 \tabularnewline
M8 & 0.00183202050397774 & 0.00222 & 0.8251 & 0.413874 & 0.206937 \tabularnewline
M9 & 0.00237401537798331 & 0.002211 & 1.0739 & 0.288863 & 0.144431 \tabularnewline
M10 & 0.00291601025198887 & 0.002204 & 1.3232 & 0.192754 & 0.096377 \tabularnewline
M11 & 0.00145800512599444 & 0.0022 & 0.6629 & 0.51095 & 0.255475 \tabularnewline
t & 2.15386305369157e-05 & 7.4e-05 & 0.2916 & 0.77196 & 0.38598 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=65943&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]1.42739788145102[/C][C]0.002198[/C][C]649.3756[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Dummy2[/C][C]0.0493205345320607[/C][C]0.002075[/C][C]23.7735[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Dummy3[/C][C]0.0961175746131058[/C][C]0.002234[/C][C]43.0306[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Dummy1[/C][C]0.0170539138171548[/C][C]0.002458[/C][C]6.9377[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Dummy4[/C][C]0.0035911662386438[/C][C]0.000177[/C][C]20.3441[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]0.00294529473975772[/C][C]0.002236[/C][C]1.317[/C][C]0.194814[/C][C]0.097407[/C][/ROW]
[ROW][C]M2[/C][C]0.00298200793887241[/C][C]0.002277[/C][C]1.3098[/C][C]0.197205[/C][C]0.098602[/C][/ROW]
[ROW][C]M3[/C][C]0.00424223606060671[/C][C]0.002269[/C][C]1.8693[/C][C]0.068398[/C][C]0.034199[/C][/ROW]
[ROW][C]M4[/C][C]0.00550246418234103[/C][C]0.002264[/C][C]2.4302[/C][C]0.019336[/C][C]0.009668[/C][/ROW]
[ROW][C]M5[/C][C]0.00476269230407537[/C][C]0.002261[/C][C]2.1065[/C][C]0.041033[/C][C]0.020516[/C][/ROW]
[ROW][C]M6[/C][C]0.00402292042580968[/C][C]0.00226[/C][C]1.7803[/C][C]0.082097[/C][C]0.041048[/C][/ROW]
[ROW][C]M7[/C][C]0.00315413253638430[/C][C]0.002244[/C][C]1.4054[/C][C]0.167098[/C][C]0.083549[/C][/ROW]
[ROW][C]M8[/C][C]0.00183202050397774[/C][C]0.00222[/C][C]0.8251[/C][C]0.413874[/C][C]0.206937[/C][/ROW]
[ROW][C]M9[/C][C]0.00237401537798331[/C][C]0.002211[/C][C]1.0739[/C][C]0.288863[/C][C]0.144431[/C][/ROW]
[ROW][C]M10[/C][C]0.00291601025198887[/C][C]0.002204[/C][C]1.3232[/C][C]0.192754[/C][C]0.096377[/C][/ROW]
[ROW][C]M11[/C][C]0.00145800512599444[/C][C]0.0022[/C][C]0.6629[/C][C]0.51095[/C][C]0.255475[/C][/ROW]
[ROW][C]t[/C][C]2.15386305369157e-05[/C][C]7.4e-05[/C][C]0.2916[/C][C]0.77196[/C][C]0.38598[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=65943&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=65943&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)1.427397881451020.002198649.375600
Dummy20.04932053453206070.00207523.773500
Dummy30.09611757461310580.00223443.030600
Dummy10.01705391381715480.0024586.937700
Dummy40.00359116623864380.00017720.344100
M10.002945294739757720.0022361.3170.1948140.097407
M20.002982007938872410.0022771.30980.1972050.098602
M30.004242236060606710.0022691.86930.0683980.034199
M40.005502464182341030.0022642.43020.0193360.009668
M50.004762692304075370.0022612.10650.0410330.020516
M60.004022920425809680.002261.78030.0820970.041048
M70.003154132536384300.0022441.40540.1670980.083549
M80.001832020503977740.002220.82510.4138740.206937
M90.002374015377983310.0022111.07390.2888630.144431
M100.002916010251988870.0022041.32320.1927540.096377
M110.001458005125994440.00220.66290.510950.255475
t2.15386305369157e-057.4e-050.29160.771960.38598







Multiple Linear Regression - Regression Statistics
Multiple R0.999219553376748
R-squared0.998439715850428
Adjusted R-squared0.997859145004076
F-TEST (value)1719.75517221279
F-TEST (DF numerator)16
F-TEST (DF denominator)43
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.00347554912147548
Sum Squared Residuals0.000519415992918925

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.999219553376748 \tabularnewline
R-squared & 0.998439715850428 \tabularnewline
Adjusted R-squared & 0.997859145004076 \tabularnewline
F-TEST (value) & 1719.75517221279 \tabularnewline
F-TEST (DF numerator) & 16 \tabularnewline
F-TEST (DF denominator) & 43 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.00347554912147548 \tabularnewline
Sum Squared Residuals & 0.000519415992918925 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=65943&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.999219553376748[/C][/ROW]
[ROW][C]R-squared[/C][C]0.998439715850428[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.997859145004076[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]1719.75517221279[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]16[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]43[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.00347554912147548[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]0.000519415992918925[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=65943&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=65943&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.999219553376748
R-squared0.998439715850428
Adjusted R-squared0.997859145004076
F-TEST (value)1719.75517221279
F-TEST (DF numerator)16
F-TEST (DF denominator)43
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.00347554912147548
Sum Squared Residuals0.000519415992918925







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11.431.43036471482132-0.000364714821318268
21.431.43042296665096-0.000422966650962066
31.431.43170473340323-0.0017047334032334
41.431.43298650015550-0.00298650015550467
51.431.43226826690778-0.00226826690777584
61.431.43155003366005-0.00155003366004712
71.441.430702784401160.00929721559884135
81.481.478722745531350.00127725446865037
91.481.479286279035890.000713720964107889
101.481.479849812540430.000150187459565413
111.481.478413346044980.00158665395502293
121.481.476976879549520.00302312045048046
131.481.479943712919815.62870801858207e-05
141.481.48000196474947-1.96474946578098e-06
151.481.48128373150174-0.00128373150173700
161.481.48256549825401-0.00256549825400823
171.481.48184726500628-0.00184726500627949
181.481.48112903175855-0.00112903175855072
191.481.48028178249966-0.000281782499662258
201.481.478981209097790.00101879090220739
211.481.479544742602340.000455257397664907
221.481.48010827610688-0.000108276106877574
231.481.478671809611420.00132819038857995
241.481.477235343115960.00276465688403747
251.481.48020217648626-0.000202176486257168
261.481.48026042831591-0.000260428315908769
271.481.48154219506818-0.00154219506817999
281.481.48282396182045-0.00282396182045122
291.481.48210572857272-0.00210572857272248
301.481.48138749532499-0.00138749532499371
311.481.48054024606611-0.000540246066105246
321.481.479239672664240.0007603273357644
331.481.479803206168780.000196793831221919
341.481.48036673967332-0.000366739673320562
351.481.478930273177860.00106972682213696
361.481.477493806682410.00250619331759448
371.481.4804606400527-0.000460640052700156
381.571.57663646649546-0.00663646649545754
391.581.577918233247730.00208176675227125
401.581.57920.00080000000000001
411.581.578481766752270.00151823324772876
421.581.577763533504540.00223646649545753
431.591.59756136430145-0.00756136430145254
441.61.599851957138230.000148042861773317
451.61.60400665688141-0.00400665688141297
461.611.60816135662460.00183864337540076
471.611.61031605636779-0.000316056367785525
481.611.61247075611097-0.0024707561109718
491.621.619028755719910.000971244280089771
501.631.622678173788210.00732182621179416
511.631.627551106779120.00244889322087914
521.641.632424039770040.00757596022996411
531.641.635296972760950.00470302723904905
541.641.638169905751870.00183009424813402
551.641.64091382273162-0.00091382273162132
561.641.64320441556840-0.00320441556839548
571.651.647359115311580.00264088468841825
581.651.65151381505477-0.00151381505476803
591.651.65366851479795-0.00366851479795431
601.651.65582321454114-0.00582321454114059

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1.43 & 1.43036471482132 & -0.000364714821318268 \tabularnewline
2 & 1.43 & 1.43042296665096 & -0.000422966650962066 \tabularnewline
3 & 1.43 & 1.43170473340323 & -0.0017047334032334 \tabularnewline
4 & 1.43 & 1.43298650015550 & -0.00298650015550467 \tabularnewline
5 & 1.43 & 1.43226826690778 & -0.00226826690777584 \tabularnewline
6 & 1.43 & 1.43155003366005 & -0.00155003366004712 \tabularnewline
7 & 1.44 & 1.43070278440116 & 0.00929721559884135 \tabularnewline
8 & 1.48 & 1.47872274553135 & 0.00127725446865037 \tabularnewline
9 & 1.48 & 1.47928627903589 & 0.000713720964107889 \tabularnewline
10 & 1.48 & 1.47984981254043 & 0.000150187459565413 \tabularnewline
11 & 1.48 & 1.47841334604498 & 0.00158665395502293 \tabularnewline
12 & 1.48 & 1.47697687954952 & 0.00302312045048046 \tabularnewline
13 & 1.48 & 1.47994371291981 & 5.62870801858207e-05 \tabularnewline
14 & 1.48 & 1.48000196474947 & -1.96474946578098e-06 \tabularnewline
15 & 1.48 & 1.48128373150174 & -0.00128373150173700 \tabularnewline
16 & 1.48 & 1.48256549825401 & -0.00256549825400823 \tabularnewline
17 & 1.48 & 1.48184726500628 & -0.00184726500627949 \tabularnewline
18 & 1.48 & 1.48112903175855 & -0.00112903175855072 \tabularnewline
19 & 1.48 & 1.48028178249966 & -0.000281782499662258 \tabularnewline
20 & 1.48 & 1.47898120909779 & 0.00101879090220739 \tabularnewline
21 & 1.48 & 1.47954474260234 & 0.000455257397664907 \tabularnewline
22 & 1.48 & 1.48010827610688 & -0.000108276106877574 \tabularnewline
23 & 1.48 & 1.47867180961142 & 0.00132819038857995 \tabularnewline
24 & 1.48 & 1.47723534311596 & 0.00276465688403747 \tabularnewline
25 & 1.48 & 1.48020217648626 & -0.000202176486257168 \tabularnewline
26 & 1.48 & 1.48026042831591 & -0.000260428315908769 \tabularnewline
27 & 1.48 & 1.48154219506818 & -0.00154219506817999 \tabularnewline
28 & 1.48 & 1.48282396182045 & -0.00282396182045122 \tabularnewline
29 & 1.48 & 1.48210572857272 & -0.00210572857272248 \tabularnewline
30 & 1.48 & 1.48138749532499 & -0.00138749532499371 \tabularnewline
31 & 1.48 & 1.48054024606611 & -0.000540246066105246 \tabularnewline
32 & 1.48 & 1.47923967266424 & 0.0007603273357644 \tabularnewline
33 & 1.48 & 1.47980320616878 & 0.000196793831221919 \tabularnewline
34 & 1.48 & 1.48036673967332 & -0.000366739673320562 \tabularnewline
35 & 1.48 & 1.47893027317786 & 0.00106972682213696 \tabularnewline
36 & 1.48 & 1.47749380668241 & 0.00250619331759448 \tabularnewline
37 & 1.48 & 1.4804606400527 & -0.000460640052700156 \tabularnewline
38 & 1.57 & 1.57663646649546 & -0.00663646649545754 \tabularnewline
39 & 1.58 & 1.57791823324773 & 0.00208176675227125 \tabularnewline
40 & 1.58 & 1.5792 & 0.00080000000000001 \tabularnewline
41 & 1.58 & 1.57848176675227 & 0.00151823324772876 \tabularnewline
42 & 1.58 & 1.57776353350454 & 0.00223646649545753 \tabularnewline
43 & 1.59 & 1.59756136430145 & -0.00756136430145254 \tabularnewline
44 & 1.6 & 1.59985195713823 & 0.000148042861773317 \tabularnewline
45 & 1.6 & 1.60400665688141 & -0.00400665688141297 \tabularnewline
46 & 1.61 & 1.6081613566246 & 0.00183864337540076 \tabularnewline
47 & 1.61 & 1.61031605636779 & -0.000316056367785525 \tabularnewline
48 & 1.61 & 1.61247075611097 & -0.0024707561109718 \tabularnewline
49 & 1.62 & 1.61902875571991 & 0.000971244280089771 \tabularnewline
50 & 1.63 & 1.62267817378821 & 0.00732182621179416 \tabularnewline
51 & 1.63 & 1.62755110677912 & 0.00244889322087914 \tabularnewline
52 & 1.64 & 1.63242403977004 & 0.00757596022996411 \tabularnewline
53 & 1.64 & 1.63529697276095 & 0.00470302723904905 \tabularnewline
54 & 1.64 & 1.63816990575187 & 0.00183009424813402 \tabularnewline
55 & 1.64 & 1.64091382273162 & -0.00091382273162132 \tabularnewline
56 & 1.64 & 1.64320441556840 & -0.00320441556839548 \tabularnewline
57 & 1.65 & 1.64735911531158 & 0.00264088468841825 \tabularnewline
58 & 1.65 & 1.65151381505477 & -0.00151381505476803 \tabularnewline
59 & 1.65 & 1.65366851479795 & -0.00366851479795431 \tabularnewline
60 & 1.65 & 1.65582321454114 & -0.00582321454114059 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=65943&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]1.43[/C][C]1.43036471482132[/C][C]-0.000364714821318268[/C][/ROW]
[ROW][C]2[/C][C]1.43[/C][C]1.43042296665096[/C][C]-0.000422966650962066[/C][/ROW]
[ROW][C]3[/C][C]1.43[/C][C]1.43170473340323[/C][C]-0.0017047334032334[/C][/ROW]
[ROW][C]4[/C][C]1.43[/C][C]1.43298650015550[/C][C]-0.00298650015550467[/C][/ROW]
[ROW][C]5[/C][C]1.43[/C][C]1.43226826690778[/C][C]-0.00226826690777584[/C][/ROW]
[ROW][C]6[/C][C]1.43[/C][C]1.43155003366005[/C][C]-0.00155003366004712[/C][/ROW]
[ROW][C]7[/C][C]1.44[/C][C]1.43070278440116[/C][C]0.00929721559884135[/C][/ROW]
[ROW][C]8[/C][C]1.48[/C][C]1.47872274553135[/C][C]0.00127725446865037[/C][/ROW]
[ROW][C]9[/C][C]1.48[/C][C]1.47928627903589[/C][C]0.000713720964107889[/C][/ROW]
[ROW][C]10[/C][C]1.48[/C][C]1.47984981254043[/C][C]0.000150187459565413[/C][/ROW]
[ROW][C]11[/C][C]1.48[/C][C]1.47841334604498[/C][C]0.00158665395502293[/C][/ROW]
[ROW][C]12[/C][C]1.48[/C][C]1.47697687954952[/C][C]0.00302312045048046[/C][/ROW]
[ROW][C]13[/C][C]1.48[/C][C]1.47994371291981[/C][C]5.62870801858207e-05[/C][/ROW]
[ROW][C]14[/C][C]1.48[/C][C]1.48000196474947[/C][C]-1.96474946578098e-06[/C][/ROW]
[ROW][C]15[/C][C]1.48[/C][C]1.48128373150174[/C][C]-0.00128373150173700[/C][/ROW]
[ROW][C]16[/C][C]1.48[/C][C]1.48256549825401[/C][C]-0.00256549825400823[/C][/ROW]
[ROW][C]17[/C][C]1.48[/C][C]1.48184726500628[/C][C]-0.00184726500627949[/C][/ROW]
[ROW][C]18[/C][C]1.48[/C][C]1.48112903175855[/C][C]-0.00112903175855072[/C][/ROW]
[ROW][C]19[/C][C]1.48[/C][C]1.48028178249966[/C][C]-0.000281782499662258[/C][/ROW]
[ROW][C]20[/C][C]1.48[/C][C]1.47898120909779[/C][C]0.00101879090220739[/C][/ROW]
[ROW][C]21[/C][C]1.48[/C][C]1.47954474260234[/C][C]0.000455257397664907[/C][/ROW]
[ROW][C]22[/C][C]1.48[/C][C]1.48010827610688[/C][C]-0.000108276106877574[/C][/ROW]
[ROW][C]23[/C][C]1.48[/C][C]1.47867180961142[/C][C]0.00132819038857995[/C][/ROW]
[ROW][C]24[/C][C]1.48[/C][C]1.47723534311596[/C][C]0.00276465688403747[/C][/ROW]
[ROW][C]25[/C][C]1.48[/C][C]1.48020217648626[/C][C]-0.000202176486257168[/C][/ROW]
[ROW][C]26[/C][C]1.48[/C][C]1.48026042831591[/C][C]-0.000260428315908769[/C][/ROW]
[ROW][C]27[/C][C]1.48[/C][C]1.48154219506818[/C][C]-0.00154219506817999[/C][/ROW]
[ROW][C]28[/C][C]1.48[/C][C]1.48282396182045[/C][C]-0.00282396182045122[/C][/ROW]
[ROW][C]29[/C][C]1.48[/C][C]1.48210572857272[/C][C]-0.00210572857272248[/C][/ROW]
[ROW][C]30[/C][C]1.48[/C][C]1.48138749532499[/C][C]-0.00138749532499371[/C][/ROW]
[ROW][C]31[/C][C]1.48[/C][C]1.48054024606611[/C][C]-0.000540246066105246[/C][/ROW]
[ROW][C]32[/C][C]1.48[/C][C]1.47923967266424[/C][C]0.0007603273357644[/C][/ROW]
[ROW][C]33[/C][C]1.48[/C][C]1.47980320616878[/C][C]0.000196793831221919[/C][/ROW]
[ROW][C]34[/C][C]1.48[/C][C]1.48036673967332[/C][C]-0.000366739673320562[/C][/ROW]
[ROW][C]35[/C][C]1.48[/C][C]1.47893027317786[/C][C]0.00106972682213696[/C][/ROW]
[ROW][C]36[/C][C]1.48[/C][C]1.47749380668241[/C][C]0.00250619331759448[/C][/ROW]
[ROW][C]37[/C][C]1.48[/C][C]1.4804606400527[/C][C]-0.000460640052700156[/C][/ROW]
[ROW][C]38[/C][C]1.57[/C][C]1.57663646649546[/C][C]-0.00663646649545754[/C][/ROW]
[ROW][C]39[/C][C]1.58[/C][C]1.57791823324773[/C][C]0.00208176675227125[/C][/ROW]
[ROW][C]40[/C][C]1.58[/C][C]1.5792[/C][C]0.00080000000000001[/C][/ROW]
[ROW][C]41[/C][C]1.58[/C][C]1.57848176675227[/C][C]0.00151823324772876[/C][/ROW]
[ROW][C]42[/C][C]1.58[/C][C]1.57776353350454[/C][C]0.00223646649545753[/C][/ROW]
[ROW][C]43[/C][C]1.59[/C][C]1.59756136430145[/C][C]-0.00756136430145254[/C][/ROW]
[ROW][C]44[/C][C]1.6[/C][C]1.59985195713823[/C][C]0.000148042861773317[/C][/ROW]
[ROW][C]45[/C][C]1.6[/C][C]1.60400665688141[/C][C]-0.00400665688141297[/C][/ROW]
[ROW][C]46[/C][C]1.61[/C][C]1.6081613566246[/C][C]0.00183864337540076[/C][/ROW]
[ROW][C]47[/C][C]1.61[/C][C]1.61031605636779[/C][C]-0.000316056367785525[/C][/ROW]
[ROW][C]48[/C][C]1.61[/C][C]1.61247075611097[/C][C]-0.0024707561109718[/C][/ROW]
[ROW][C]49[/C][C]1.62[/C][C]1.61902875571991[/C][C]0.000971244280089771[/C][/ROW]
[ROW][C]50[/C][C]1.63[/C][C]1.62267817378821[/C][C]0.00732182621179416[/C][/ROW]
[ROW][C]51[/C][C]1.63[/C][C]1.62755110677912[/C][C]0.00244889322087914[/C][/ROW]
[ROW][C]52[/C][C]1.64[/C][C]1.63242403977004[/C][C]0.00757596022996411[/C][/ROW]
[ROW][C]53[/C][C]1.64[/C][C]1.63529697276095[/C][C]0.00470302723904905[/C][/ROW]
[ROW][C]54[/C][C]1.64[/C][C]1.63816990575187[/C][C]0.00183009424813402[/C][/ROW]
[ROW][C]55[/C][C]1.64[/C][C]1.64091382273162[/C][C]-0.00091382273162132[/C][/ROW]
[ROW][C]56[/C][C]1.64[/C][C]1.64320441556840[/C][C]-0.00320441556839548[/C][/ROW]
[ROW][C]57[/C][C]1.65[/C][C]1.64735911531158[/C][C]0.00264088468841825[/C][/ROW]
[ROW][C]58[/C][C]1.65[/C][C]1.65151381505477[/C][C]-0.00151381505476803[/C][/ROW]
[ROW][C]59[/C][C]1.65[/C][C]1.65366851479795[/C][C]-0.00366851479795431[/C][/ROW]
[ROW][C]60[/C][C]1.65[/C][C]1.65582321454114[/C][C]-0.00582321454114059[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=65943&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=65943&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
11.431.43036471482132-0.000364714821318268
21.431.43042296665096-0.000422966650962066
31.431.43170473340323-0.0017047334032334
41.431.43298650015550-0.00298650015550467
51.431.43226826690778-0.00226826690777584
61.431.43155003366005-0.00155003366004712
71.441.430702784401160.00929721559884135
81.481.478722745531350.00127725446865037
91.481.479286279035890.000713720964107889
101.481.479849812540430.000150187459565413
111.481.478413346044980.00158665395502293
121.481.476976879549520.00302312045048046
131.481.479943712919815.62870801858207e-05
141.481.48000196474947-1.96474946578098e-06
151.481.48128373150174-0.00128373150173700
161.481.48256549825401-0.00256549825400823
171.481.48184726500628-0.00184726500627949
181.481.48112903175855-0.00112903175855072
191.481.48028178249966-0.000281782499662258
201.481.478981209097790.00101879090220739
211.481.479544742602340.000455257397664907
221.481.48010827610688-0.000108276106877574
231.481.478671809611420.00132819038857995
241.481.477235343115960.00276465688403747
251.481.48020217648626-0.000202176486257168
261.481.48026042831591-0.000260428315908769
271.481.48154219506818-0.00154219506817999
281.481.48282396182045-0.00282396182045122
291.481.48210572857272-0.00210572857272248
301.481.48138749532499-0.00138749532499371
311.481.48054024606611-0.000540246066105246
321.481.479239672664240.0007603273357644
331.481.479803206168780.000196793831221919
341.481.48036673967332-0.000366739673320562
351.481.478930273177860.00106972682213696
361.481.477493806682410.00250619331759448
371.481.4804606400527-0.000460640052700156
381.571.57663646649546-0.00663646649545754
391.581.577918233247730.00208176675227125
401.581.57920.00080000000000001
411.581.578481766752270.00151823324772876
421.581.577763533504540.00223646649545753
431.591.59756136430145-0.00756136430145254
441.61.599851957138230.000148042861773317
451.61.60400665688141-0.00400665688141297
461.611.60816135662460.00183864337540076
471.611.61031605636779-0.000316056367785525
481.611.61247075611097-0.0024707561109718
491.621.619028755719910.000971244280089771
501.631.622678173788210.00732182621179416
511.631.627551106779120.00244889322087914
521.641.632424039770040.00757596022996411
531.641.635296972760950.00470302723904905
541.641.638169905751870.00183009424813402
551.641.64091382273162-0.00091382273162132
561.641.64320441556840-0.00320441556839548
571.651.647359115311580.00264088468841825
581.651.65151381505477-0.00151381505476803
591.651.65366851479795-0.00366851479795431
601.651.65582321454114-0.00582321454114059







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
200.6010409665360620.7979180669278770.398959033463938
210.4277339398600890.8554678797201770.572266060139911
220.2785653780028360.5571307560056710.721434621997164
230.1822665170290580.3645330340581150.817733482970942
240.1707288893358900.3414577786717810.82927111066411
250.1607410963537160.3214821927074310.839258903646284
260.1115760471553360.2231520943106710.888423952844664
270.06386209591137860.1277241918227570.936137904088621
280.03859339077257090.07718678154514180.96140660922743
290.02279331876339000.04558663752678010.97720668123661
300.01427010397115220.02854020794230450.985729896028848
310.02736752641630180.05473505283260350.972632473583698
320.01730530284719160.03461060569438330.982694697152808
330.009155725191977980.01831145038395600.990844274808022
340.00402920864552580.00805841729105160.995970791354474
350.001807653916458560.003615307832917130.998192346083541
360.002893078084365930.005786156168731870.997106921915634
370.001105782733096720.002211565466193450.998894217266903
380.001360217231812310.002720434463624620.998639782768188
390.01582953295426940.03165906590853870.98417046704573
400.01000979355845740.02001958711691470.989990206441543

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
20 & 0.601040966536062 & 0.797918066927877 & 0.398959033463938 \tabularnewline
21 & 0.427733939860089 & 0.855467879720177 & 0.572266060139911 \tabularnewline
22 & 0.278565378002836 & 0.557130756005671 & 0.721434621997164 \tabularnewline
23 & 0.182266517029058 & 0.364533034058115 & 0.817733482970942 \tabularnewline
24 & 0.170728889335890 & 0.341457778671781 & 0.82927111066411 \tabularnewline
25 & 0.160741096353716 & 0.321482192707431 & 0.839258903646284 \tabularnewline
26 & 0.111576047155336 & 0.223152094310671 & 0.888423952844664 \tabularnewline
27 & 0.0638620959113786 & 0.127724191822757 & 0.936137904088621 \tabularnewline
28 & 0.0385933907725709 & 0.0771867815451418 & 0.96140660922743 \tabularnewline
29 & 0.0227933187633900 & 0.0455866375267801 & 0.97720668123661 \tabularnewline
30 & 0.0142701039711522 & 0.0285402079423045 & 0.985729896028848 \tabularnewline
31 & 0.0273675264163018 & 0.0547350528326035 & 0.972632473583698 \tabularnewline
32 & 0.0173053028471916 & 0.0346106056943833 & 0.982694697152808 \tabularnewline
33 & 0.00915572519197798 & 0.0183114503839560 & 0.990844274808022 \tabularnewline
34 & 0.0040292086455258 & 0.0080584172910516 & 0.995970791354474 \tabularnewline
35 & 0.00180765391645856 & 0.00361530783291713 & 0.998192346083541 \tabularnewline
36 & 0.00289307808436593 & 0.00578615616873187 & 0.997106921915634 \tabularnewline
37 & 0.00110578273309672 & 0.00221156546619345 & 0.998894217266903 \tabularnewline
38 & 0.00136021723181231 & 0.00272043446362462 & 0.998639782768188 \tabularnewline
39 & 0.0158295329542694 & 0.0316590659085387 & 0.98417046704573 \tabularnewline
40 & 0.0100097935584574 & 0.0200195871169147 & 0.989990206441543 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=65943&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.601040966536062[/C][C]0.797918066927877[/C][C]0.398959033463938[/C][/ROW]
[ROW][C]21[/C][C]0.427733939860089[/C][C]0.855467879720177[/C][C]0.572266060139911[/C][/ROW]
[ROW][C]22[/C][C]0.278565378002836[/C][C]0.557130756005671[/C][C]0.721434621997164[/C][/ROW]
[ROW][C]23[/C][C]0.182266517029058[/C][C]0.364533034058115[/C][C]0.817733482970942[/C][/ROW]
[ROW][C]24[/C][C]0.170728889335890[/C][C]0.341457778671781[/C][C]0.82927111066411[/C][/ROW]
[ROW][C]25[/C][C]0.160741096353716[/C][C]0.321482192707431[/C][C]0.839258903646284[/C][/ROW]
[ROW][C]26[/C][C]0.111576047155336[/C][C]0.223152094310671[/C][C]0.888423952844664[/C][/ROW]
[ROW][C]27[/C][C]0.0638620959113786[/C][C]0.127724191822757[/C][C]0.936137904088621[/C][/ROW]
[ROW][C]28[/C][C]0.0385933907725709[/C][C]0.0771867815451418[/C][C]0.96140660922743[/C][/ROW]
[ROW][C]29[/C][C]0.0227933187633900[/C][C]0.0455866375267801[/C][C]0.97720668123661[/C][/ROW]
[ROW][C]30[/C][C]0.0142701039711522[/C][C]0.0285402079423045[/C][C]0.985729896028848[/C][/ROW]
[ROW][C]31[/C][C]0.0273675264163018[/C][C]0.0547350528326035[/C][C]0.972632473583698[/C][/ROW]
[ROW][C]32[/C][C]0.0173053028471916[/C][C]0.0346106056943833[/C][C]0.982694697152808[/C][/ROW]
[ROW][C]33[/C][C]0.00915572519197798[/C][C]0.0183114503839560[/C][C]0.990844274808022[/C][/ROW]
[ROW][C]34[/C][C]0.0040292086455258[/C][C]0.0080584172910516[/C][C]0.995970791354474[/C][/ROW]
[ROW][C]35[/C][C]0.00180765391645856[/C][C]0.00361530783291713[/C][C]0.998192346083541[/C][/ROW]
[ROW][C]36[/C][C]0.00289307808436593[/C][C]0.00578615616873187[/C][C]0.997106921915634[/C][/ROW]
[ROW][C]37[/C][C]0.00110578273309672[/C][C]0.00221156546619345[/C][C]0.998894217266903[/C][/ROW]
[ROW][C]38[/C][C]0.00136021723181231[/C][C]0.00272043446362462[/C][C]0.998639782768188[/C][/ROW]
[ROW][C]39[/C][C]0.0158295329542694[/C][C]0.0316590659085387[/C][C]0.98417046704573[/C][/ROW]
[ROW][C]40[/C][C]0.0100097935584574[/C][C]0.0200195871169147[/C][C]0.989990206441543[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=65943&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=65943&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.6010409665360620.7979180669278770.398959033463938
210.4277339398600890.8554678797201770.572266060139911
220.2785653780028360.5571307560056710.721434621997164
230.1822665170290580.3645330340581150.817733482970942
240.1707288893358900.3414577786717810.82927111066411
250.1607410963537160.3214821927074310.839258903646284
260.1115760471553360.2231520943106710.888423952844664
270.06386209591137860.1277241918227570.936137904088621
280.03859339077257090.07718678154514180.96140660922743
290.02279331876339000.04558663752678010.97720668123661
300.01427010397115220.02854020794230450.985729896028848
310.02736752641630180.05473505283260350.972632473583698
320.01730530284719160.03461060569438330.982694697152808
330.009155725191977980.01831145038395600.990844274808022
340.00402920864552580.00805841729105160.995970791354474
350.001807653916458560.003615307832917130.998192346083541
360.002893078084365930.005786156168731870.997106921915634
370.001105782733096720.002211565466193450.998894217266903
380.001360217231812310.002720434463624620.998639782768188
390.01582953295426940.03165906590853870.98417046704573
400.01000979355845740.02001958711691470.989990206441543







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level50.238095238095238NOK
5% type I error level110.523809523809524NOK
10% type I error level130.619047619047619NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=65943&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 level50.238095238095238NOK
5% type I error level110.523809523809524NOK
10% type I error level130.619047619047619NOK



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