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 computationTue, 23 Nov 2010 08:36:41 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Nov/23/t129050131371j1ktvzq5p2h25.htm/, Retrieved Sat, 20 Apr 2024 04:37:31 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=98856, Retrieved Sat, 20 Apr 2024 04:37:31 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact143
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]
F   PD  [Multiple Regression] [WS 7] [2010-11-20 16:26:00] [13c73ac943380855a1c72833078e44d2]
-   PD      [Multiple Regression] [WS 7 (1)] [2010-11-23 08:36:41] [c1f1b5e209adb4577289f490325e36f2] [Current]
-   P         [Multiple Regression] [WS 7 (1)] [2010-11-23 08:40:45] [717f3d787904f94c39256c5c1fc72d4c]
F   PD          [Multiple Regression] [WS 7 (1)] [2010-11-23 09:44:46] [717f3d787904f94c39256c5c1fc72d4c]
F                 [Multiple Regression] [WS 7 (4)] [2010-11-23 10:16:31] [717f3d787904f94c39256c5c1fc72d4c]
Feedback Forum

Post a new message
Dataseries X:
1.39	1.08
1.34	1.12
1.33	1.12
1.3	1.16
1.28	1.16
1.29	1.16
1.29	1.16
1.28	1.15
1.27	1.17
1.26	1.16
1.29	1.19
1.36	1.13
1.33	1.14
1.35	1.13
1.31	1.16
1.3	1.17
1.32	1.14
1.33	1.14
1.36	1.11
1.35	1.12
1.4	1.08
1.41	1.07
1.4	1.09
1.4	1.08
1.4	1.08
1.41	1.08
1.4	1.09
1.39	1.08
1.41	1.07
1.42	1.07
1.43	1.07
1.42	1.08
1.42	1.07
1.43	1.06
1.43	1.06
1.43	1.06
1.46	1.04
1.47	1.03
1.47	1.03
1.46	1.04
1.47	1.03
1.49	1.02
1.5	1.01
1.47	1.03
1.48	1.02
1.49	1.01
1.49	1.02
1.5	1.01
1.48	1.02
1.46	1.03
1.43	1.04
1.44	1.04
1.43	1.03




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time12 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 12 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=98856&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]12 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=98856&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=98856&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 time12 seconds
R Server'George Udny Yule' @ 72.249.76.132







Multiple Linear Regression - Estimated Regression Equation
us/ch[t] = + 2.10935943686758 -0.734389206628538`eu/us`[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
us/ch[t] =  +  2.10935943686758 -0.734389206628538`eu/us`[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=98856&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]us/ch[t] =  +  2.10935943686758 -0.734389206628538`eu/us`[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=98856&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=98856&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
us/ch[t] = + 2.10935943686758 -0.734389206628538`eu/us`[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)2.109359436867580.02818174.85100
`eu/us`-0.7343892066285380.02018-36.391600

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Ordinary Least Squares \tabularnewline
Variable & Parameter & S.D. & T-STATH0: parameter = 0 & 2-tail p-value & 1-tail p-value \tabularnewline
(Intercept) & 2.10935943686758 & 0.028181 & 74.851 & 0 & 0 \tabularnewline
`eu/us` & -0.734389206628538 & 0.02018 & -36.3916 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=98856&T=2

[TABLE]
[ROW][C]Multiple Linear Regression - Ordinary Least Squares[/C][/ROW]
[ROW][C]Variable[/C][C]Parameter[/C][C]S.D.[/C][C]T-STATH0: parameter = 0[/C][C]2-tail p-value[/C][C]1-tail p-value[/C][/ROW]
[ROW][C](Intercept)[/C][C]2.10935943686758[/C][C]0.028181[/C][C]74.851[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]`eu/us`[/C][C]-0.734389206628538[/C][C]0.02018[/C][C]-36.3916[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=98856&T=2

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)2.109359436867580.02818174.85100
`eu/us`-0.7343892066285380.02018-36.391600







Multiple Linear Regression - Regression Statistics
Multiple R0.981284059913598
R-squared0.962918406240514
Adjusted R-squared0.962191316166798
F-TEST (value)1324.34541613257
F-TEST (DF numerator)1
F-TEST (DF denominator)51
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.0102367726314117
Sum Squared Residuals0.00534436720926817

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.981284059913598 \tabularnewline
R-squared & 0.962918406240514 \tabularnewline
Adjusted R-squared & 0.962191316166798 \tabularnewline
F-TEST (value) & 1324.34541613257 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 51 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.0102367726314117 \tabularnewline
Sum Squared Residuals & 0.00534436720926817 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=98856&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.981284059913598[/C][/ROW]
[ROW][C]R-squared[/C][C]0.962918406240514[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.962191316166798[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]1324.34541613257[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]51[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.0102367726314117[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]0.00534436720926817[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=98856&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=98856&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.981284059913598
R-squared0.962918406240514
Adjusted R-squared0.962191316166798
F-TEST (value)1324.34541613257
F-TEST (DF numerator)1
F-TEST (DF denominator)51
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.0102367726314117
Sum Squared Residuals0.00534436720926817







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11.081.08855843965391-0.00855843965390507
21.121.12527789998534-0.00527789998533506
31.121.13262179205162-0.0126217920516204
41.161.154653468250480.0053465317495233
51.161.16934125238305-0.00934125238304747
61.161.16199736031676-0.00199736031676209
71.161.16199736031676-0.00199736031676209
81.151.16934125238305-0.0193412523830475
91.171.17668514444933-0.00668514444933285
101.161.18402903651562-0.0240290365156182
111.191.161997360316760.0280026396832379
121.131.110590115852760.0194098841472356
131.141.132621792051620.00737820794837943
141.131.117934007919050.0120659920809502
151.161.147309576184190.0126904238158087
161.171.154653468250480.0153465317495233
171.141.139965684117913.43158820940498e-05
181.141.132621792051620.00737820794837943
191.111.11059011585276-0.000590115852764216
201.121.117934007919050.00206599208095041
211.081.08121454758762-0.00121454758762287
221.071.07387065552134-0.0038706555213375
231.091.081214547587620.00878545241237714
241.081.08121454758762-0.00121454758762287
251.081.08121454758762-0.00121454758762287
261.081.073870655521340.00612934447866251
271.091.081214547587620.00878545241237714
281.081.08855843965391-0.00855843965390826
291.071.07387065552134-0.0038706555213375
301.071.066526763455050.00347323654494789
311.071.059182871388770.0108171286112333
321.081.066526763455050.0134732365449479
331.071.066526763455050.00347323654494789
341.061.059182871388770.000817128611233264
351.061.059182871388770.000817128611233264
361.061.059182871388770.000817128611233264
371.041.037151195189910.00284880481008939
381.031.029807303123630.000192696876374768
391.031.029807303123630.000192696876374768
401.041.037151195189910.00284880481008939
411.031.029807303123630.000192696876374768
421.021.015119518991050.00488048100894553
431.011.007775626924770.00222437307523091
441.031.029807303123630.000192696876374768
451.021.02246341105734-0.00246341105733985
461.011.01511951899105-0.00511951899105448
471.021.015119518991050.00488048100894553
481.011.007775626924770.00222437307523091
491.021.02246341105734-0.00246341105733985
501.031.03715119518991-0.00715119518991061
511.041.05918287138877-0.0191828713887668
521.041.05183897932248-0.0118389793224814
531.031.05918287138877-0.0291828713887668

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1.08 & 1.08855843965391 & -0.00855843965390507 \tabularnewline
2 & 1.12 & 1.12527789998534 & -0.00527789998533506 \tabularnewline
3 & 1.12 & 1.13262179205162 & -0.0126217920516204 \tabularnewline
4 & 1.16 & 1.15465346825048 & 0.0053465317495233 \tabularnewline
5 & 1.16 & 1.16934125238305 & -0.00934125238304747 \tabularnewline
6 & 1.16 & 1.16199736031676 & -0.00199736031676209 \tabularnewline
7 & 1.16 & 1.16199736031676 & -0.00199736031676209 \tabularnewline
8 & 1.15 & 1.16934125238305 & -0.0193412523830475 \tabularnewline
9 & 1.17 & 1.17668514444933 & -0.00668514444933285 \tabularnewline
10 & 1.16 & 1.18402903651562 & -0.0240290365156182 \tabularnewline
11 & 1.19 & 1.16199736031676 & 0.0280026396832379 \tabularnewline
12 & 1.13 & 1.11059011585276 & 0.0194098841472356 \tabularnewline
13 & 1.14 & 1.13262179205162 & 0.00737820794837943 \tabularnewline
14 & 1.13 & 1.11793400791905 & 0.0120659920809502 \tabularnewline
15 & 1.16 & 1.14730957618419 & 0.0126904238158087 \tabularnewline
16 & 1.17 & 1.15465346825048 & 0.0153465317495233 \tabularnewline
17 & 1.14 & 1.13996568411791 & 3.43158820940498e-05 \tabularnewline
18 & 1.14 & 1.13262179205162 & 0.00737820794837943 \tabularnewline
19 & 1.11 & 1.11059011585276 & -0.000590115852764216 \tabularnewline
20 & 1.12 & 1.11793400791905 & 0.00206599208095041 \tabularnewline
21 & 1.08 & 1.08121454758762 & -0.00121454758762287 \tabularnewline
22 & 1.07 & 1.07387065552134 & -0.0038706555213375 \tabularnewline
23 & 1.09 & 1.08121454758762 & 0.00878545241237714 \tabularnewline
24 & 1.08 & 1.08121454758762 & -0.00121454758762287 \tabularnewline
25 & 1.08 & 1.08121454758762 & -0.00121454758762287 \tabularnewline
26 & 1.08 & 1.07387065552134 & 0.00612934447866251 \tabularnewline
27 & 1.09 & 1.08121454758762 & 0.00878545241237714 \tabularnewline
28 & 1.08 & 1.08855843965391 & -0.00855843965390826 \tabularnewline
29 & 1.07 & 1.07387065552134 & -0.0038706555213375 \tabularnewline
30 & 1.07 & 1.06652676345505 & 0.00347323654494789 \tabularnewline
31 & 1.07 & 1.05918287138877 & 0.0108171286112333 \tabularnewline
32 & 1.08 & 1.06652676345505 & 0.0134732365449479 \tabularnewline
33 & 1.07 & 1.06652676345505 & 0.00347323654494789 \tabularnewline
34 & 1.06 & 1.05918287138877 & 0.000817128611233264 \tabularnewline
35 & 1.06 & 1.05918287138877 & 0.000817128611233264 \tabularnewline
36 & 1.06 & 1.05918287138877 & 0.000817128611233264 \tabularnewline
37 & 1.04 & 1.03715119518991 & 0.00284880481008939 \tabularnewline
38 & 1.03 & 1.02980730312363 & 0.000192696876374768 \tabularnewline
39 & 1.03 & 1.02980730312363 & 0.000192696876374768 \tabularnewline
40 & 1.04 & 1.03715119518991 & 0.00284880481008939 \tabularnewline
41 & 1.03 & 1.02980730312363 & 0.000192696876374768 \tabularnewline
42 & 1.02 & 1.01511951899105 & 0.00488048100894553 \tabularnewline
43 & 1.01 & 1.00777562692477 & 0.00222437307523091 \tabularnewline
44 & 1.03 & 1.02980730312363 & 0.000192696876374768 \tabularnewline
45 & 1.02 & 1.02246341105734 & -0.00246341105733985 \tabularnewline
46 & 1.01 & 1.01511951899105 & -0.00511951899105448 \tabularnewline
47 & 1.02 & 1.01511951899105 & 0.00488048100894553 \tabularnewline
48 & 1.01 & 1.00777562692477 & 0.00222437307523091 \tabularnewline
49 & 1.02 & 1.02246341105734 & -0.00246341105733985 \tabularnewline
50 & 1.03 & 1.03715119518991 & -0.00715119518991061 \tabularnewline
51 & 1.04 & 1.05918287138877 & -0.0191828713887668 \tabularnewline
52 & 1.04 & 1.05183897932248 & -0.0118389793224814 \tabularnewline
53 & 1.03 & 1.05918287138877 & -0.0291828713887668 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=98856&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]1.08[/C][C]1.08855843965391[/C][C]-0.00855843965390507[/C][/ROW]
[ROW][C]2[/C][C]1.12[/C][C]1.12527789998534[/C][C]-0.00527789998533506[/C][/ROW]
[ROW][C]3[/C][C]1.12[/C][C]1.13262179205162[/C][C]-0.0126217920516204[/C][/ROW]
[ROW][C]4[/C][C]1.16[/C][C]1.15465346825048[/C][C]0.0053465317495233[/C][/ROW]
[ROW][C]5[/C][C]1.16[/C][C]1.16934125238305[/C][C]-0.00934125238304747[/C][/ROW]
[ROW][C]6[/C][C]1.16[/C][C]1.16199736031676[/C][C]-0.00199736031676209[/C][/ROW]
[ROW][C]7[/C][C]1.16[/C][C]1.16199736031676[/C][C]-0.00199736031676209[/C][/ROW]
[ROW][C]8[/C][C]1.15[/C][C]1.16934125238305[/C][C]-0.0193412523830475[/C][/ROW]
[ROW][C]9[/C][C]1.17[/C][C]1.17668514444933[/C][C]-0.00668514444933285[/C][/ROW]
[ROW][C]10[/C][C]1.16[/C][C]1.18402903651562[/C][C]-0.0240290365156182[/C][/ROW]
[ROW][C]11[/C][C]1.19[/C][C]1.16199736031676[/C][C]0.0280026396832379[/C][/ROW]
[ROW][C]12[/C][C]1.13[/C][C]1.11059011585276[/C][C]0.0194098841472356[/C][/ROW]
[ROW][C]13[/C][C]1.14[/C][C]1.13262179205162[/C][C]0.00737820794837943[/C][/ROW]
[ROW][C]14[/C][C]1.13[/C][C]1.11793400791905[/C][C]0.0120659920809502[/C][/ROW]
[ROW][C]15[/C][C]1.16[/C][C]1.14730957618419[/C][C]0.0126904238158087[/C][/ROW]
[ROW][C]16[/C][C]1.17[/C][C]1.15465346825048[/C][C]0.0153465317495233[/C][/ROW]
[ROW][C]17[/C][C]1.14[/C][C]1.13996568411791[/C][C]3.43158820940498e-05[/C][/ROW]
[ROW][C]18[/C][C]1.14[/C][C]1.13262179205162[/C][C]0.00737820794837943[/C][/ROW]
[ROW][C]19[/C][C]1.11[/C][C]1.11059011585276[/C][C]-0.000590115852764216[/C][/ROW]
[ROW][C]20[/C][C]1.12[/C][C]1.11793400791905[/C][C]0.00206599208095041[/C][/ROW]
[ROW][C]21[/C][C]1.08[/C][C]1.08121454758762[/C][C]-0.00121454758762287[/C][/ROW]
[ROW][C]22[/C][C]1.07[/C][C]1.07387065552134[/C][C]-0.0038706555213375[/C][/ROW]
[ROW][C]23[/C][C]1.09[/C][C]1.08121454758762[/C][C]0.00878545241237714[/C][/ROW]
[ROW][C]24[/C][C]1.08[/C][C]1.08121454758762[/C][C]-0.00121454758762287[/C][/ROW]
[ROW][C]25[/C][C]1.08[/C][C]1.08121454758762[/C][C]-0.00121454758762287[/C][/ROW]
[ROW][C]26[/C][C]1.08[/C][C]1.07387065552134[/C][C]0.00612934447866251[/C][/ROW]
[ROW][C]27[/C][C]1.09[/C][C]1.08121454758762[/C][C]0.00878545241237714[/C][/ROW]
[ROW][C]28[/C][C]1.08[/C][C]1.08855843965391[/C][C]-0.00855843965390826[/C][/ROW]
[ROW][C]29[/C][C]1.07[/C][C]1.07387065552134[/C][C]-0.0038706555213375[/C][/ROW]
[ROW][C]30[/C][C]1.07[/C][C]1.06652676345505[/C][C]0.00347323654494789[/C][/ROW]
[ROW][C]31[/C][C]1.07[/C][C]1.05918287138877[/C][C]0.0108171286112333[/C][/ROW]
[ROW][C]32[/C][C]1.08[/C][C]1.06652676345505[/C][C]0.0134732365449479[/C][/ROW]
[ROW][C]33[/C][C]1.07[/C][C]1.06652676345505[/C][C]0.00347323654494789[/C][/ROW]
[ROW][C]34[/C][C]1.06[/C][C]1.05918287138877[/C][C]0.000817128611233264[/C][/ROW]
[ROW][C]35[/C][C]1.06[/C][C]1.05918287138877[/C][C]0.000817128611233264[/C][/ROW]
[ROW][C]36[/C][C]1.06[/C][C]1.05918287138877[/C][C]0.000817128611233264[/C][/ROW]
[ROW][C]37[/C][C]1.04[/C][C]1.03715119518991[/C][C]0.00284880481008939[/C][/ROW]
[ROW][C]38[/C][C]1.03[/C][C]1.02980730312363[/C][C]0.000192696876374768[/C][/ROW]
[ROW][C]39[/C][C]1.03[/C][C]1.02980730312363[/C][C]0.000192696876374768[/C][/ROW]
[ROW][C]40[/C][C]1.04[/C][C]1.03715119518991[/C][C]0.00284880481008939[/C][/ROW]
[ROW][C]41[/C][C]1.03[/C][C]1.02980730312363[/C][C]0.000192696876374768[/C][/ROW]
[ROW][C]42[/C][C]1.02[/C][C]1.01511951899105[/C][C]0.00488048100894553[/C][/ROW]
[ROW][C]43[/C][C]1.01[/C][C]1.00777562692477[/C][C]0.00222437307523091[/C][/ROW]
[ROW][C]44[/C][C]1.03[/C][C]1.02980730312363[/C][C]0.000192696876374768[/C][/ROW]
[ROW][C]45[/C][C]1.02[/C][C]1.02246341105734[/C][C]-0.00246341105733985[/C][/ROW]
[ROW][C]46[/C][C]1.01[/C][C]1.01511951899105[/C][C]-0.00511951899105448[/C][/ROW]
[ROW][C]47[/C][C]1.02[/C][C]1.01511951899105[/C][C]0.00488048100894553[/C][/ROW]
[ROW][C]48[/C][C]1.01[/C][C]1.00777562692477[/C][C]0.00222437307523091[/C][/ROW]
[ROW][C]49[/C][C]1.02[/C][C]1.02246341105734[/C][C]-0.00246341105733985[/C][/ROW]
[ROW][C]50[/C][C]1.03[/C][C]1.03715119518991[/C][C]-0.00715119518991061[/C][/ROW]
[ROW][C]51[/C][C]1.04[/C][C]1.05918287138877[/C][C]-0.0191828713887668[/C][/ROW]
[ROW][C]52[/C][C]1.04[/C][C]1.05183897932248[/C][C]-0.0118389793224814[/C][/ROW]
[ROW][C]53[/C][C]1.03[/C][C]1.05918287138877[/C][C]-0.0291828713887668[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=98856&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=98856&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
11.081.08855843965391-0.00855843965390507
21.121.12527789998534-0.00527789998533506
31.121.13262179205162-0.0126217920516204
41.161.154653468250480.0053465317495233
51.161.16934125238305-0.00934125238304747
61.161.16199736031676-0.00199736031676209
71.161.16199736031676-0.00199736031676209
81.151.16934125238305-0.0193412523830475
91.171.17668514444933-0.00668514444933285
101.161.18402903651562-0.0240290365156182
111.191.161997360316760.0280026396832379
121.131.110590115852760.0194098841472356
131.141.132621792051620.00737820794837943
141.131.117934007919050.0120659920809502
151.161.147309576184190.0126904238158087
161.171.154653468250480.0153465317495233
171.141.139965684117913.43158820940498e-05
181.141.132621792051620.00737820794837943
191.111.11059011585276-0.000590115852764216
201.121.117934007919050.00206599208095041
211.081.08121454758762-0.00121454758762287
221.071.07387065552134-0.0038706555213375
231.091.081214547587620.00878545241237714
241.081.08121454758762-0.00121454758762287
251.081.08121454758762-0.00121454758762287
261.081.073870655521340.00612934447866251
271.091.081214547587620.00878545241237714
281.081.08855843965391-0.00855843965390826
291.071.07387065552134-0.0038706555213375
301.071.066526763455050.00347323654494789
311.071.059182871388770.0108171286112333
321.081.066526763455050.0134732365449479
331.071.066526763455050.00347323654494789
341.061.059182871388770.000817128611233264
351.061.059182871388770.000817128611233264
361.061.059182871388770.000817128611233264
371.041.037151195189910.00284880481008939
381.031.029807303123630.000192696876374768
391.031.029807303123630.000192696876374768
401.041.037151195189910.00284880481008939
411.031.029807303123630.000192696876374768
421.021.015119518991050.00488048100894553
431.011.007775626924770.00222437307523091
441.031.029807303123630.000192696876374768
451.021.02246341105734-0.00246341105733985
461.011.01511951899105-0.00511951899105448
471.021.015119518991050.00488048100894553
481.011.007775626924770.00222437307523091
491.021.02246341105734-0.00246341105733985
501.031.03715119518991-0.00715119518991061
511.041.05918287138877-0.0191828713887668
521.041.05183897932248-0.0118389793224814
531.031.05918287138877-0.0291828713887668







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.3479733237592850.6959466475185710.652026676240715
60.2011988215325690.4023976430651390.798801178467431
70.1063817489632030.2127634979264050.893618251036797
80.3090076787067550.618015357413510.690992321293245
90.2189501880935100.4379003761870210.78104981190649
100.5948801779585730.8102396440828540.405119822041427
110.9929229584646530.01415408307069350.00707704153534675
120.9980635609062940.003872878187411490.00193643909370575
130.9968087195941570.006382560811686780.00319128040584339
140.996054683413860.00789063317228050.00394531658614025
150.9963188162259840.007362367548031920.00368118377401596
160.997934937683380.004130124633239480.00206506231661974
170.9960638307374290.007872338525142460.00393616926257123
180.9940910151942520.01181796961149540.0059089848057477
190.9904034508714310.01919309825713820.00959654912856912
200.984050272611040.03189945477792070.0159497273889604
210.9772478731455730.04550425370885390.0227521268544269
220.969656930869910.06068613826018080.0303430691300904
230.963754572926050.07249085414790170.0362454270739508
240.9466579097689440.1066841804621120.0533420902310559
250.9228793565458370.1542412869083250.0771206434541626
260.9026959728400330.1946080543199340.097304027159967
270.9017254067510180.1965491864979630.0982745932489817
280.8866881705917920.2266236588164170.113311829408209
290.8499142747173060.3001714505653870.150085725282694
300.809743003366210.3805139932675810.190256996633790
310.8361490235355630.3277019529288750.163850976464437
320.9295583517184440.1408832965631130.0704416482815563
330.9422678227057110.1154643545885780.0577321772942889
340.9447829430968550.1104341138062900.0552170569031448
350.9601306361866540.0797387276266930.0398693638133465
360.9874208510042430.02515829799151470.0125791489957573
370.9909440133827980.01811197323440320.00905598661720162
380.9858871589574340.02822568208513200.0141128410425660
390.9787349933394330.04253001332113320.0212650066605666
400.9915762674765620.01684746504687560.0084237325234378
410.9895157608259350.02096847834813070.0104842391740653
420.9819892328678160.03602153426436760.0180107671321838
430.9652510894215420.06949782115691510.0347489105784576
440.9618381958962340.07632360820753210.0381618041037660
450.9230418511721130.1539162976557740.0769581488278869
460.9140906297399520.1718187405200960.085909370260048
470.8489360883950940.3021278232098110.151063911604906
480.7466071666875550.506785666624890.253392833312445

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.347973323759285 & 0.695946647518571 & 0.652026676240715 \tabularnewline
6 & 0.201198821532569 & 0.402397643065139 & 0.798801178467431 \tabularnewline
7 & 0.106381748963203 & 0.212763497926405 & 0.893618251036797 \tabularnewline
8 & 0.309007678706755 & 0.61801535741351 & 0.690992321293245 \tabularnewline
9 & 0.218950188093510 & 0.437900376187021 & 0.78104981190649 \tabularnewline
10 & 0.594880177958573 & 0.810239644082854 & 0.405119822041427 \tabularnewline
11 & 0.992922958464653 & 0.0141540830706935 & 0.00707704153534675 \tabularnewline
12 & 0.998063560906294 & 0.00387287818741149 & 0.00193643909370575 \tabularnewline
13 & 0.996808719594157 & 0.00638256081168678 & 0.00319128040584339 \tabularnewline
14 & 0.99605468341386 & 0.0078906331722805 & 0.00394531658614025 \tabularnewline
15 & 0.996318816225984 & 0.00736236754803192 & 0.00368118377401596 \tabularnewline
16 & 0.99793493768338 & 0.00413012463323948 & 0.00206506231661974 \tabularnewline
17 & 0.996063830737429 & 0.00787233852514246 & 0.00393616926257123 \tabularnewline
18 & 0.994091015194252 & 0.0118179696114954 & 0.0059089848057477 \tabularnewline
19 & 0.990403450871431 & 0.0191930982571382 & 0.00959654912856912 \tabularnewline
20 & 0.98405027261104 & 0.0318994547779207 & 0.0159497273889604 \tabularnewline
21 & 0.977247873145573 & 0.0455042537088539 & 0.0227521268544269 \tabularnewline
22 & 0.96965693086991 & 0.0606861382601808 & 0.0303430691300904 \tabularnewline
23 & 0.96375457292605 & 0.0724908541479017 & 0.0362454270739508 \tabularnewline
24 & 0.946657909768944 & 0.106684180462112 & 0.0533420902310559 \tabularnewline
25 & 0.922879356545837 & 0.154241286908325 & 0.0771206434541626 \tabularnewline
26 & 0.902695972840033 & 0.194608054319934 & 0.097304027159967 \tabularnewline
27 & 0.901725406751018 & 0.196549186497963 & 0.0982745932489817 \tabularnewline
28 & 0.886688170591792 & 0.226623658816417 & 0.113311829408209 \tabularnewline
29 & 0.849914274717306 & 0.300171450565387 & 0.150085725282694 \tabularnewline
30 & 0.80974300336621 & 0.380513993267581 & 0.190256996633790 \tabularnewline
31 & 0.836149023535563 & 0.327701952928875 & 0.163850976464437 \tabularnewline
32 & 0.929558351718444 & 0.140883296563113 & 0.0704416482815563 \tabularnewline
33 & 0.942267822705711 & 0.115464354588578 & 0.0577321772942889 \tabularnewline
34 & 0.944782943096855 & 0.110434113806290 & 0.0552170569031448 \tabularnewline
35 & 0.960130636186654 & 0.079738727626693 & 0.0398693638133465 \tabularnewline
36 & 0.987420851004243 & 0.0251582979915147 & 0.0125791489957573 \tabularnewline
37 & 0.990944013382798 & 0.0181119732344032 & 0.00905598661720162 \tabularnewline
38 & 0.985887158957434 & 0.0282256820851320 & 0.0141128410425660 \tabularnewline
39 & 0.978734993339433 & 0.0425300133211332 & 0.0212650066605666 \tabularnewline
40 & 0.991576267476562 & 0.0168474650468756 & 0.0084237325234378 \tabularnewline
41 & 0.989515760825935 & 0.0209684783481307 & 0.0104842391740653 \tabularnewline
42 & 0.981989232867816 & 0.0360215342643676 & 0.0180107671321838 \tabularnewline
43 & 0.965251089421542 & 0.0694978211569151 & 0.0347489105784576 \tabularnewline
44 & 0.961838195896234 & 0.0763236082075321 & 0.0381618041037660 \tabularnewline
45 & 0.923041851172113 & 0.153916297655774 & 0.0769581488278869 \tabularnewline
46 & 0.914090629739952 & 0.171818740520096 & 0.085909370260048 \tabularnewline
47 & 0.848936088395094 & 0.302127823209811 & 0.151063911604906 \tabularnewline
48 & 0.746607166687555 & 0.50678566662489 & 0.253392833312445 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=98856&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.347973323759285[/C][C]0.695946647518571[/C][C]0.652026676240715[/C][/ROW]
[ROW][C]6[/C][C]0.201198821532569[/C][C]0.402397643065139[/C][C]0.798801178467431[/C][/ROW]
[ROW][C]7[/C][C]0.106381748963203[/C][C]0.212763497926405[/C][C]0.893618251036797[/C][/ROW]
[ROW][C]8[/C][C]0.309007678706755[/C][C]0.61801535741351[/C][C]0.690992321293245[/C][/ROW]
[ROW][C]9[/C][C]0.218950188093510[/C][C]0.437900376187021[/C][C]0.78104981190649[/C][/ROW]
[ROW][C]10[/C][C]0.594880177958573[/C][C]0.810239644082854[/C][C]0.405119822041427[/C][/ROW]
[ROW][C]11[/C][C]0.992922958464653[/C][C]0.0141540830706935[/C][C]0.00707704153534675[/C][/ROW]
[ROW][C]12[/C][C]0.998063560906294[/C][C]0.00387287818741149[/C][C]0.00193643909370575[/C][/ROW]
[ROW][C]13[/C][C]0.996808719594157[/C][C]0.00638256081168678[/C][C]0.00319128040584339[/C][/ROW]
[ROW][C]14[/C][C]0.99605468341386[/C][C]0.0078906331722805[/C][C]0.00394531658614025[/C][/ROW]
[ROW][C]15[/C][C]0.996318816225984[/C][C]0.00736236754803192[/C][C]0.00368118377401596[/C][/ROW]
[ROW][C]16[/C][C]0.99793493768338[/C][C]0.00413012463323948[/C][C]0.00206506231661974[/C][/ROW]
[ROW][C]17[/C][C]0.996063830737429[/C][C]0.00787233852514246[/C][C]0.00393616926257123[/C][/ROW]
[ROW][C]18[/C][C]0.994091015194252[/C][C]0.0118179696114954[/C][C]0.0059089848057477[/C][/ROW]
[ROW][C]19[/C][C]0.990403450871431[/C][C]0.0191930982571382[/C][C]0.00959654912856912[/C][/ROW]
[ROW][C]20[/C][C]0.98405027261104[/C][C]0.0318994547779207[/C][C]0.0159497273889604[/C][/ROW]
[ROW][C]21[/C][C]0.977247873145573[/C][C]0.0455042537088539[/C][C]0.0227521268544269[/C][/ROW]
[ROW][C]22[/C][C]0.96965693086991[/C][C]0.0606861382601808[/C][C]0.0303430691300904[/C][/ROW]
[ROW][C]23[/C][C]0.96375457292605[/C][C]0.0724908541479017[/C][C]0.0362454270739508[/C][/ROW]
[ROW][C]24[/C][C]0.946657909768944[/C][C]0.106684180462112[/C][C]0.0533420902310559[/C][/ROW]
[ROW][C]25[/C][C]0.922879356545837[/C][C]0.154241286908325[/C][C]0.0771206434541626[/C][/ROW]
[ROW][C]26[/C][C]0.902695972840033[/C][C]0.194608054319934[/C][C]0.097304027159967[/C][/ROW]
[ROW][C]27[/C][C]0.901725406751018[/C][C]0.196549186497963[/C][C]0.0982745932489817[/C][/ROW]
[ROW][C]28[/C][C]0.886688170591792[/C][C]0.226623658816417[/C][C]0.113311829408209[/C][/ROW]
[ROW][C]29[/C][C]0.849914274717306[/C][C]0.300171450565387[/C][C]0.150085725282694[/C][/ROW]
[ROW][C]30[/C][C]0.80974300336621[/C][C]0.380513993267581[/C][C]0.190256996633790[/C][/ROW]
[ROW][C]31[/C][C]0.836149023535563[/C][C]0.327701952928875[/C][C]0.163850976464437[/C][/ROW]
[ROW][C]32[/C][C]0.929558351718444[/C][C]0.140883296563113[/C][C]0.0704416482815563[/C][/ROW]
[ROW][C]33[/C][C]0.942267822705711[/C][C]0.115464354588578[/C][C]0.0577321772942889[/C][/ROW]
[ROW][C]34[/C][C]0.944782943096855[/C][C]0.110434113806290[/C][C]0.0552170569031448[/C][/ROW]
[ROW][C]35[/C][C]0.960130636186654[/C][C]0.079738727626693[/C][C]0.0398693638133465[/C][/ROW]
[ROW][C]36[/C][C]0.987420851004243[/C][C]0.0251582979915147[/C][C]0.0125791489957573[/C][/ROW]
[ROW][C]37[/C][C]0.990944013382798[/C][C]0.0181119732344032[/C][C]0.00905598661720162[/C][/ROW]
[ROW][C]38[/C][C]0.985887158957434[/C][C]0.0282256820851320[/C][C]0.0141128410425660[/C][/ROW]
[ROW][C]39[/C][C]0.978734993339433[/C][C]0.0425300133211332[/C][C]0.0212650066605666[/C][/ROW]
[ROW][C]40[/C][C]0.991576267476562[/C][C]0.0168474650468756[/C][C]0.0084237325234378[/C][/ROW]
[ROW][C]41[/C][C]0.989515760825935[/C][C]0.0209684783481307[/C][C]0.0104842391740653[/C][/ROW]
[ROW][C]42[/C][C]0.981989232867816[/C][C]0.0360215342643676[/C][C]0.0180107671321838[/C][/ROW]
[ROW][C]43[/C][C]0.965251089421542[/C][C]0.0694978211569151[/C][C]0.0347489105784576[/C][/ROW]
[ROW][C]44[/C][C]0.961838195896234[/C][C]0.0763236082075321[/C][C]0.0381618041037660[/C][/ROW]
[ROW][C]45[/C][C]0.923041851172113[/C][C]0.153916297655774[/C][C]0.0769581488278869[/C][/ROW]
[ROW][C]46[/C][C]0.914090629739952[/C][C]0.171818740520096[/C][C]0.085909370260048[/C][/ROW]
[ROW][C]47[/C][C]0.848936088395094[/C][C]0.302127823209811[/C][C]0.151063911604906[/C][/ROW]
[ROW][C]48[/C][C]0.746607166687555[/C][C]0.50678566662489[/C][C]0.253392833312445[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=98856&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=98856&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.3479733237592850.6959466475185710.652026676240715
60.2011988215325690.4023976430651390.798801178467431
70.1063817489632030.2127634979264050.893618251036797
80.3090076787067550.618015357413510.690992321293245
90.2189501880935100.4379003761870210.78104981190649
100.5948801779585730.8102396440828540.405119822041427
110.9929229584646530.01415408307069350.00707704153534675
120.9980635609062940.003872878187411490.00193643909370575
130.9968087195941570.006382560811686780.00319128040584339
140.996054683413860.00789063317228050.00394531658614025
150.9963188162259840.007362367548031920.00368118377401596
160.997934937683380.004130124633239480.00206506231661974
170.9960638307374290.007872338525142460.00393616926257123
180.9940910151942520.01181796961149540.0059089848057477
190.9904034508714310.01919309825713820.00959654912856912
200.984050272611040.03189945477792070.0159497273889604
210.9772478731455730.04550425370885390.0227521268544269
220.969656930869910.06068613826018080.0303430691300904
230.963754572926050.07249085414790170.0362454270739508
240.9466579097689440.1066841804621120.0533420902310559
250.9228793565458370.1542412869083250.0771206434541626
260.9026959728400330.1946080543199340.097304027159967
270.9017254067510180.1965491864979630.0982745932489817
280.8866881705917920.2266236588164170.113311829408209
290.8499142747173060.3001714505653870.150085725282694
300.809743003366210.3805139932675810.190256996633790
310.8361490235355630.3277019529288750.163850976464437
320.9295583517184440.1408832965631130.0704416482815563
330.9422678227057110.1154643545885780.0577321772942889
340.9447829430968550.1104341138062900.0552170569031448
350.9601306361866540.0797387276266930.0398693638133465
360.9874208510042430.02515829799151470.0125791489957573
370.9909440133827980.01811197323440320.00905598661720162
380.9858871589574340.02822568208513200.0141128410425660
390.9787349933394330.04253001332113320.0212650066605666
400.9915762674765620.01684746504687560.0084237325234378
410.9895157608259350.02096847834813070.0104842391740653
420.9819892328678160.03602153426436760.0180107671321838
430.9652510894215420.06949782115691510.0347489105784576
440.9618381958962340.07632360820753210.0381618041037660
450.9230418511721130.1539162976557740.0769581488278869
460.9140906297399520.1718187405200960.085909370260048
470.8489360883950940.3021278232098110.151063911604906
480.7466071666875550.506785666624890.253392833312445







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level60.136363636363636NOK
5% type I error level180.409090909090909NOK
10% type I error level230.522727272727273NOK

\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 & 6 & 0.136363636363636 & NOK \tabularnewline
5% type I error level & 18 & 0.409090909090909 & NOK \tabularnewline
10% type I error level & 23 & 0.522727272727273 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=98856&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]6[/C][C]0.136363636363636[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]18[/C][C]0.409090909090909[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]23[/C][C]0.522727272727273[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=98856&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=98856&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 level60.136363636363636NOK
5% type I error level180.409090909090909NOK
10% type I error level230.522727272727273NOK



Parameters (Session):
par1 = 2 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 2 ; 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')
}