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, 18 Dec 2009 09:12:21 -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/18/t1261152904qsqvom8oms5uqjc.htm/, Retrieved Sat, 27 Apr 2024 05:49:29 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=69416, Retrieved Sat, 27 Apr 2024 05:49:29 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact111
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 13:54:52] [b98453cac15ba1066b407e146608df68]
-    D    [Multiple Regression] [WS7] [2009-11-20 15:40:42] [5c968c05ca472afa314d272082b56b09]
-    D        [Multiple Regression] [Multiple Regression] [2009-12-18 16:12:21] [91df150cd527c563f0151b3a845ecd72] [Current]
Feedback Forum

Post a new message
Dataseries X:
113	14,3
110	14,2
107	15,9
103	15,3
98	15,5
98	15,1
137	15
148	12,1
147	15,8
139	16,9
130	15,1
128	13,7
127	14,8
123	14,7
118	16
114	15,4
108	15
111	15,5
151	15,1
159	11,7
158	16,3
148	16,7
138	15
137	14,9
136	14,6
133	15,3
126	17,9
120	16,4
114	15,4
116	17,9
153	15,9
162	13,9
161	17,8
149	17,9
139	17,4
135	16,7
130	16
127	16,6
122	19,1
117	17,8
112	17,2
113	18,6
149	16,3
157	15,1
157	19,2
147	17,7
137	19,1
132	18
125	17,5
123	17,8
117	21,1
114	17,2
111	19,4
112	19,8
144	17,6
150	16,2
149	19,5
134	19,9
123	20
116	17,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=69416&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=69416&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69416&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
WK<25j[t] = + 144.986686095178 -0.89516816235565ExpBe[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
WK<25j[t] =  +  144.986686095178 -0.89516816235565ExpBe[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69416&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]WK<25j[t] =  +  144.986686095178 -0.89516816235565ExpBe[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69416&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69416&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
WK<25j[t] = + 144.986686095178 -0.89516816235565ExpBe[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)144.98668609517819.3550187.490900
ExpBe-0.895168162355651.163893-0.76910.4449450.222473

\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) & 144.986686095178 & 19.355018 & 7.4909 & 0 & 0 \tabularnewline
ExpBe & -0.89516816235565 & 1.163893 & -0.7691 & 0.444945 & 0.222473 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69416&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]144.986686095178[/C][C]19.355018[/C][C]7.4909[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]ExpBe[/C][C]-0.89516816235565[/C][C]1.163893[/C][C]-0.7691[/C][C]0.444945[/C][C]0.222473[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69416&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69416&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)144.98668609517819.3550187.490900
ExpBe-0.895168162355651.163893-0.76910.4449450.222473







Multiple Linear Regression - Regression Statistics
Multiple R0.100478759942464
R-squared0.0100959811995754
Adjusted R-squared-0.00697132946939738
F-TEST (value)0.591539076975329
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.444945412800618
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation17.3107196211353
Sum Squared Residuals17380.3388004903

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.100478759942464 \tabularnewline
R-squared & 0.0100959811995754 \tabularnewline
Adjusted R-squared & -0.00697132946939738 \tabularnewline
F-TEST (value) & 0.591539076975329 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 0.444945412800618 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 17.3107196211353 \tabularnewline
Sum Squared Residuals & 17380.3388004903 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69416&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.100478759942464[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0100959811995754[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]-0.00697132946939738[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]0.591539076975329[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]58[/C][/ROW]
[ROW][C]p-value[/C][C]0.444945412800618[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]17.3107196211353[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]17380.3388004903[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69416&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69416&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.100478759942464
R-squared0.0100959811995754
Adjusted R-squared-0.00697132946939738
F-TEST (value)0.591539076975329
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.444945412800618
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation17.3107196211353
Sum Squared Residuals17380.3388004903







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1113132.185781373492-19.1857813734922
2110132.275298189728-22.2752981897278
3107130.753512313723-23.7535123137232
4103131.290613211137-28.2906132111366
598131.111579578665-33.1115795786655
698131.469646843608-33.4696468436078
7137131.5591636598435.44083634015667
8148134.15515133067513.8448486693253
9147130.84302912995916.1569708700412
10139129.8583441513689.1416558486324
11130131.469646843608-1.46964684360776
12128132.722882270906-4.72288227090567
13127131.738197292314-4.73819729231446
14123131.82771410855-8.82771410855002
15118130.663995497488-12.6639954974877
16114131.201096394901-17.2010963949011
17108131.559163659843-23.5591636598433
18111131.111579578665-20.1115795786655
19151131.46964684360819.5303531563922
20159134.51321859561724.486781404383
21158130.39544504878127.604554951219
22148130.03737778383917.9626222161613
23138131.5591636598436.44083634015667
24137131.6486804760795.35131952392111
25136131.9172309247864.08276907521441
26133131.2906132111371.70938678886337
27126128.963175989012-2.96317598901195
28120130.305928232545-10.3059282325454
29114131.201096394901-17.2010963949011
30116128.963175989012-12.9631759890119
31153130.75351231372322.2464876862768
32162132.54384863843529.4561513615655
33161129.05269280524831.9473071947525
34149128.96317598901220.0368240109880
35139129.4107600701909.58923992981023
36135130.0373777838394.96262221616127
37130130.663995497488-0.66399549748768
38127130.126894600074-3.12689460007429
39122127.888974194185-5.88897419418517
40117129.052692805248-12.0526928052475
41112129.589793702661-17.5897937026609
42113128.336558275363-15.336558275363
43149130.39544504878118.6045549512190
44157131.46964684360825.5303531563922
45157127.79945737795029.2005426220504
46147129.14220962148317.8577903785169
47137127.8889741941859.11102580581483
48132128.8736591727763.12634082722362
49125129.321243253954-4.32124325395421
50123129.052692805248-6.05269280524751
51117126.098637869474-9.09863786947387
52114129.589793702661-15.5897937026609
53111127.620423745478-16.6204237454785
54112127.262356480536-15.2623564805362
55144129.23172643771914.7682735622814
56150130.48496186501719.5150381349834
57149127.53090692924321.4690930707571
58134127.1728396643016.82716033569935
59123127.083322848065-4.08332284806508
60116129.500276886425-13.5002768864253

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 113 & 132.185781373492 & -19.1857813734922 \tabularnewline
2 & 110 & 132.275298189728 & -22.2752981897278 \tabularnewline
3 & 107 & 130.753512313723 & -23.7535123137232 \tabularnewline
4 & 103 & 131.290613211137 & -28.2906132111366 \tabularnewline
5 & 98 & 131.111579578665 & -33.1115795786655 \tabularnewline
6 & 98 & 131.469646843608 & -33.4696468436078 \tabularnewline
7 & 137 & 131.559163659843 & 5.44083634015667 \tabularnewline
8 & 148 & 134.155151330675 & 13.8448486693253 \tabularnewline
9 & 147 & 130.843029129959 & 16.1569708700412 \tabularnewline
10 & 139 & 129.858344151368 & 9.1416558486324 \tabularnewline
11 & 130 & 131.469646843608 & -1.46964684360776 \tabularnewline
12 & 128 & 132.722882270906 & -4.72288227090567 \tabularnewline
13 & 127 & 131.738197292314 & -4.73819729231446 \tabularnewline
14 & 123 & 131.82771410855 & -8.82771410855002 \tabularnewline
15 & 118 & 130.663995497488 & -12.6639954974877 \tabularnewline
16 & 114 & 131.201096394901 & -17.2010963949011 \tabularnewline
17 & 108 & 131.559163659843 & -23.5591636598433 \tabularnewline
18 & 111 & 131.111579578665 & -20.1115795786655 \tabularnewline
19 & 151 & 131.469646843608 & 19.5303531563922 \tabularnewline
20 & 159 & 134.513218595617 & 24.486781404383 \tabularnewline
21 & 158 & 130.395445048781 & 27.604554951219 \tabularnewline
22 & 148 & 130.037377783839 & 17.9626222161613 \tabularnewline
23 & 138 & 131.559163659843 & 6.44083634015667 \tabularnewline
24 & 137 & 131.648680476079 & 5.35131952392111 \tabularnewline
25 & 136 & 131.917230924786 & 4.08276907521441 \tabularnewline
26 & 133 & 131.290613211137 & 1.70938678886337 \tabularnewline
27 & 126 & 128.963175989012 & -2.96317598901195 \tabularnewline
28 & 120 & 130.305928232545 & -10.3059282325454 \tabularnewline
29 & 114 & 131.201096394901 & -17.2010963949011 \tabularnewline
30 & 116 & 128.963175989012 & -12.9631759890119 \tabularnewline
31 & 153 & 130.753512313723 & 22.2464876862768 \tabularnewline
32 & 162 & 132.543848638435 & 29.4561513615655 \tabularnewline
33 & 161 & 129.052692805248 & 31.9473071947525 \tabularnewline
34 & 149 & 128.963175989012 & 20.0368240109880 \tabularnewline
35 & 139 & 129.410760070190 & 9.58923992981023 \tabularnewline
36 & 135 & 130.037377783839 & 4.96262221616127 \tabularnewline
37 & 130 & 130.663995497488 & -0.66399549748768 \tabularnewline
38 & 127 & 130.126894600074 & -3.12689460007429 \tabularnewline
39 & 122 & 127.888974194185 & -5.88897419418517 \tabularnewline
40 & 117 & 129.052692805248 & -12.0526928052475 \tabularnewline
41 & 112 & 129.589793702661 & -17.5897937026609 \tabularnewline
42 & 113 & 128.336558275363 & -15.336558275363 \tabularnewline
43 & 149 & 130.395445048781 & 18.6045549512190 \tabularnewline
44 & 157 & 131.469646843608 & 25.5303531563922 \tabularnewline
45 & 157 & 127.799457377950 & 29.2005426220504 \tabularnewline
46 & 147 & 129.142209621483 & 17.8577903785169 \tabularnewline
47 & 137 & 127.888974194185 & 9.11102580581483 \tabularnewline
48 & 132 & 128.873659172776 & 3.12634082722362 \tabularnewline
49 & 125 & 129.321243253954 & -4.32124325395421 \tabularnewline
50 & 123 & 129.052692805248 & -6.05269280524751 \tabularnewline
51 & 117 & 126.098637869474 & -9.09863786947387 \tabularnewline
52 & 114 & 129.589793702661 & -15.5897937026609 \tabularnewline
53 & 111 & 127.620423745478 & -16.6204237454785 \tabularnewline
54 & 112 & 127.262356480536 & -15.2623564805362 \tabularnewline
55 & 144 & 129.231726437719 & 14.7682735622814 \tabularnewline
56 & 150 & 130.484961865017 & 19.5150381349834 \tabularnewline
57 & 149 & 127.530906929243 & 21.4690930707571 \tabularnewline
58 & 134 & 127.172839664301 & 6.82716033569935 \tabularnewline
59 & 123 & 127.083322848065 & -4.08332284806508 \tabularnewline
60 & 116 & 129.500276886425 & -13.5002768864253 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69416&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]113[/C][C]132.185781373492[/C][C]-19.1857813734922[/C][/ROW]
[ROW][C]2[/C][C]110[/C][C]132.275298189728[/C][C]-22.2752981897278[/C][/ROW]
[ROW][C]3[/C][C]107[/C][C]130.753512313723[/C][C]-23.7535123137232[/C][/ROW]
[ROW][C]4[/C][C]103[/C][C]131.290613211137[/C][C]-28.2906132111366[/C][/ROW]
[ROW][C]5[/C][C]98[/C][C]131.111579578665[/C][C]-33.1115795786655[/C][/ROW]
[ROW][C]6[/C][C]98[/C][C]131.469646843608[/C][C]-33.4696468436078[/C][/ROW]
[ROW][C]7[/C][C]137[/C][C]131.559163659843[/C][C]5.44083634015667[/C][/ROW]
[ROW][C]8[/C][C]148[/C][C]134.155151330675[/C][C]13.8448486693253[/C][/ROW]
[ROW][C]9[/C][C]147[/C][C]130.843029129959[/C][C]16.1569708700412[/C][/ROW]
[ROW][C]10[/C][C]139[/C][C]129.858344151368[/C][C]9.1416558486324[/C][/ROW]
[ROW][C]11[/C][C]130[/C][C]131.469646843608[/C][C]-1.46964684360776[/C][/ROW]
[ROW][C]12[/C][C]128[/C][C]132.722882270906[/C][C]-4.72288227090567[/C][/ROW]
[ROW][C]13[/C][C]127[/C][C]131.738197292314[/C][C]-4.73819729231446[/C][/ROW]
[ROW][C]14[/C][C]123[/C][C]131.82771410855[/C][C]-8.82771410855002[/C][/ROW]
[ROW][C]15[/C][C]118[/C][C]130.663995497488[/C][C]-12.6639954974877[/C][/ROW]
[ROW][C]16[/C][C]114[/C][C]131.201096394901[/C][C]-17.2010963949011[/C][/ROW]
[ROW][C]17[/C][C]108[/C][C]131.559163659843[/C][C]-23.5591636598433[/C][/ROW]
[ROW][C]18[/C][C]111[/C][C]131.111579578665[/C][C]-20.1115795786655[/C][/ROW]
[ROW][C]19[/C][C]151[/C][C]131.469646843608[/C][C]19.5303531563922[/C][/ROW]
[ROW][C]20[/C][C]159[/C][C]134.513218595617[/C][C]24.486781404383[/C][/ROW]
[ROW][C]21[/C][C]158[/C][C]130.395445048781[/C][C]27.604554951219[/C][/ROW]
[ROW][C]22[/C][C]148[/C][C]130.037377783839[/C][C]17.9626222161613[/C][/ROW]
[ROW][C]23[/C][C]138[/C][C]131.559163659843[/C][C]6.44083634015667[/C][/ROW]
[ROW][C]24[/C][C]137[/C][C]131.648680476079[/C][C]5.35131952392111[/C][/ROW]
[ROW][C]25[/C][C]136[/C][C]131.917230924786[/C][C]4.08276907521441[/C][/ROW]
[ROW][C]26[/C][C]133[/C][C]131.290613211137[/C][C]1.70938678886337[/C][/ROW]
[ROW][C]27[/C][C]126[/C][C]128.963175989012[/C][C]-2.96317598901195[/C][/ROW]
[ROW][C]28[/C][C]120[/C][C]130.305928232545[/C][C]-10.3059282325454[/C][/ROW]
[ROW][C]29[/C][C]114[/C][C]131.201096394901[/C][C]-17.2010963949011[/C][/ROW]
[ROW][C]30[/C][C]116[/C][C]128.963175989012[/C][C]-12.9631759890119[/C][/ROW]
[ROW][C]31[/C][C]153[/C][C]130.753512313723[/C][C]22.2464876862768[/C][/ROW]
[ROW][C]32[/C][C]162[/C][C]132.543848638435[/C][C]29.4561513615655[/C][/ROW]
[ROW][C]33[/C][C]161[/C][C]129.052692805248[/C][C]31.9473071947525[/C][/ROW]
[ROW][C]34[/C][C]149[/C][C]128.963175989012[/C][C]20.0368240109880[/C][/ROW]
[ROW][C]35[/C][C]139[/C][C]129.410760070190[/C][C]9.58923992981023[/C][/ROW]
[ROW][C]36[/C][C]135[/C][C]130.037377783839[/C][C]4.96262221616127[/C][/ROW]
[ROW][C]37[/C][C]130[/C][C]130.663995497488[/C][C]-0.66399549748768[/C][/ROW]
[ROW][C]38[/C][C]127[/C][C]130.126894600074[/C][C]-3.12689460007429[/C][/ROW]
[ROW][C]39[/C][C]122[/C][C]127.888974194185[/C][C]-5.88897419418517[/C][/ROW]
[ROW][C]40[/C][C]117[/C][C]129.052692805248[/C][C]-12.0526928052475[/C][/ROW]
[ROW][C]41[/C][C]112[/C][C]129.589793702661[/C][C]-17.5897937026609[/C][/ROW]
[ROW][C]42[/C][C]113[/C][C]128.336558275363[/C][C]-15.336558275363[/C][/ROW]
[ROW][C]43[/C][C]149[/C][C]130.395445048781[/C][C]18.6045549512190[/C][/ROW]
[ROW][C]44[/C][C]157[/C][C]131.469646843608[/C][C]25.5303531563922[/C][/ROW]
[ROW][C]45[/C][C]157[/C][C]127.799457377950[/C][C]29.2005426220504[/C][/ROW]
[ROW][C]46[/C][C]147[/C][C]129.142209621483[/C][C]17.8577903785169[/C][/ROW]
[ROW][C]47[/C][C]137[/C][C]127.888974194185[/C][C]9.11102580581483[/C][/ROW]
[ROW][C]48[/C][C]132[/C][C]128.873659172776[/C][C]3.12634082722362[/C][/ROW]
[ROW][C]49[/C][C]125[/C][C]129.321243253954[/C][C]-4.32124325395421[/C][/ROW]
[ROW][C]50[/C][C]123[/C][C]129.052692805248[/C][C]-6.05269280524751[/C][/ROW]
[ROW][C]51[/C][C]117[/C][C]126.098637869474[/C][C]-9.09863786947387[/C][/ROW]
[ROW][C]52[/C][C]114[/C][C]129.589793702661[/C][C]-15.5897937026609[/C][/ROW]
[ROW][C]53[/C][C]111[/C][C]127.620423745478[/C][C]-16.6204237454785[/C][/ROW]
[ROW][C]54[/C][C]112[/C][C]127.262356480536[/C][C]-15.2623564805362[/C][/ROW]
[ROW][C]55[/C][C]144[/C][C]129.231726437719[/C][C]14.7682735622814[/C][/ROW]
[ROW][C]56[/C][C]150[/C][C]130.484961865017[/C][C]19.5150381349834[/C][/ROW]
[ROW][C]57[/C][C]149[/C][C]127.530906929243[/C][C]21.4690930707571[/C][/ROW]
[ROW][C]58[/C][C]134[/C][C]127.172839664301[/C][C]6.82716033569935[/C][/ROW]
[ROW][C]59[/C][C]123[/C][C]127.083322848065[/C][C]-4.08332284806508[/C][/ROW]
[ROW][C]60[/C][C]116[/C][C]129.500276886425[/C][C]-13.5002768864253[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69416&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69416&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
1113132.185781373492-19.1857813734922
2110132.275298189728-22.2752981897278
3107130.753512313723-23.7535123137232
4103131.290613211137-28.2906132111366
598131.111579578665-33.1115795786655
698131.469646843608-33.4696468436078
7137131.5591636598435.44083634015667
8148134.15515133067513.8448486693253
9147130.84302912995916.1569708700412
10139129.8583441513689.1416558486324
11130131.469646843608-1.46964684360776
12128132.722882270906-4.72288227090567
13127131.738197292314-4.73819729231446
14123131.82771410855-8.82771410855002
15118130.663995497488-12.6639954974877
16114131.201096394901-17.2010963949011
17108131.559163659843-23.5591636598433
18111131.111579578665-20.1115795786655
19151131.46964684360819.5303531563922
20159134.51321859561724.486781404383
21158130.39544504878127.604554951219
22148130.03737778383917.9626222161613
23138131.5591636598436.44083634015667
24137131.6486804760795.35131952392111
25136131.9172309247864.08276907521441
26133131.2906132111371.70938678886337
27126128.963175989012-2.96317598901195
28120130.305928232545-10.3059282325454
29114131.201096394901-17.2010963949011
30116128.963175989012-12.9631759890119
31153130.75351231372322.2464876862768
32162132.54384863843529.4561513615655
33161129.05269280524831.9473071947525
34149128.96317598901220.0368240109880
35139129.4107600701909.58923992981023
36135130.0373777838394.96262221616127
37130130.663995497488-0.66399549748768
38127130.126894600074-3.12689460007429
39122127.888974194185-5.88897419418517
40117129.052692805248-12.0526928052475
41112129.589793702661-17.5897937026609
42113128.336558275363-15.336558275363
43149130.39544504878118.6045549512190
44157131.46964684360825.5303531563922
45157127.79945737795029.2005426220504
46147129.14220962148317.8577903785169
47137127.8889741941859.11102580581483
48132128.8736591727763.12634082722362
49125129.321243253954-4.32124325395421
50123129.052692805248-6.05269280524751
51117126.098637869474-9.09863786947387
52114129.589793702661-15.5897937026609
53111127.620423745478-16.6204237454785
54112127.262356480536-15.2623564805362
55144129.23172643771914.7682735622814
56150130.48496186501719.5150381349834
57149127.53090692924321.4690930707571
58134127.1728396643016.82716033569935
59123127.083322848065-4.08332284806508
60116129.500276886425-13.5002768864253







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.03817950611963660.07635901223927320.961820493880363
60.03100775374280220.06201550748560450.968992246257198
70.4699088761531450.939817752306290.530091123846855
80.3830614904796780.7661229809593570.616938509520322
90.8442655600519860.3114688798960290.155734439948014
100.9049075771766690.1901848456466630.0950924228233313
110.8674449696353860.2651100607292270.132555030364614
120.8144586913397730.3710826173204540.185541308660227
130.7541210596368990.4917578807262020.245878940363101
140.6902773364999560.6194453270000880.309722663500044
150.6287066356387690.7425867287224620.371293364361231
160.5973021086814620.8053957826370760.402697891318538
170.6439356709246090.7121286581507820.356064329075391
180.6600616258377180.6798767483245640.339938374162282
190.7698312136932970.4603375726134060.230168786306703
200.7743918577540780.4512162844918430.225608142245922
210.9175569126622160.1648861746755690.0824430873377845
220.9366480565278260.1267038869443480.0633519434721742
230.9156973655497550.1686052689004910.0843026344502455
240.8882218672394130.2235562655211740.111778132760587
250.8538422823240670.2923154353518670.146157717675933
260.8131676902614770.3736646194770460.186832309738523
270.7633261101780820.4733477796438360.236673889821918
280.7364937228948090.5270125542103830.263506277105191
290.787670468019860.4246590639602790.212329531980140
300.7665225358699820.4669549282600360.233477464130018
310.7912636134068880.4174727731862250.208736386593112
320.8267667937722050.3464664124555890.173233206227795
330.9269116525206950.1461766949586090.0730883474793046
340.9348686107660160.1302627784679680.0651313892339841
350.9124847562684260.1750304874631490.0875152437315743
360.8772550095342090.2454899809315820.122744990465791
370.8376517174145040.3246965651709930.162348282585496
380.7948221733392610.4103556533214780.205177826660739
390.7386620181833180.5226759636333640.261337981816682
400.7184081831922740.5631836336154530.281591816807726
410.76834757924260.4633048415147990.231652420757399
420.7715980939618410.4568038120763190.228401906038159
430.7373807431979640.5252385136040720.262619256802036
440.7443326009071010.5113347981857980.255667399092899
450.8749199944579290.2501600110841410.125080005542071
460.876807093575560.2463858128488810.123192906424441
470.8452097356758640.3095805286482720.154790264324136
480.7779235024192090.4441529951615820.222076497580791
490.6975918008938720.6048163982122550.302408199106128
500.6105852566951290.7788294866097420.389414743304871
510.5041726966002860.991654606799430.495827303399715
520.5357973446941170.9284053106117670.464202655305883
530.5294087771232640.9411824457534730.470591222876736
540.546445327211740.907109345576520.45355467278826
550.4094222000787930.8188444001575860.590577799921207

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.0381795061196366 & 0.0763590122392732 & 0.961820493880363 \tabularnewline
6 & 0.0310077537428022 & 0.0620155074856045 & 0.968992246257198 \tabularnewline
7 & 0.469908876153145 & 0.93981775230629 & 0.530091123846855 \tabularnewline
8 & 0.383061490479678 & 0.766122980959357 & 0.616938509520322 \tabularnewline
9 & 0.844265560051986 & 0.311468879896029 & 0.155734439948014 \tabularnewline
10 & 0.904907577176669 & 0.190184845646663 & 0.0950924228233313 \tabularnewline
11 & 0.867444969635386 & 0.265110060729227 & 0.132555030364614 \tabularnewline
12 & 0.814458691339773 & 0.371082617320454 & 0.185541308660227 \tabularnewline
13 & 0.754121059636899 & 0.491757880726202 & 0.245878940363101 \tabularnewline
14 & 0.690277336499956 & 0.619445327000088 & 0.309722663500044 \tabularnewline
15 & 0.628706635638769 & 0.742586728722462 & 0.371293364361231 \tabularnewline
16 & 0.597302108681462 & 0.805395782637076 & 0.402697891318538 \tabularnewline
17 & 0.643935670924609 & 0.712128658150782 & 0.356064329075391 \tabularnewline
18 & 0.660061625837718 & 0.679876748324564 & 0.339938374162282 \tabularnewline
19 & 0.769831213693297 & 0.460337572613406 & 0.230168786306703 \tabularnewline
20 & 0.774391857754078 & 0.451216284491843 & 0.225608142245922 \tabularnewline
21 & 0.917556912662216 & 0.164886174675569 & 0.0824430873377845 \tabularnewline
22 & 0.936648056527826 & 0.126703886944348 & 0.0633519434721742 \tabularnewline
23 & 0.915697365549755 & 0.168605268900491 & 0.0843026344502455 \tabularnewline
24 & 0.888221867239413 & 0.223556265521174 & 0.111778132760587 \tabularnewline
25 & 0.853842282324067 & 0.292315435351867 & 0.146157717675933 \tabularnewline
26 & 0.813167690261477 & 0.373664619477046 & 0.186832309738523 \tabularnewline
27 & 0.763326110178082 & 0.473347779643836 & 0.236673889821918 \tabularnewline
28 & 0.736493722894809 & 0.527012554210383 & 0.263506277105191 \tabularnewline
29 & 0.78767046801986 & 0.424659063960279 & 0.212329531980140 \tabularnewline
30 & 0.766522535869982 & 0.466954928260036 & 0.233477464130018 \tabularnewline
31 & 0.791263613406888 & 0.417472773186225 & 0.208736386593112 \tabularnewline
32 & 0.826766793772205 & 0.346466412455589 & 0.173233206227795 \tabularnewline
33 & 0.926911652520695 & 0.146176694958609 & 0.0730883474793046 \tabularnewline
34 & 0.934868610766016 & 0.130262778467968 & 0.0651313892339841 \tabularnewline
35 & 0.912484756268426 & 0.175030487463149 & 0.0875152437315743 \tabularnewline
36 & 0.877255009534209 & 0.245489980931582 & 0.122744990465791 \tabularnewline
37 & 0.837651717414504 & 0.324696565170993 & 0.162348282585496 \tabularnewline
38 & 0.794822173339261 & 0.410355653321478 & 0.205177826660739 \tabularnewline
39 & 0.738662018183318 & 0.522675963633364 & 0.261337981816682 \tabularnewline
40 & 0.718408183192274 & 0.563183633615453 & 0.281591816807726 \tabularnewline
41 & 0.7683475792426 & 0.463304841514799 & 0.231652420757399 \tabularnewline
42 & 0.771598093961841 & 0.456803812076319 & 0.228401906038159 \tabularnewline
43 & 0.737380743197964 & 0.525238513604072 & 0.262619256802036 \tabularnewline
44 & 0.744332600907101 & 0.511334798185798 & 0.255667399092899 \tabularnewline
45 & 0.874919994457929 & 0.250160011084141 & 0.125080005542071 \tabularnewline
46 & 0.87680709357556 & 0.246385812848881 & 0.123192906424441 \tabularnewline
47 & 0.845209735675864 & 0.309580528648272 & 0.154790264324136 \tabularnewline
48 & 0.777923502419209 & 0.444152995161582 & 0.222076497580791 \tabularnewline
49 & 0.697591800893872 & 0.604816398212255 & 0.302408199106128 \tabularnewline
50 & 0.610585256695129 & 0.778829486609742 & 0.389414743304871 \tabularnewline
51 & 0.504172696600286 & 0.99165460679943 & 0.495827303399715 \tabularnewline
52 & 0.535797344694117 & 0.928405310611767 & 0.464202655305883 \tabularnewline
53 & 0.529408777123264 & 0.941182445753473 & 0.470591222876736 \tabularnewline
54 & 0.54644532721174 & 0.90710934557652 & 0.45355467278826 \tabularnewline
55 & 0.409422200078793 & 0.818844400157586 & 0.590577799921207 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69416&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]5[/C][C]0.0381795061196366[/C][C]0.0763590122392732[/C][C]0.961820493880363[/C][/ROW]
[ROW][C]6[/C][C]0.0310077537428022[/C][C]0.0620155074856045[/C][C]0.968992246257198[/C][/ROW]
[ROW][C]7[/C][C]0.469908876153145[/C][C]0.93981775230629[/C][C]0.530091123846855[/C][/ROW]
[ROW][C]8[/C][C]0.383061490479678[/C][C]0.766122980959357[/C][C]0.616938509520322[/C][/ROW]
[ROW][C]9[/C][C]0.844265560051986[/C][C]0.311468879896029[/C][C]0.155734439948014[/C][/ROW]
[ROW][C]10[/C][C]0.904907577176669[/C][C]0.190184845646663[/C][C]0.0950924228233313[/C][/ROW]
[ROW][C]11[/C][C]0.867444969635386[/C][C]0.265110060729227[/C][C]0.132555030364614[/C][/ROW]
[ROW][C]12[/C][C]0.814458691339773[/C][C]0.371082617320454[/C][C]0.185541308660227[/C][/ROW]
[ROW][C]13[/C][C]0.754121059636899[/C][C]0.491757880726202[/C][C]0.245878940363101[/C][/ROW]
[ROW][C]14[/C][C]0.690277336499956[/C][C]0.619445327000088[/C][C]0.309722663500044[/C][/ROW]
[ROW][C]15[/C][C]0.628706635638769[/C][C]0.742586728722462[/C][C]0.371293364361231[/C][/ROW]
[ROW][C]16[/C][C]0.597302108681462[/C][C]0.805395782637076[/C][C]0.402697891318538[/C][/ROW]
[ROW][C]17[/C][C]0.643935670924609[/C][C]0.712128658150782[/C][C]0.356064329075391[/C][/ROW]
[ROW][C]18[/C][C]0.660061625837718[/C][C]0.679876748324564[/C][C]0.339938374162282[/C][/ROW]
[ROW][C]19[/C][C]0.769831213693297[/C][C]0.460337572613406[/C][C]0.230168786306703[/C][/ROW]
[ROW][C]20[/C][C]0.774391857754078[/C][C]0.451216284491843[/C][C]0.225608142245922[/C][/ROW]
[ROW][C]21[/C][C]0.917556912662216[/C][C]0.164886174675569[/C][C]0.0824430873377845[/C][/ROW]
[ROW][C]22[/C][C]0.936648056527826[/C][C]0.126703886944348[/C][C]0.0633519434721742[/C][/ROW]
[ROW][C]23[/C][C]0.915697365549755[/C][C]0.168605268900491[/C][C]0.0843026344502455[/C][/ROW]
[ROW][C]24[/C][C]0.888221867239413[/C][C]0.223556265521174[/C][C]0.111778132760587[/C][/ROW]
[ROW][C]25[/C][C]0.853842282324067[/C][C]0.292315435351867[/C][C]0.146157717675933[/C][/ROW]
[ROW][C]26[/C][C]0.813167690261477[/C][C]0.373664619477046[/C][C]0.186832309738523[/C][/ROW]
[ROW][C]27[/C][C]0.763326110178082[/C][C]0.473347779643836[/C][C]0.236673889821918[/C][/ROW]
[ROW][C]28[/C][C]0.736493722894809[/C][C]0.527012554210383[/C][C]0.263506277105191[/C][/ROW]
[ROW][C]29[/C][C]0.78767046801986[/C][C]0.424659063960279[/C][C]0.212329531980140[/C][/ROW]
[ROW][C]30[/C][C]0.766522535869982[/C][C]0.466954928260036[/C][C]0.233477464130018[/C][/ROW]
[ROW][C]31[/C][C]0.791263613406888[/C][C]0.417472773186225[/C][C]0.208736386593112[/C][/ROW]
[ROW][C]32[/C][C]0.826766793772205[/C][C]0.346466412455589[/C][C]0.173233206227795[/C][/ROW]
[ROW][C]33[/C][C]0.926911652520695[/C][C]0.146176694958609[/C][C]0.0730883474793046[/C][/ROW]
[ROW][C]34[/C][C]0.934868610766016[/C][C]0.130262778467968[/C][C]0.0651313892339841[/C][/ROW]
[ROW][C]35[/C][C]0.912484756268426[/C][C]0.175030487463149[/C][C]0.0875152437315743[/C][/ROW]
[ROW][C]36[/C][C]0.877255009534209[/C][C]0.245489980931582[/C][C]0.122744990465791[/C][/ROW]
[ROW][C]37[/C][C]0.837651717414504[/C][C]0.324696565170993[/C][C]0.162348282585496[/C][/ROW]
[ROW][C]38[/C][C]0.794822173339261[/C][C]0.410355653321478[/C][C]0.205177826660739[/C][/ROW]
[ROW][C]39[/C][C]0.738662018183318[/C][C]0.522675963633364[/C][C]0.261337981816682[/C][/ROW]
[ROW][C]40[/C][C]0.718408183192274[/C][C]0.563183633615453[/C][C]0.281591816807726[/C][/ROW]
[ROW][C]41[/C][C]0.7683475792426[/C][C]0.463304841514799[/C][C]0.231652420757399[/C][/ROW]
[ROW][C]42[/C][C]0.771598093961841[/C][C]0.456803812076319[/C][C]0.228401906038159[/C][/ROW]
[ROW][C]43[/C][C]0.737380743197964[/C][C]0.525238513604072[/C][C]0.262619256802036[/C][/ROW]
[ROW][C]44[/C][C]0.744332600907101[/C][C]0.511334798185798[/C][C]0.255667399092899[/C][/ROW]
[ROW][C]45[/C][C]0.874919994457929[/C][C]0.250160011084141[/C][C]0.125080005542071[/C][/ROW]
[ROW][C]46[/C][C]0.87680709357556[/C][C]0.246385812848881[/C][C]0.123192906424441[/C][/ROW]
[ROW][C]47[/C][C]0.845209735675864[/C][C]0.309580528648272[/C][C]0.154790264324136[/C][/ROW]
[ROW][C]48[/C][C]0.777923502419209[/C][C]0.444152995161582[/C][C]0.222076497580791[/C][/ROW]
[ROW][C]49[/C][C]0.697591800893872[/C][C]0.604816398212255[/C][C]0.302408199106128[/C][/ROW]
[ROW][C]50[/C][C]0.610585256695129[/C][C]0.778829486609742[/C][C]0.389414743304871[/C][/ROW]
[ROW][C]51[/C][C]0.504172696600286[/C][C]0.99165460679943[/C][C]0.495827303399715[/C][/ROW]
[ROW][C]52[/C][C]0.535797344694117[/C][C]0.928405310611767[/C][C]0.464202655305883[/C][/ROW]
[ROW][C]53[/C][C]0.529408777123264[/C][C]0.941182445753473[/C][C]0.470591222876736[/C][/ROW]
[ROW][C]54[/C][C]0.54644532721174[/C][C]0.90710934557652[/C][C]0.45355467278826[/C][/ROW]
[ROW][C]55[/C][C]0.409422200078793[/C][C]0.818844400157586[/C][C]0.590577799921207[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69416&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69416&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
50.03817950611963660.07635901223927320.961820493880363
60.03100775374280220.06201550748560450.968992246257198
70.4699088761531450.939817752306290.530091123846855
80.3830614904796780.7661229809593570.616938509520322
90.8442655600519860.3114688798960290.155734439948014
100.9049075771766690.1901848456466630.0950924228233313
110.8674449696353860.2651100607292270.132555030364614
120.8144586913397730.3710826173204540.185541308660227
130.7541210596368990.4917578807262020.245878940363101
140.6902773364999560.6194453270000880.309722663500044
150.6287066356387690.7425867287224620.371293364361231
160.5973021086814620.8053957826370760.402697891318538
170.6439356709246090.7121286581507820.356064329075391
180.6600616258377180.6798767483245640.339938374162282
190.7698312136932970.4603375726134060.230168786306703
200.7743918577540780.4512162844918430.225608142245922
210.9175569126622160.1648861746755690.0824430873377845
220.9366480565278260.1267038869443480.0633519434721742
230.9156973655497550.1686052689004910.0843026344502455
240.8882218672394130.2235562655211740.111778132760587
250.8538422823240670.2923154353518670.146157717675933
260.8131676902614770.3736646194770460.186832309738523
270.7633261101780820.4733477796438360.236673889821918
280.7364937228948090.5270125542103830.263506277105191
290.787670468019860.4246590639602790.212329531980140
300.7665225358699820.4669549282600360.233477464130018
310.7912636134068880.4174727731862250.208736386593112
320.8267667937722050.3464664124555890.173233206227795
330.9269116525206950.1461766949586090.0730883474793046
340.9348686107660160.1302627784679680.0651313892339841
350.9124847562684260.1750304874631490.0875152437315743
360.8772550095342090.2454899809315820.122744990465791
370.8376517174145040.3246965651709930.162348282585496
380.7948221733392610.4103556533214780.205177826660739
390.7386620181833180.5226759636333640.261337981816682
400.7184081831922740.5631836336154530.281591816807726
410.76834757924260.4633048415147990.231652420757399
420.7715980939618410.4568038120763190.228401906038159
430.7373807431979640.5252385136040720.262619256802036
440.7443326009071010.5113347981857980.255667399092899
450.8749199944579290.2501600110841410.125080005542071
460.876807093575560.2463858128488810.123192906424441
470.8452097356758640.3095805286482720.154790264324136
480.7779235024192090.4441529951615820.222076497580791
490.6975918008938720.6048163982122550.302408199106128
500.6105852566951290.7788294866097420.389414743304871
510.5041726966002860.991654606799430.495827303399715
520.5357973446941170.9284053106117670.464202655305883
530.5294087771232640.9411824457534730.470591222876736
540.546445327211740.907109345576520.45355467278826
550.4094222000787930.8188444001575860.590577799921207







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 level20.0392156862745098OK

\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 & 2 & 0.0392156862745098 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69416&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]2[/C][C]0.0392156862745098[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69416&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69416&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 level20.0392156862745098OK



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