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 computationSun, 22 Nov 2009 06:21:07 -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/22/t1258896131smrtlilx4q3qngx.htm/, Retrieved Sat, 27 Apr 2024 13:40:12 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58626, Retrieved Sat, 27 Apr 2024 13:40:12 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact205
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]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 14:03:14] [b98453cac15ba1066b407e146608df68]
F    D    [Multiple Regression] [ws777] [2009-11-20 12:04:49] [b8b64ced21f32e31669b267b64eede7f]
-    D        [Multiple Regression] [w7] [2009-11-22 13:21:07] [30a48cc4afddc7f052994dfe2358176d] [Current]
Feedback Forum

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




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

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 7.43134020618557 -0.428350515463918X[t] + 0.0614432989690721M1[t] -0.205670103092784M2[t] -0.405670103092784M3[t] -0.505670103092785M4[t] -0.285670103092784M5[t] + 0.139999999999999M6[t] + 0.259999999999999M7[t] + 0.179999999999999M8[t] + 0.0399999999999992M9[t] -0.180000000000001M10[t] -0.380000000000001M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  7.43134020618557 -0.428350515463918X[t] +  0.0614432989690721M1[t] -0.205670103092784M2[t] -0.405670103092784M3[t] -0.505670103092785M4[t] -0.285670103092784M5[t] +  0.139999999999999M6[t] +  0.259999999999999M7[t] +  0.179999999999999M8[t] +  0.0399999999999992M9[t] -0.180000000000001M10[t] -0.380000000000001M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58626&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  7.43134020618557 -0.428350515463918X[t] +  0.0614432989690721M1[t] -0.205670103092784M2[t] -0.405670103092784M3[t] -0.505670103092785M4[t] -0.285670103092784M5[t] +  0.139999999999999M6[t] +  0.259999999999999M7[t] +  0.179999999999999M8[t] +  0.0399999999999992M9[t] -0.180000000000001M10[t] -0.380000000000001M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58626&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58626&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] = + 7.43134020618557 -0.428350515463918X[t] + 0.0614432989690721M1[t] -0.205670103092784M2[t] -0.405670103092784M3[t] -0.505670103092785M4[t] -0.285670103092784M5[t] + 0.139999999999999M6[t] + 0.259999999999999M7[t] + 0.179999999999999M8[t] + 0.0399999999999992M9[t] -0.180000000000001M10[t] -0.380000000000001M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)7.431340206185570.3056724.311600
X-0.4283505154639180.184438-2.32250.0244950.012247
M10.06144329896907210.4018320.15290.8791120.439556
M2-0.2056701030927840.421122-0.48840.62750.31375
M3-0.4056701030927840.421122-0.96330.3402210.17011
M4-0.5056701030927850.421122-1.20080.2357330.117866
M5-0.2856701030927840.421122-0.67840.5008040.250402
M60.1399999999999990.4195030.33370.7400380.370019
M70.2599999999999990.4195030.61980.5383330.269167
M80.1799999999999990.4195030.42910.6697850.334893
M90.03999999999999920.4195030.09540.9244330.462217
M10-0.1800000000000010.419503-0.42910.6697850.334893
M11-0.3800000000000010.419503-0.90580.3695490.184774

\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) & 7.43134020618557 & 0.30567 & 24.3116 & 0 & 0 \tabularnewline
X & -0.428350515463918 & 0.184438 & -2.3225 & 0.024495 & 0.012247 \tabularnewline
M1 & 0.0614432989690721 & 0.401832 & 0.1529 & 0.879112 & 0.439556 \tabularnewline
M2 & -0.205670103092784 & 0.421122 & -0.4884 & 0.6275 & 0.31375 \tabularnewline
M3 & -0.405670103092784 & 0.421122 & -0.9633 & 0.340221 & 0.17011 \tabularnewline
M4 & -0.505670103092785 & 0.421122 & -1.2008 & 0.235733 & 0.117866 \tabularnewline
M5 & -0.285670103092784 & 0.421122 & -0.6784 & 0.500804 & 0.250402 \tabularnewline
M6 & 0.139999999999999 & 0.419503 & 0.3337 & 0.740038 & 0.370019 \tabularnewline
M7 & 0.259999999999999 & 0.419503 & 0.6198 & 0.538333 & 0.269167 \tabularnewline
M8 & 0.179999999999999 & 0.419503 & 0.4291 & 0.669785 & 0.334893 \tabularnewline
M9 & 0.0399999999999992 & 0.419503 & 0.0954 & 0.924433 & 0.462217 \tabularnewline
M10 & -0.180000000000001 & 0.419503 & -0.4291 & 0.669785 & 0.334893 \tabularnewline
M11 & -0.380000000000001 & 0.419503 & -0.9058 & 0.369549 & 0.184774 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58626&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]7.43134020618557[/C][C]0.30567[/C][C]24.3116[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]-0.428350515463918[/C][C]0.184438[/C][C]-2.3225[/C][C]0.024495[/C][C]0.012247[/C][/ROW]
[ROW][C]M1[/C][C]0.0614432989690721[/C][C]0.401832[/C][C]0.1529[/C][C]0.879112[/C][C]0.439556[/C][/ROW]
[ROW][C]M2[/C][C]-0.205670103092784[/C][C]0.421122[/C][C]-0.4884[/C][C]0.6275[/C][C]0.31375[/C][/ROW]
[ROW][C]M3[/C][C]-0.405670103092784[/C][C]0.421122[/C][C]-0.9633[/C][C]0.340221[/C][C]0.17011[/C][/ROW]
[ROW][C]M4[/C][C]-0.505670103092785[/C][C]0.421122[/C][C]-1.2008[/C][C]0.235733[/C][C]0.117866[/C][/ROW]
[ROW][C]M5[/C][C]-0.285670103092784[/C][C]0.421122[/C][C]-0.6784[/C][C]0.500804[/C][C]0.250402[/C][/ROW]
[ROW][C]M6[/C][C]0.139999999999999[/C][C]0.419503[/C][C]0.3337[/C][C]0.740038[/C][C]0.370019[/C][/ROW]
[ROW][C]M7[/C][C]0.259999999999999[/C][C]0.419503[/C][C]0.6198[/C][C]0.538333[/C][C]0.269167[/C][/ROW]
[ROW][C]M8[/C][C]0.179999999999999[/C][C]0.419503[/C][C]0.4291[/C][C]0.669785[/C][C]0.334893[/C][/ROW]
[ROW][C]M9[/C][C]0.0399999999999992[/C][C]0.419503[/C][C]0.0954[/C][C]0.924433[/C][C]0.462217[/C][/ROW]
[ROW][C]M10[/C][C]-0.180000000000001[/C][C]0.419503[/C][C]-0.4291[/C][C]0.669785[/C][C]0.334893[/C][/ROW]
[ROW][C]M11[/C][C]-0.380000000000001[/C][C]0.419503[/C][C]-0.9058[/C][C]0.369549[/C][C]0.184774[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58626&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58626&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)7.431340206185570.3056724.311600
X-0.4283505154639180.184438-2.32250.0244950.012247
M10.06144329896907210.4018320.15290.8791120.439556
M2-0.2056701030927840.421122-0.48840.62750.31375
M3-0.4056701030927840.421122-0.96330.3402210.17011
M4-0.5056701030927850.421122-1.20080.2357330.117866
M5-0.2856701030927840.421122-0.67840.5008040.250402
M60.1399999999999990.4195030.33370.7400380.370019
M70.2599999999999990.4195030.61980.5383330.269167
M80.1799999999999990.4195030.42910.6697850.334893
M90.03999999999999920.4195030.09540.9244330.462217
M10-0.1800000000000010.419503-0.42910.6697850.334893
M11-0.3800000000000010.419503-0.90580.3695490.184774







Multiple Linear Regression - Regression Statistics
Multiple R0.446265759861158
R-squared0.199153128424457
Adjusted R-squared-0.00105858946942883
F-TEST (value)0.994712649786114
F-TEST (DF numerator)12
F-TEST (DF denominator)48
p-value0.467970416533147
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.663292578485196
Sum Squared Residuals21.1179381443299

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.446265759861158 \tabularnewline
R-squared & 0.199153128424457 \tabularnewline
Adjusted R-squared & -0.00105858946942883 \tabularnewline
F-TEST (value) & 0.994712649786114 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 48 \tabularnewline
p-value & 0.467970416533147 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.663292578485196 \tabularnewline
Sum Squared Residuals & 21.1179381443299 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58626&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.446265759861158[/C][/ROW]
[ROW][C]R-squared[/C][C]0.199153128424457[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]-0.00105858946942883[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]0.994712649786114[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]48[/C][/ROW]
[ROW][C]p-value[/C][C]0.467970416533147[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.663292578485196[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]21.1179381443299[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58626&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58626&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.446265759861158
R-squared0.199153128424457
Adjusted R-squared-0.00105858946942883
F-TEST (value)0.994712649786114
F-TEST (DF numerator)12
F-TEST (DF denominator)48
p-value0.467970416533147
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.663292578485196
Sum Squared Residuals21.1179381443299







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
187.492783505154630.507216494845367
28.17.225670103092780.874329896907217
37.77.025670103092780.674329896907217
47.56.925670103092780.574329896907215
57.67.145670103092780.454329896907216
67.87.571340206185570.228659793814433
77.87.691340206185570.108659793814433
87.87.611340206185570.188659793814433
97.57.471340206185570.0286597938144331
107.57.251340206185570.248659793814433
117.17.051340206185570.0486597938144325
127.57.431340206185570.0686597938144325
137.57.492783505154640.00721649484536001
147.67.225670103092780.374329896907217
157.77.025670103092780.674329896907217
167.76.925670103092780.774329896907217
177.97.145670103092780.754329896907217
188.17.571340206185570.528659793814433
198.27.691340206185570.508659793814433
208.27.611340206185570.588659793814432
218.27.471340206185570.728659793814432
227.97.251340206185570.648659793814433
237.37.051340206185570.248659793814433
246.97.43134020618557-0.531340206185567
256.67.49278350515464-0.89278350515464
266.77.22567010309278-0.525670103092783
276.97.02567010309278-0.125670103092783
2876.925670103092780.0743298969072169
297.17.14567010309278-0.0456701030927837
307.27.57134020618557-0.371340206185567
317.17.69134020618557-0.591340206185567
326.97.61134020618557-0.711340206185567
3377.47134020618557-0.471340206185567
346.87.25134020618557-0.451340206185567
356.47.05134020618557-0.651340206185567
366.77.43134020618557-0.731340206185568
376.67.49278350515464-0.89278350515464
386.47.22567010309278-0.825670103092783
396.37.02567010309278-0.725670103092784
406.26.92567010309278-0.725670103092783
416.57.14567010309278-0.645670103092783
426.87.14298969072165-0.342989690721649
436.87.26298969072165-0.462989690721649
446.47.18298969072165-0.78298969072165
456.17.04298969072165-0.94298969072165
465.86.82298969072165-1.02298969072165
476.16.62298969072165-0.52298969072165
487.27.002989690721650.19701030927835
497.37.064432989690720.235567010309277
506.96.797319587628870.102680412371135
516.16.59731958762887-0.497319587628867
525.86.49731958762887-0.697319587628865
536.26.71731958762887-0.517319587628865
547.17.14298969072165-0.0429896907216496
557.77.262989690721650.437010309278351
567.97.182989690721650.717010309278351
577.77.042989690721650.657010309278351
587.46.822989690721650.577010309278351
597.56.622989690721650.87701030927835
6087.002989690721650.99701030927835
618.17.064432989690721.03556701030928

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 8 & 7.49278350515463 & 0.507216494845367 \tabularnewline
2 & 8.1 & 7.22567010309278 & 0.874329896907217 \tabularnewline
3 & 7.7 & 7.02567010309278 & 0.674329896907217 \tabularnewline
4 & 7.5 & 6.92567010309278 & 0.574329896907215 \tabularnewline
5 & 7.6 & 7.14567010309278 & 0.454329896907216 \tabularnewline
6 & 7.8 & 7.57134020618557 & 0.228659793814433 \tabularnewline
7 & 7.8 & 7.69134020618557 & 0.108659793814433 \tabularnewline
8 & 7.8 & 7.61134020618557 & 0.188659793814433 \tabularnewline
9 & 7.5 & 7.47134020618557 & 0.0286597938144331 \tabularnewline
10 & 7.5 & 7.25134020618557 & 0.248659793814433 \tabularnewline
11 & 7.1 & 7.05134020618557 & 0.0486597938144325 \tabularnewline
12 & 7.5 & 7.43134020618557 & 0.0686597938144325 \tabularnewline
13 & 7.5 & 7.49278350515464 & 0.00721649484536001 \tabularnewline
14 & 7.6 & 7.22567010309278 & 0.374329896907217 \tabularnewline
15 & 7.7 & 7.02567010309278 & 0.674329896907217 \tabularnewline
16 & 7.7 & 6.92567010309278 & 0.774329896907217 \tabularnewline
17 & 7.9 & 7.14567010309278 & 0.754329896907217 \tabularnewline
18 & 8.1 & 7.57134020618557 & 0.528659793814433 \tabularnewline
19 & 8.2 & 7.69134020618557 & 0.508659793814433 \tabularnewline
20 & 8.2 & 7.61134020618557 & 0.588659793814432 \tabularnewline
21 & 8.2 & 7.47134020618557 & 0.728659793814432 \tabularnewline
22 & 7.9 & 7.25134020618557 & 0.648659793814433 \tabularnewline
23 & 7.3 & 7.05134020618557 & 0.248659793814433 \tabularnewline
24 & 6.9 & 7.43134020618557 & -0.531340206185567 \tabularnewline
25 & 6.6 & 7.49278350515464 & -0.89278350515464 \tabularnewline
26 & 6.7 & 7.22567010309278 & -0.525670103092783 \tabularnewline
27 & 6.9 & 7.02567010309278 & -0.125670103092783 \tabularnewline
28 & 7 & 6.92567010309278 & 0.0743298969072169 \tabularnewline
29 & 7.1 & 7.14567010309278 & -0.0456701030927837 \tabularnewline
30 & 7.2 & 7.57134020618557 & -0.371340206185567 \tabularnewline
31 & 7.1 & 7.69134020618557 & -0.591340206185567 \tabularnewline
32 & 6.9 & 7.61134020618557 & -0.711340206185567 \tabularnewline
33 & 7 & 7.47134020618557 & -0.471340206185567 \tabularnewline
34 & 6.8 & 7.25134020618557 & -0.451340206185567 \tabularnewline
35 & 6.4 & 7.05134020618557 & -0.651340206185567 \tabularnewline
36 & 6.7 & 7.43134020618557 & -0.731340206185568 \tabularnewline
37 & 6.6 & 7.49278350515464 & -0.89278350515464 \tabularnewline
38 & 6.4 & 7.22567010309278 & -0.825670103092783 \tabularnewline
39 & 6.3 & 7.02567010309278 & -0.725670103092784 \tabularnewline
40 & 6.2 & 6.92567010309278 & -0.725670103092783 \tabularnewline
41 & 6.5 & 7.14567010309278 & -0.645670103092783 \tabularnewline
42 & 6.8 & 7.14298969072165 & -0.342989690721649 \tabularnewline
43 & 6.8 & 7.26298969072165 & -0.462989690721649 \tabularnewline
44 & 6.4 & 7.18298969072165 & -0.78298969072165 \tabularnewline
45 & 6.1 & 7.04298969072165 & -0.94298969072165 \tabularnewline
46 & 5.8 & 6.82298969072165 & -1.02298969072165 \tabularnewline
47 & 6.1 & 6.62298969072165 & -0.52298969072165 \tabularnewline
48 & 7.2 & 7.00298969072165 & 0.19701030927835 \tabularnewline
49 & 7.3 & 7.06443298969072 & 0.235567010309277 \tabularnewline
50 & 6.9 & 6.79731958762887 & 0.102680412371135 \tabularnewline
51 & 6.1 & 6.59731958762887 & -0.497319587628867 \tabularnewline
52 & 5.8 & 6.49731958762887 & -0.697319587628865 \tabularnewline
53 & 6.2 & 6.71731958762887 & -0.517319587628865 \tabularnewline
54 & 7.1 & 7.14298969072165 & -0.0429896907216496 \tabularnewline
55 & 7.7 & 7.26298969072165 & 0.437010309278351 \tabularnewline
56 & 7.9 & 7.18298969072165 & 0.717010309278351 \tabularnewline
57 & 7.7 & 7.04298969072165 & 0.657010309278351 \tabularnewline
58 & 7.4 & 6.82298969072165 & 0.577010309278351 \tabularnewline
59 & 7.5 & 6.62298969072165 & 0.87701030927835 \tabularnewline
60 & 8 & 7.00298969072165 & 0.99701030927835 \tabularnewline
61 & 8.1 & 7.06443298969072 & 1.03556701030928 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58626&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[/C][C]7.49278350515463[/C][C]0.507216494845367[/C][/ROW]
[ROW][C]2[/C][C]8.1[/C][C]7.22567010309278[/C][C]0.874329896907217[/C][/ROW]
[ROW][C]3[/C][C]7.7[/C][C]7.02567010309278[/C][C]0.674329896907217[/C][/ROW]
[ROW][C]4[/C][C]7.5[/C][C]6.92567010309278[/C][C]0.574329896907215[/C][/ROW]
[ROW][C]5[/C][C]7.6[/C][C]7.14567010309278[/C][C]0.454329896907216[/C][/ROW]
[ROW][C]6[/C][C]7.8[/C][C]7.57134020618557[/C][C]0.228659793814433[/C][/ROW]
[ROW][C]7[/C][C]7.8[/C][C]7.69134020618557[/C][C]0.108659793814433[/C][/ROW]
[ROW][C]8[/C][C]7.8[/C][C]7.61134020618557[/C][C]0.188659793814433[/C][/ROW]
[ROW][C]9[/C][C]7.5[/C][C]7.47134020618557[/C][C]0.0286597938144331[/C][/ROW]
[ROW][C]10[/C][C]7.5[/C][C]7.25134020618557[/C][C]0.248659793814433[/C][/ROW]
[ROW][C]11[/C][C]7.1[/C][C]7.05134020618557[/C][C]0.0486597938144325[/C][/ROW]
[ROW][C]12[/C][C]7.5[/C][C]7.43134020618557[/C][C]0.0686597938144325[/C][/ROW]
[ROW][C]13[/C][C]7.5[/C][C]7.49278350515464[/C][C]0.00721649484536001[/C][/ROW]
[ROW][C]14[/C][C]7.6[/C][C]7.22567010309278[/C][C]0.374329896907217[/C][/ROW]
[ROW][C]15[/C][C]7.7[/C][C]7.02567010309278[/C][C]0.674329896907217[/C][/ROW]
[ROW][C]16[/C][C]7.7[/C][C]6.92567010309278[/C][C]0.774329896907217[/C][/ROW]
[ROW][C]17[/C][C]7.9[/C][C]7.14567010309278[/C][C]0.754329896907217[/C][/ROW]
[ROW][C]18[/C][C]8.1[/C][C]7.57134020618557[/C][C]0.528659793814433[/C][/ROW]
[ROW][C]19[/C][C]8.2[/C][C]7.69134020618557[/C][C]0.508659793814433[/C][/ROW]
[ROW][C]20[/C][C]8.2[/C][C]7.61134020618557[/C][C]0.588659793814432[/C][/ROW]
[ROW][C]21[/C][C]8.2[/C][C]7.47134020618557[/C][C]0.728659793814432[/C][/ROW]
[ROW][C]22[/C][C]7.9[/C][C]7.25134020618557[/C][C]0.648659793814433[/C][/ROW]
[ROW][C]23[/C][C]7.3[/C][C]7.05134020618557[/C][C]0.248659793814433[/C][/ROW]
[ROW][C]24[/C][C]6.9[/C][C]7.43134020618557[/C][C]-0.531340206185567[/C][/ROW]
[ROW][C]25[/C][C]6.6[/C][C]7.49278350515464[/C][C]-0.89278350515464[/C][/ROW]
[ROW][C]26[/C][C]6.7[/C][C]7.22567010309278[/C][C]-0.525670103092783[/C][/ROW]
[ROW][C]27[/C][C]6.9[/C][C]7.02567010309278[/C][C]-0.125670103092783[/C][/ROW]
[ROW][C]28[/C][C]7[/C][C]6.92567010309278[/C][C]0.0743298969072169[/C][/ROW]
[ROW][C]29[/C][C]7.1[/C][C]7.14567010309278[/C][C]-0.0456701030927837[/C][/ROW]
[ROW][C]30[/C][C]7.2[/C][C]7.57134020618557[/C][C]-0.371340206185567[/C][/ROW]
[ROW][C]31[/C][C]7.1[/C][C]7.69134020618557[/C][C]-0.591340206185567[/C][/ROW]
[ROW][C]32[/C][C]6.9[/C][C]7.61134020618557[/C][C]-0.711340206185567[/C][/ROW]
[ROW][C]33[/C][C]7[/C][C]7.47134020618557[/C][C]-0.471340206185567[/C][/ROW]
[ROW][C]34[/C][C]6.8[/C][C]7.25134020618557[/C][C]-0.451340206185567[/C][/ROW]
[ROW][C]35[/C][C]6.4[/C][C]7.05134020618557[/C][C]-0.651340206185567[/C][/ROW]
[ROW][C]36[/C][C]6.7[/C][C]7.43134020618557[/C][C]-0.731340206185568[/C][/ROW]
[ROW][C]37[/C][C]6.6[/C][C]7.49278350515464[/C][C]-0.89278350515464[/C][/ROW]
[ROW][C]38[/C][C]6.4[/C][C]7.22567010309278[/C][C]-0.825670103092783[/C][/ROW]
[ROW][C]39[/C][C]6.3[/C][C]7.02567010309278[/C][C]-0.725670103092784[/C][/ROW]
[ROW][C]40[/C][C]6.2[/C][C]6.92567010309278[/C][C]-0.725670103092783[/C][/ROW]
[ROW][C]41[/C][C]6.5[/C][C]7.14567010309278[/C][C]-0.645670103092783[/C][/ROW]
[ROW][C]42[/C][C]6.8[/C][C]7.14298969072165[/C][C]-0.342989690721649[/C][/ROW]
[ROW][C]43[/C][C]6.8[/C][C]7.26298969072165[/C][C]-0.462989690721649[/C][/ROW]
[ROW][C]44[/C][C]6.4[/C][C]7.18298969072165[/C][C]-0.78298969072165[/C][/ROW]
[ROW][C]45[/C][C]6.1[/C][C]7.04298969072165[/C][C]-0.94298969072165[/C][/ROW]
[ROW][C]46[/C][C]5.8[/C][C]6.82298969072165[/C][C]-1.02298969072165[/C][/ROW]
[ROW][C]47[/C][C]6.1[/C][C]6.62298969072165[/C][C]-0.52298969072165[/C][/ROW]
[ROW][C]48[/C][C]7.2[/C][C]7.00298969072165[/C][C]0.19701030927835[/C][/ROW]
[ROW][C]49[/C][C]7.3[/C][C]7.06443298969072[/C][C]0.235567010309277[/C][/ROW]
[ROW][C]50[/C][C]6.9[/C][C]6.79731958762887[/C][C]0.102680412371135[/C][/ROW]
[ROW][C]51[/C][C]6.1[/C][C]6.59731958762887[/C][C]-0.497319587628867[/C][/ROW]
[ROW][C]52[/C][C]5.8[/C][C]6.49731958762887[/C][C]-0.697319587628865[/C][/ROW]
[ROW][C]53[/C][C]6.2[/C][C]6.71731958762887[/C][C]-0.517319587628865[/C][/ROW]
[ROW][C]54[/C][C]7.1[/C][C]7.14298969072165[/C][C]-0.0429896907216496[/C][/ROW]
[ROW][C]55[/C][C]7.7[/C][C]7.26298969072165[/C][C]0.437010309278351[/C][/ROW]
[ROW][C]56[/C][C]7.9[/C][C]7.18298969072165[/C][C]0.717010309278351[/C][/ROW]
[ROW][C]57[/C][C]7.7[/C][C]7.04298969072165[/C][C]0.657010309278351[/C][/ROW]
[ROW][C]58[/C][C]7.4[/C][C]6.82298969072165[/C][C]0.577010309278351[/C][/ROW]
[ROW][C]59[/C][C]7.5[/C][C]6.62298969072165[/C][C]0.87701030927835[/C][/ROW]
[ROW][C]60[/C][C]8[/C][C]7.00298969072165[/C][C]0.99701030927835[/C][/ROW]
[ROW][C]61[/C][C]8.1[/C][C]7.06443298969072[/C][C]1.03556701030928[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58626&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58626&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
187.492783505154630.507216494845367
28.17.225670103092780.874329896907217
37.77.025670103092780.674329896907217
47.56.925670103092780.574329896907215
57.67.145670103092780.454329896907216
67.87.571340206185570.228659793814433
77.87.691340206185570.108659793814433
87.87.611340206185570.188659793814433
97.57.471340206185570.0286597938144331
107.57.251340206185570.248659793814433
117.17.051340206185570.0486597938144325
127.57.431340206185570.0686597938144325
137.57.492783505154640.00721649484536001
147.67.225670103092780.374329896907217
157.77.025670103092780.674329896907217
167.76.925670103092780.774329896907217
177.97.145670103092780.754329896907217
188.17.571340206185570.528659793814433
198.27.691340206185570.508659793814433
208.27.611340206185570.588659793814432
218.27.471340206185570.728659793814432
227.97.251340206185570.648659793814433
237.37.051340206185570.248659793814433
246.97.43134020618557-0.531340206185567
256.67.49278350515464-0.89278350515464
266.77.22567010309278-0.525670103092783
276.97.02567010309278-0.125670103092783
2876.925670103092780.0743298969072169
297.17.14567010309278-0.0456701030927837
307.27.57134020618557-0.371340206185567
317.17.69134020618557-0.591340206185567
326.97.61134020618557-0.711340206185567
3377.47134020618557-0.471340206185567
346.87.25134020618557-0.451340206185567
356.47.05134020618557-0.651340206185567
366.77.43134020618557-0.731340206185568
376.67.49278350515464-0.89278350515464
386.47.22567010309278-0.825670103092783
396.37.02567010309278-0.725670103092784
406.26.92567010309278-0.725670103092783
416.57.14567010309278-0.645670103092783
426.87.14298969072165-0.342989690721649
436.87.26298969072165-0.462989690721649
446.47.18298969072165-0.78298969072165
456.17.04298969072165-0.94298969072165
465.86.82298969072165-1.02298969072165
476.16.62298969072165-0.52298969072165
487.27.002989690721650.19701030927835
497.37.064432989690720.235567010309277
506.96.797319587628870.102680412371135
516.16.59731958762887-0.497319587628867
525.86.49731958762887-0.697319587628865
536.26.71731958762887-0.517319587628865
547.17.14298969072165-0.0429896907216496
557.77.262989690721650.437010309278351
567.97.182989690721650.717010309278351
577.77.042989690721650.657010309278351
587.46.822989690721650.577010309278351
597.56.622989690721650.87701030927835
6087.002989690721650.99701030927835
618.17.064432989690721.03556701030928







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.09537936673161050.1907587334632210.90462063326839
170.04835406712064050.0967081342412810.95164593287936
180.02434751703110110.04869503406220230.975652482968899
190.01558920216203590.03117840432407180.984410797837964
200.01099279492386620.02198558984773230.989007205076134
210.01961416557820570.03922833115641130.980385834421794
220.01758424217513860.03516848435027720.982415757824861
230.009769260588840050.01953852117768010.99023073941116
240.00943804319867180.01887608639734360.990561956801328
250.05675964848006930.1135192969601390.943240351519931
260.1197876315322790.2395752630645570.880212368467721
270.1375567169238970.2751134338477930.862443283076103
280.1513200164715790.3026400329431580.84867998352842
290.1567939867898350.3135879735796690.843206013210165
300.1520675056441620.3041350112883230.847932494355838
310.1530919457723260.3061838915446530.846908054227673
320.1730473139563590.3460946279127180.826952686043641
330.1607673581605530.3215347163211070.839232641839447
340.1564761755238850.312952351047770.843523824476115
350.1300286910145540.2600573820291080.869971308985446
360.1055516458663920.2111032917327840.894448354133608
370.1243697433363290.2487394866726580.875630256663671
380.1317758623747260.2635517247494510.868224137625274
390.1211133336004330.2422266672008670.878886666399567
400.1085804110731300.2171608221462610.89141958892687
410.0836789648828280.1673579297656560.916321035117172
420.04811826906314350.0962365381262870.951881730936857
430.03270980886199430.06541961772398860.967290191138006
440.03928985522017620.07857971044035240.960710144779824
450.06126349521808930.1225269904361790.93873650478191

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.0953793667316105 & 0.190758733463221 & 0.90462063326839 \tabularnewline
17 & 0.0483540671206405 & 0.096708134241281 & 0.95164593287936 \tabularnewline
18 & 0.0243475170311011 & 0.0486950340622023 & 0.975652482968899 \tabularnewline
19 & 0.0155892021620359 & 0.0311784043240718 & 0.984410797837964 \tabularnewline
20 & 0.0109927949238662 & 0.0219855898477323 & 0.989007205076134 \tabularnewline
21 & 0.0196141655782057 & 0.0392283311564113 & 0.980385834421794 \tabularnewline
22 & 0.0175842421751386 & 0.0351684843502772 & 0.982415757824861 \tabularnewline
23 & 0.00976926058884005 & 0.0195385211776801 & 0.99023073941116 \tabularnewline
24 & 0.0094380431986718 & 0.0188760863973436 & 0.990561956801328 \tabularnewline
25 & 0.0567596484800693 & 0.113519296960139 & 0.943240351519931 \tabularnewline
26 & 0.119787631532279 & 0.239575263064557 & 0.880212368467721 \tabularnewline
27 & 0.137556716923897 & 0.275113433847793 & 0.862443283076103 \tabularnewline
28 & 0.151320016471579 & 0.302640032943158 & 0.84867998352842 \tabularnewline
29 & 0.156793986789835 & 0.313587973579669 & 0.843206013210165 \tabularnewline
30 & 0.152067505644162 & 0.304135011288323 & 0.847932494355838 \tabularnewline
31 & 0.153091945772326 & 0.306183891544653 & 0.846908054227673 \tabularnewline
32 & 0.173047313956359 & 0.346094627912718 & 0.826952686043641 \tabularnewline
33 & 0.160767358160553 & 0.321534716321107 & 0.839232641839447 \tabularnewline
34 & 0.156476175523885 & 0.31295235104777 & 0.843523824476115 \tabularnewline
35 & 0.130028691014554 & 0.260057382029108 & 0.869971308985446 \tabularnewline
36 & 0.105551645866392 & 0.211103291732784 & 0.894448354133608 \tabularnewline
37 & 0.124369743336329 & 0.248739486672658 & 0.875630256663671 \tabularnewline
38 & 0.131775862374726 & 0.263551724749451 & 0.868224137625274 \tabularnewline
39 & 0.121113333600433 & 0.242226667200867 & 0.878886666399567 \tabularnewline
40 & 0.108580411073130 & 0.217160822146261 & 0.89141958892687 \tabularnewline
41 & 0.083678964882828 & 0.167357929765656 & 0.916321035117172 \tabularnewline
42 & 0.0481182690631435 & 0.096236538126287 & 0.951881730936857 \tabularnewline
43 & 0.0327098088619943 & 0.0654196177239886 & 0.967290191138006 \tabularnewline
44 & 0.0392898552201762 & 0.0785797104403524 & 0.960710144779824 \tabularnewline
45 & 0.0612634952180893 & 0.122526990436179 & 0.93873650478191 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58626&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]16[/C][C]0.0953793667316105[/C][C]0.190758733463221[/C][C]0.90462063326839[/C][/ROW]
[ROW][C]17[/C][C]0.0483540671206405[/C][C]0.096708134241281[/C][C]0.95164593287936[/C][/ROW]
[ROW][C]18[/C][C]0.0243475170311011[/C][C]0.0486950340622023[/C][C]0.975652482968899[/C][/ROW]
[ROW][C]19[/C][C]0.0155892021620359[/C][C]0.0311784043240718[/C][C]0.984410797837964[/C][/ROW]
[ROW][C]20[/C][C]0.0109927949238662[/C][C]0.0219855898477323[/C][C]0.989007205076134[/C][/ROW]
[ROW][C]21[/C][C]0.0196141655782057[/C][C]0.0392283311564113[/C][C]0.980385834421794[/C][/ROW]
[ROW][C]22[/C][C]0.0175842421751386[/C][C]0.0351684843502772[/C][C]0.982415757824861[/C][/ROW]
[ROW][C]23[/C][C]0.00976926058884005[/C][C]0.0195385211776801[/C][C]0.99023073941116[/C][/ROW]
[ROW][C]24[/C][C]0.0094380431986718[/C][C]0.0188760863973436[/C][C]0.990561956801328[/C][/ROW]
[ROW][C]25[/C][C]0.0567596484800693[/C][C]0.113519296960139[/C][C]0.943240351519931[/C][/ROW]
[ROW][C]26[/C][C]0.119787631532279[/C][C]0.239575263064557[/C][C]0.880212368467721[/C][/ROW]
[ROW][C]27[/C][C]0.137556716923897[/C][C]0.275113433847793[/C][C]0.862443283076103[/C][/ROW]
[ROW][C]28[/C][C]0.151320016471579[/C][C]0.302640032943158[/C][C]0.84867998352842[/C][/ROW]
[ROW][C]29[/C][C]0.156793986789835[/C][C]0.313587973579669[/C][C]0.843206013210165[/C][/ROW]
[ROW][C]30[/C][C]0.152067505644162[/C][C]0.304135011288323[/C][C]0.847932494355838[/C][/ROW]
[ROW][C]31[/C][C]0.153091945772326[/C][C]0.306183891544653[/C][C]0.846908054227673[/C][/ROW]
[ROW][C]32[/C][C]0.173047313956359[/C][C]0.346094627912718[/C][C]0.826952686043641[/C][/ROW]
[ROW][C]33[/C][C]0.160767358160553[/C][C]0.321534716321107[/C][C]0.839232641839447[/C][/ROW]
[ROW][C]34[/C][C]0.156476175523885[/C][C]0.31295235104777[/C][C]0.843523824476115[/C][/ROW]
[ROW][C]35[/C][C]0.130028691014554[/C][C]0.260057382029108[/C][C]0.869971308985446[/C][/ROW]
[ROW][C]36[/C][C]0.105551645866392[/C][C]0.211103291732784[/C][C]0.894448354133608[/C][/ROW]
[ROW][C]37[/C][C]0.124369743336329[/C][C]0.248739486672658[/C][C]0.875630256663671[/C][/ROW]
[ROW][C]38[/C][C]0.131775862374726[/C][C]0.263551724749451[/C][C]0.868224137625274[/C][/ROW]
[ROW][C]39[/C][C]0.121113333600433[/C][C]0.242226667200867[/C][C]0.878886666399567[/C][/ROW]
[ROW][C]40[/C][C]0.108580411073130[/C][C]0.217160822146261[/C][C]0.89141958892687[/C][/ROW]
[ROW][C]41[/C][C]0.083678964882828[/C][C]0.167357929765656[/C][C]0.916321035117172[/C][/ROW]
[ROW][C]42[/C][C]0.0481182690631435[/C][C]0.096236538126287[/C][C]0.951881730936857[/C][/ROW]
[ROW][C]43[/C][C]0.0327098088619943[/C][C]0.0654196177239886[/C][C]0.967290191138006[/C][/ROW]
[ROW][C]44[/C][C]0.0392898552201762[/C][C]0.0785797104403524[/C][C]0.960710144779824[/C][/ROW]
[ROW][C]45[/C][C]0.0612634952180893[/C][C]0.122526990436179[/C][C]0.93873650478191[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58626&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58626&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
160.09537936673161050.1907587334632210.90462063326839
170.04835406712064050.0967081342412810.95164593287936
180.02434751703110110.04869503406220230.975652482968899
190.01558920216203590.03117840432407180.984410797837964
200.01099279492386620.02198558984773230.989007205076134
210.01961416557820570.03922833115641130.980385834421794
220.01758424217513860.03516848435027720.982415757824861
230.009769260588840050.01953852117768010.99023073941116
240.00943804319867180.01887608639734360.990561956801328
250.05675964848006930.1135192969601390.943240351519931
260.1197876315322790.2395752630645570.880212368467721
270.1375567169238970.2751134338477930.862443283076103
280.1513200164715790.3026400329431580.84867998352842
290.1567939867898350.3135879735796690.843206013210165
300.1520675056441620.3041350112883230.847932494355838
310.1530919457723260.3061838915446530.846908054227673
320.1730473139563590.3460946279127180.826952686043641
330.1607673581605530.3215347163211070.839232641839447
340.1564761755238850.312952351047770.843523824476115
350.1300286910145540.2600573820291080.869971308985446
360.1055516458663920.2111032917327840.894448354133608
370.1243697433363290.2487394866726580.875630256663671
380.1317758623747260.2635517247494510.868224137625274
390.1211133336004330.2422266672008670.878886666399567
400.1085804110731300.2171608221462610.89141958892687
410.0836789648828280.1673579297656560.916321035117172
420.04811826906314350.0962365381262870.951881730936857
430.03270980886199430.06541961772398860.967290191138006
440.03928985522017620.07857971044035240.960710144779824
450.06126349521808930.1225269904361790.93873650478191







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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58626&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 level70.233333333333333NOK
10% type I error level110.366666666666667NOK



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly 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')
}