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 computationMon, 21 Nov 2011 12:11:51 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2011/Nov/21/t13218955371k6kb2pgy94iamh.htm/, Retrieved Fri, 26 Apr 2024 05:58:12 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=145829, Retrieved Fri, 26 Apr 2024 05:58:12 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact75
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Competence to learn] [2010-11-17 07:43:53] [b98453cac15ba1066b407e146608df68]
- R PD    [Multiple Regression] [] [2011-11-21 17:11:51] [79818163420d1233b8d9d93d595e6c9e] [Current]
Feedback Forum

Post a new message
Dataseries X:
170588	95556	114468
86621	54565	88594
113337	63016	74151
152510	79774	77921
86206	31258	53212
37257	52491	34956
306055	91256	149703
32750	22807	6853
116502	77411	58907
130539	48821	67067
161876	52295	110563
128274	63262	58126
102350	50466	57113
193024	62932	77993
141574	38439	68091
253559	70817	124676
181110	105965	109522
198432	73795	75865
113853	82043	79746
159940	74349	77844
166822	82204	98681
286675	55709	105531
91657	37137	51428
108278	70780	65703
146342	55027	72562
145142	56699	81728
161740	65911	95580
160905	56316	98278
106888	26982	46629
188150	54628	115189
189401	96750	124865
129484	53009	59392
204030	64664	127818
68538	36990	17821
243625	85224	154076
167255	37048	64881
264528	59635	136506
122024	42051	66524
80964	26998	45988
209795	63717	107445
224205	55071	102772
115971	40001	46657
138191	54506	97563
81106	35838	36663
93125	50838	55369
305756	86997	77921
78800	33032	56968
158835	61704	77519
221745	117986	129805
131108	56733	72761
128734	55064	81278
24188	5950	15049
257662	84607	113935
65029	32551	25109
98066	31701	45824
173587	71170	89644
180042	101773	109011
197266	101653	134245
212060	81493	136692
141582	55901	50741




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Gwilym Jenkins' @ jenkins.wessa.net

\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' @ jenkins.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=145829&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' @ jenkins.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=145829&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=145829&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' @ jenkins.wessa.net







Multiple Linear Regression - Estimated Regression Equation
TotalTime[t] = + 20651.8195834353 + 0.219466213707421CompCharac[t] + 1.46147516078375CompTime[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
TotalTime[t] =  +  20651.8195834353 +  0.219466213707421CompCharac[t] +  1.46147516078375CompTime[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=145829&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]TotalTime[t] =  +  20651.8195834353 +  0.219466213707421CompCharac[t] +  1.46147516078375CompTime[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=145829&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=145829&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
TotalTime[t] = + 20651.8195834353 + 0.219466213707421CompCharac[t] + 1.46147516078375CompTime[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)20651.819583435313676.1326861.51010.1365510.068276
CompCharac0.2194662137074210.3097290.70860.4814770.240738
CompTime1.461475160783750.2074627.044600

\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) & 20651.8195834353 & 13676.132686 & 1.5101 & 0.136551 & 0.068276 \tabularnewline
CompCharac & 0.219466213707421 & 0.309729 & 0.7086 & 0.481477 & 0.240738 \tabularnewline
CompTime & 1.46147516078375 & 0.207462 & 7.0446 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=145829&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]20651.8195834353[/C][C]13676.132686[/C][C]1.5101[/C][C]0.136551[/C][C]0.068276[/C][/ROW]
[ROW][C]CompCharac[/C][C]0.219466213707421[/C][C]0.309729[/C][C]0.7086[/C][C]0.481477[/C][C]0.240738[/C][/ROW]
[ROW][C]CompTime[/C][C]1.46147516078375[/C][C]0.207462[/C][C]7.0446[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=145829&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=145829&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)20651.819583435313676.1326861.51010.1365510.068276
CompCharac0.2194662137074210.3097290.70860.4814770.240738
CompTime1.461475160783750.2074627.044600







Multiple Linear Regression - Regression Statistics
Multiple R0.832912302378095
R-squared0.69374290345278
Adjusted R-squared0.682997040416035
F-TEST (value)64.5590680879316
F-TEST (DF numerator)2
F-TEST (DF denominator)57
p-value2.22044604925031e-15
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation36485.9534296789
Sum Squared Residuals75879813467.3439

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.832912302378095 \tabularnewline
R-squared & 0.69374290345278 \tabularnewline
Adjusted R-squared & 0.682997040416035 \tabularnewline
F-TEST (value) & 64.5590680879316 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 57 \tabularnewline
p-value & 2.22044604925031e-15 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 36485.9534296789 \tabularnewline
Sum Squared Residuals & 75879813467.3439 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=145829&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.832912302378095[/C][/ROW]
[ROW][C]R-squared[/C][C]0.69374290345278[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.682997040416035[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]64.5590680879316[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]2[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]57[/C][/ROW]
[ROW][C]p-value[/C][C]2.22044604925031e-15[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]36485.9534296789[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]75879813467.3439[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=145829&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=145829&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.832912302378095
R-squared0.69374290345278
Adjusted R-squared0.682997040416035
F-TEST (value)64.5590680879316
F-TEST (DF numerator)2
F-TEST (DF denominator)57
p-value2.22044604925031e-15
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation36485.9534296789
Sum Squared Residuals75879813467.3439







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1170588208915.271805056-38327.2718050559
286621162104.923928856-75483.9239288563
3113337142851.547153698-29514.5471536981
4152510152039.123319162470.876680838274
586206105279.910747127-19073.9107471268
63725783259.1463275083-46002.1463275083
7306055259466.6443763346588.3556236705
83275035672.6747963115-2922.67479631146
9116502123732.035949029-7230.03594902886
10130539129383.1342111291155.86578887092
11161876193713.883430999-31837.8834309987
12128274119485.396390718788.60360928956
13102350115196.632382236-12846.6323822363
14193024148448.09955947844575.9004405222
15141574128601.18654506112972.8134549388
16253559218404.63558542935154.3644145714
17181110203971.2394783-22861.2394783001
18198432147722.14189683450709.8581031663
19113853155204.284326494-41351.2843264942
20159940150735.9855224199204.01447758139
21166822182912.650556341-16090.6505563414
22286675187108.99807553299566.001924468
2391657103962.880930674-12305.8809306745
24108278132208.940678621-23930.9406786213
25146342138775.9475419047566.05245809596
26145142152538.776374967-7396.77637496671
27161740174804.853062816-13064.853062816
28160905176642.134726088-15737.1347260878
2910688894720.582233874412167.4177661256
30188150200986.682201364-12836.6822013637
31189401224372.271710891-34971.2717108913
32129484119085.4368551210398.5631448795
33204030221646.214927669-17616.2149276694
346853854814.823668813723.1763312
35243625264533.855053354-20908.8550533537
36167255123604.57377567843650.4262243217
37264528233239.81553582431288.184464176
38122024127103.766932024-5079.76693202426
398096493787.2881152313-12823.2881152313
40209795191663.74697264118131.2530273589
41224205182936.76866258441268.2313374157
4211597197618.734174633318352.2658253667
43138191175199.946139317-37008.946139317
448110682099.1135700965-993.113570096463
4593125112729.461133329-19604.4611333286
46305756153624.32778077152131.67221923
4778800111158.544514148-32358.5445141475
48158835147485.85582283411349.1441771665
49221745236252.543519454-14507.5435194538
50131108139441.190459485-8333.19045948487
51128734151522.285293202-22788.2852932024
522418843951.3832496291-19763.3832496291
53257662205733.36997047651928.6300295243
546502964491.8441179447537.155882055287
559806694579.75579192883486.2442080712
56173587167283.7093262916303.29067370902
57180042202304.423303278-22262.4233032781
58197266239156.95156485-41890.9515648504
59212060238308.742414947-26248.7424149466
60141582107076.91152922234505.0884707779

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 170588 & 208915.271805056 & -38327.2718050559 \tabularnewline
2 & 86621 & 162104.923928856 & -75483.9239288563 \tabularnewline
3 & 113337 & 142851.547153698 & -29514.5471536981 \tabularnewline
4 & 152510 & 152039.123319162 & 470.876680838274 \tabularnewline
5 & 86206 & 105279.910747127 & -19073.9107471268 \tabularnewline
6 & 37257 & 83259.1463275083 & -46002.1463275083 \tabularnewline
7 & 306055 & 259466.64437633 & 46588.3556236705 \tabularnewline
8 & 32750 & 35672.6747963115 & -2922.67479631146 \tabularnewline
9 & 116502 & 123732.035949029 & -7230.03594902886 \tabularnewline
10 & 130539 & 129383.134211129 & 1155.86578887092 \tabularnewline
11 & 161876 & 193713.883430999 & -31837.8834309987 \tabularnewline
12 & 128274 & 119485.39639071 & 8788.60360928956 \tabularnewline
13 & 102350 & 115196.632382236 & -12846.6323822363 \tabularnewline
14 & 193024 & 148448.099559478 & 44575.9004405222 \tabularnewline
15 & 141574 & 128601.186545061 & 12972.8134549388 \tabularnewline
16 & 253559 & 218404.635585429 & 35154.3644145714 \tabularnewline
17 & 181110 & 203971.2394783 & -22861.2394783001 \tabularnewline
18 & 198432 & 147722.141896834 & 50709.8581031663 \tabularnewline
19 & 113853 & 155204.284326494 & -41351.2843264942 \tabularnewline
20 & 159940 & 150735.985522419 & 9204.01447758139 \tabularnewline
21 & 166822 & 182912.650556341 & -16090.6505563414 \tabularnewline
22 & 286675 & 187108.998075532 & 99566.001924468 \tabularnewline
23 & 91657 & 103962.880930674 & -12305.8809306745 \tabularnewline
24 & 108278 & 132208.940678621 & -23930.9406786213 \tabularnewline
25 & 146342 & 138775.947541904 & 7566.05245809596 \tabularnewline
26 & 145142 & 152538.776374967 & -7396.77637496671 \tabularnewline
27 & 161740 & 174804.853062816 & -13064.853062816 \tabularnewline
28 & 160905 & 176642.134726088 & -15737.1347260878 \tabularnewline
29 & 106888 & 94720.5822338744 & 12167.4177661256 \tabularnewline
30 & 188150 & 200986.682201364 & -12836.6822013637 \tabularnewline
31 & 189401 & 224372.271710891 & -34971.2717108913 \tabularnewline
32 & 129484 & 119085.43685512 & 10398.5631448795 \tabularnewline
33 & 204030 & 221646.214927669 & -17616.2149276694 \tabularnewline
34 & 68538 & 54814.8236688 & 13723.1763312 \tabularnewline
35 & 243625 & 264533.855053354 & -20908.8550533537 \tabularnewline
36 & 167255 & 123604.573775678 & 43650.4262243217 \tabularnewline
37 & 264528 & 233239.815535824 & 31288.184464176 \tabularnewline
38 & 122024 & 127103.766932024 & -5079.76693202426 \tabularnewline
39 & 80964 & 93787.2881152313 & -12823.2881152313 \tabularnewline
40 & 209795 & 191663.746972641 & 18131.2530273589 \tabularnewline
41 & 224205 & 182936.768662584 & 41268.2313374157 \tabularnewline
42 & 115971 & 97618.7341746333 & 18352.2658253667 \tabularnewline
43 & 138191 & 175199.946139317 & -37008.946139317 \tabularnewline
44 & 81106 & 82099.1135700965 & -993.113570096463 \tabularnewline
45 & 93125 & 112729.461133329 & -19604.4611333286 \tabularnewline
46 & 305756 & 153624.32778077 & 152131.67221923 \tabularnewline
47 & 78800 & 111158.544514148 & -32358.5445141475 \tabularnewline
48 & 158835 & 147485.855822834 & 11349.1441771665 \tabularnewline
49 & 221745 & 236252.543519454 & -14507.5435194538 \tabularnewline
50 & 131108 & 139441.190459485 & -8333.19045948487 \tabularnewline
51 & 128734 & 151522.285293202 & -22788.2852932024 \tabularnewline
52 & 24188 & 43951.3832496291 & -19763.3832496291 \tabularnewline
53 & 257662 & 205733.369970476 & 51928.6300295243 \tabularnewline
54 & 65029 & 64491.8441179447 & 537.155882055287 \tabularnewline
55 & 98066 & 94579.7557919288 & 3486.2442080712 \tabularnewline
56 & 173587 & 167283.709326291 & 6303.29067370902 \tabularnewline
57 & 180042 & 202304.423303278 & -22262.4233032781 \tabularnewline
58 & 197266 & 239156.95156485 & -41890.9515648504 \tabularnewline
59 & 212060 & 238308.742414947 & -26248.7424149466 \tabularnewline
60 & 141582 & 107076.911529222 & 34505.0884707779 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=145829&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]170588[/C][C]208915.271805056[/C][C]-38327.2718050559[/C][/ROW]
[ROW][C]2[/C][C]86621[/C][C]162104.923928856[/C][C]-75483.9239288563[/C][/ROW]
[ROW][C]3[/C][C]113337[/C][C]142851.547153698[/C][C]-29514.5471536981[/C][/ROW]
[ROW][C]4[/C][C]152510[/C][C]152039.123319162[/C][C]470.876680838274[/C][/ROW]
[ROW][C]5[/C][C]86206[/C][C]105279.910747127[/C][C]-19073.9107471268[/C][/ROW]
[ROW][C]6[/C][C]37257[/C][C]83259.1463275083[/C][C]-46002.1463275083[/C][/ROW]
[ROW][C]7[/C][C]306055[/C][C]259466.64437633[/C][C]46588.3556236705[/C][/ROW]
[ROW][C]8[/C][C]32750[/C][C]35672.6747963115[/C][C]-2922.67479631146[/C][/ROW]
[ROW][C]9[/C][C]116502[/C][C]123732.035949029[/C][C]-7230.03594902886[/C][/ROW]
[ROW][C]10[/C][C]130539[/C][C]129383.134211129[/C][C]1155.86578887092[/C][/ROW]
[ROW][C]11[/C][C]161876[/C][C]193713.883430999[/C][C]-31837.8834309987[/C][/ROW]
[ROW][C]12[/C][C]128274[/C][C]119485.39639071[/C][C]8788.60360928956[/C][/ROW]
[ROW][C]13[/C][C]102350[/C][C]115196.632382236[/C][C]-12846.6323822363[/C][/ROW]
[ROW][C]14[/C][C]193024[/C][C]148448.099559478[/C][C]44575.9004405222[/C][/ROW]
[ROW][C]15[/C][C]141574[/C][C]128601.186545061[/C][C]12972.8134549388[/C][/ROW]
[ROW][C]16[/C][C]253559[/C][C]218404.635585429[/C][C]35154.3644145714[/C][/ROW]
[ROW][C]17[/C][C]181110[/C][C]203971.2394783[/C][C]-22861.2394783001[/C][/ROW]
[ROW][C]18[/C][C]198432[/C][C]147722.141896834[/C][C]50709.8581031663[/C][/ROW]
[ROW][C]19[/C][C]113853[/C][C]155204.284326494[/C][C]-41351.2843264942[/C][/ROW]
[ROW][C]20[/C][C]159940[/C][C]150735.985522419[/C][C]9204.01447758139[/C][/ROW]
[ROW][C]21[/C][C]166822[/C][C]182912.650556341[/C][C]-16090.6505563414[/C][/ROW]
[ROW][C]22[/C][C]286675[/C][C]187108.998075532[/C][C]99566.001924468[/C][/ROW]
[ROW][C]23[/C][C]91657[/C][C]103962.880930674[/C][C]-12305.8809306745[/C][/ROW]
[ROW][C]24[/C][C]108278[/C][C]132208.940678621[/C][C]-23930.9406786213[/C][/ROW]
[ROW][C]25[/C][C]146342[/C][C]138775.947541904[/C][C]7566.05245809596[/C][/ROW]
[ROW][C]26[/C][C]145142[/C][C]152538.776374967[/C][C]-7396.77637496671[/C][/ROW]
[ROW][C]27[/C][C]161740[/C][C]174804.853062816[/C][C]-13064.853062816[/C][/ROW]
[ROW][C]28[/C][C]160905[/C][C]176642.134726088[/C][C]-15737.1347260878[/C][/ROW]
[ROW][C]29[/C][C]106888[/C][C]94720.5822338744[/C][C]12167.4177661256[/C][/ROW]
[ROW][C]30[/C][C]188150[/C][C]200986.682201364[/C][C]-12836.6822013637[/C][/ROW]
[ROW][C]31[/C][C]189401[/C][C]224372.271710891[/C][C]-34971.2717108913[/C][/ROW]
[ROW][C]32[/C][C]129484[/C][C]119085.43685512[/C][C]10398.5631448795[/C][/ROW]
[ROW][C]33[/C][C]204030[/C][C]221646.214927669[/C][C]-17616.2149276694[/C][/ROW]
[ROW][C]34[/C][C]68538[/C][C]54814.8236688[/C][C]13723.1763312[/C][/ROW]
[ROW][C]35[/C][C]243625[/C][C]264533.855053354[/C][C]-20908.8550533537[/C][/ROW]
[ROW][C]36[/C][C]167255[/C][C]123604.573775678[/C][C]43650.4262243217[/C][/ROW]
[ROW][C]37[/C][C]264528[/C][C]233239.815535824[/C][C]31288.184464176[/C][/ROW]
[ROW][C]38[/C][C]122024[/C][C]127103.766932024[/C][C]-5079.76693202426[/C][/ROW]
[ROW][C]39[/C][C]80964[/C][C]93787.2881152313[/C][C]-12823.2881152313[/C][/ROW]
[ROW][C]40[/C][C]209795[/C][C]191663.746972641[/C][C]18131.2530273589[/C][/ROW]
[ROW][C]41[/C][C]224205[/C][C]182936.768662584[/C][C]41268.2313374157[/C][/ROW]
[ROW][C]42[/C][C]115971[/C][C]97618.7341746333[/C][C]18352.2658253667[/C][/ROW]
[ROW][C]43[/C][C]138191[/C][C]175199.946139317[/C][C]-37008.946139317[/C][/ROW]
[ROW][C]44[/C][C]81106[/C][C]82099.1135700965[/C][C]-993.113570096463[/C][/ROW]
[ROW][C]45[/C][C]93125[/C][C]112729.461133329[/C][C]-19604.4611333286[/C][/ROW]
[ROW][C]46[/C][C]305756[/C][C]153624.32778077[/C][C]152131.67221923[/C][/ROW]
[ROW][C]47[/C][C]78800[/C][C]111158.544514148[/C][C]-32358.5445141475[/C][/ROW]
[ROW][C]48[/C][C]158835[/C][C]147485.855822834[/C][C]11349.1441771665[/C][/ROW]
[ROW][C]49[/C][C]221745[/C][C]236252.543519454[/C][C]-14507.5435194538[/C][/ROW]
[ROW][C]50[/C][C]131108[/C][C]139441.190459485[/C][C]-8333.19045948487[/C][/ROW]
[ROW][C]51[/C][C]128734[/C][C]151522.285293202[/C][C]-22788.2852932024[/C][/ROW]
[ROW][C]52[/C][C]24188[/C][C]43951.3832496291[/C][C]-19763.3832496291[/C][/ROW]
[ROW][C]53[/C][C]257662[/C][C]205733.369970476[/C][C]51928.6300295243[/C][/ROW]
[ROW][C]54[/C][C]65029[/C][C]64491.8441179447[/C][C]537.155882055287[/C][/ROW]
[ROW][C]55[/C][C]98066[/C][C]94579.7557919288[/C][C]3486.2442080712[/C][/ROW]
[ROW][C]56[/C][C]173587[/C][C]167283.709326291[/C][C]6303.29067370902[/C][/ROW]
[ROW][C]57[/C][C]180042[/C][C]202304.423303278[/C][C]-22262.4233032781[/C][/ROW]
[ROW][C]58[/C][C]197266[/C][C]239156.95156485[/C][C]-41890.9515648504[/C][/ROW]
[ROW][C]59[/C][C]212060[/C][C]238308.742414947[/C][C]-26248.7424149466[/C][/ROW]
[ROW][C]60[/C][C]141582[/C][C]107076.911529222[/C][C]34505.0884707779[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=145829&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=145829&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
1170588208915.271805056-38327.2718050559
286621162104.923928856-75483.9239288563
3113337142851.547153698-29514.5471536981
4152510152039.123319162470.876680838274
586206105279.910747127-19073.9107471268
63725783259.1463275083-46002.1463275083
7306055259466.6443763346588.3556236705
83275035672.6747963115-2922.67479631146
9116502123732.035949029-7230.03594902886
10130539129383.1342111291155.86578887092
11161876193713.883430999-31837.8834309987
12128274119485.396390718788.60360928956
13102350115196.632382236-12846.6323822363
14193024148448.09955947844575.9004405222
15141574128601.18654506112972.8134549388
16253559218404.63558542935154.3644145714
17181110203971.2394783-22861.2394783001
18198432147722.14189683450709.8581031663
19113853155204.284326494-41351.2843264942
20159940150735.9855224199204.01447758139
21166822182912.650556341-16090.6505563414
22286675187108.99807553299566.001924468
2391657103962.880930674-12305.8809306745
24108278132208.940678621-23930.9406786213
25146342138775.9475419047566.05245809596
26145142152538.776374967-7396.77637496671
27161740174804.853062816-13064.853062816
28160905176642.134726088-15737.1347260878
2910688894720.582233874412167.4177661256
30188150200986.682201364-12836.6822013637
31189401224372.271710891-34971.2717108913
32129484119085.4368551210398.5631448795
33204030221646.214927669-17616.2149276694
346853854814.823668813723.1763312
35243625264533.855053354-20908.8550533537
36167255123604.57377567843650.4262243217
37264528233239.81553582431288.184464176
38122024127103.766932024-5079.76693202426
398096493787.2881152313-12823.2881152313
40209795191663.74697264118131.2530273589
41224205182936.76866258441268.2313374157
4211597197618.734174633318352.2658253667
43138191175199.946139317-37008.946139317
448110682099.1135700965-993.113570096463
4593125112729.461133329-19604.4611333286
46305756153624.32778077152131.67221923
4778800111158.544514148-32358.5445141475
48158835147485.85582283411349.1441771665
49221745236252.543519454-14507.5435194538
50131108139441.190459485-8333.19045948487
51128734151522.285293202-22788.2852932024
522418843951.3832496291-19763.3832496291
53257662205733.36997047651928.6300295243
546502964491.8441179447537.155882055287
559806694579.75579192883486.2442080712
56173587167283.7093262916303.29067370902
57180042202304.423303278-22262.4233032781
58197266239156.95156485-41890.9515648504
59212060238308.742414947-26248.7424149466
60141582107076.91152922234505.0884707779







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
60.4600201484172550.920040296834510.539979851582745
70.7052437862327680.5895124275344640.294756213767232
80.7349977094762710.5300045810474580.265002290523729
90.6370472708979950.7259054582040090.362952729102005
100.551761418219160.896477163561680.44823858178084
110.4704152517176350.940830503435270.529584748282365
120.409655647884570.8193112957691410.59034435211543
130.3164653787029360.6329307574058720.683534621297064
140.445945735244270.8918914704885390.55405426475573
150.3993296872164180.7986593744328350.600670312783582
160.3928969854551590.7857939709103180.607103014544841
170.3373373819195320.6746747638390650.662662618080467
180.4473211368044390.8946422736088790.552678863195561
190.4549014284266440.9098028568532880.545098571573356
200.3833967741193760.7667935482387530.616603225880624
210.3192800359325270.6385600718650550.680719964067473
220.7627889685118750.4744220629762490.237211031488125
230.7035749065150660.5928501869698680.296425093484934
240.6683182726255020.6633634547489960.331681727374498
250.5963294485380910.8073411029238180.403670551461909
260.5236838541860850.952632291627830.476316145813915
270.460637352983470.9212747059669410.53936264701653
280.4064363234284030.8128726468568060.593563676571597
290.3420791932516940.6841583865033880.657920806748306
300.2945159381681710.5890318763363410.705484061831829
310.2999509824776470.5999019649552950.700049017522353
320.2433148394966480.4866296789932960.756685160503352
330.2021476953324870.4042953906649740.797852304667513
340.1617408917057540.3234817834115070.838259108294247
350.1283803985486120.2567607970972230.871619601451388
360.1439773410421310.2879546820842630.856022658957869
370.1732788572243340.3465577144486680.826721142775666
380.1279072841529360.2558145683058710.872092715847064
390.0945032311047840.1890064622095680.905496768895216
400.08233112762587910.1646622552517580.917668872374121
410.1733734516601860.3467469033203710.826626548339814
420.1328294073796140.2656588147592280.867170592620386
430.1122848498466970.2245696996933940.887715150153303
440.0785782408336290.1571564816672580.921421759166371
450.06774183452837190.1354836690567440.932258165471628
460.9162960867570410.1674078264859190.0837039132429594
470.8977932803755210.2044134392489580.102206719624479
480.8511404127875860.2977191744248290.148859587212414
490.7878693420472980.4242613159054050.212130657952702
500.6918000647501880.6163998704996240.308199935249812
510.5968443183265460.8063113633469090.403155681673454
520.5422330453996340.9155339092007330.457766954600366
530.8963070023010730.2073859953978540.103692997698927
540.8889794830507670.2220410338984660.111020516949233

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
6 & 0.460020148417255 & 0.92004029683451 & 0.539979851582745 \tabularnewline
7 & 0.705243786232768 & 0.589512427534464 & 0.294756213767232 \tabularnewline
8 & 0.734997709476271 & 0.530004581047458 & 0.265002290523729 \tabularnewline
9 & 0.637047270897995 & 0.725905458204009 & 0.362952729102005 \tabularnewline
10 & 0.55176141821916 & 0.89647716356168 & 0.44823858178084 \tabularnewline
11 & 0.470415251717635 & 0.94083050343527 & 0.529584748282365 \tabularnewline
12 & 0.40965564788457 & 0.819311295769141 & 0.59034435211543 \tabularnewline
13 & 0.316465378702936 & 0.632930757405872 & 0.683534621297064 \tabularnewline
14 & 0.44594573524427 & 0.891891470488539 & 0.55405426475573 \tabularnewline
15 & 0.399329687216418 & 0.798659374432835 & 0.600670312783582 \tabularnewline
16 & 0.392896985455159 & 0.785793970910318 & 0.607103014544841 \tabularnewline
17 & 0.337337381919532 & 0.674674763839065 & 0.662662618080467 \tabularnewline
18 & 0.447321136804439 & 0.894642273608879 & 0.552678863195561 \tabularnewline
19 & 0.454901428426644 & 0.909802856853288 & 0.545098571573356 \tabularnewline
20 & 0.383396774119376 & 0.766793548238753 & 0.616603225880624 \tabularnewline
21 & 0.319280035932527 & 0.638560071865055 & 0.680719964067473 \tabularnewline
22 & 0.762788968511875 & 0.474422062976249 & 0.237211031488125 \tabularnewline
23 & 0.703574906515066 & 0.592850186969868 & 0.296425093484934 \tabularnewline
24 & 0.668318272625502 & 0.663363454748996 & 0.331681727374498 \tabularnewline
25 & 0.596329448538091 & 0.807341102923818 & 0.403670551461909 \tabularnewline
26 & 0.523683854186085 & 0.95263229162783 & 0.476316145813915 \tabularnewline
27 & 0.46063735298347 & 0.921274705966941 & 0.53936264701653 \tabularnewline
28 & 0.406436323428403 & 0.812872646856806 & 0.593563676571597 \tabularnewline
29 & 0.342079193251694 & 0.684158386503388 & 0.657920806748306 \tabularnewline
30 & 0.294515938168171 & 0.589031876336341 & 0.705484061831829 \tabularnewline
31 & 0.299950982477647 & 0.599901964955295 & 0.700049017522353 \tabularnewline
32 & 0.243314839496648 & 0.486629678993296 & 0.756685160503352 \tabularnewline
33 & 0.202147695332487 & 0.404295390664974 & 0.797852304667513 \tabularnewline
34 & 0.161740891705754 & 0.323481783411507 & 0.838259108294247 \tabularnewline
35 & 0.128380398548612 & 0.256760797097223 & 0.871619601451388 \tabularnewline
36 & 0.143977341042131 & 0.287954682084263 & 0.856022658957869 \tabularnewline
37 & 0.173278857224334 & 0.346557714448668 & 0.826721142775666 \tabularnewline
38 & 0.127907284152936 & 0.255814568305871 & 0.872092715847064 \tabularnewline
39 & 0.094503231104784 & 0.189006462209568 & 0.905496768895216 \tabularnewline
40 & 0.0823311276258791 & 0.164662255251758 & 0.917668872374121 \tabularnewline
41 & 0.173373451660186 & 0.346746903320371 & 0.826626548339814 \tabularnewline
42 & 0.132829407379614 & 0.265658814759228 & 0.867170592620386 \tabularnewline
43 & 0.112284849846697 & 0.224569699693394 & 0.887715150153303 \tabularnewline
44 & 0.078578240833629 & 0.157156481667258 & 0.921421759166371 \tabularnewline
45 & 0.0677418345283719 & 0.135483669056744 & 0.932258165471628 \tabularnewline
46 & 0.916296086757041 & 0.167407826485919 & 0.0837039132429594 \tabularnewline
47 & 0.897793280375521 & 0.204413439248958 & 0.102206719624479 \tabularnewline
48 & 0.851140412787586 & 0.297719174424829 & 0.148859587212414 \tabularnewline
49 & 0.787869342047298 & 0.424261315905405 & 0.212130657952702 \tabularnewline
50 & 0.691800064750188 & 0.616399870499624 & 0.308199935249812 \tabularnewline
51 & 0.596844318326546 & 0.806311363346909 & 0.403155681673454 \tabularnewline
52 & 0.542233045399634 & 0.915533909200733 & 0.457766954600366 \tabularnewline
53 & 0.896307002301073 & 0.207385995397854 & 0.103692997698927 \tabularnewline
54 & 0.888979483050767 & 0.222041033898466 & 0.111020516949233 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=145829&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]6[/C][C]0.460020148417255[/C][C]0.92004029683451[/C][C]0.539979851582745[/C][/ROW]
[ROW][C]7[/C][C]0.705243786232768[/C][C]0.589512427534464[/C][C]0.294756213767232[/C][/ROW]
[ROW][C]8[/C][C]0.734997709476271[/C][C]0.530004581047458[/C][C]0.265002290523729[/C][/ROW]
[ROW][C]9[/C][C]0.637047270897995[/C][C]0.725905458204009[/C][C]0.362952729102005[/C][/ROW]
[ROW][C]10[/C][C]0.55176141821916[/C][C]0.89647716356168[/C][C]0.44823858178084[/C][/ROW]
[ROW][C]11[/C][C]0.470415251717635[/C][C]0.94083050343527[/C][C]0.529584748282365[/C][/ROW]
[ROW][C]12[/C][C]0.40965564788457[/C][C]0.819311295769141[/C][C]0.59034435211543[/C][/ROW]
[ROW][C]13[/C][C]0.316465378702936[/C][C]0.632930757405872[/C][C]0.683534621297064[/C][/ROW]
[ROW][C]14[/C][C]0.44594573524427[/C][C]0.891891470488539[/C][C]0.55405426475573[/C][/ROW]
[ROW][C]15[/C][C]0.399329687216418[/C][C]0.798659374432835[/C][C]0.600670312783582[/C][/ROW]
[ROW][C]16[/C][C]0.392896985455159[/C][C]0.785793970910318[/C][C]0.607103014544841[/C][/ROW]
[ROW][C]17[/C][C]0.337337381919532[/C][C]0.674674763839065[/C][C]0.662662618080467[/C][/ROW]
[ROW][C]18[/C][C]0.447321136804439[/C][C]0.894642273608879[/C][C]0.552678863195561[/C][/ROW]
[ROW][C]19[/C][C]0.454901428426644[/C][C]0.909802856853288[/C][C]0.545098571573356[/C][/ROW]
[ROW][C]20[/C][C]0.383396774119376[/C][C]0.766793548238753[/C][C]0.616603225880624[/C][/ROW]
[ROW][C]21[/C][C]0.319280035932527[/C][C]0.638560071865055[/C][C]0.680719964067473[/C][/ROW]
[ROW][C]22[/C][C]0.762788968511875[/C][C]0.474422062976249[/C][C]0.237211031488125[/C][/ROW]
[ROW][C]23[/C][C]0.703574906515066[/C][C]0.592850186969868[/C][C]0.296425093484934[/C][/ROW]
[ROW][C]24[/C][C]0.668318272625502[/C][C]0.663363454748996[/C][C]0.331681727374498[/C][/ROW]
[ROW][C]25[/C][C]0.596329448538091[/C][C]0.807341102923818[/C][C]0.403670551461909[/C][/ROW]
[ROW][C]26[/C][C]0.523683854186085[/C][C]0.95263229162783[/C][C]0.476316145813915[/C][/ROW]
[ROW][C]27[/C][C]0.46063735298347[/C][C]0.921274705966941[/C][C]0.53936264701653[/C][/ROW]
[ROW][C]28[/C][C]0.406436323428403[/C][C]0.812872646856806[/C][C]0.593563676571597[/C][/ROW]
[ROW][C]29[/C][C]0.342079193251694[/C][C]0.684158386503388[/C][C]0.657920806748306[/C][/ROW]
[ROW][C]30[/C][C]0.294515938168171[/C][C]0.589031876336341[/C][C]0.705484061831829[/C][/ROW]
[ROW][C]31[/C][C]0.299950982477647[/C][C]0.599901964955295[/C][C]0.700049017522353[/C][/ROW]
[ROW][C]32[/C][C]0.243314839496648[/C][C]0.486629678993296[/C][C]0.756685160503352[/C][/ROW]
[ROW][C]33[/C][C]0.202147695332487[/C][C]0.404295390664974[/C][C]0.797852304667513[/C][/ROW]
[ROW][C]34[/C][C]0.161740891705754[/C][C]0.323481783411507[/C][C]0.838259108294247[/C][/ROW]
[ROW][C]35[/C][C]0.128380398548612[/C][C]0.256760797097223[/C][C]0.871619601451388[/C][/ROW]
[ROW][C]36[/C][C]0.143977341042131[/C][C]0.287954682084263[/C][C]0.856022658957869[/C][/ROW]
[ROW][C]37[/C][C]0.173278857224334[/C][C]0.346557714448668[/C][C]0.826721142775666[/C][/ROW]
[ROW][C]38[/C][C]0.127907284152936[/C][C]0.255814568305871[/C][C]0.872092715847064[/C][/ROW]
[ROW][C]39[/C][C]0.094503231104784[/C][C]0.189006462209568[/C][C]0.905496768895216[/C][/ROW]
[ROW][C]40[/C][C]0.0823311276258791[/C][C]0.164662255251758[/C][C]0.917668872374121[/C][/ROW]
[ROW][C]41[/C][C]0.173373451660186[/C][C]0.346746903320371[/C][C]0.826626548339814[/C][/ROW]
[ROW][C]42[/C][C]0.132829407379614[/C][C]0.265658814759228[/C][C]0.867170592620386[/C][/ROW]
[ROW][C]43[/C][C]0.112284849846697[/C][C]0.224569699693394[/C][C]0.887715150153303[/C][/ROW]
[ROW][C]44[/C][C]0.078578240833629[/C][C]0.157156481667258[/C][C]0.921421759166371[/C][/ROW]
[ROW][C]45[/C][C]0.0677418345283719[/C][C]0.135483669056744[/C][C]0.932258165471628[/C][/ROW]
[ROW][C]46[/C][C]0.916296086757041[/C][C]0.167407826485919[/C][C]0.0837039132429594[/C][/ROW]
[ROW][C]47[/C][C]0.897793280375521[/C][C]0.204413439248958[/C][C]0.102206719624479[/C][/ROW]
[ROW][C]48[/C][C]0.851140412787586[/C][C]0.297719174424829[/C][C]0.148859587212414[/C][/ROW]
[ROW][C]49[/C][C]0.787869342047298[/C][C]0.424261315905405[/C][C]0.212130657952702[/C][/ROW]
[ROW][C]50[/C][C]0.691800064750188[/C][C]0.616399870499624[/C][C]0.308199935249812[/C][/ROW]
[ROW][C]51[/C][C]0.596844318326546[/C][C]0.806311363346909[/C][C]0.403155681673454[/C][/ROW]
[ROW][C]52[/C][C]0.542233045399634[/C][C]0.915533909200733[/C][C]0.457766954600366[/C][/ROW]
[ROW][C]53[/C][C]0.896307002301073[/C][C]0.207385995397854[/C][C]0.103692997698927[/C][/ROW]
[ROW][C]54[/C][C]0.888979483050767[/C][C]0.222041033898466[/C][C]0.111020516949233[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=145829&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=145829&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
60.4600201484172550.920040296834510.539979851582745
70.7052437862327680.5895124275344640.294756213767232
80.7349977094762710.5300045810474580.265002290523729
90.6370472708979950.7259054582040090.362952729102005
100.551761418219160.896477163561680.44823858178084
110.4704152517176350.940830503435270.529584748282365
120.409655647884570.8193112957691410.59034435211543
130.3164653787029360.6329307574058720.683534621297064
140.445945735244270.8918914704885390.55405426475573
150.3993296872164180.7986593744328350.600670312783582
160.3928969854551590.7857939709103180.607103014544841
170.3373373819195320.6746747638390650.662662618080467
180.4473211368044390.8946422736088790.552678863195561
190.4549014284266440.9098028568532880.545098571573356
200.3833967741193760.7667935482387530.616603225880624
210.3192800359325270.6385600718650550.680719964067473
220.7627889685118750.4744220629762490.237211031488125
230.7035749065150660.5928501869698680.296425093484934
240.6683182726255020.6633634547489960.331681727374498
250.5963294485380910.8073411029238180.403670551461909
260.5236838541860850.952632291627830.476316145813915
270.460637352983470.9212747059669410.53936264701653
280.4064363234284030.8128726468568060.593563676571597
290.3420791932516940.6841583865033880.657920806748306
300.2945159381681710.5890318763363410.705484061831829
310.2999509824776470.5999019649552950.700049017522353
320.2433148394966480.4866296789932960.756685160503352
330.2021476953324870.4042953906649740.797852304667513
340.1617408917057540.3234817834115070.838259108294247
350.1283803985486120.2567607970972230.871619601451388
360.1439773410421310.2879546820842630.856022658957869
370.1732788572243340.3465577144486680.826721142775666
380.1279072841529360.2558145683058710.872092715847064
390.0945032311047840.1890064622095680.905496768895216
400.08233112762587910.1646622552517580.917668872374121
410.1733734516601860.3467469033203710.826626548339814
420.1328294073796140.2656588147592280.867170592620386
430.1122848498466970.2245696996933940.887715150153303
440.0785782408336290.1571564816672580.921421759166371
450.06774183452837190.1354836690567440.932258165471628
460.9162960867570410.1674078264859190.0837039132429594
470.8977932803755210.2044134392489580.102206719624479
480.8511404127875860.2977191744248290.148859587212414
490.7878693420472980.4242613159054050.212130657952702
500.6918000647501880.6163998704996240.308199935249812
510.5968443183265460.8063113633469090.403155681673454
520.5422330453996340.9155339092007330.457766954600366
530.8963070023010730.2073859953978540.103692997698927
540.8889794830507670.2220410338984660.111020516949233







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

\begin{tabular}{lllllllll}
\hline
Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
Description & # significant tests & % significant tests & OK/NOK \tabularnewline
1% type I error level & 0 & 0 & OK \tabularnewline
5% type I error level & 0 & 0 & OK \tabularnewline
10% type I error level & 0 & 0 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=145829&T=6

[TABLE]
[ROW][C]Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]Description[/C][C]# significant tests[/C][C]% significant tests[/C][C]OK/NOK[/C][/ROW]
[ROW][C]1% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=145829&T=6

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

As an alternative you can also use a QR Code:  

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

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



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