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 computationThu, 24 Dec 2009 08:51:10 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Dec/24/t126166993010jx7amavscekpe.htm/, Retrieved Sun, 05 May 2024 22:01:47 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=70669, Retrieved Sun, 05 May 2024 22:01:47 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact105
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] [dummy variabele m...] [2009-12-24 15:51:10] [454b2df2fae01897bad5ff38ed3cc924] [Current]
-    D        [Multiple Regression] [dummy variabele m...] [2009-12-24 16:15:17] [b5ba85a7ae9f50cb97d92cbc56161b32]
Feedback Forum

Post a new message
Dataseries X:
8,6	0	8,5	8,3	8,2	8,7
8,5	0	8,6	8,5	8,3	8,2
8,2	0	8,5	8,6	8,5	8,3
8,1	0	8,2	8,5	8,6	8,5
7,9	0	8,1	8,2	8,5	8,6
8,6	0	7,9	8,1	8,2	8,5
8,7	0	8,6	7,9	8,1	8,2
8,7	0	8,7	8,6	7,9	8,1
8,5	0	8,7	8,7	8,6	7,9
8,4	0	8,5	8,7	8,7	8,6
8,5	0	8,4	8,5	8,7	8,7
8,7	0	8,5	8,4	8,5	8,7
8,7	0	8,7	8,5	8,4	8,5
8,6	0	8,7	8,7	8,5	8,4
8,5	0	8,6	8,7	8,7	8,5
8,3	0	8,5	8,6	8,7	8,7
8	0	8,3	8,5	8,6	8,7
8,2	0	8	8,3	8,5	8,6
8,1	0	8,2	8	8,3	8,5
8,1	0	8,1	8,2	8	8,3
8	0	8,1	8,1	8,2	8
7,9	0	8	8,1	8,1	8,2
7,9	0	7,9	8	8,1	8,1
8	0	7,9	7,9	8	8,1
8	0	8	7,9	7,9	8
7,9	0	8	8	7,9	7,9
8	0	7,9	8	8	7,9
7,7	0	8	7,9	8	8
7,2	0	7,7	8	7,9	8
7,5	0	7,2	7,7	8	7,9
7,3	0	7,5	7,2	7,7	8
7	0	7,3	7,5	7,2	7,7
7	0	7	7,3	7,5	7,2
7	0	7	7	7,3	7,5
7,2	0	7	7	7	7,3
7,3	0	7,2	7	7	7
7,1	0	7,3	7,2	7	7
6,8	0	7,1	7,3	7,2	7
6,4	0	6,8	7,1	7,3	7,2
6,1	0	6,4	6,8	7,1	7,3
6,5	0	6,1	6,4	6,8	7,1
7,7	0	6,5	6,1	6,4	6,8
7,9	0	7,7	6,5	6,1	6,4
7,5	1	7,9	7,7	6,5	6,1
6,9	1	7,5	7,9	7,7	6,5
6,6	1	6,9	7,5	7,9	7,7
6,9	1	6,6	6,9	7,5	7,9
7,7	1	6,9	6,6	6,9	7,5
8	1	7,7	6,9	6,6	6,9
8	1	8	7,7	6,9	6,6
7,7	1	8	8	7,7	6,9
7,3	1	7,7	8	8	7,7
7,4	1	7,3	7,7	8	8
8,1	1	7,4	7,3	7,7	8
8,3	1	8,1	7,4	7,3	7,7
8,2	1	8,3	8,1	7,4	7,3




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 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 & 5 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70669&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]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70669&T=0

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 0.926377432376777 + 0.20862236830311X[t] + 1.51300377809217Y1[t] -0.848950794851456Y2[t] -0.133140187587768Y3[t] + 0.372615536039044Y4[t] -0.240677055650023M1[t] -0.0853905579208965M2[t] -0.0798213024523612M3[t] -0.233163691979213M4[t] -0.135516619773325M5[t] + 0.438080071005953M6[t] -0.500032999637043M7[t] -0.147424418177767M8[t] + 0.0149030110573563M9[t] -0.136869156770028M10[t] -0.0071194533536342M11[t] -0.00493769282430811t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  0.926377432376777 +  0.20862236830311X[t] +  1.51300377809217Y1[t] -0.848950794851456Y2[t] -0.133140187587768Y3[t] +  0.372615536039044Y4[t] -0.240677055650023M1[t] -0.0853905579208965M2[t] -0.0798213024523612M3[t] -0.233163691979213M4[t] -0.135516619773325M5[t] +  0.438080071005953M6[t] -0.500032999637043M7[t] -0.147424418177767M8[t] +  0.0149030110573563M9[t] -0.136869156770028M10[t] -0.0071194533536342M11[t] -0.00493769282430811t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70669&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  0.926377432376777 +  0.20862236830311X[t] +  1.51300377809217Y1[t] -0.848950794851456Y2[t] -0.133140187587768Y3[t] +  0.372615536039044Y4[t] -0.240677055650023M1[t] -0.0853905579208965M2[t] -0.0798213024523612M3[t] -0.233163691979213M4[t] -0.135516619773325M5[t] +  0.438080071005953M6[t] -0.500032999637043M7[t] -0.147424418177767M8[t] +  0.0149030110573563M9[t] -0.136869156770028M10[t] -0.0071194533536342M11[t] -0.00493769282430811t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70669&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70669&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] = + 0.926377432376777 + 0.20862236830311X[t] + 1.51300377809217Y1[t] -0.848950794851456Y2[t] -0.133140187587768Y3[t] + 0.372615536039044Y4[t] -0.240677055650023M1[t] -0.0853905579208965M2[t] -0.0798213024523612M3[t] -0.233163691979213M4[t] -0.135516619773325M5[t] + 0.438080071005953M6[t] -0.500032999637043M7[t] -0.147424418177767M8[t] + 0.0149030110573563M9[t] -0.136869156770028M10[t] -0.0071194533536342M11[t] -0.00493769282430811t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)0.9263774323767770.6471071.43160.1604420.080221
X0.208622368303110.0951142.19340.0344690.017234
Y11.513003778092170.14500710.43400
Y2-0.8489507948514560.274528-3.09240.003710.001855
Y3-0.1331401875877680.274445-0.48510.6303720.315186
Y40.3726155360390440.147812.52090.0160220.008011
M1-0.2406770556500230.111247-2.16340.0368620.018431
M2-0.08539055792089650.120872-0.70650.4842160.242108
M3-0.07982130245236120.121187-0.65870.5140830.257042
M4-0.2331636919792130.115391-2.02060.0504060.025203
M5-0.1355166197733250.115866-1.16960.2494450.124723
M60.4380800710059530.1095853.99760.0002840.000142
M7-0.5000329996370430.124218-4.02540.0002620.000131
M8-0.1474244181777670.159982-0.92150.36260.1813
M90.01490301105735630.1468370.10150.9196920.459846
M10-0.1368691567700280.120038-1.14020.2613330.130667
M11-0.00711945335363420.115911-0.06140.9513450.475673
t-0.004937692824308110.003658-1.34980.185060.09253

\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) & 0.926377432376777 & 0.647107 & 1.4316 & 0.160442 & 0.080221 \tabularnewline
X & 0.20862236830311 & 0.095114 & 2.1934 & 0.034469 & 0.017234 \tabularnewline
Y1 & 1.51300377809217 & 0.145007 & 10.434 & 0 & 0 \tabularnewline
Y2 & -0.848950794851456 & 0.274528 & -3.0924 & 0.00371 & 0.001855 \tabularnewline
Y3 & -0.133140187587768 & 0.274445 & -0.4851 & 0.630372 & 0.315186 \tabularnewline
Y4 & 0.372615536039044 & 0.14781 & 2.5209 & 0.016022 & 0.008011 \tabularnewline
M1 & -0.240677055650023 & 0.111247 & -2.1634 & 0.036862 & 0.018431 \tabularnewline
M2 & -0.0853905579208965 & 0.120872 & -0.7065 & 0.484216 & 0.242108 \tabularnewline
M3 & -0.0798213024523612 & 0.121187 & -0.6587 & 0.514083 & 0.257042 \tabularnewline
M4 & -0.233163691979213 & 0.115391 & -2.0206 & 0.050406 & 0.025203 \tabularnewline
M5 & -0.135516619773325 & 0.115866 & -1.1696 & 0.249445 & 0.124723 \tabularnewline
M6 & 0.438080071005953 & 0.109585 & 3.9976 & 0.000284 & 0.000142 \tabularnewline
M7 & -0.500032999637043 & 0.124218 & -4.0254 & 0.000262 & 0.000131 \tabularnewline
M8 & -0.147424418177767 & 0.159982 & -0.9215 & 0.3626 & 0.1813 \tabularnewline
M9 & 0.0149030110573563 & 0.146837 & 0.1015 & 0.919692 & 0.459846 \tabularnewline
M10 & -0.136869156770028 & 0.120038 & -1.1402 & 0.261333 & 0.130667 \tabularnewline
M11 & -0.0071194533536342 & 0.115911 & -0.0614 & 0.951345 & 0.475673 \tabularnewline
t & -0.00493769282430811 & 0.003658 & -1.3498 & 0.18506 & 0.09253 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70669&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]0.926377432376777[/C][C]0.647107[/C][C]1.4316[/C][C]0.160442[/C][C]0.080221[/C][/ROW]
[ROW][C]X[/C][C]0.20862236830311[/C][C]0.095114[/C][C]2.1934[/C][C]0.034469[/C][C]0.017234[/C][/ROW]
[ROW][C]Y1[/C][C]1.51300377809217[/C][C]0.145007[/C][C]10.434[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Y2[/C][C]-0.848950794851456[/C][C]0.274528[/C][C]-3.0924[/C][C]0.00371[/C][C]0.001855[/C][/ROW]
[ROW][C]Y3[/C][C]-0.133140187587768[/C][C]0.274445[/C][C]-0.4851[/C][C]0.630372[/C][C]0.315186[/C][/ROW]
[ROW][C]Y4[/C][C]0.372615536039044[/C][C]0.14781[/C][C]2.5209[/C][C]0.016022[/C][C]0.008011[/C][/ROW]
[ROW][C]M1[/C][C]-0.240677055650023[/C][C]0.111247[/C][C]-2.1634[/C][C]0.036862[/C][C]0.018431[/C][/ROW]
[ROW][C]M2[/C][C]-0.0853905579208965[/C][C]0.120872[/C][C]-0.7065[/C][C]0.484216[/C][C]0.242108[/C][/ROW]
[ROW][C]M3[/C][C]-0.0798213024523612[/C][C]0.121187[/C][C]-0.6587[/C][C]0.514083[/C][C]0.257042[/C][/ROW]
[ROW][C]M4[/C][C]-0.233163691979213[/C][C]0.115391[/C][C]-2.0206[/C][C]0.050406[/C][C]0.025203[/C][/ROW]
[ROW][C]M5[/C][C]-0.135516619773325[/C][C]0.115866[/C][C]-1.1696[/C][C]0.249445[/C][C]0.124723[/C][/ROW]
[ROW][C]M6[/C][C]0.438080071005953[/C][C]0.109585[/C][C]3.9976[/C][C]0.000284[/C][C]0.000142[/C][/ROW]
[ROW][C]M7[/C][C]-0.500032999637043[/C][C]0.124218[/C][C]-4.0254[/C][C]0.000262[/C][C]0.000131[/C][/ROW]
[ROW][C]M8[/C][C]-0.147424418177767[/C][C]0.159982[/C][C]-0.9215[/C][C]0.3626[/C][C]0.1813[/C][/ROW]
[ROW][C]M9[/C][C]0.0149030110573563[/C][C]0.146837[/C][C]0.1015[/C][C]0.919692[/C][C]0.459846[/C][/ROW]
[ROW][C]M10[/C][C]-0.136869156770028[/C][C]0.120038[/C][C]-1.1402[/C][C]0.261333[/C][C]0.130667[/C][/ROW]
[ROW][C]M11[/C][C]-0.0071194533536342[/C][C]0.115911[/C][C]-0.0614[/C][C]0.951345[/C][C]0.475673[/C][/ROW]
[ROW][C]t[/C][C]-0.00493769282430811[/C][C]0.003658[/C][C]-1.3498[/C][C]0.18506[/C][C]0.09253[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70669&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70669&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)0.9263774323767770.6471071.43160.1604420.080221
X0.208622368303110.0951142.19340.0344690.017234
Y11.513003778092170.14500710.43400
Y2-0.8489507948514560.274528-3.09240.003710.001855
Y3-0.1331401875877680.274445-0.48510.6303720.315186
Y40.3726155360390440.147812.52090.0160220.008011
M1-0.2406770556500230.111247-2.16340.0368620.018431
M2-0.08539055792089650.120872-0.70650.4842160.242108
M3-0.07982130245236120.121187-0.65870.5140830.257042
M4-0.2331636919792130.115391-2.02060.0504060.025203
M5-0.1355166197733250.115866-1.16960.2494450.124723
M60.4380800710059530.1095853.99760.0002840.000142
M7-0.5000329996370430.124218-4.02540.0002620.000131
M8-0.1474244181777670.159982-0.92150.36260.1813
M90.01490301105735630.1468370.10150.9196920.459846
M10-0.1368691567700280.120038-1.14020.2613330.130667
M11-0.00711945335363420.115911-0.06140.9513450.475673
t-0.004937692824308110.003658-1.34980.185060.09253







Multiple Linear Regression - Regression Statistics
Multiple R0.979836295763954
R-squared0.960079166496428
Adjusted R-squared0.94221984624483
F-TEST (value)53.7578784058433
F-TEST (DF numerator)17
F-TEST (DF denominator)38
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.158771748288892
Sum Squared Residuals0.957921786079023

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.979836295763954 \tabularnewline
R-squared & 0.960079166496428 \tabularnewline
Adjusted R-squared & 0.94221984624483 \tabularnewline
F-TEST (value) & 53.7578784058433 \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.158771748288892 \tabularnewline
Sum Squared Residuals & 0.957921786079023 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70669&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.979836295763954[/C][/ROW]
[ROW][C]R-squared[/C][C]0.960079166496428[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.94221984624483[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]53.7578784058433[/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.158771748288892[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]0.957921786079023[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70669&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70669&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.979836295763954
R-squared0.960079166496428
Adjusted R-squared0.94221984624483
F-TEST (value)53.7578784058433
F-TEST (DF numerator)17
F-TEST (DF denominator)38
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.158771748288892
Sum Squared Residuals0.957921786079023







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
18.68.64500882573885-0.0450088257388447
28.58.57724606270429-0.0772460627042843
38.28.3523156841405-0.152315684140502
48.17.886238636295860.213761363704136
57.98.13290844868635-0.232908448686345
68.68.486542273180450.113457726819547
78.78.673913671295020.0260863287049752
88.78.567985865256840.132014134743160
98.58.472759283663260.0272407163367366
108.48.26096552386170.139034476138309
118.58.441528869218750.0584711307812455
128.78.70653412456-0.00653412455999671
138.78.617415963769920.0825840362300771
148.68.547399037341770.052600962658231
158.58.407363738263130.0926362617368702
168.38.25720146479570.0427985352042946
1788.14551918680277-0.145519186802775
188.28.40611967545525-0.206119675455255
198.18.009721389975470.0902786100245288
208.18.001720690899450.0982793091005472
2188.10559280846615-0.105592808466147
227.97.885419695971820.0145803040281778
237.97.90656485463593-0.00656485463593173
2488.00695571340918-0.00695571340918026
2587.888693807898940.111306192101061
267.97.9168859797147-0.0168859797147071
2787.752903145790940.247096854209059
287.77.86808007433805-0.168080074338047
297.27.4353072595656-0.235307259565607
307.57.451574034567240.0484259654327551
317.37.46410341183356-0.164103411833555
3277.20927373937682-0.209273739376821
3376.856302677034420.143697322965576
3477.09269075316744-0.092690753167435
357.27.182921712828040.0170782871719581
367.37.37591956816409-0.0759195681640908
377.17.11181503852869-0.0118150385286856
386.86.84803997081237-0.0480399708123695
396.46.62576964744827-0.225769647448267
406.16.18086288343713-0.0808628834371325
416.56.124670396400160.375329603599837
427.77.494687558270830.205312441729166
437.97.91855685243427-0.0185568524342709
447.57.59366917532222-0.0936691753222164
456.96.96534523083617-0.065345230836166
466.66.66092402699905-0.0609240269990517
476.96.96898456331727-0.0689845633172719
487.77.610590593866730.0894094061332678
4988.1370663640636-0.137066364063608
5087.910428949426870.0895710505731298
517.77.661647784357160.03835221564284
527.37.30761694113325-0.00761694113325208
537.47.161594708545110.238405291454889
548.18.26107645852621-0.161076458526213
558.38.233704674461680.0662953255383225
568.28.127350529144670.0726494708553302

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 8.6 & 8.64500882573885 & -0.0450088257388447 \tabularnewline
2 & 8.5 & 8.57724606270429 & -0.0772460627042843 \tabularnewline
3 & 8.2 & 8.3523156841405 & -0.152315684140502 \tabularnewline
4 & 8.1 & 7.88623863629586 & 0.213761363704136 \tabularnewline
5 & 7.9 & 8.13290844868635 & -0.232908448686345 \tabularnewline
6 & 8.6 & 8.48654227318045 & 0.113457726819547 \tabularnewline
7 & 8.7 & 8.67391367129502 & 0.0260863287049752 \tabularnewline
8 & 8.7 & 8.56798586525684 & 0.132014134743160 \tabularnewline
9 & 8.5 & 8.47275928366326 & 0.0272407163367366 \tabularnewline
10 & 8.4 & 8.2609655238617 & 0.139034476138309 \tabularnewline
11 & 8.5 & 8.44152886921875 & 0.0584711307812455 \tabularnewline
12 & 8.7 & 8.70653412456 & -0.00653412455999671 \tabularnewline
13 & 8.7 & 8.61741596376992 & 0.0825840362300771 \tabularnewline
14 & 8.6 & 8.54739903734177 & 0.052600962658231 \tabularnewline
15 & 8.5 & 8.40736373826313 & 0.0926362617368702 \tabularnewline
16 & 8.3 & 8.2572014647957 & 0.0427985352042946 \tabularnewline
17 & 8 & 8.14551918680277 & -0.145519186802775 \tabularnewline
18 & 8.2 & 8.40611967545525 & -0.206119675455255 \tabularnewline
19 & 8.1 & 8.00972138997547 & 0.0902786100245288 \tabularnewline
20 & 8.1 & 8.00172069089945 & 0.0982793091005472 \tabularnewline
21 & 8 & 8.10559280846615 & -0.105592808466147 \tabularnewline
22 & 7.9 & 7.88541969597182 & 0.0145803040281778 \tabularnewline
23 & 7.9 & 7.90656485463593 & -0.00656485463593173 \tabularnewline
24 & 8 & 8.00695571340918 & -0.00695571340918026 \tabularnewline
25 & 8 & 7.88869380789894 & 0.111306192101061 \tabularnewline
26 & 7.9 & 7.9168859797147 & -0.0168859797147071 \tabularnewline
27 & 8 & 7.75290314579094 & 0.247096854209059 \tabularnewline
28 & 7.7 & 7.86808007433805 & -0.168080074338047 \tabularnewline
29 & 7.2 & 7.4353072595656 & -0.235307259565607 \tabularnewline
30 & 7.5 & 7.45157403456724 & 0.0484259654327551 \tabularnewline
31 & 7.3 & 7.46410341183356 & -0.164103411833555 \tabularnewline
32 & 7 & 7.20927373937682 & -0.209273739376821 \tabularnewline
33 & 7 & 6.85630267703442 & 0.143697322965576 \tabularnewline
34 & 7 & 7.09269075316744 & -0.092690753167435 \tabularnewline
35 & 7.2 & 7.18292171282804 & 0.0170782871719581 \tabularnewline
36 & 7.3 & 7.37591956816409 & -0.0759195681640908 \tabularnewline
37 & 7.1 & 7.11181503852869 & -0.0118150385286856 \tabularnewline
38 & 6.8 & 6.84803997081237 & -0.0480399708123695 \tabularnewline
39 & 6.4 & 6.62576964744827 & -0.225769647448267 \tabularnewline
40 & 6.1 & 6.18086288343713 & -0.0808628834371325 \tabularnewline
41 & 6.5 & 6.12467039640016 & 0.375329603599837 \tabularnewline
42 & 7.7 & 7.49468755827083 & 0.205312441729166 \tabularnewline
43 & 7.9 & 7.91855685243427 & -0.0185568524342709 \tabularnewline
44 & 7.5 & 7.59366917532222 & -0.0936691753222164 \tabularnewline
45 & 6.9 & 6.96534523083617 & -0.065345230836166 \tabularnewline
46 & 6.6 & 6.66092402699905 & -0.0609240269990517 \tabularnewline
47 & 6.9 & 6.96898456331727 & -0.0689845633172719 \tabularnewline
48 & 7.7 & 7.61059059386673 & 0.0894094061332678 \tabularnewline
49 & 8 & 8.1370663640636 & -0.137066364063608 \tabularnewline
50 & 8 & 7.91042894942687 & 0.0895710505731298 \tabularnewline
51 & 7.7 & 7.66164778435716 & 0.03835221564284 \tabularnewline
52 & 7.3 & 7.30761694113325 & -0.00761694113325208 \tabularnewline
53 & 7.4 & 7.16159470854511 & 0.238405291454889 \tabularnewline
54 & 8.1 & 8.26107645852621 & -0.161076458526213 \tabularnewline
55 & 8.3 & 8.23370467446168 & 0.0662953255383225 \tabularnewline
56 & 8.2 & 8.12735052914467 & 0.0726494708553302 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70669&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]8.6[/C][C]8.64500882573885[/C][C]-0.0450088257388447[/C][/ROW]
[ROW][C]2[/C][C]8.5[/C][C]8.57724606270429[/C][C]-0.0772460627042843[/C][/ROW]
[ROW][C]3[/C][C]8.2[/C][C]8.3523156841405[/C][C]-0.152315684140502[/C][/ROW]
[ROW][C]4[/C][C]8.1[/C][C]7.88623863629586[/C][C]0.213761363704136[/C][/ROW]
[ROW][C]5[/C][C]7.9[/C][C]8.13290844868635[/C][C]-0.232908448686345[/C][/ROW]
[ROW][C]6[/C][C]8.6[/C][C]8.48654227318045[/C][C]0.113457726819547[/C][/ROW]
[ROW][C]7[/C][C]8.7[/C][C]8.67391367129502[/C][C]0.0260863287049752[/C][/ROW]
[ROW][C]8[/C][C]8.7[/C][C]8.56798586525684[/C][C]0.132014134743160[/C][/ROW]
[ROW][C]9[/C][C]8.5[/C][C]8.47275928366326[/C][C]0.0272407163367366[/C][/ROW]
[ROW][C]10[/C][C]8.4[/C][C]8.2609655238617[/C][C]0.139034476138309[/C][/ROW]
[ROW][C]11[/C][C]8.5[/C][C]8.44152886921875[/C][C]0.0584711307812455[/C][/ROW]
[ROW][C]12[/C][C]8.7[/C][C]8.70653412456[/C][C]-0.00653412455999671[/C][/ROW]
[ROW][C]13[/C][C]8.7[/C][C]8.61741596376992[/C][C]0.0825840362300771[/C][/ROW]
[ROW][C]14[/C][C]8.6[/C][C]8.54739903734177[/C][C]0.052600962658231[/C][/ROW]
[ROW][C]15[/C][C]8.5[/C][C]8.40736373826313[/C][C]0.0926362617368702[/C][/ROW]
[ROW][C]16[/C][C]8.3[/C][C]8.2572014647957[/C][C]0.0427985352042946[/C][/ROW]
[ROW][C]17[/C][C]8[/C][C]8.14551918680277[/C][C]-0.145519186802775[/C][/ROW]
[ROW][C]18[/C][C]8.2[/C][C]8.40611967545525[/C][C]-0.206119675455255[/C][/ROW]
[ROW][C]19[/C][C]8.1[/C][C]8.00972138997547[/C][C]0.0902786100245288[/C][/ROW]
[ROW][C]20[/C][C]8.1[/C][C]8.00172069089945[/C][C]0.0982793091005472[/C][/ROW]
[ROW][C]21[/C][C]8[/C][C]8.10559280846615[/C][C]-0.105592808466147[/C][/ROW]
[ROW][C]22[/C][C]7.9[/C][C]7.88541969597182[/C][C]0.0145803040281778[/C][/ROW]
[ROW][C]23[/C][C]7.9[/C][C]7.90656485463593[/C][C]-0.00656485463593173[/C][/ROW]
[ROW][C]24[/C][C]8[/C][C]8.00695571340918[/C][C]-0.00695571340918026[/C][/ROW]
[ROW][C]25[/C][C]8[/C][C]7.88869380789894[/C][C]0.111306192101061[/C][/ROW]
[ROW][C]26[/C][C]7.9[/C][C]7.9168859797147[/C][C]-0.0168859797147071[/C][/ROW]
[ROW][C]27[/C][C]8[/C][C]7.75290314579094[/C][C]0.247096854209059[/C][/ROW]
[ROW][C]28[/C][C]7.7[/C][C]7.86808007433805[/C][C]-0.168080074338047[/C][/ROW]
[ROW][C]29[/C][C]7.2[/C][C]7.4353072595656[/C][C]-0.235307259565607[/C][/ROW]
[ROW][C]30[/C][C]7.5[/C][C]7.45157403456724[/C][C]0.0484259654327551[/C][/ROW]
[ROW][C]31[/C][C]7.3[/C][C]7.46410341183356[/C][C]-0.164103411833555[/C][/ROW]
[ROW][C]32[/C][C]7[/C][C]7.20927373937682[/C][C]-0.209273739376821[/C][/ROW]
[ROW][C]33[/C][C]7[/C][C]6.85630267703442[/C][C]0.143697322965576[/C][/ROW]
[ROW][C]34[/C][C]7[/C][C]7.09269075316744[/C][C]-0.092690753167435[/C][/ROW]
[ROW][C]35[/C][C]7.2[/C][C]7.18292171282804[/C][C]0.0170782871719581[/C][/ROW]
[ROW][C]36[/C][C]7.3[/C][C]7.37591956816409[/C][C]-0.0759195681640908[/C][/ROW]
[ROW][C]37[/C][C]7.1[/C][C]7.11181503852869[/C][C]-0.0118150385286856[/C][/ROW]
[ROW][C]38[/C][C]6.8[/C][C]6.84803997081237[/C][C]-0.0480399708123695[/C][/ROW]
[ROW][C]39[/C][C]6.4[/C][C]6.62576964744827[/C][C]-0.225769647448267[/C][/ROW]
[ROW][C]40[/C][C]6.1[/C][C]6.18086288343713[/C][C]-0.0808628834371325[/C][/ROW]
[ROW][C]41[/C][C]6.5[/C][C]6.12467039640016[/C][C]0.375329603599837[/C][/ROW]
[ROW][C]42[/C][C]7.7[/C][C]7.49468755827083[/C][C]0.205312441729166[/C][/ROW]
[ROW][C]43[/C][C]7.9[/C][C]7.91855685243427[/C][C]-0.0185568524342709[/C][/ROW]
[ROW][C]44[/C][C]7.5[/C][C]7.59366917532222[/C][C]-0.0936691753222164[/C][/ROW]
[ROW][C]45[/C][C]6.9[/C][C]6.96534523083617[/C][C]-0.065345230836166[/C][/ROW]
[ROW][C]46[/C][C]6.6[/C][C]6.66092402699905[/C][C]-0.0609240269990517[/C][/ROW]
[ROW][C]47[/C][C]6.9[/C][C]6.96898456331727[/C][C]-0.0689845633172719[/C][/ROW]
[ROW][C]48[/C][C]7.7[/C][C]7.61059059386673[/C][C]0.0894094061332678[/C][/ROW]
[ROW][C]49[/C][C]8[/C][C]8.1370663640636[/C][C]-0.137066364063608[/C][/ROW]
[ROW][C]50[/C][C]8[/C][C]7.91042894942687[/C][C]0.0895710505731298[/C][/ROW]
[ROW][C]51[/C][C]7.7[/C][C]7.66164778435716[/C][C]0.03835221564284[/C][/ROW]
[ROW][C]52[/C][C]7.3[/C][C]7.30761694113325[/C][C]-0.00761694113325208[/C][/ROW]
[ROW][C]53[/C][C]7.4[/C][C]7.16159470854511[/C][C]0.238405291454889[/C][/ROW]
[ROW][C]54[/C][C]8.1[/C][C]8.26107645852621[/C][C]-0.161076458526213[/C][/ROW]
[ROW][C]55[/C][C]8.3[/C][C]8.23370467446168[/C][C]0.0662953255383225[/C][/ROW]
[ROW][C]56[/C][C]8.2[/C][C]8.12735052914467[/C][C]0.0726494708553302[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70669&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70669&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
18.68.64500882573885-0.0450088257388447
28.58.57724606270429-0.0772460627042843
38.28.3523156841405-0.152315684140502
48.17.886238636295860.213761363704136
57.98.13290844868635-0.232908448686345
68.68.486542273180450.113457726819547
78.78.673913671295020.0260863287049752
88.78.567985865256840.132014134743160
98.58.472759283663260.0272407163367366
108.48.26096552386170.139034476138309
118.58.441528869218750.0584711307812455
128.78.70653412456-0.00653412455999671
138.78.617415963769920.0825840362300771
148.68.547399037341770.052600962658231
158.58.407363738263130.0926362617368702
168.38.25720146479570.0427985352042946
1788.14551918680277-0.145519186802775
188.28.40611967545525-0.206119675455255
198.18.009721389975470.0902786100245288
208.18.001720690899450.0982793091005472
2188.10559280846615-0.105592808466147
227.97.885419695971820.0145803040281778
237.97.90656485463593-0.00656485463593173
2488.00695571340918-0.00695571340918026
2587.888693807898940.111306192101061
267.97.9168859797147-0.0168859797147071
2787.752903145790940.247096854209059
287.77.86808007433805-0.168080074338047
297.27.4353072595656-0.235307259565607
307.57.451574034567240.0484259654327551
317.37.46410341183356-0.164103411833555
3277.20927373937682-0.209273739376821
3376.856302677034420.143697322965576
3477.09269075316744-0.092690753167435
357.27.182921712828040.0170782871719581
367.37.37591956816409-0.0759195681640908
377.17.11181503852869-0.0118150385286856
386.86.84803997081237-0.0480399708123695
396.46.62576964744827-0.225769647448267
406.16.18086288343713-0.0808628834371325
416.56.124670396400160.375329603599837
427.77.494687558270830.205312441729166
437.97.91855685243427-0.0185568524342709
447.57.59366917532222-0.0936691753222164
456.96.96534523083617-0.065345230836166
466.66.66092402699905-0.0609240269990517
476.96.96898456331727-0.0689845633172719
487.77.610590593866730.0894094061332678
4988.1370663640636-0.137066364063608
5087.910428949426870.0895710505731298
517.77.661647784357160.03835221564284
527.37.30761694113325-0.00761694113325208
537.47.161594708545110.238405291454889
548.18.26107645852621-0.161076458526213
558.38.233704674461680.0662953255383225
568.28.127350529144670.0726494708553302







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
210.6575086084220470.6849827831559060.342491391577953
220.4950259601579480.9900519203158970.504974039842052
230.3365931249271460.6731862498542920.663406875072854
240.2118965947849790.4237931895699590.78810340521502
250.1707590669630230.3415181339260460.829240933036977
260.09815573606925620.1963114721385120.901844263930744
270.3485879380860830.6971758761721650.651412061913917
280.357304911771470.714609823542940.64269508822853
290.4607838597410810.9215677194821610.539216140258919
300.401924119720550.80384823944110.59807588027945
310.3989957286602890.7979914573205770.601004271339711
320.3494532132454830.6989064264909660.650546786754517
330.4846828087970500.9693656175940990.515317191202950
340.4611955602397460.9223911204794910.538804439760254
350.6866331463754820.6267337072490360.313366853624518

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
21 & 0.657508608422047 & 0.684982783155906 & 0.342491391577953 \tabularnewline
22 & 0.495025960157948 & 0.990051920315897 & 0.504974039842052 \tabularnewline
23 & 0.336593124927146 & 0.673186249854292 & 0.663406875072854 \tabularnewline
24 & 0.211896594784979 & 0.423793189569959 & 0.78810340521502 \tabularnewline
25 & 0.170759066963023 & 0.341518133926046 & 0.829240933036977 \tabularnewline
26 & 0.0981557360692562 & 0.196311472138512 & 0.901844263930744 \tabularnewline
27 & 0.348587938086083 & 0.697175876172165 & 0.651412061913917 \tabularnewline
28 & 0.35730491177147 & 0.71460982354294 & 0.64269508822853 \tabularnewline
29 & 0.460783859741081 & 0.921567719482161 & 0.539216140258919 \tabularnewline
30 & 0.40192411972055 & 0.8038482394411 & 0.59807588027945 \tabularnewline
31 & 0.398995728660289 & 0.797991457320577 & 0.601004271339711 \tabularnewline
32 & 0.349453213245483 & 0.698906426490966 & 0.650546786754517 \tabularnewline
33 & 0.484682808797050 & 0.969365617594099 & 0.515317191202950 \tabularnewline
34 & 0.461195560239746 & 0.922391120479491 & 0.538804439760254 \tabularnewline
35 & 0.686633146375482 & 0.626733707249036 & 0.313366853624518 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70669&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.657508608422047[/C][C]0.684982783155906[/C][C]0.342491391577953[/C][/ROW]
[ROW][C]22[/C][C]0.495025960157948[/C][C]0.990051920315897[/C][C]0.504974039842052[/C][/ROW]
[ROW][C]23[/C][C]0.336593124927146[/C][C]0.673186249854292[/C][C]0.663406875072854[/C][/ROW]
[ROW][C]24[/C][C]0.211896594784979[/C][C]0.423793189569959[/C][C]0.78810340521502[/C][/ROW]
[ROW][C]25[/C][C]0.170759066963023[/C][C]0.341518133926046[/C][C]0.829240933036977[/C][/ROW]
[ROW][C]26[/C][C]0.0981557360692562[/C][C]0.196311472138512[/C][C]0.901844263930744[/C][/ROW]
[ROW][C]27[/C][C]0.348587938086083[/C][C]0.697175876172165[/C][C]0.651412061913917[/C][/ROW]
[ROW][C]28[/C][C]0.35730491177147[/C][C]0.71460982354294[/C][C]0.64269508822853[/C][/ROW]
[ROW][C]29[/C][C]0.460783859741081[/C][C]0.921567719482161[/C][C]0.539216140258919[/C][/ROW]
[ROW][C]30[/C][C]0.40192411972055[/C][C]0.8038482394411[/C][C]0.59807588027945[/C][/ROW]
[ROW][C]31[/C][C]0.398995728660289[/C][C]0.797991457320577[/C][C]0.601004271339711[/C][/ROW]
[ROW][C]32[/C][C]0.349453213245483[/C][C]0.698906426490966[/C][C]0.650546786754517[/C][/ROW]
[ROW][C]33[/C][C]0.484682808797050[/C][C]0.969365617594099[/C][C]0.515317191202950[/C][/ROW]
[ROW][C]34[/C][C]0.461195560239746[/C][C]0.922391120479491[/C][C]0.538804439760254[/C][/ROW]
[ROW][C]35[/C][C]0.686633146375482[/C][C]0.626733707249036[/C][C]0.313366853624518[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70669&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70669&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.6575086084220470.6849827831559060.342491391577953
220.4950259601579480.9900519203158970.504974039842052
230.3365931249271460.6731862498542920.663406875072854
240.2118965947849790.4237931895699590.78810340521502
250.1707590669630230.3415181339260460.829240933036977
260.09815573606925620.1963114721385120.901844263930744
270.3485879380860830.6971758761721650.651412061913917
280.357304911771470.714609823542940.64269508822853
290.4607838597410810.9215677194821610.539216140258919
300.401924119720550.80384823944110.59807588027945
310.3989957286602890.7979914573205770.601004271339711
320.3494532132454830.6989064264909660.650546786754517
330.4846828087970500.9693656175940990.515317191202950
340.4611955602397460.9223911204794910.538804439760254
350.6866331463754820.6267337072490360.313366853624518







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

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

As an alternative you can also use a QR Code:  

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

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



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