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, 23 Nov 2010 13:15:05 +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/23/t1290518025v3gyz07lkzqh44y.htm/, Retrieved Tue, 23 Apr 2024 08:59:40 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=99004, Retrieved Tue, 23 Apr 2024 08:59:40 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact154
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Competence to learn] [2010-11-17 07:43:53] [b98453cac15ba1066b407e146608df68]
-   PD    [Multiple Regression] [ws 7 meervoudigre...] [2010-11-23 13:15:05] [2e49bff66bb3e1f5d7fa8957e12fbb12] [Current]
Feedback Forum

Post a new message
Dataseries X:
1	2	2	1
2	2	2	1
2	2	4	2
2	2	2	1
2	2	3	2
2	1	4	1
2	1	3	3
3	3	3	1
4	2	3	1
2	1	2	1
3	4	4	2
4	2	4	4
4	3	3	2
2	2	3	1
1	1	4	1
1	1	4	3
3	2	3	2
2	2	3	2
3	2	3	3
4	2	4	3
4	1	2	1
4	2	5	2
4	4	4	2
4	2	2	2
2	2	3	2
3	2	4	3
2	2	4	2
4	2	3	2
3	3	4	2
2	2	4	2
3	1	1	2
4	4	4	3
4	1	5	2
5	2	2	2
3	2	4	2
3	2	3	2
4	2	2	2
2	2	4	1
4	2	5	2
2	2	4	1
3	2	4	2
2	2	4	2
2	2	3	2
2	2	4	2
3	2	2	2
3	1	2	3
2	2	4	2
4	1	2	2
4	2	4	2
4	1	4	4




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time18 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 & 18 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=99004&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]18 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=99004&T=0

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







Multiple Linear Regression - Estimated Regression Equation
Upset[t] = + 1.74601216389936 + 0.345463384070261punished[t] -0.154588829233689highstandards[t] + 0.488395323128333outstandingperformance[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Upset[t] =  +  1.74601216389936 +  0.345463384070261punished[t] -0.154588829233689highstandards[t] +  0.488395323128333outstandingperformance[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=99004&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Upset[t] =  +  1.74601216389936 +  0.345463384070261punished[t] -0.154588829233689highstandards[t] +  0.488395323128333outstandingperformance[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=99004&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=99004&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
Upset[t] = + 1.74601216389936 + 0.345463384070261punished[t] -0.154588829233689highstandards[t] + 0.488395323128333outstandingperformance[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)1.746012163899360.6148262.83980.00670.00335
punished0.3454633840702610.1900411.81780.0756050.037802
highstandards-0.1545888292336890.149388-1.03480.3061650.153083
outstandingperformance0.4883953231283330.186992.61190.0121210.00606

\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.74601216389936 & 0.614826 & 2.8398 & 0.0067 & 0.00335 \tabularnewline
punished & 0.345463384070261 & 0.190041 & 1.8178 & 0.075605 & 0.037802 \tabularnewline
highstandards & -0.154588829233689 & 0.149388 & -1.0348 & 0.306165 & 0.153083 \tabularnewline
outstandingperformance & 0.488395323128333 & 0.18699 & 2.6119 & 0.012121 & 0.00606 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=99004&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.74601216389936[/C][C]0.614826[/C][C]2.8398[/C][C]0.0067[/C][C]0.00335[/C][/ROW]
[ROW][C]punished[/C][C]0.345463384070261[/C][C]0.190041[/C][C]1.8178[/C][C]0.075605[/C][C]0.037802[/C][/ROW]
[ROW][C]highstandards[/C][C]-0.154588829233689[/C][C]0.149388[/C][C]-1.0348[/C][C]0.306165[/C][C]0.153083[/C][/ROW]
[ROW][C]outstandingperformance[/C][C]0.488395323128333[/C][C]0.18699[/C][C]2.6119[/C][C]0.012121[/C][C]0.00606[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=99004&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=99004&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.746012163899360.6148262.83980.00670.00335
punished0.3454633840702610.1900411.81780.0756050.037802
highstandards-0.1545888292336890.149388-1.03480.3061650.153083
outstandingperformance0.4883953231283330.186992.61190.0121210.00606







Multiple Linear Regression - Regression Statistics
Multiple R0.4156498702401
R-squared0.172764814630612
Adjusted R-squared0.118814693845652
F-TEST (value)3.20230635477603
F-TEST (DF numerator)3
F-TEST (DF denominator)46
p-value0.0318236506400493
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.941392931119065
Sum Squared Residuals40.7661499350034

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.4156498702401 \tabularnewline
R-squared & 0.172764814630612 \tabularnewline
Adjusted R-squared & 0.118814693845652 \tabularnewline
F-TEST (value) & 3.20230635477603 \tabularnewline
F-TEST (DF numerator) & 3 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 0.0318236506400493 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.941392931119065 \tabularnewline
Sum Squared Residuals & 40.7661499350034 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=99004&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.4156498702401[/C][/ROW]
[ROW][C]R-squared[/C][C]0.172764814630612[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.118814693845652[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]3.20230635477603[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]3[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]46[/C][/ROW]
[ROW][C]p-value[/C][C]0.0318236506400493[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.941392931119065[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]40.7661499350034[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=99004&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=99004&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.4156498702401
R-squared0.172764814630612
Adjusted R-squared0.118814693845652
F-TEST (value)3.20230635477603
F-TEST (DF numerator)3
F-TEST (DF denominator)46
p-value0.0318236506400493
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.941392931119065
Sum Squared Residuals40.7661499350034







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
112.61615659670084-1.61615659670084
222.61615659670084-0.616156596700839
322.79537426136179-0.795374261361794
422.61615659670084-0.616156596700839
522.94996309059548-0.949963090595484
621.96151555416320.0384844458367991
723.09289502965356-1.09289502965356
832.807031151537410.192968848462588
942.461567767467151.53843223253285
1022.27069321263058-0.270693212630578
1133.48630102950232-0.486301029502317
1243.772164907618460.227835092381539
1343.295426474665740.704573525334255
1422.46156776746715-0.461567767467151
1511.9615155541632-0.961515554163201
1612.93830620041987-1.93830620041987
1732.949963090595480.0500369094045162
1822.94996309059548-0.949963090595484
1933.43835841372382-0.438358413723817
2043.283769584490130.716230415509872
2142.270693212630581.72930678736942
2242.640785432128111.35921456787189
2343.486301029502320.513698970497683
2443.104551919829170.895448080170827
2522.94996309059548-0.949963090595484
2633.28376958449013-0.283769584490128
2722.79537426136180-0.795374261361795
2842.949963090595481.05003690940452
2933.14083764543206-0.140837645432056
3022.79537426136180-0.795374261361795
3132.91367736499260.0863226350073999
3243.974696352630650.0253036473693498
3342.295322048057851.70467795194215
3453.104551919829171.89544808017083
3532.795374261361800.204625738638205
3632.949963090595480.0500369094045162
3743.104551919829170.895448080170827
3822.30697893823346-0.306978938233462
3942.640785432128111.35921456787189
4022.30697893823346-0.306978938233462
4132.795374261361800.204625738638205
4222.79537426136180-0.795374261361795
4322.94996309059548-0.949963090595484
4422.79537426136180-0.795374261361795
4533.10455191982917-0.104551919829173
4633.24748385888724-0.247483858887244
4722.79537426136180-0.795374261361795
4842.759088535758911.24091146424109
4942.795374261361801.20462573863821
5043.42670152354820.5732984764518

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1 & 2.61615659670084 & -1.61615659670084 \tabularnewline
2 & 2 & 2.61615659670084 & -0.616156596700839 \tabularnewline
3 & 2 & 2.79537426136179 & -0.795374261361794 \tabularnewline
4 & 2 & 2.61615659670084 & -0.616156596700839 \tabularnewline
5 & 2 & 2.94996309059548 & -0.949963090595484 \tabularnewline
6 & 2 & 1.9615155541632 & 0.0384844458367991 \tabularnewline
7 & 2 & 3.09289502965356 & -1.09289502965356 \tabularnewline
8 & 3 & 2.80703115153741 & 0.192968848462588 \tabularnewline
9 & 4 & 2.46156776746715 & 1.53843223253285 \tabularnewline
10 & 2 & 2.27069321263058 & -0.270693212630578 \tabularnewline
11 & 3 & 3.48630102950232 & -0.486301029502317 \tabularnewline
12 & 4 & 3.77216490761846 & 0.227835092381539 \tabularnewline
13 & 4 & 3.29542647466574 & 0.704573525334255 \tabularnewline
14 & 2 & 2.46156776746715 & -0.461567767467151 \tabularnewline
15 & 1 & 1.9615155541632 & -0.961515554163201 \tabularnewline
16 & 1 & 2.93830620041987 & -1.93830620041987 \tabularnewline
17 & 3 & 2.94996309059548 & 0.0500369094045162 \tabularnewline
18 & 2 & 2.94996309059548 & -0.949963090595484 \tabularnewline
19 & 3 & 3.43835841372382 & -0.438358413723817 \tabularnewline
20 & 4 & 3.28376958449013 & 0.716230415509872 \tabularnewline
21 & 4 & 2.27069321263058 & 1.72930678736942 \tabularnewline
22 & 4 & 2.64078543212811 & 1.35921456787189 \tabularnewline
23 & 4 & 3.48630102950232 & 0.513698970497683 \tabularnewline
24 & 4 & 3.10455191982917 & 0.895448080170827 \tabularnewline
25 & 2 & 2.94996309059548 & -0.949963090595484 \tabularnewline
26 & 3 & 3.28376958449013 & -0.283769584490128 \tabularnewline
27 & 2 & 2.79537426136180 & -0.795374261361795 \tabularnewline
28 & 4 & 2.94996309059548 & 1.05003690940452 \tabularnewline
29 & 3 & 3.14083764543206 & -0.140837645432056 \tabularnewline
30 & 2 & 2.79537426136180 & -0.795374261361795 \tabularnewline
31 & 3 & 2.9136773649926 & 0.0863226350073999 \tabularnewline
32 & 4 & 3.97469635263065 & 0.0253036473693498 \tabularnewline
33 & 4 & 2.29532204805785 & 1.70467795194215 \tabularnewline
34 & 5 & 3.10455191982917 & 1.89544808017083 \tabularnewline
35 & 3 & 2.79537426136180 & 0.204625738638205 \tabularnewline
36 & 3 & 2.94996309059548 & 0.0500369094045162 \tabularnewline
37 & 4 & 3.10455191982917 & 0.895448080170827 \tabularnewline
38 & 2 & 2.30697893823346 & -0.306978938233462 \tabularnewline
39 & 4 & 2.64078543212811 & 1.35921456787189 \tabularnewline
40 & 2 & 2.30697893823346 & -0.306978938233462 \tabularnewline
41 & 3 & 2.79537426136180 & 0.204625738638205 \tabularnewline
42 & 2 & 2.79537426136180 & -0.795374261361795 \tabularnewline
43 & 2 & 2.94996309059548 & -0.949963090595484 \tabularnewline
44 & 2 & 2.79537426136180 & -0.795374261361795 \tabularnewline
45 & 3 & 3.10455191982917 & -0.104551919829173 \tabularnewline
46 & 3 & 3.24748385888724 & -0.247483858887244 \tabularnewline
47 & 2 & 2.79537426136180 & -0.795374261361795 \tabularnewline
48 & 4 & 2.75908853575891 & 1.24091146424109 \tabularnewline
49 & 4 & 2.79537426136180 & 1.20462573863821 \tabularnewline
50 & 4 & 3.4267015235482 & 0.5732984764518 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=99004&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[/C][C]2.61615659670084[/C][C]-1.61615659670084[/C][/ROW]
[ROW][C]2[/C][C]2[/C][C]2.61615659670084[/C][C]-0.616156596700839[/C][/ROW]
[ROW][C]3[/C][C]2[/C][C]2.79537426136179[/C][C]-0.795374261361794[/C][/ROW]
[ROW][C]4[/C][C]2[/C][C]2.61615659670084[/C][C]-0.616156596700839[/C][/ROW]
[ROW][C]5[/C][C]2[/C][C]2.94996309059548[/C][C]-0.949963090595484[/C][/ROW]
[ROW][C]6[/C][C]2[/C][C]1.9615155541632[/C][C]0.0384844458367991[/C][/ROW]
[ROW][C]7[/C][C]2[/C][C]3.09289502965356[/C][C]-1.09289502965356[/C][/ROW]
[ROW][C]8[/C][C]3[/C][C]2.80703115153741[/C][C]0.192968848462588[/C][/ROW]
[ROW][C]9[/C][C]4[/C][C]2.46156776746715[/C][C]1.53843223253285[/C][/ROW]
[ROW][C]10[/C][C]2[/C][C]2.27069321263058[/C][C]-0.270693212630578[/C][/ROW]
[ROW][C]11[/C][C]3[/C][C]3.48630102950232[/C][C]-0.486301029502317[/C][/ROW]
[ROW][C]12[/C][C]4[/C][C]3.77216490761846[/C][C]0.227835092381539[/C][/ROW]
[ROW][C]13[/C][C]4[/C][C]3.29542647466574[/C][C]0.704573525334255[/C][/ROW]
[ROW][C]14[/C][C]2[/C][C]2.46156776746715[/C][C]-0.461567767467151[/C][/ROW]
[ROW][C]15[/C][C]1[/C][C]1.9615155541632[/C][C]-0.961515554163201[/C][/ROW]
[ROW][C]16[/C][C]1[/C][C]2.93830620041987[/C][C]-1.93830620041987[/C][/ROW]
[ROW][C]17[/C][C]3[/C][C]2.94996309059548[/C][C]0.0500369094045162[/C][/ROW]
[ROW][C]18[/C][C]2[/C][C]2.94996309059548[/C][C]-0.949963090595484[/C][/ROW]
[ROW][C]19[/C][C]3[/C][C]3.43835841372382[/C][C]-0.438358413723817[/C][/ROW]
[ROW][C]20[/C][C]4[/C][C]3.28376958449013[/C][C]0.716230415509872[/C][/ROW]
[ROW][C]21[/C][C]4[/C][C]2.27069321263058[/C][C]1.72930678736942[/C][/ROW]
[ROW][C]22[/C][C]4[/C][C]2.64078543212811[/C][C]1.35921456787189[/C][/ROW]
[ROW][C]23[/C][C]4[/C][C]3.48630102950232[/C][C]0.513698970497683[/C][/ROW]
[ROW][C]24[/C][C]4[/C][C]3.10455191982917[/C][C]0.895448080170827[/C][/ROW]
[ROW][C]25[/C][C]2[/C][C]2.94996309059548[/C][C]-0.949963090595484[/C][/ROW]
[ROW][C]26[/C][C]3[/C][C]3.28376958449013[/C][C]-0.283769584490128[/C][/ROW]
[ROW][C]27[/C][C]2[/C][C]2.79537426136180[/C][C]-0.795374261361795[/C][/ROW]
[ROW][C]28[/C][C]4[/C][C]2.94996309059548[/C][C]1.05003690940452[/C][/ROW]
[ROW][C]29[/C][C]3[/C][C]3.14083764543206[/C][C]-0.140837645432056[/C][/ROW]
[ROW][C]30[/C][C]2[/C][C]2.79537426136180[/C][C]-0.795374261361795[/C][/ROW]
[ROW][C]31[/C][C]3[/C][C]2.9136773649926[/C][C]0.0863226350073999[/C][/ROW]
[ROW][C]32[/C][C]4[/C][C]3.97469635263065[/C][C]0.0253036473693498[/C][/ROW]
[ROW][C]33[/C][C]4[/C][C]2.29532204805785[/C][C]1.70467795194215[/C][/ROW]
[ROW][C]34[/C][C]5[/C][C]3.10455191982917[/C][C]1.89544808017083[/C][/ROW]
[ROW][C]35[/C][C]3[/C][C]2.79537426136180[/C][C]0.204625738638205[/C][/ROW]
[ROW][C]36[/C][C]3[/C][C]2.94996309059548[/C][C]0.0500369094045162[/C][/ROW]
[ROW][C]37[/C][C]4[/C][C]3.10455191982917[/C][C]0.895448080170827[/C][/ROW]
[ROW][C]38[/C][C]2[/C][C]2.30697893823346[/C][C]-0.306978938233462[/C][/ROW]
[ROW][C]39[/C][C]4[/C][C]2.64078543212811[/C][C]1.35921456787189[/C][/ROW]
[ROW][C]40[/C][C]2[/C][C]2.30697893823346[/C][C]-0.306978938233462[/C][/ROW]
[ROW][C]41[/C][C]3[/C][C]2.79537426136180[/C][C]0.204625738638205[/C][/ROW]
[ROW][C]42[/C][C]2[/C][C]2.79537426136180[/C][C]-0.795374261361795[/C][/ROW]
[ROW][C]43[/C][C]2[/C][C]2.94996309059548[/C][C]-0.949963090595484[/C][/ROW]
[ROW][C]44[/C][C]2[/C][C]2.79537426136180[/C][C]-0.795374261361795[/C][/ROW]
[ROW][C]45[/C][C]3[/C][C]3.10455191982917[/C][C]-0.104551919829173[/C][/ROW]
[ROW][C]46[/C][C]3[/C][C]3.24748385888724[/C][C]-0.247483858887244[/C][/ROW]
[ROW][C]47[/C][C]2[/C][C]2.79537426136180[/C][C]-0.795374261361795[/C][/ROW]
[ROW][C]48[/C][C]4[/C][C]2.75908853575891[/C][C]1.24091146424109[/C][/ROW]
[ROW][C]49[/C][C]4[/C][C]2.79537426136180[/C][C]1.20462573863821[/C][/ROW]
[ROW][C]50[/C][C]4[/C][C]3.4267015235482[/C][C]0.5732984764518[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=99004&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=99004&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
112.61615659670084-1.61615659670084
222.61615659670084-0.616156596700839
322.79537426136179-0.795374261361794
422.61615659670084-0.616156596700839
522.94996309059548-0.949963090595484
621.96151555416320.0384844458367991
723.09289502965356-1.09289502965356
832.807031151537410.192968848462588
942.461567767467151.53843223253285
1022.27069321263058-0.270693212630578
1133.48630102950232-0.486301029502317
1243.772164907618460.227835092381539
1343.295426474665740.704573525334255
1422.46156776746715-0.461567767467151
1511.9615155541632-0.961515554163201
1612.93830620041987-1.93830620041987
1732.949963090595480.0500369094045162
1822.94996309059548-0.949963090595484
1933.43835841372382-0.438358413723817
2043.283769584490130.716230415509872
2142.270693212630581.72930678736942
2242.640785432128111.35921456787189
2343.486301029502320.513698970497683
2443.104551919829170.895448080170827
2522.94996309059548-0.949963090595484
2633.28376958449013-0.283769584490128
2722.79537426136180-0.795374261361795
2842.949963090595481.05003690940452
2933.14083764543206-0.140837645432056
3022.79537426136180-0.795374261361795
3132.91367736499260.0863226350073999
3243.974696352630650.0253036473693498
3342.295322048057851.70467795194215
3453.104551919829171.89544808017083
3532.795374261361800.204625738638205
3632.949963090595480.0500369094045162
3743.104551919829170.895448080170827
3822.30697893823346-0.306978938233462
3942.640785432128111.35921456787189
4022.30697893823346-0.306978938233462
4132.795374261361800.204625738638205
4222.79537426136180-0.795374261361795
4322.94996309059548-0.949963090595484
4422.79537426136180-0.795374261361795
4533.10455191982917-0.104551919829173
4633.24748385888724-0.247483858887244
4722.79537426136180-0.795374261361795
4842.759088535758911.24091146424109
4942.795374261361801.20462573863821
5043.42670152354820.5732984764518







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
70.1493783952448680.2987567904897360.850621604755132
80.1514071301035970.3028142602071950.848592869896403
90.5741567560157420.8516864879685160.425843243984258
100.4613515687260210.9227031374520410.538648431273979
110.3442070012446930.6884140024893860.655792998755307
120.4221898064294080.8443796128588170.577810193570592
130.4390045574345180.8780091148690360.560995442565482
140.353415003067860.706830006135720.64658499693214
150.3532830739700680.7065661479401360.646716926029932
160.5207707883810020.9584584232379950.479229211618998
170.4475072405412480.8950144810824970.552492759458752
180.4215147152594060.8430294305188120.578485284740594
190.3494399211988860.6988798423977710.650560078801114
200.3733944809686540.7467889619373070.626605519031346
210.6674349147495680.6651301705008640.332565085250432
220.7426304512964150.514739097407170.257369548703585
230.6973427703512170.6053144592975670.302657229648783
240.7093758713638420.5812482572723170.290624128636158
250.7073811094517120.5852377810965750.292618890548288
260.6394987000009280.7210025999981440.360501299999072
270.6229701855236230.7540596289527530.377029814476377
280.6419426560097760.7161146879804480.358057343990224
290.5562220764761020.8875558470477950.443777923523898
300.5420213069400840.9159573861198330.457978693059916
310.4667812672367270.9335625344734540.533218732763273
320.4181167595431040.8362335190862070.581883240456896
330.5312811509452470.9374376981095070.468718849054753
340.7754100768984160.4491798462031670.224589923101584
350.6953274741909850.609345051618030.304672525809015
360.5989280951053130.8021438097893740.401071904894687
370.6770312649783150.645937470043370.322968735021685
380.5992627888626240.8014744222747510.400737211137376
390.6956871509163970.6086256981672060.304312849083603
400.6059981946648230.7880036106703540.394001805335177
410.4939220563535490.9878441127070970.506077943646451
420.402557922178650.80511584435730.59744207782135
430.3098125858488670.6196251716977340.690187414151133

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
7 & 0.149378395244868 & 0.298756790489736 & 0.850621604755132 \tabularnewline
8 & 0.151407130103597 & 0.302814260207195 & 0.848592869896403 \tabularnewline
9 & 0.574156756015742 & 0.851686487968516 & 0.425843243984258 \tabularnewline
10 & 0.461351568726021 & 0.922703137452041 & 0.538648431273979 \tabularnewline
11 & 0.344207001244693 & 0.688414002489386 & 0.655792998755307 \tabularnewline
12 & 0.422189806429408 & 0.844379612858817 & 0.577810193570592 \tabularnewline
13 & 0.439004557434518 & 0.878009114869036 & 0.560995442565482 \tabularnewline
14 & 0.35341500306786 & 0.70683000613572 & 0.64658499693214 \tabularnewline
15 & 0.353283073970068 & 0.706566147940136 & 0.646716926029932 \tabularnewline
16 & 0.520770788381002 & 0.958458423237995 & 0.479229211618998 \tabularnewline
17 & 0.447507240541248 & 0.895014481082497 & 0.552492759458752 \tabularnewline
18 & 0.421514715259406 & 0.843029430518812 & 0.578485284740594 \tabularnewline
19 & 0.349439921198886 & 0.698879842397771 & 0.650560078801114 \tabularnewline
20 & 0.373394480968654 & 0.746788961937307 & 0.626605519031346 \tabularnewline
21 & 0.667434914749568 & 0.665130170500864 & 0.332565085250432 \tabularnewline
22 & 0.742630451296415 & 0.51473909740717 & 0.257369548703585 \tabularnewline
23 & 0.697342770351217 & 0.605314459297567 & 0.302657229648783 \tabularnewline
24 & 0.709375871363842 & 0.581248257272317 & 0.290624128636158 \tabularnewline
25 & 0.707381109451712 & 0.585237781096575 & 0.292618890548288 \tabularnewline
26 & 0.639498700000928 & 0.721002599998144 & 0.360501299999072 \tabularnewline
27 & 0.622970185523623 & 0.754059628952753 & 0.377029814476377 \tabularnewline
28 & 0.641942656009776 & 0.716114687980448 & 0.358057343990224 \tabularnewline
29 & 0.556222076476102 & 0.887555847047795 & 0.443777923523898 \tabularnewline
30 & 0.542021306940084 & 0.915957386119833 & 0.457978693059916 \tabularnewline
31 & 0.466781267236727 & 0.933562534473454 & 0.533218732763273 \tabularnewline
32 & 0.418116759543104 & 0.836233519086207 & 0.581883240456896 \tabularnewline
33 & 0.531281150945247 & 0.937437698109507 & 0.468718849054753 \tabularnewline
34 & 0.775410076898416 & 0.449179846203167 & 0.224589923101584 \tabularnewline
35 & 0.695327474190985 & 0.60934505161803 & 0.304672525809015 \tabularnewline
36 & 0.598928095105313 & 0.802143809789374 & 0.401071904894687 \tabularnewline
37 & 0.677031264978315 & 0.64593747004337 & 0.322968735021685 \tabularnewline
38 & 0.599262788862624 & 0.801474422274751 & 0.400737211137376 \tabularnewline
39 & 0.695687150916397 & 0.608625698167206 & 0.304312849083603 \tabularnewline
40 & 0.605998194664823 & 0.788003610670354 & 0.394001805335177 \tabularnewline
41 & 0.493922056353549 & 0.987844112707097 & 0.506077943646451 \tabularnewline
42 & 0.40255792217865 & 0.8051158443573 & 0.59744207782135 \tabularnewline
43 & 0.309812585848867 & 0.619625171697734 & 0.690187414151133 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=99004&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]7[/C][C]0.149378395244868[/C][C]0.298756790489736[/C][C]0.850621604755132[/C][/ROW]
[ROW][C]8[/C][C]0.151407130103597[/C][C]0.302814260207195[/C][C]0.848592869896403[/C][/ROW]
[ROW][C]9[/C][C]0.574156756015742[/C][C]0.851686487968516[/C][C]0.425843243984258[/C][/ROW]
[ROW][C]10[/C][C]0.461351568726021[/C][C]0.922703137452041[/C][C]0.538648431273979[/C][/ROW]
[ROW][C]11[/C][C]0.344207001244693[/C][C]0.688414002489386[/C][C]0.655792998755307[/C][/ROW]
[ROW][C]12[/C][C]0.422189806429408[/C][C]0.844379612858817[/C][C]0.577810193570592[/C][/ROW]
[ROW][C]13[/C][C]0.439004557434518[/C][C]0.878009114869036[/C][C]0.560995442565482[/C][/ROW]
[ROW][C]14[/C][C]0.35341500306786[/C][C]0.70683000613572[/C][C]0.64658499693214[/C][/ROW]
[ROW][C]15[/C][C]0.353283073970068[/C][C]0.706566147940136[/C][C]0.646716926029932[/C][/ROW]
[ROW][C]16[/C][C]0.520770788381002[/C][C]0.958458423237995[/C][C]0.479229211618998[/C][/ROW]
[ROW][C]17[/C][C]0.447507240541248[/C][C]0.895014481082497[/C][C]0.552492759458752[/C][/ROW]
[ROW][C]18[/C][C]0.421514715259406[/C][C]0.843029430518812[/C][C]0.578485284740594[/C][/ROW]
[ROW][C]19[/C][C]0.349439921198886[/C][C]0.698879842397771[/C][C]0.650560078801114[/C][/ROW]
[ROW][C]20[/C][C]0.373394480968654[/C][C]0.746788961937307[/C][C]0.626605519031346[/C][/ROW]
[ROW][C]21[/C][C]0.667434914749568[/C][C]0.665130170500864[/C][C]0.332565085250432[/C][/ROW]
[ROW][C]22[/C][C]0.742630451296415[/C][C]0.51473909740717[/C][C]0.257369548703585[/C][/ROW]
[ROW][C]23[/C][C]0.697342770351217[/C][C]0.605314459297567[/C][C]0.302657229648783[/C][/ROW]
[ROW][C]24[/C][C]0.709375871363842[/C][C]0.581248257272317[/C][C]0.290624128636158[/C][/ROW]
[ROW][C]25[/C][C]0.707381109451712[/C][C]0.585237781096575[/C][C]0.292618890548288[/C][/ROW]
[ROW][C]26[/C][C]0.639498700000928[/C][C]0.721002599998144[/C][C]0.360501299999072[/C][/ROW]
[ROW][C]27[/C][C]0.622970185523623[/C][C]0.754059628952753[/C][C]0.377029814476377[/C][/ROW]
[ROW][C]28[/C][C]0.641942656009776[/C][C]0.716114687980448[/C][C]0.358057343990224[/C][/ROW]
[ROW][C]29[/C][C]0.556222076476102[/C][C]0.887555847047795[/C][C]0.443777923523898[/C][/ROW]
[ROW][C]30[/C][C]0.542021306940084[/C][C]0.915957386119833[/C][C]0.457978693059916[/C][/ROW]
[ROW][C]31[/C][C]0.466781267236727[/C][C]0.933562534473454[/C][C]0.533218732763273[/C][/ROW]
[ROW][C]32[/C][C]0.418116759543104[/C][C]0.836233519086207[/C][C]0.581883240456896[/C][/ROW]
[ROW][C]33[/C][C]0.531281150945247[/C][C]0.937437698109507[/C][C]0.468718849054753[/C][/ROW]
[ROW][C]34[/C][C]0.775410076898416[/C][C]0.449179846203167[/C][C]0.224589923101584[/C][/ROW]
[ROW][C]35[/C][C]0.695327474190985[/C][C]0.60934505161803[/C][C]0.304672525809015[/C][/ROW]
[ROW][C]36[/C][C]0.598928095105313[/C][C]0.802143809789374[/C][C]0.401071904894687[/C][/ROW]
[ROW][C]37[/C][C]0.677031264978315[/C][C]0.64593747004337[/C][C]0.322968735021685[/C][/ROW]
[ROW][C]38[/C][C]0.599262788862624[/C][C]0.801474422274751[/C][C]0.400737211137376[/C][/ROW]
[ROW][C]39[/C][C]0.695687150916397[/C][C]0.608625698167206[/C][C]0.304312849083603[/C][/ROW]
[ROW][C]40[/C][C]0.605998194664823[/C][C]0.788003610670354[/C][C]0.394001805335177[/C][/ROW]
[ROW][C]41[/C][C]0.493922056353549[/C][C]0.987844112707097[/C][C]0.506077943646451[/C][/ROW]
[ROW][C]42[/C][C]0.40255792217865[/C][C]0.8051158443573[/C][C]0.59744207782135[/C][/ROW]
[ROW][C]43[/C][C]0.309812585848867[/C][C]0.619625171697734[/C][C]0.690187414151133[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=99004&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=99004&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
70.1493783952448680.2987567904897360.850621604755132
80.1514071301035970.3028142602071950.848592869896403
90.5741567560157420.8516864879685160.425843243984258
100.4613515687260210.9227031374520410.538648431273979
110.3442070012446930.6884140024893860.655792998755307
120.4221898064294080.8443796128588170.577810193570592
130.4390045574345180.8780091148690360.560995442565482
140.353415003067860.706830006135720.64658499693214
150.3532830739700680.7065661479401360.646716926029932
160.5207707883810020.9584584232379950.479229211618998
170.4475072405412480.8950144810824970.552492759458752
180.4215147152594060.8430294305188120.578485284740594
190.3494399211988860.6988798423977710.650560078801114
200.3733944809686540.7467889619373070.626605519031346
210.6674349147495680.6651301705008640.332565085250432
220.7426304512964150.514739097407170.257369548703585
230.6973427703512170.6053144592975670.302657229648783
240.7093758713638420.5812482572723170.290624128636158
250.7073811094517120.5852377810965750.292618890548288
260.6394987000009280.7210025999981440.360501299999072
270.6229701855236230.7540596289527530.377029814476377
280.6419426560097760.7161146879804480.358057343990224
290.5562220764761020.8875558470477950.443777923523898
300.5420213069400840.9159573861198330.457978693059916
310.4667812672367270.9335625344734540.533218732763273
320.4181167595431040.8362335190862070.581883240456896
330.5312811509452470.9374376981095070.468718849054753
340.7754100768984160.4491798462031670.224589923101584
350.6953274741909850.609345051618030.304672525809015
360.5989280951053130.8021438097893740.401071904894687
370.6770312649783150.645937470043370.322968735021685
380.5992627888626240.8014744222747510.400737211137376
390.6956871509163970.6086256981672060.304312849083603
400.6059981946648230.7880036106703540.394001805335177
410.4939220563535490.9878441127070970.506077943646451
420.402557922178650.80511584435730.59744207782135
430.3098125858488670.6196251716977340.690187414151133







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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=99004&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 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
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')
}