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, 01 May 2010 12:55:00 +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/May/01/t1272718578l2ivo6yjfa1b8uv.htm/, Retrieved Tue, 23 Apr 2024 10:14:09 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=75136, Retrieved Tue, 23 Apr 2024 10:14:09 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact182
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Sleep in Mammals ...] [2010-03-18 19:36:59] [b98453cac15ba1066b407e146608df68]
-   PD    [Multiple Regression] [Review of Sleep A...] [2010-05-01 12:55:00] [d76b387543b13b5e3afd8ff9e5fdc89f] [Current]
Feedback Forum

Post a new message
Dataseries X:
0.30102999566398	0.65321251377534	0	0.81954393554187	1.6232492903979	3	1	3
0.25527250510331	1.83884909073726	3.40602894496362	3.66304097489397	2.79518458968242	3	5	4
-0.15490195998574	1.43136376415899	1.02325245963371	2.25406445291434	2.25527250510331	4	4	4
0.5910646070265	1.27875360095283	-1.69897000433602	-0.52287874528034	1.54406804435028	1	1	1
0	1.48287358360875	2.20411998265592	2.22788670461367	2.59328606702046	4	5	4
0.55630250076729	1.44715803134222	0.51851393987789	1.40823996531185	1.79934054945358	1	2	1
0.14612803567824	1.69897000433602	1.71733758272386	2.64345267648619	2.36172783601759	1	1	1
0.17609125905568	0.84509804001426	-0.36653154442041	0.80617997398389	2.04921802267018	5	4	4
-0.15490195998574	1.47712125471966	2.66745295288995	2.62634036737504	2.44870631990508	5	5	5
0.32221929473392	0.54406804435028	-1.09691001300806	0.079181246047625	1.6232492903979	1	1	1
0.61278385671974	0.77815125038364	-0.10237290870956	0.54406804435028	1.6232492903979	2	2	2
0.079181246047625	1.01703333929878	-0.69897000433602	0.69897000433602	2.07918124604762	2	2	2
-0.30102999566398	1.30102999566398	1.44185217577329	2.06069784035361	2.17026171539496	5	5	5
0.53147891704226	0.5910646070265	-0.92081875395238	0	1.20411998265592	3	1	2
0.17609125905568	1.61278385671974	1.92941892571429	2.51188336097887	2.49136169383427	1	3	1
0.53147891704226	0.95424250943932	-1	0.60205999132796	1.44715803134222	5	1	3
-0.096910013008056	0.88081359228079	0.01703333929878	0.74036268949424	1.83250891270624	5	3	4
-0.096910013008056	1.66275783168157	2.71683772329952	2.81624129999178	2.52633927738984	5	5	5
0.30102999566398	1.38021124171161	-2	-0.60205999132796	1.69897000433602	1	1	1
0.27875360095283	2	1.79239168949825	3.12057393120585	2.42651126136458	1	1	1
0.11394335230684	0.50514997831991	-1.69897000433602	-0.39794000867204	1.27875360095283	4	1	3
0.7481880270062	0.69897000433602	0.23044892137827	0.79934054945358	1.07918124604762	2	1	1
0.49136169383427	0.81291335664286	0.54406804435028	1.03342375548695	2.07918124604762	2	1	1
0.25527250510331	1.07918124604762	-0.31875876262441	1.19033169817029	2.14612803567824	2	2	2
-0.045757490560675	1.30535136944662	1	2.06069784035361	2.23044892137827	4	4	4
0.25527250510331	1.11394335230684	0.20951501454263	1.05690485133647	1.23044892137827	2	1	2
0.27875360095283	1.43136376415899	2.28330122870355	2.25527250510331	2.06069784035361	4	4	4
-0.045757490560675	1.25527250510331	0.39794000867204	1.08278537031645	1.49136169383427	5	5	5
0.41497334797082	0.67209785793572	-0.55284196865778	0.27875360095283	1.32221929473392	3	1	3
0.38021124171161	0.99122607569249	0.62736585659273	1.70243053644553	1.7160033436348	1	1	1
0.079181246047625	1.46239799789896	0.83250891270624	2.25285303097989	2.2148438480477	2	3	2
-0.045757490560675	0.84509804001426	-0.1249387366083	1.0899051114394	2.35218251811136	2	2	2
-0.30102999566398	0.77815125038364	0.55630250076729	1.32221929473392	2.35218251811136	3	2	3
-0.22184874961636	1.30102999566398	1.74429298312268	2.24303804868629	2.17897694729317	5	5	5
0.36172783601759	0.65321251377534	-0.045757490560675	0.41497334797082	1.77815125038364	2	1	2
-0.30102999566398	0.8750612633917	0.30102999566398	1.0899051114394	2.30102999566398	3	1	3
0.41497334797082	0.36172783601759	-1	0.39794000867204	1.66275783168157	3	2	2
-0.22184874961636	1.38021124171161	0.6222140229663	1.76342799356294	2.32221929473392	4	3	4
0.81954393554187	0.47712125471966	0.54406804435028	0.5910646070265	1.14612803567824	2	1	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk

\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 & 'RServer@AstonUniversity' @ vre.aston.ac.uk \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75136&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]'RServer@AstonUniversity' @ vre.aston.ac.uk[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75136&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75136&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'RServer@AstonUniversity' @ vre.aston.ac.uk







Multiple Linear Regression - Estimated Regression Equation
logPS[t] = + 1.27730811122389 + 0.0691075715100523logL[t] + 0.140548574376517logWb[t] -0.115124094370321logWbr[t] -0.397489390641219logtg[t] + 0.0939752128433267P[t] + 0.0524917856710099S[t] -0.26413778311735D[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
logPS[t] =  +  1.27730811122389 +  0.0691075715100523logL[t] +  0.140548574376517logWb[t] -0.115124094370321logWbr[t] -0.397489390641219logtg[t] +  0.0939752128433267P[t] +  0.0524917856710099S[t] -0.26413778311735D[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75136&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]logPS[t] =  +  1.27730811122389 +  0.0691075715100523logL[t] +  0.140548574376517logWb[t] -0.115124094370321logWbr[t] -0.397489390641219logtg[t] +  0.0939752128433267P[t] +  0.0524917856710099S[t] -0.26413778311735D[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75136&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75136&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
logPS[t] = + 1.27730811122389 + 0.0691075715100523logL[t] + 0.140548574376517logWb[t] -0.115124094370321logWbr[t] -0.397489390641219logtg[t] + 0.0939752128433267P[t] + 0.0524917856710099S[t] -0.26413778311735D[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)1.277308111223890.1859656.868500
logL0.06910757151005230.1164270.59360.5571050.278553
logWb0.1405485743765170.0714611.96680.0582130.029107
logWbr-0.1151240943703210.10471-1.09950.2800330.140016
logtg-0.3974893906412190.102745-3.86870.0005250.000263
P0.09397521284332670.0628921.49420.1452240.072612
S0.05249178567100990.0399081.31530.1980470.099024
D-0.264137783117350.074179-3.56080.0012170.000608

\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.27730811122389 & 0.185965 & 6.8685 & 0 & 0 \tabularnewline
logL & 0.0691075715100523 & 0.116427 & 0.5936 & 0.557105 & 0.278553 \tabularnewline
logWb & 0.140548574376517 & 0.071461 & 1.9668 & 0.058213 & 0.029107 \tabularnewline
logWbr & -0.115124094370321 & 0.10471 & -1.0995 & 0.280033 & 0.140016 \tabularnewline
logtg & -0.397489390641219 & 0.102745 & -3.8687 & 0.000525 & 0.000263 \tabularnewline
P & 0.0939752128433267 & 0.062892 & 1.4942 & 0.145224 & 0.072612 \tabularnewline
S & 0.0524917856710099 & 0.039908 & 1.3153 & 0.198047 & 0.099024 \tabularnewline
D & -0.26413778311735 & 0.074179 & -3.5608 & 0.001217 & 0.000608 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75136&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.27730811122389[/C][C]0.185965[/C][C]6.8685[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]logL[/C][C]0.0691075715100523[/C][C]0.116427[/C][C]0.5936[/C][C]0.557105[/C][C]0.278553[/C][/ROW]
[ROW][C]logWb[/C][C]0.140548574376517[/C][C]0.071461[/C][C]1.9668[/C][C]0.058213[/C][C]0.029107[/C][/ROW]
[ROW][C]logWbr[/C][C]-0.115124094370321[/C][C]0.10471[/C][C]-1.0995[/C][C]0.280033[/C][C]0.140016[/C][/ROW]
[ROW][C]logtg[/C][C]-0.397489390641219[/C][C]0.102745[/C][C]-3.8687[/C][C]0.000525[/C][C]0.000263[/C][/ROW]
[ROW][C]P[/C][C]0.0939752128433267[/C][C]0.062892[/C][C]1.4942[/C][C]0.145224[/C][C]0.072612[/C][/ROW]
[ROW][C]S[/C][C]0.0524917856710099[/C][C]0.039908[/C][C]1.3153[/C][C]0.198047[/C][C]0.099024[/C][/ROW]
[ROW][C]D[/C][C]-0.26413778311735[/C][C]0.074179[/C][C]-3.5608[/C][C]0.001217[/C][C]0.000608[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75136&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75136&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.277308111223890.1859656.868500
logL0.06910757151005230.1164270.59360.5571050.278553
logWb0.1405485743765170.0714611.96680.0582130.029107
logWbr-0.1151240943703210.10471-1.09950.2800330.140016
logtg-0.3974893906412190.102745-3.86870.0005250.000263
P0.09397521284332670.0628921.49420.1452240.072612
S0.05249178567100990.0399081.31530.1980470.099024
D-0.264137783117350.074179-3.56080.0012170.000608







Multiple Linear Regression - Regression Statistics
Multiple R0.870351758890984
R-squared0.75751218420463
Adjusted R-squared0.702756870960514
F-TEST (value)13.8344964045299
F-TEST (DF numerator)7
F-TEST (DF denominator)31
p-value5.64794074842112e-08
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.16412719537478
Sum Squared Residuals0.835069824109329

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.870351758890984 \tabularnewline
R-squared & 0.75751218420463 \tabularnewline
Adjusted R-squared & 0.702756870960514 \tabularnewline
F-TEST (value) & 13.8344964045299 \tabularnewline
F-TEST (DF numerator) & 7 \tabularnewline
F-TEST (DF denominator) & 31 \tabularnewline
p-value & 5.64794074842112e-08 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.16412719537478 \tabularnewline
Sum Squared Residuals & 0.835069824109329 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75136&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.870351758890984[/C][/ROW]
[ROW][C]R-squared[/C][C]0.75751218420463[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.702756870960514[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]13.8344964045299[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]7[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]31[/C][/ROW]
[ROW][C]p-value[/C][C]5.64794074842112e-08[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.16412719537478[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]0.835069824109329[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75136&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75136&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.870351758890984
R-squared0.75751218420463
Adjusted R-squared0.702756870960514
F-TEST (value)13.8344964045299
F-TEST (DF numerator)7
F-TEST (DF denominator)31
p-value5.64794074842112e-08
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.16412719537478
Sum Squared Residuals0.835069824109329







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
10.301029995663980.1248804919048220.176149503759158
20.25527250510331-0.1618280409850070.417100546088317
3-0.15490195998574-0.106584301648372-0.0483176583373676
40.59106460702650.4556663464830860.135398260543414
50-0.01590666574711420.0159066657471142
60.556302500767290.5076739552524460.0486285455148436
70.146128035678240.275331512873706-0.129203477195466
80.176091259055680.0001342103295835780.175957048726096
9-0.15490195998574-0.109748678567146-0.045153281418594
100.322219294733920.38872736881314-0.0665080740792197
110.612783856719740.3734946066447710.239289250074969
120.0791812460476250.107091233334863-0.0279099872872381
13-0.30102999566398-0.118376499988386-0.182653495675594
140.531478917042260.516252327495340.0152265895469199
150.176091259055680.36778541441-0.19169415535432
160.531478917042260.2881178445439750.243361072498285
17-0.0969100130080560.0977368646652329-0.194646877673289
18-0.096910013008056-0.1426992763247670.0457892633167114
190.301029995663980.367912284470406-0.0668822888064265
200.278753600952830.226004835914710.0527487650381198
210.113943352306840.246930768637389-0.132987416330549
220.74818802700620.813319473656341-0.0651314466501409
230.491361693834270.4408345349117990.0505271589224711
240.255272505103310.08164606360260250.173626441500708
25-0.045757490560675-0.0864325449584680.040675054397793
260.255272505103310.485138107009484-0.229865601906174
270.278753600952830.1477160455006490.131037555452181
28-0.0457574905606750.114177787463132-0.159935278023807
290.414973347970820.2303986886815090.184574659289311
300.380211241711610.438230033149673-0.0580187914380631
310.0791812460476250.172794446274514-0.0936132002268894
32-0.0457574905606750.0223673192313971-0.0681248097920721
33-0.30102999566398-0.0834192563359215-0.217610739328058
34-0.22184874961636-0.100324839250258-0.121523910366102
350.361727836017590.2736158489326190.0881119870849714
36-0.30102999566398-0.118014468084197-0.183015527579783
370.414973347970820.3136502323683270.101323115602493
38-0.22184874961636-0.189103055033892-0.0327456945824676
390.819543935541870.839433706594124-0.019889771052254

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 0.30102999566398 & 0.124880491904822 & 0.176149503759158 \tabularnewline
2 & 0.25527250510331 & -0.161828040985007 & 0.417100546088317 \tabularnewline
3 & -0.15490195998574 & -0.106584301648372 & -0.0483176583373676 \tabularnewline
4 & 0.5910646070265 & 0.455666346483086 & 0.135398260543414 \tabularnewline
5 & 0 & -0.0159066657471142 & 0.0159066657471142 \tabularnewline
6 & 0.55630250076729 & 0.507673955252446 & 0.0486285455148436 \tabularnewline
7 & 0.14612803567824 & 0.275331512873706 & -0.129203477195466 \tabularnewline
8 & 0.17609125905568 & 0.000134210329583578 & 0.175957048726096 \tabularnewline
9 & -0.15490195998574 & -0.109748678567146 & -0.045153281418594 \tabularnewline
10 & 0.32221929473392 & 0.38872736881314 & -0.0665080740792197 \tabularnewline
11 & 0.61278385671974 & 0.373494606644771 & 0.239289250074969 \tabularnewline
12 & 0.079181246047625 & 0.107091233334863 & -0.0279099872872381 \tabularnewline
13 & -0.30102999566398 & -0.118376499988386 & -0.182653495675594 \tabularnewline
14 & 0.53147891704226 & 0.51625232749534 & 0.0152265895469199 \tabularnewline
15 & 0.17609125905568 & 0.36778541441 & -0.19169415535432 \tabularnewline
16 & 0.53147891704226 & 0.288117844543975 & 0.243361072498285 \tabularnewline
17 & -0.096910013008056 & 0.0977368646652329 & -0.194646877673289 \tabularnewline
18 & -0.096910013008056 & -0.142699276324767 & 0.0457892633167114 \tabularnewline
19 & 0.30102999566398 & 0.367912284470406 & -0.0668822888064265 \tabularnewline
20 & 0.27875360095283 & 0.22600483591471 & 0.0527487650381198 \tabularnewline
21 & 0.11394335230684 & 0.246930768637389 & -0.132987416330549 \tabularnewline
22 & 0.7481880270062 & 0.813319473656341 & -0.0651314466501409 \tabularnewline
23 & 0.49136169383427 & 0.440834534911799 & 0.0505271589224711 \tabularnewline
24 & 0.25527250510331 & 0.0816460636026025 & 0.173626441500708 \tabularnewline
25 & -0.045757490560675 & -0.086432544958468 & 0.040675054397793 \tabularnewline
26 & 0.25527250510331 & 0.485138107009484 & -0.229865601906174 \tabularnewline
27 & 0.27875360095283 & 0.147716045500649 & 0.131037555452181 \tabularnewline
28 & -0.045757490560675 & 0.114177787463132 & -0.159935278023807 \tabularnewline
29 & 0.41497334797082 & 0.230398688681509 & 0.184574659289311 \tabularnewline
30 & 0.38021124171161 & 0.438230033149673 & -0.0580187914380631 \tabularnewline
31 & 0.079181246047625 & 0.172794446274514 & -0.0936132002268894 \tabularnewline
32 & -0.045757490560675 & 0.0223673192313971 & -0.0681248097920721 \tabularnewline
33 & -0.30102999566398 & -0.0834192563359215 & -0.217610739328058 \tabularnewline
34 & -0.22184874961636 & -0.100324839250258 & -0.121523910366102 \tabularnewline
35 & 0.36172783601759 & 0.273615848932619 & 0.0881119870849714 \tabularnewline
36 & -0.30102999566398 & -0.118014468084197 & -0.183015527579783 \tabularnewline
37 & 0.41497334797082 & 0.313650232368327 & 0.101323115602493 \tabularnewline
38 & -0.22184874961636 & -0.189103055033892 & -0.0327456945824676 \tabularnewline
39 & 0.81954393554187 & 0.839433706594124 & -0.019889771052254 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75136&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]0.30102999566398[/C][C]0.124880491904822[/C][C]0.176149503759158[/C][/ROW]
[ROW][C]2[/C][C]0.25527250510331[/C][C]-0.161828040985007[/C][C]0.417100546088317[/C][/ROW]
[ROW][C]3[/C][C]-0.15490195998574[/C][C]-0.106584301648372[/C][C]-0.0483176583373676[/C][/ROW]
[ROW][C]4[/C][C]0.5910646070265[/C][C]0.455666346483086[/C][C]0.135398260543414[/C][/ROW]
[ROW][C]5[/C][C]0[/C][C]-0.0159066657471142[/C][C]0.0159066657471142[/C][/ROW]
[ROW][C]6[/C][C]0.55630250076729[/C][C]0.507673955252446[/C][C]0.0486285455148436[/C][/ROW]
[ROW][C]7[/C][C]0.14612803567824[/C][C]0.275331512873706[/C][C]-0.129203477195466[/C][/ROW]
[ROW][C]8[/C][C]0.17609125905568[/C][C]0.000134210329583578[/C][C]0.175957048726096[/C][/ROW]
[ROW][C]9[/C][C]-0.15490195998574[/C][C]-0.109748678567146[/C][C]-0.045153281418594[/C][/ROW]
[ROW][C]10[/C][C]0.32221929473392[/C][C]0.38872736881314[/C][C]-0.0665080740792197[/C][/ROW]
[ROW][C]11[/C][C]0.61278385671974[/C][C]0.373494606644771[/C][C]0.239289250074969[/C][/ROW]
[ROW][C]12[/C][C]0.079181246047625[/C][C]0.107091233334863[/C][C]-0.0279099872872381[/C][/ROW]
[ROW][C]13[/C][C]-0.30102999566398[/C][C]-0.118376499988386[/C][C]-0.182653495675594[/C][/ROW]
[ROW][C]14[/C][C]0.53147891704226[/C][C]0.51625232749534[/C][C]0.0152265895469199[/C][/ROW]
[ROW][C]15[/C][C]0.17609125905568[/C][C]0.36778541441[/C][C]-0.19169415535432[/C][/ROW]
[ROW][C]16[/C][C]0.53147891704226[/C][C]0.288117844543975[/C][C]0.243361072498285[/C][/ROW]
[ROW][C]17[/C][C]-0.096910013008056[/C][C]0.0977368646652329[/C][C]-0.194646877673289[/C][/ROW]
[ROW][C]18[/C][C]-0.096910013008056[/C][C]-0.142699276324767[/C][C]0.0457892633167114[/C][/ROW]
[ROW][C]19[/C][C]0.30102999566398[/C][C]0.367912284470406[/C][C]-0.0668822888064265[/C][/ROW]
[ROW][C]20[/C][C]0.27875360095283[/C][C]0.22600483591471[/C][C]0.0527487650381198[/C][/ROW]
[ROW][C]21[/C][C]0.11394335230684[/C][C]0.246930768637389[/C][C]-0.132987416330549[/C][/ROW]
[ROW][C]22[/C][C]0.7481880270062[/C][C]0.813319473656341[/C][C]-0.0651314466501409[/C][/ROW]
[ROW][C]23[/C][C]0.49136169383427[/C][C]0.440834534911799[/C][C]0.0505271589224711[/C][/ROW]
[ROW][C]24[/C][C]0.25527250510331[/C][C]0.0816460636026025[/C][C]0.173626441500708[/C][/ROW]
[ROW][C]25[/C][C]-0.045757490560675[/C][C]-0.086432544958468[/C][C]0.040675054397793[/C][/ROW]
[ROW][C]26[/C][C]0.25527250510331[/C][C]0.485138107009484[/C][C]-0.229865601906174[/C][/ROW]
[ROW][C]27[/C][C]0.27875360095283[/C][C]0.147716045500649[/C][C]0.131037555452181[/C][/ROW]
[ROW][C]28[/C][C]-0.045757490560675[/C][C]0.114177787463132[/C][C]-0.159935278023807[/C][/ROW]
[ROW][C]29[/C][C]0.41497334797082[/C][C]0.230398688681509[/C][C]0.184574659289311[/C][/ROW]
[ROW][C]30[/C][C]0.38021124171161[/C][C]0.438230033149673[/C][C]-0.0580187914380631[/C][/ROW]
[ROW][C]31[/C][C]0.079181246047625[/C][C]0.172794446274514[/C][C]-0.0936132002268894[/C][/ROW]
[ROW][C]32[/C][C]-0.045757490560675[/C][C]0.0223673192313971[/C][C]-0.0681248097920721[/C][/ROW]
[ROW][C]33[/C][C]-0.30102999566398[/C][C]-0.0834192563359215[/C][C]-0.217610739328058[/C][/ROW]
[ROW][C]34[/C][C]-0.22184874961636[/C][C]-0.100324839250258[/C][C]-0.121523910366102[/C][/ROW]
[ROW][C]35[/C][C]0.36172783601759[/C][C]0.273615848932619[/C][C]0.0881119870849714[/C][/ROW]
[ROW][C]36[/C][C]-0.30102999566398[/C][C]-0.118014468084197[/C][C]-0.183015527579783[/C][/ROW]
[ROW][C]37[/C][C]0.41497334797082[/C][C]0.313650232368327[/C][C]0.101323115602493[/C][/ROW]
[ROW][C]38[/C][C]-0.22184874961636[/C][C]-0.189103055033892[/C][C]-0.0327456945824676[/C][/ROW]
[ROW][C]39[/C][C]0.81954393554187[/C][C]0.839433706594124[/C][C]-0.019889771052254[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75136&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75136&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
10.301029995663980.1248804919048220.176149503759158
20.25527250510331-0.1618280409850070.417100546088317
3-0.15490195998574-0.106584301648372-0.0483176583373676
40.59106460702650.4556663464830860.135398260543414
50-0.01590666574711420.0159066657471142
60.556302500767290.5076739552524460.0486285455148436
70.146128035678240.275331512873706-0.129203477195466
80.176091259055680.0001342103295835780.175957048726096
9-0.15490195998574-0.109748678567146-0.045153281418594
100.322219294733920.38872736881314-0.0665080740792197
110.612783856719740.3734946066447710.239289250074969
120.0791812460476250.107091233334863-0.0279099872872381
13-0.30102999566398-0.118376499988386-0.182653495675594
140.531478917042260.516252327495340.0152265895469199
150.176091259055680.36778541441-0.19169415535432
160.531478917042260.2881178445439750.243361072498285
17-0.0969100130080560.0977368646652329-0.194646877673289
18-0.096910013008056-0.1426992763247670.0457892633167114
190.301029995663980.367912284470406-0.0668822888064265
200.278753600952830.226004835914710.0527487650381198
210.113943352306840.246930768637389-0.132987416330549
220.74818802700620.813319473656341-0.0651314466501409
230.491361693834270.4408345349117990.0505271589224711
240.255272505103310.08164606360260250.173626441500708
25-0.045757490560675-0.0864325449584680.040675054397793
260.255272505103310.485138107009484-0.229865601906174
270.278753600952830.1477160455006490.131037555452181
28-0.0457574905606750.114177787463132-0.159935278023807
290.414973347970820.2303986886815090.184574659289311
300.380211241711610.438230033149673-0.0580187914380631
310.0791812460476250.172794446274514-0.0936132002268894
32-0.0457574905606750.0223673192313971-0.0681248097920721
33-0.30102999566398-0.0834192563359215-0.217610739328058
34-0.22184874961636-0.100324839250258-0.121523910366102
350.361727836017590.2736158489326190.0881119870849714
36-0.30102999566398-0.118014468084197-0.183015527579783
370.414973347970820.3136502323683270.101323115602493
38-0.22184874961636-0.189103055033892-0.0327456945824676
390.819543935541870.839433706594124-0.019889771052254







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
110.935229721539880.1295405569202390.0647702784601193
120.8785265560001460.2429468879997080.121473443999854
130.9322828908558690.1354342182882630.0677171091441314
140.8783761726311330.2432476547377340.121623827368867
150.8548454663707320.2903090672585350.145154533629268
160.9167321803308290.1665356393383430.0832678196691713
170.9220651904420480.1558696191159030.0779348095579517
180.8722234194773220.2555531610453560.127776580522678
190.8224596783536860.3550806432926280.177540321646314
200.7545506597854740.4908986804290520.245449340214526
210.7201405114323920.5597189771352160.279859488567608
220.6247024968133070.7505950063733870.375297503186693
230.5183762487857580.9632475024284840.481623751214242
240.5139578413705090.9720843172589820.486042158629491
250.4229253519996380.8458507039992770.577074648000362
260.5095360451695950.980927909660810.490463954830405
270.7009698187055960.5980603625888070.299030181294404
280.978888626549470.04222274690106170.0211113734505309

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
11 & 0.93522972153988 & 0.129540556920239 & 0.0647702784601193 \tabularnewline
12 & 0.878526556000146 & 0.242946887999708 & 0.121473443999854 \tabularnewline
13 & 0.932282890855869 & 0.135434218288263 & 0.0677171091441314 \tabularnewline
14 & 0.878376172631133 & 0.243247654737734 & 0.121623827368867 \tabularnewline
15 & 0.854845466370732 & 0.290309067258535 & 0.145154533629268 \tabularnewline
16 & 0.916732180330829 & 0.166535639338343 & 0.0832678196691713 \tabularnewline
17 & 0.922065190442048 & 0.155869619115903 & 0.0779348095579517 \tabularnewline
18 & 0.872223419477322 & 0.255553161045356 & 0.127776580522678 \tabularnewline
19 & 0.822459678353686 & 0.355080643292628 & 0.177540321646314 \tabularnewline
20 & 0.754550659785474 & 0.490898680429052 & 0.245449340214526 \tabularnewline
21 & 0.720140511432392 & 0.559718977135216 & 0.279859488567608 \tabularnewline
22 & 0.624702496813307 & 0.750595006373387 & 0.375297503186693 \tabularnewline
23 & 0.518376248785758 & 0.963247502428484 & 0.481623751214242 \tabularnewline
24 & 0.513957841370509 & 0.972084317258982 & 0.486042158629491 \tabularnewline
25 & 0.422925351999638 & 0.845850703999277 & 0.577074648000362 \tabularnewline
26 & 0.509536045169595 & 0.98092790966081 & 0.490463954830405 \tabularnewline
27 & 0.700969818705596 & 0.598060362588807 & 0.299030181294404 \tabularnewline
28 & 0.97888862654947 & 0.0422227469010617 & 0.0211113734505309 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75136&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]11[/C][C]0.93522972153988[/C][C]0.129540556920239[/C][C]0.0647702784601193[/C][/ROW]
[ROW][C]12[/C][C]0.878526556000146[/C][C]0.242946887999708[/C][C]0.121473443999854[/C][/ROW]
[ROW][C]13[/C][C]0.932282890855869[/C][C]0.135434218288263[/C][C]0.0677171091441314[/C][/ROW]
[ROW][C]14[/C][C]0.878376172631133[/C][C]0.243247654737734[/C][C]0.121623827368867[/C][/ROW]
[ROW][C]15[/C][C]0.854845466370732[/C][C]0.290309067258535[/C][C]0.145154533629268[/C][/ROW]
[ROW][C]16[/C][C]0.916732180330829[/C][C]0.166535639338343[/C][C]0.0832678196691713[/C][/ROW]
[ROW][C]17[/C][C]0.922065190442048[/C][C]0.155869619115903[/C][C]0.0779348095579517[/C][/ROW]
[ROW][C]18[/C][C]0.872223419477322[/C][C]0.255553161045356[/C][C]0.127776580522678[/C][/ROW]
[ROW][C]19[/C][C]0.822459678353686[/C][C]0.355080643292628[/C][C]0.177540321646314[/C][/ROW]
[ROW][C]20[/C][C]0.754550659785474[/C][C]0.490898680429052[/C][C]0.245449340214526[/C][/ROW]
[ROW][C]21[/C][C]0.720140511432392[/C][C]0.559718977135216[/C][C]0.279859488567608[/C][/ROW]
[ROW][C]22[/C][C]0.624702496813307[/C][C]0.750595006373387[/C][C]0.375297503186693[/C][/ROW]
[ROW][C]23[/C][C]0.518376248785758[/C][C]0.963247502428484[/C][C]0.481623751214242[/C][/ROW]
[ROW][C]24[/C][C]0.513957841370509[/C][C]0.972084317258982[/C][C]0.486042158629491[/C][/ROW]
[ROW][C]25[/C][C]0.422925351999638[/C][C]0.845850703999277[/C][C]0.577074648000362[/C][/ROW]
[ROW][C]26[/C][C]0.509536045169595[/C][C]0.98092790966081[/C][C]0.490463954830405[/C][/ROW]
[ROW][C]27[/C][C]0.700969818705596[/C][C]0.598060362588807[/C][C]0.299030181294404[/C][/ROW]
[ROW][C]28[/C][C]0.97888862654947[/C][C]0.0422227469010617[/C][C]0.0211113734505309[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75136&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75136&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
110.935229721539880.1295405569202390.0647702784601193
120.8785265560001460.2429468879997080.121473443999854
130.9322828908558690.1354342182882630.0677171091441314
140.8783761726311330.2432476547377340.121623827368867
150.8548454663707320.2903090672585350.145154533629268
160.9167321803308290.1665356393383430.0832678196691713
170.9220651904420480.1558696191159030.0779348095579517
180.8722234194773220.2555531610453560.127776580522678
190.8224596783536860.3550806432926280.177540321646314
200.7545506597854740.4908986804290520.245449340214526
210.7201405114323920.5597189771352160.279859488567608
220.6247024968133070.7505950063733870.375297503186693
230.5183762487857580.9632475024284840.481623751214242
240.5139578413705090.9720843172589820.486042158629491
250.4229253519996380.8458507039992770.577074648000362
260.5095360451695950.980927909660810.490463954830405
270.7009698187055960.5980603625888070.299030181294404
280.978888626549470.04222274690106170.0211113734505309







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level10.0555555555555556NOK
10% type I error level10.0555555555555556OK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75136&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 level10.0555555555555556NOK
10% type I error level10.0555555555555556OK



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