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, 20 Nov 2009 04:00:16 -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/Nov/20/t12587148985ab1jqgblrk880o.htm/, Retrieved Sat, 20 Apr 2024 08:05:17 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58028, Retrieved Sat, 20 Apr 2024 08:05:17 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact121
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RM D  [Multiple Regression] [Seatbelt] [2009-11-12 14:10:54] [b98453cac15ba1066b407e146608df68]
-    D      [Multiple Regression] [WS7-3] [2009-11-20 11:00:16] [30970b478e356ce7f8c2e9fca280b230] [Current]
Feedback Forum

Post a new message
Dataseries X:
9.5	101.6	9.2	9.2	10	10.9
9.6	94.6	9.5	9.2	9.2	10
9.5	95.9	9.6	9.5	9.2	9.2
9.1	104.7	9.5	9.6	9.5	9.2
8.9	102.8	9.1	9.5	9.6	9.5
9	98.1	8.9	9.1	9.5	9.6
10.1	113.9	9	8.9	9.1	9.5
10.3	80.9	10.1	9	8.9	9.1
10.2	95.7	10.3	10.1	9	8.9
9.6	113.2	10.2	10.3	10.1	9
9.2	105.9	9.6	10.2	10.3	10.1
9.3	108.8	9.2	9.6	10.2	10.3
9.4	102.3	9.3	9.2	9.6	10.2
9.4	99	9.4	9.3	9.2	9.6
9.2	100.7	9.4	9.4	9.3	9.2
9	115.5	9.2	9.4	9.4	9.3
9	100.7	9	9.2	9.4	9.4
9	109.9	9	9	9.2	9.4
9.8	114.6	9	9	9	9.2
10	85.4	9.8	9	9	9
9.8	100.5	10	9.8	9	9
9.3	114.8	9.8	10	9.8	9
9	116.5	9.3	9.8	10	9.8
9	112.9	9	9.3	9.8	10
9.1	102	9	9	9.3	9.8
9.1	106	9.1	9	9	9.3
9.1	105.3	9.1	9.1	9	9
9.2	118.8	9.1	9.1	9.1	9
8.8	106.1	9.2	9.1	9.1	9.1
8.3	109.3	8.8	9.2	9.1	9.1
8.4	117.2	8.3	8.8	9.2	9.1
8.1	92.5	8.4	8.3	8.8	9.2
7.7	104.2	8.1	8.4	8.3	8.8
7.9	112.5	7.7	8.1	8.4	8.3
7.9	122.4	7.9	7.7	8.1	8.4
8	113.3	7.9	7.9	7.7	8.1
7.9	100	8	7.9	7.9	7.7
7.6	110.7	7.9	8	7.9	7.9
7.1	112.8	7.6	7.9	8	7.9
6.8	109.8	7.1	7.6	7.9	8
6.5	117.3	6.8	7.1	7.6	7.9
6.9	109.1	6.5	6.8	7.1	7.6
8.2	115.9	6.9	6.5	6.8	7.1
8.7	96	8.2	6.9	6.5	6.8
8.3	99.8	8.7	8.2	6.9	6.5
7.9	116.8	8.3	8.7	8.2	6.9
7.5	115.7	7.9	8.3	8.7	8.2
7.8	99.4	7.5	7.9	8.3	8.7
8.3	94.3	7.8	7.5	7.9	8.3
8.4	91	8.3	7.8	7.5	7.9
8.2	93.2	8.4	8.3	7.8	7.5
7.7	103.1	8.2	8.4	8.3	7.8
7.2	94.1	7.7	8.2	8.4	8.3
7.3	91.8	7.2	7.7	8.2	8.4
8.1	102.7	7.3	7.2	7.7	8.2
8.5	82.6	8.1	7.3	7.2	7.7




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=58028&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=58028&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58028&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
Y[t] = + 2.22376675354193 -0.0079494985633593X[t] + 1.43718399412033Y1[t] -0.559931494666128Y2[t] -0.368554988553163Y3[t] + 0.368298781202975Y4[t] -0.276786896503478M1[t] -0.470758496794736M2[t] -0.348945862635600M3[t] -0.228263175107274M4[t] -0.364395505657626M5[t] -0.153384005778434M6[t] + 0.537200243224335M7[t] -0.634309077860441M8[t] -0.512368949548809M9[t] + 0.0643622420032612M10[t] -0.134758856878862M11[t] -0.00497891142074613t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  2.22376675354193 -0.0079494985633593X[t] +  1.43718399412033Y1[t] -0.559931494666128Y2[t] -0.368554988553163Y3[t] +  0.368298781202975Y4[t] -0.276786896503478M1[t] -0.470758496794736M2[t] -0.348945862635600M3[t] -0.228263175107274M4[t] -0.364395505657626M5[t] -0.153384005778434M6[t] +  0.537200243224335M7[t] -0.634309077860441M8[t] -0.512368949548809M9[t] +  0.0643622420032612M10[t] -0.134758856878862M11[t] -0.00497891142074613t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58028&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  2.22376675354193 -0.0079494985633593X[t] +  1.43718399412033Y1[t] -0.559931494666128Y2[t] -0.368554988553163Y3[t] +  0.368298781202975Y4[t] -0.276786896503478M1[t] -0.470758496794736M2[t] -0.348945862635600M3[t] -0.228263175107274M4[t] -0.364395505657626M5[t] -0.153384005778434M6[t] +  0.537200243224335M7[t] -0.634309077860441M8[t] -0.512368949548809M9[t] +  0.0643622420032612M10[t] -0.134758856878862M11[t] -0.00497891142074613t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58028&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58028&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
Y[t] = + 2.22376675354193 -0.0079494985633593X[t] + 1.43718399412033Y1[t] -0.559931494666128Y2[t] -0.368554988553163Y3[t] + 0.368298781202975Y4[t] -0.276786896503478M1[t] -0.470758496794736M2[t] -0.348945862635600M3[t] -0.228263175107274M4[t] -0.364395505657626M5[t] -0.153384005778434M6[t] + 0.537200243224335M7[t] -0.634309077860441M8[t] -0.512368949548809M9[t] + 0.0643622420032612M10[t] -0.134758856878862M11[t] -0.00497891142074613t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)2.223766753541930.9850772.25750.0298080.014904
X-0.00794949856335930.004484-1.7730.0842480.042124
Y11.437183994120330.1475129.742800
Y2-0.5599314946661280.27011-2.0730.0450060.022503
Y3-0.3685549885531630.267209-1.37930.1758740.087937
Y40.3682987812029750.141532.60230.0131310.006565
M1-0.2767868965034780.13933-1.98660.0542170.027109
M2-0.4707584967947360.14209-3.31310.0020330.001017
M3-0.3489458626356000.13989-2.49440.0170810.008541
M4-0.2282631751072740.13444-1.69790.0977070.048853
M5-0.3643955056576260.130901-2.78380.0083270.004164
M6-0.1533840057784340.130524-1.17510.2472490.123624
M70.5372002432243350.1319184.07220.0002280.000114
M8-0.6343090778604410.195992-3.23640.0025110.001255
M9-0.5123689495488090.188841-2.71320.0099580.004979
M100.06436224200326120.1759970.36570.7166170.358309
M11-0.1347588568788620.142327-0.94680.349710.174855
t-0.004978911420746130.003513-1.41730.1645480.082274

\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) & 2.22376675354193 & 0.985077 & 2.2575 & 0.029808 & 0.014904 \tabularnewline
X & -0.0079494985633593 & 0.004484 & -1.773 & 0.084248 & 0.042124 \tabularnewline
Y1 & 1.43718399412033 & 0.147512 & 9.7428 & 0 & 0 \tabularnewline
Y2 & -0.559931494666128 & 0.27011 & -2.073 & 0.045006 & 0.022503 \tabularnewline
Y3 & -0.368554988553163 & 0.267209 & -1.3793 & 0.175874 & 0.087937 \tabularnewline
Y4 & 0.368298781202975 & 0.14153 & 2.6023 & 0.013131 & 0.006565 \tabularnewline
M1 & -0.276786896503478 & 0.13933 & -1.9866 & 0.054217 & 0.027109 \tabularnewline
M2 & -0.470758496794736 & 0.14209 & -3.3131 & 0.002033 & 0.001017 \tabularnewline
M3 & -0.348945862635600 & 0.13989 & -2.4944 & 0.017081 & 0.008541 \tabularnewline
M4 & -0.228263175107274 & 0.13444 & -1.6979 & 0.097707 & 0.048853 \tabularnewline
M5 & -0.364395505657626 & 0.130901 & -2.7838 & 0.008327 & 0.004164 \tabularnewline
M6 & -0.153384005778434 & 0.130524 & -1.1751 & 0.247249 & 0.123624 \tabularnewline
M7 & 0.537200243224335 & 0.131918 & 4.0722 & 0.000228 & 0.000114 \tabularnewline
M8 & -0.634309077860441 & 0.195992 & -3.2364 & 0.002511 & 0.001255 \tabularnewline
M9 & -0.512368949548809 & 0.188841 & -2.7132 & 0.009958 & 0.004979 \tabularnewline
M10 & 0.0643622420032612 & 0.175997 & 0.3657 & 0.716617 & 0.358309 \tabularnewline
M11 & -0.134758856878862 & 0.142327 & -0.9468 & 0.34971 & 0.174855 \tabularnewline
t & -0.00497891142074613 & 0.003513 & -1.4173 & 0.164548 & 0.082274 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58028&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]2.22376675354193[/C][C]0.985077[/C][C]2.2575[/C][C]0.029808[/C][C]0.014904[/C][/ROW]
[ROW][C]X[/C][C]-0.0079494985633593[/C][C]0.004484[/C][C]-1.773[/C][C]0.084248[/C][C]0.042124[/C][/ROW]
[ROW][C]Y1[/C][C]1.43718399412033[/C][C]0.147512[/C][C]9.7428[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Y2[/C][C]-0.559931494666128[/C][C]0.27011[/C][C]-2.073[/C][C]0.045006[/C][C]0.022503[/C][/ROW]
[ROW][C]Y3[/C][C]-0.368554988553163[/C][C]0.267209[/C][C]-1.3793[/C][C]0.175874[/C][C]0.087937[/C][/ROW]
[ROW][C]Y4[/C][C]0.368298781202975[/C][C]0.14153[/C][C]2.6023[/C][C]0.013131[/C][C]0.006565[/C][/ROW]
[ROW][C]M1[/C][C]-0.276786896503478[/C][C]0.13933[/C][C]-1.9866[/C][C]0.054217[/C][C]0.027109[/C][/ROW]
[ROW][C]M2[/C][C]-0.470758496794736[/C][C]0.14209[/C][C]-3.3131[/C][C]0.002033[/C][C]0.001017[/C][/ROW]
[ROW][C]M3[/C][C]-0.348945862635600[/C][C]0.13989[/C][C]-2.4944[/C][C]0.017081[/C][C]0.008541[/C][/ROW]
[ROW][C]M4[/C][C]-0.228263175107274[/C][C]0.13444[/C][C]-1.6979[/C][C]0.097707[/C][C]0.048853[/C][/ROW]
[ROW][C]M5[/C][C]-0.364395505657626[/C][C]0.130901[/C][C]-2.7838[/C][C]0.008327[/C][C]0.004164[/C][/ROW]
[ROW][C]M6[/C][C]-0.153384005778434[/C][C]0.130524[/C][C]-1.1751[/C][C]0.247249[/C][C]0.123624[/C][/ROW]
[ROW][C]M7[/C][C]0.537200243224335[/C][C]0.131918[/C][C]4.0722[/C][C]0.000228[/C][C]0.000114[/C][/ROW]
[ROW][C]M8[/C][C]-0.634309077860441[/C][C]0.195992[/C][C]-3.2364[/C][C]0.002511[/C][C]0.001255[/C][/ROW]
[ROW][C]M9[/C][C]-0.512368949548809[/C][C]0.188841[/C][C]-2.7132[/C][C]0.009958[/C][C]0.004979[/C][/ROW]
[ROW][C]M10[/C][C]0.0643622420032612[/C][C]0.175997[/C][C]0.3657[/C][C]0.716617[/C][C]0.358309[/C][/ROW]
[ROW][C]M11[/C][C]-0.134758856878862[/C][C]0.142327[/C][C]-0.9468[/C][C]0.34971[/C][C]0.174855[/C][/ROW]
[ROW][C]t[/C][C]-0.00497891142074613[/C][C]0.003513[/C][C]-1.4173[/C][C]0.164548[/C][C]0.082274[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58028&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58028&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)2.223766753541930.9850772.25750.0298080.014904
X-0.00794949856335930.004484-1.7730.0842480.042124
Y11.437183994120330.1475129.742800
Y2-0.5599314946661280.27011-2.0730.0450060.022503
Y3-0.3685549885531630.267209-1.37930.1758740.087937
Y40.3682987812029750.141532.60230.0131310.006565
M1-0.2767868965034780.13933-1.98660.0542170.027109
M2-0.4707584967947360.14209-3.31310.0020330.001017
M3-0.3489458626356000.13989-2.49440.0170810.008541
M4-0.2282631751072740.13444-1.69790.0977070.048853
M5-0.3643955056576260.130901-2.78380.0083270.004164
M6-0.1533840057784340.130524-1.17510.2472490.123624
M70.5372002432243350.1319184.07220.0002280.000114
M8-0.6343090778604410.195992-3.23640.0025110.001255
M9-0.5123689495488090.188841-2.71320.0099580.004979
M100.06436224200326120.1759970.36570.7166170.358309
M11-0.1347588568788620.142327-0.94680.349710.174855
t-0.004978911420746130.003513-1.41730.1645480.082274







Multiple Linear Regression - Regression Statistics
Multiple R0.985830567255625
R-squared0.971861907335547
Adjusted R-squared0.959273813248818
F-TEST (value)77.2048493314117
F-TEST (DF numerator)17
F-TEST (DF denominator)38
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.184535380982358
Sum Squared Residuals1.29402565970356

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.985830567255625 \tabularnewline
R-squared & 0.971861907335547 \tabularnewline
Adjusted R-squared & 0.959273813248818 \tabularnewline
F-TEST (value) & 77.2048493314117 \tabularnewline
F-TEST (DF numerator) & 17 \tabularnewline
F-TEST (DF denominator) & 38 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.184535380982358 \tabularnewline
Sum Squared Residuals & 1.29402565970356 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58028&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.985830567255625[/C][/ROW]
[ROW][C]R-squared[/C][C]0.971861907335547[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.959273813248818[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]77.2048493314117[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]17[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]38[/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.184535380982358[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1.29402565970356[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58028&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58028&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.985830567255625
R-squared0.971861907335547
Adjusted R-squared0.959273813248818
F-TEST (value)77.2048493314117
F-TEST (DF numerator)17
F-TEST (DF denominator)38
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.184535380982358
Sum Squared Residuals1.29402565970356







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
19.59.53396171613988-0.0339617161398841
29.69.78518798036736-0.185187980367362
39.59.5727872810232-0.0727872810232039
49.19.30825742432862-0.208257424328622
58.98.737003916951960.162996083048038
698.99062032467620.00937967532380436
710.19.916920400603370.183079599396632
810.310.4540663499839-0.154066349983899
910.210.01437188773250.185628112267515
109.69.82272263537158-0.222722635371578
119.29.20175437918828-0.00175437918828520
129.39.180081333060110.119918666939888
139.49.5019813780878-0.101981378087810
149.49.34343218827980.0565678117202089
159.29.20658360265735-0.0065836026573519
1698.917172380468130.0828276195318734
1798.75509309546420.244906904535796
1899.0736875937836-0.073687593783602
199.89.721981529587870.0780184704121272
20109.853706094188120.146293905811884
219.89.690121485863440.109878514136560
229.39.4539288479389-0.153928847938904
2398.850637019203130.149362980796870
2499.00521646253753-0.0052164625375295
259.19.088697375389750.0113026246102521
269.18.92808437480080.171915625199199
279.18.883999962706040.216000037293963
289.28.855530009352950.34446999064705
298.88.99592567666885-0.195925676668844
308.38.5456531226098-0.245653122609795
318.48.63698252349225-0.236982523492247
328.18.26478292578836-0.164782925788359
337.77.83854464358062-0.138544643580618
347.97.716417046930960.183582953069038
357.98.0924227722276-0.192422772227601
3688.21948921673943-0.219489216739433
377.97.9661396289281-0.0661396289280972
387.67.55607768995010.0439223100499016
397.17.24419991808063-0.144199918080629
406.86.90682501819357-0.106825018193571
416.56.6286397045399-0.128639704539894
426.96.710470291297310.189529708702688
438.28.011289190660930.188710809339073
448.78.63743943626130.062560563738707
458.38.45696198282346-0.156961982823456
467.97.706931469758560.193068530241444
477.57.455185829380980.0448141706190159
487.87.695212987662930.104787012337074
498.38.109219901454460.190780098545540
508.48.48721776660195-0.0872177666019477
518.28.192429235532780.00757076446722211
527.77.81221516765673-0.112215167656729
537.27.2833376063751-0.0833376063750966
547.37.17956866763310.120431332366905
558.18.31282635565558-0.212826355655585
568.58.390005193778330.109994806221667

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 9.5 & 9.53396171613988 & -0.0339617161398841 \tabularnewline
2 & 9.6 & 9.78518798036736 & -0.185187980367362 \tabularnewline
3 & 9.5 & 9.5727872810232 & -0.0727872810232039 \tabularnewline
4 & 9.1 & 9.30825742432862 & -0.208257424328622 \tabularnewline
5 & 8.9 & 8.73700391695196 & 0.162996083048038 \tabularnewline
6 & 9 & 8.9906203246762 & 0.00937967532380436 \tabularnewline
7 & 10.1 & 9.91692040060337 & 0.183079599396632 \tabularnewline
8 & 10.3 & 10.4540663499839 & -0.154066349983899 \tabularnewline
9 & 10.2 & 10.0143718877325 & 0.185628112267515 \tabularnewline
10 & 9.6 & 9.82272263537158 & -0.222722635371578 \tabularnewline
11 & 9.2 & 9.20175437918828 & -0.00175437918828520 \tabularnewline
12 & 9.3 & 9.18008133306011 & 0.119918666939888 \tabularnewline
13 & 9.4 & 9.5019813780878 & -0.101981378087810 \tabularnewline
14 & 9.4 & 9.3434321882798 & 0.0565678117202089 \tabularnewline
15 & 9.2 & 9.20658360265735 & -0.0065836026573519 \tabularnewline
16 & 9 & 8.91717238046813 & 0.0828276195318734 \tabularnewline
17 & 9 & 8.7550930954642 & 0.244906904535796 \tabularnewline
18 & 9 & 9.0736875937836 & -0.073687593783602 \tabularnewline
19 & 9.8 & 9.72198152958787 & 0.0780184704121272 \tabularnewline
20 & 10 & 9.85370609418812 & 0.146293905811884 \tabularnewline
21 & 9.8 & 9.69012148586344 & 0.109878514136560 \tabularnewline
22 & 9.3 & 9.4539288479389 & -0.153928847938904 \tabularnewline
23 & 9 & 8.85063701920313 & 0.149362980796870 \tabularnewline
24 & 9 & 9.00521646253753 & -0.0052164625375295 \tabularnewline
25 & 9.1 & 9.08869737538975 & 0.0113026246102521 \tabularnewline
26 & 9.1 & 8.9280843748008 & 0.171915625199199 \tabularnewline
27 & 9.1 & 8.88399996270604 & 0.216000037293963 \tabularnewline
28 & 9.2 & 8.85553000935295 & 0.34446999064705 \tabularnewline
29 & 8.8 & 8.99592567666885 & -0.195925676668844 \tabularnewline
30 & 8.3 & 8.5456531226098 & -0.245653122609795 \tabularnewline
31 & 8.4 & 8.63698252349225 & -0.236982523492247 \tabularnewline
32 & 8.1 & 8.26478292578836 & -0.164782925788359 \tabularnewline
33 & 7.7 & 7.83854464358062 & -0.138544643580618 \tabularnewline
34 & 7.9 & 7.71641704693096 & 0.183582953069038 \tabularnewline
35 & 7.9 & 8.0924227722276 & -0.192422772227601 \tabularnewline
36 & 8 & 8.21948921673943 & -0.219489216739433 \tabularnewline
37 & 7.9 & 7.9661396289281 & -0.0661396289280972 \tabularnewline
38 & 7.6 & 7.5560776899501 & 0.0439223100499016 \tabularnewline
39 & 7.1 & 7.24419991808063 & -0.144199918080629 \tabularnewline
40 & 6.8 & 6.90682501819357 & -0.106825018193571 \tabularnewline
41 & 6.5 & 6.6286397045399 & -0.128639704539894 \tabularnewline
42 & 6.9 & 6.71047029129731 & 0.189529708702688 \tabularnewline
43 & 8.2 & 8.01128919066093 & 0.188710809339073 \tabularnewline
44 & 8.7 & 8.6374394362613 & 0.062560563738707 \tabularnewline
45 & 8.3 & 8.45696198282346 & -0.156961982823456 \tabularnewline
46 & 7.9 & 7.70693146975856 & 0.193068530241444 \tabularnewline
47 & 7.5 & 7.45518582938098 & 0.0448141706190159 \tabularnewline
48 & 7.8 & 7.69521298766293 & 0.104787012337074 \tabularnewline
49 & 8.3 & 8.10921990145446 & 0.190780098545540 \tabularnewline
50 & 8.4 & 8.48721776660195 & -0.0872177666019477 \tabularnewline
51 & 8.2 & 8.19242923553278 & 0.00757076446722211 \tabularnewline
52 & 7.7 & 7.81221516765673 & -0.112215167656729 \tabularnewline
53 & 7.2 & 7.2833376063751 & -0.0833376063750966 \tabularnewline
54 & 7.3 & 7.1795686676331 & 0.120431332366905 \tabularnewline
55 & 8.1 & 8.31282635565558 & -0.212826355655585 \tabularnewline
56 & 8.5 & 8.39000519377833 & 0.109994806221667 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58028&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]9.5[/C][C]9.53396171613988[/C][C]-0.0339617161398841[/C][/ROW]
[ROW][C]2[/C][C]9.6[/C][C]9.78518798036736[/C][C]-0.185187980367362[/C][/ROW]
[ROW][C]3[/C][C]9.5[/C][C]9.5727872810232[/C][C]-0.0727872810232039[/C][/ROW]
[ROW][C]4[/C][C]9.1[/C][C]9.30825742432862[/C][C]-0.208257424328622[/C][/ROW]
[ROW][C]5[/C][C]8.9[/C][C]8.73700391695196[/C][C]0.162996083048038[/C][/ROW]
[ROW][C]6[/C][C]9[/C][C]8.9906203246762[/C][C]0.00937967532380436[/C][/ROW]
[ROW][C]7[/C][C]10.1[/C][C]9.91692040060337[/C][C]0.183079599396632[/C][/ROW]
[ROW][C]8[/C][C]10.3[/C][C]10.4540663499839[/C][C]-0.154066349983899[/C][/ROW]
[ROW][C]9[/C][C]10.2[/C][C]10.0143718877325[/C][C]0.185628112267515[/C][/ROW]
[ROW][C]10[/C][C]9.6[/C][C]9.82272263537158[/C][C]-0.222722635371578[/C][/ROW]
[ROW][C]11[/C][C]9.2[/C][C]9.20175437918828[/C][C]-0.00175437918828520[/C][/ROW]
[ROW][C]12[/C][C]9.3[/C][C]9.18008133306011[/C][C]0.119918666939888[/C][/ROW]
[ROW][C]13[/C][C]9.4[/C][C]9.5019813780878[/C][C]-0.101981378087810[/C][/ROW]
[ROW][C]14[/C][C]9.4[/C][C]9.3434321882798[/C][C]0.0565678117202089[/C][/ROW]
[ROW][C]15[/C][C]9.2[/C][C]9.20658360265735[/C][C]-0.0065836026573519[/C][/ROW]
[ROW][C]16[/C][C]9[/C][C]8.91717238046813[/C][C]0.0828276195318734[/C][/ROW]
[ROW][C]17[/C][C]9[/C][C]8.7550930954642[/C][C]0.244906904535796[/C][/ROW]
[ROW][C]18[/C][C]9[/C][C]9.0736875937836[/C][C]-0.073687593783602[/C][/ROW]
[ROW][C]19[/C][C]9.8[/C][C]9.72198152958787[/C][C]0.0780184704121272[/C][/ROW]
[ROW][C]20[/C][C]10[/C][C]9.85370609418812[/C][C]0.146293905811884[/C][/ROW]
[ROW][C]21[/C][C]9.8[/C][C]9.69012148586344[/C][C]0.109878514136560[/C][/ROW]
[ROW][C]22[/C][C]9.3[/C][C]9.4539288479389[/C][C]-0.153928847938904[/C][/ROW]
[ROW][C]23[/C][C]9[/C][C]8.85063701920313[/C][C]0.149362980796870[/C][/ROW]
[ROW][C]24[/C][C]9[/C][C]9.00521646253753[/C][C]-0.0052164625375295[/C][/ROW]
[ROW][C]25[/C][C]9.1[/C][C]9.08869737538975[/C][C]0.0113026246102521[/C][/ROW]
[ROW][C]26[/C][C]9.1[/C][C]8.9280843748008[/C][C]0.171915625199199[/C][/ROW]
[ROW][C]27[/C][C]9.1[/C][C]8.88399996270604[/C][C]0.216000037293963[/C][/ROW]
[ROW][C]28[/C][C]9.2[/C][C]8.85553000935295[/C][C]0.34446999064705[/C][/ROW]
[ROW][C]29[/C][C]8.8[/C][C]8.99592567666885[/C][C]-0.195925676668844[/C][/ROW]
[ROW][C]30[/C][C]8.3[/C][C]8.5456531226098[/C][C]-0.245653122609795[/C][/ROW]
[ROW][C]31[/C][C]8.4[/C][C]8.63698252349225[/C][C]-0.236982523492247[/C][/ROW]
[ROW][C]32[/C][C]8.1[/C][C]8.26478292578836[/C][C]-0.164782925788359[/C][/ROW]
[ROW][C]33[/C][C]7.7[/C][C]7.83854464358062[/C][C]-0.138544643580618[/C][/ROW]
[ROW][C]34[/C][C]7.9[/C][C]7.71641704693096[/C][C]0.183582953069038[/C][/ROW]
[ROW][C]35[/C][C]7.9[/C][C]8.0924227722276[/C][C]-0.192422772227601[/C][/ROW]
[ROW][C]36[/C][C]8[/C][C]8.21948921673943[/C][C]-0.219489216739433[/C][/ROW]
[ROW][C]37[/C][C]7.9[/C][C]7.9661396289281[/C][C]-0.0661396289280972[/C][/ROW]
[ROW][C]38[/C][C]7.6[/C][C]7.5560776899501[/C][C]0.0439223100499016[/C][/ROW]
[ROW][C]39[/C][C]7.1[/C][C]7.24419991808063[/C][C]-0.144199918080629[/C][/ROW]
[ROW][C]40[/C][C]6.8[/C][C]6.90682501819357[/C][C]-0.106825018193571[/C][/ROW]
[ROW][C]41[/C][C]6.5[/C][C]6.6286397045399[/C][C]-0.128639704539894[/C][/ROW]
[ROW][C]42[/C][C]6.9[/C][C]6.71047029129731[/C][C]0.189529708702688[/C][/ROW]
[ROW][C]43[/C][C]8.2[/C][C]8.01128919066093[/C][C]0.188710809339073[/C][/ROW]
[ROW][C]44[/C][C]8.7[/C][C]8.6374394362613[/C][C]0.062560563738707[/C][/ROW]
[ROW][C]45[/C][C]8.3[/C][C]8.45696198282346[/C][C]-0.156961982823456[/C][/ROW]
[ROW][C]46[/C][C]7.9[/C][C]7.70693146975856[/C][C]0.193068530241444[/C][/ROW]
[ROW][C]47[/C][C]7.5[/C][C]7.45518582938098[/C][C]0.0448141706190159[/C][/ROW]
[ROW][C]48[/C][C]7.8[/C][C]7.69521298766293[/C][C]0.104787012337074[/C][/ROW]
[ROW][C]49[/C][C]8.3[/C][C]8.10921990145446[/C][C]0.190780098545540[/C][/ROW]
[ROW][C]50[/C][C]8.4[/C][C]8.48721776660195[/C][C]-0.0872177666019477[/C][/ROW]
[ROW][C]51[/C][C]8.2[/C][C]8.19242923553278[/C][C]0.00757076446722211[/C][/ROW]
[ROW][C]52[/C][C]7.7[/C][C]7.81221516765673[/C][C]-0.112215167656729[/C][/ROW]
[ROW][C]53[/C][C]7.2[/C][C]7.2833376063751[/C][C]-0.0833376063750966[/C][/ROW]
[ROW][C]54[/C][C]7.3[/C][C]7.1795686676331[/C][C]0.120431332366905[/C][/ROW]
[ROW][C]55[/C][C]8.1[/C][C]8.31282635565558[/C][C]-0.212826355655585[/C][/ROW]
[ROW][C]56[/C][C]8.5[/C][C]8.39000519377833[/C][C]0.109994806221667[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58028&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58028&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
19.59.53396171613988-0.0339617161398841
29.69.78518798036736-0.185187980367362
39.59.5727872810232-0.0727872810232039
49.19.30825742432862-0.208257424328622
58.98.737003916951960.162996083048038
698.99062032467620.00937967532380436
710.19.916920400603370.183079599396632
810.310.4540663499839-0.154066349983899
910.210.01437188773250.185628112267515
109.69.82272263537158-0.222722635371578
119.29.20175437918828-0.00175437918828520
129.39.180081333060110.119918666939888
139.49.5019813780878-0.101981378087810
149.49.34343218827980.0565678117202089
159.29.20658360265735-0.0065836026573519
1698.917172380468130.0828276195318734
1798.75509309546420.244906904535796
1899.0736875937836-0.073687593783602
199.89.721981529587870.0780184704121272
20109.853706094188120.146293905811884
219.89.690121485863440.109878514136560
229.39.4539288479389-0.153928847938904
2398.850637019203130.149362980796870
2499.00521646253753-0.0052164625375295
259.19.088697375389750.0113026246102521
269.18.92808437480080.171915625199199
279.18.883999962706040.216000037293963
289.28.855530009352950.34446999064705
298.88.99592567666885-0.195925676668844
308.38.5456531226098-0.245653122609795
318.48.63698252349225-0.236982523492247
328.18.26478292578836-0.164782925788359
337.77.83854464358062-0.138544643580618
347.97.716417046930960.183582953069038
357.98.0924227722276-0.192422772227601
3688.21948921673943-0.219489216739433
377.97.9661396289281-0.0661396289280972
387.67.55607768995010.0439223100499016
397.17.24419991808063-0.144199918080629
406.86.90682501819357-0.106825018193571
416.56.6286397045399-0.128639704539894
426.96.710470291297310.189529708702688
438.28.011289190660930.188710809339073
448.78.63743943626130.062560563738707
458.38.45696198282346-0.156961982823456
467.97.706931469758560.193068530241444
477.57.455185829380980.0448141706190159
487.87.695212987662930.104787012337074
498.38.109219901454460.190780098545540
508.48.48721776660195-0.0872177666019477
518.28.192429235532780.00757076446722211
527.77.81221516765673-0.112215167656729
537.27.2833376063751-0.0833376063750966
547.37.17956866763310.120431332366905
558.18.31282635565558-0.212826355655585
568.58.390005193778330.109994806221667







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
210.2418823904121660.4837647808243330.758117609587834
220.175545942201790.351091884403580.82445405779821
230.1273964354915550.2547928709831090.872603564508445
240.09621730686938360.1924346137387670.903782693130616
250.04961260865432240.09922521730864490.950387391345678
260.0246138963750930.0492277927501860.975386103624907
270.02228568607229530.04457137214459070.977714313927705
280.3679429328342280.7358858656684560.632057067165772
290.4197344733046470.8394689466092950.580265526695352
300.3944822493437660.7889644986875320.605517750656234
310.8195934647518660.3608130704962680.180406535248134
320.7669542344234330.4660915311531340.233045765576567
330.744246532250160.511506935499680.25575346774984
340.7468611832929190.5062776334141620.253138816707081
350.7589079886980530.4821840226038940.241092011301947

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
21 & 0.241882390412166 & 0.483764780824333 & 0.758117609587834 \tabularnewline
22 & 0.17554594220179 & 0.35109188440358 & 0.82445405779821 \tabularnewline
23 & 0.127396435491555 & 0.254792870983109 & 0.872603564508445 \tabularnewline
24 & 0.0962173068693836 & 0.192434613738767 & 0.903782693130616 \tabularnewline
25 & 0.0496126086543224 & 0.0992252173086449 & 0.950387391345678 \tabularnewline
26 & 0.024613896375093 & 0.049227792750186 & 0.975386103624907 \tabularnewline
27 & 0.0222856860722953 & 0.0445713721445907 & 0.977714313927705 \tabularnewline
28 & 0.367942932834228 & 0.735885865668456 & 0.632057067165772 \tabularnewline
29 & 0.419734473304647 & 0.839468946609295 & 0.580265526695352 \tabularnewline
30 & 0.394482249343766 & 0.788964498687532 & 0.605517750656234 \tabularnewline
31 & 0.819593464751866 & 0.360813070496268 & 0.180406535248134 \tabularnewline
32 & 0.766954234423433 & 0.466091531153134 & 0.233045765576567 \tabularnewline
33 & 0.74424653225016 & 0.51150693549968 & 0.25575346774984 \tabularnewline
34 & 0.746861183292919 & 0.506277633414162 & 0.253138816707081 \tabularnewline
35 & 0.758907988698053 & 0.482184022603894 & 0.241092011301947 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58028&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]21[/C][C]0.241882390412166[/C][C]0.483764780824333[/C][C]0.758117609587834[/C][/ROW]
[ROW][C]22[/C][C]0.17554594220179[/C][C]0.35109188440358[/C][C]0.82445405779821[/C][/ROW]
[ROW][C]23[/C][C]0.127396435491555[/C][C]0.254792870983109[/C][C]0.872603564508445[/C][/ROW]
[ROW][C]24[/C][C]0.0962173068693836[/C][C]0.192434613738767[/C][C]0.903782693130616[/C][/ROW]
[ROW][C]25[/C][C]0.0496126086543224[/C][C]0.0992252173086449[/C][C]0.950387391345678[/C][/ROW]
[ROW][C]26[/C][C]0.024613896375093[/C][C]0.049227792750186[/C][C]0.975386103624907[/C][/ROW]
[ROW][C]27[/C][C]0.0222856860722953[/C][C]0.0445713721445907[/C][C]0.977714313927705[/C][/ROW]
[ROW][C]28[/C][C]0.367942932834228[/C][C]0.735885865668456[/C][C]0.632057067165772[/C][/ROW]
[ROW][C]29[/C][C]0.419734473304647[/C][C]0.839468946609295[/C][C]0.580265526695352[/C][/ROW]
[ROW][C]30[/C][C]0.394482249343766[/C][C]0.788964498687532[/C][C]0.605517750656234[/C][/ROW]
[ROW][C]31[/C][C]0.819593464751866[/C][C]0.360813070496268[/C][C]0.180406535248134[/C][/ROW]
[ROW][C]32[/C][C]0.766954234423433[/C][C]0.466091531153134[/C][C]0.233045765576567[/C][/ROW]
[ROW][C]33[/C][C]0.74424653225016[/C][C]0.51150693549968[/C][C]0.25575346774984[/C][/ROW]
[ROW][C]34[/C][C]0.746861183292919[/C][C]0.506277633414162[/C][C]0.253138816707081[/C][/ROW]
[ROW][C]35[/C][C]0.758907988698053[/C][C]0.482184022603894[/C][C]0.241092011301947[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58028&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58028&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
210.2418823904121660.4837647808243330.758117609587834
220.175545942201790.351091884403580.82445405779821
230.1273964354915550.2547928709831090.872603564508445
240.09621730686938360.1924346137387670.903782693130616
250.04961260865432240.09922521730864490.950387391345678
260.0246138963750930.0492277927501860.975386103624907
270.02228568607229530.04457137214459070.977714313927705
280.3679429328342280.7358858656684560.632057067165772
290.4197344733046470.8394689466092950.580265526695352
300.3944822493437660.7889644986875320.605517750656234
310.8195934647518660.3608130704962680.180406535248134
320.7669542344234330.4660915311531340.233045765576567
330.744246532250160.511506935499680.25575346774984
340.7468611832929190.5062776334141620.253138816707081
350.7589079886980530.4821840226038940.241092011301947







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level20.133333333333333NOK
10% type I error level30.2NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58028&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 level20.133333333333333NOK
10% type I error level30.2NOK



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